dedsudiyu 2 년 전
부모
커밋
9b355b8d5e
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/views/comprehensive/system/role/index.vue

+ 3 - 3
src/views/comprehensive/system/role/index.vue

@@ -54,11 +54,11 @@
               <p class="table-button-null"></p>
               <p class="table-button-p"
                  @click="copyButton(scope.row)"
-                 v-hasPermi="['system:dict:edit']"
+                 v-hasPermiAnd="['system:role:edit','system:role:query']"
               >复制</p>
               <p class="table-button-p"
                  @click="handleUpdate(scope.row)"
-                 v-hasPermi="['system:role:edit']"
+                 v-hasPermiAnd="['system:role:edit','system:role:query']"
               >编辑</p>
               <p class="table-button-p"
                  @click="handleDelete(scope.row)"
@@ -95,7 +95,7 @@ export default {
   name: "Role",
   data() {
     return {
-      tableButtonType:this.hasPermiDom(['system:dict:edit','system:role:edit','system:role:remove']),
+      tableButtonType:this.hasPermiDom(['system:role:query','system:role:edit','system:role:remove']),
       // 遮罩层
       loading: true,
       // 显示搜索条件