소스 검색

启用、停用权限码修改

chunping 3 년 전
부모
커밋
48dbd8ccfe
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/views/business/channel/index.vue
  2. 1 1
      src/views/business/salesite/index.vue

+ 1 - 1
src/views/business/channel/index.vue

@@ -169,7 +169,7 @@
                   size="mini"
                   type="text"
                   @click="handleStatusChange(scope.row)"
-                  v-hasPermi="['admin:channel:edit']"
+                  v-hasPermi="['business:channel:edit']"
                 >
                   <span v-if="getValue(scope.row.status) == 1" > 停用</span>
                   <span v-if="getValue(scope.row.status) == 2" > 启用</span>

+ 1 - 1
src/views/business/salesite/index.vue

@@ -169,7 +169,7 @@
             size="mini"
             type="text"
             @click="handleStatusChange(scope.row)"
-            v-hasPermi="['admin:salesite:edit']"
+            v-hasPermi="['business:salesite:edit']"
           >
             <span v-if="getValue(scope.row.status) == 1"> 停用</span>
             <span v-if="getValue(scope.row.status) == 2"> 启用</span>