Procházet zdrojové kódy

封面添加了没有清除之前的数据

xdd před 3 týdny
rodič
revize
fdf1921332

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
   "name": "fs",
   "version": "1.1.0",
-  "description": "润天智慧云医数字DTC客户服务管理系统",
+  "description": "芳华佳选客户服务管理系统",
   "author": "FS",
   "license": "MIT",
   "scripts": {

+ 3 - 2
src/components/Material/index.vue

@@ -122,7 +122,7 @@
                   :limit.sync="queryParams.pageSize"
                   @pagination="getMaterialList"
                 />
-               
+
             </div>
           </el-card>
         </el-main>
@@ -132,7 +132,7 @@
         <el-button @click="listDialogVisible = false">取 消</el-button>
         <el-button type="primary" @click="submit">确 定</el-button>
       </span>
-      
+
     </el-dialog>
   </div>
 </template>
@@ -359,6 +359,7 @@ export default {
         this.$set(this.value, this.value.length, item)
       })
       this.listDialogVisible = false
+      this.urls = []
     }
   }
 }

+ 7 - 2
src/components/Material/single.vue

@@ -30,6 +30,7 @@
       title="图片素材库"
       append-to-body
       :visible.sync="listDialogVisible"
+      @close="handleClose"
       width="70%"
     >
       <el-container>
@@ -117,7 +118,7 @@
                   :limit.sync="queryParams.pageSize"
                   @pagination="getMaterialList"
                 />
-               
+
             </div>
           </el-card>
         </el-main>
@@ -334,10 +335,14 @@ export default {
       }
       return isPic && isLt2M
     },
+    handleClose(){
+      this.urls = []
+    },
     submit() {
       this.myValue = this.urls[0]
       this.$emit('input', this.urls[0])
       this.listDialogVisible = false
+      this.urls = []
     }
   }
 }
@@ -364,6 +369,6 @@ export default {
   }
   .group-item{
     margin: 5px;
-    
+
   }
 </style>

+ 1 - 1
src/layout/components/Sidebar/Logo.vue

@@ -26,7 +26,7 @@ export default {
   },
   data() {
     return {
-      title: '润天智慧云医',
+      title: '芳华佳选',
       logo: logoImg
     }
   }

+ 1 - 1
src/views/login.vue

@@ -1,7 +1,7 @@
 <template>
    <div class="login" id="loginBox">
     <div class="login-con">
-        <div class="title">润天智慧云医数字DTC客户服务管理系统</div>
+        <div class="title">芳华佳选客户服务管理系统</div>
         <el-form   ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
 
         <el-form-item prop="username">

+ 4 - 2
src/views/store/storeProductPackage/index.vue

@@ -553,7 +553,8 @@ export default {
         this.storeProductPackageList = response.rows;
         this.total = response.total;
         this.loading = false;
-      });
+        this.reset();
+      })
     },
     // 取消按钮
     cancel() {
@@ -587,6 +588,7 @@ export default {
       this.products=[];
       this.photoArr=[];
       this.imageArr=[];
+      this.totalMoney = 0;
       this.resetForm("form");
     },
     /** 搜索按钮操作 */
@@ -674,7 +676,7 @@ export default {
                 this.open = false;
                 this.getList();
               }
-            });
+            })
           } else {
             addStoreProductPackage(this.form).then(response => {
               if (response.code === 200) {

+ 2 - 2
vue.config.js

@@ -13,7 +13,7 @@ function resolve(dir) {
   return path.join(__dirname, dir)
 }
 
-const name = defaultSettings.title || '润天智慧云医' // 标题
+const name = defaultSettings.title || '芳华佳选' // 标题
 
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
 
@@ -41,7 +41,7 @@ module.exports = {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        target: `http://localhost:7011`,
+        target: `http://localhost:7015`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''