Pārlūkot izejas kodu

Merge branch 'dev' of http://222.90.211.174:3000/suf/domestic--e-commerc-b into dev

sufan 1 nedēļu atpakaļ
vecāks
revīzija
3749862770

+ 4 - 0
src/store/modules/constantData.js

@@ -84,6 +84,10 @@ export default {
   ],
   // 企业店铺管理--店铺状态
   shopStatus: [
+    {
+      code: -1,
+      name: '空'
+    },
     {
       code: 0,
       name: '关闭'

+ 10 - 1
src/views/storeManage/storeEntryList/index.vue

@@ -6,7 +6,12 @@
         <div />
         <div class="right">
           <div>
-            <el-input v-model="search.name" placeholder="请输入店铺名称" clearable></el-input>
+            <el-input
+              v-model="search.name"
+              placeholder="请输入店铺名称/ID"
+              clearable
+              style="width: 160px;"
+            ></el-input>
           </div>
           <div>
             <el-select
@@ -214,6 +219,10 @@ export default {
         rows: this.size || 10
       }
 
+      if (params.status === '') {
+        delete params.status
+      }
+
       if (params.platformType === '') {
         delete params.platformType
       }

+ 10 - 1
src/views/storeManage/storeList/index.vue

@@ -6,7 +6,12 @@
         <div />
         <div class="right">
           <div>
-            <el-input v-model="search.name" placeholder="请输入店铺名称" clearable></el-input>
+            <el-input
+              v-model="search.name"
+              placeholder="请输入店铺名称/ID"
+              clearable
+              style="width: 160px;"
+            ></el-input>
           </div>
           <div>
             <el-select
@@ -263,6 +268,10 @@ export default {
         rows: this.size || 10
       }
 
+      if (params.status === '') {
+        delete params.status
+      }
+
       if (params.platformType === '') {
         delete params.platformType
       }

+ 6 - 1
src/views/storeManage/storeStatistics/index.vue

@@ -6,7 +6,12 @@
         <div />
         <div class="right">
           <div>
-            <el-input v-model="search.name" placeholder="请输入店铺名称" clearable></el-input>
+            <el-input
+              v-model="search.name"
+              placeholder="请输入店铺名称/ID"
+              clearable
+              style="width: 160px;"
+            ></el-input>
           </div>
           <div>
             <el-select