Bläddra i källkod

控制字段的显示隐藏

oyq28 3 år sedan
förälder
incheckning
a0e21cfd2c
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6 0
      imcs-ui/src/views/zuihou/resourceProductMgr/deviceMgr/Index.vue

+ 6 - 0
imcs-ui/src/views/zuihou/resourceProductMgr/deviceMgr/Index.vue

@@ -180,6 +180,9 @@
         prop="category.data"
         :label="$t('resource.table.resours.category')"
         width="100px"
+        v-if="
+          this.$store.state.account.permissions.includes('resource:superview')
+        "
       ></el-table-column>
       <el-table-column
         prop="zoneName"
@@ -190,6 +193,9 @@
         prop="positionCount"
         :label="$t('resource.table.resours.nums')"
         width="120px"
+        v-if="
+          this.$store.state.account.permissions.includes('resource:superview')
+        "
       ></el-table-column>
       <el-table-column
         prop="cncProgram"