Browse Source

fix:修改企业准入测试问题

lazy 1 week ago
parent
commit
57901caa76

+ 1 - 1
src/layout/index.vue

@@ -118,7 +118,7 @@ export default {
   position: fixed;
   top: 0;
   right: 0;
-  z-index: 9;
+  z-index: 20;
   width: 100%;
   // width: calc(100% - #{$sideBarWidth});
   transition: width 0.28s;

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

@@ -47,5 +47,20 @@ export default {
       code: 1,
       name: '正常'
     }
+  ],
+  // 企业店铺管理--准入状态
+  enterpriseEntryStatus: [
+    {
+      code: -1,
+      name: '空'
+    },
+    {
+      code: 0,
+      name: '不准入'
+    },
+    {
+      code: 1,
+      name: '准入'
+    }
   ]
 }

+ 2 - 2
src/views/myStoreEnterprise/components/Enterprise.vue

@@ -18,7 +18,7 @@
               style="width: 200px !important;"
             >
               <el-option
-                v-for="item in constant.shopStatus"
+                v-for="item in constant.enterpriseEntryStatus"
                 :key="item.code"
                 :label="item.name"
                 :value="item.code"
@@ -162,7 +162,7 @@ export default {
     ...mapGetters(['constant']),
     tablePower() {
       return ({ item, row }) => {
-        const { rowPower, category } = item
+        const { category } = item
         if (category === 'see') {
           if (row.companyZrId !== null) {
             return true