瀏覽代碼

计划权限调整

luojun 2 年之前
父節點
當前提交
c703decd58
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/views/check/index.vue

+ 4 - 4
src/views/check/index.vue

@@ -139,7 +139,7 @@
               icon="el-icon-plus"
               size="mini"
               @click="handleAdd()"
-              v-hasPermi="['system:user:add']"
+              v-hasPermi="['core:checkplan:add']"
               >新增计划</el-button
             >
           </el-col>
@@ -286,7 +286,7 @@
                 type="text"
                 icon="el-icon-edit"
                 @click="onEdit(r.row.id)"
-                v-hasPermi="['system:user:edit']"
+                v-hasPermi="['core:checkplan:edit']"
                 >修改</el-button
               >
               <el-button
@@ -294,7 +294,7 @@
                 type="text"
                 icon="el-icon-delete"
                 @click="onDel(r.row.id, r.row.planName)"
-                v-hasPermi="['system:user:remove']"
+                v-hasPermi="['core:checkplan:remove']"
                 >删除</el-button
               >
               <el-button
@@ -303,7 +303,7 @@
                 icon="el-icon-delete"
                 v-if="checkCanPublish(r.row)"
                 @click="showDialogDistribute(r.row)"
-                v-hasPermi="['system:user:remove']"
+                v-hasPermi="['core:checkplan:distribute']"
                 >下发</el-button>
             </template>
           </el-table-column>