dedsudiyu 2 gadi atpakaļ
vecāks
revīzija
9b355b8d5e
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  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,
       // 显示搜索条件