Browse Source

按钮权限

lyq 7 months ago
parent
commit
445aba722a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      data-ui/src/views/data/other/inspectiontype/index.vue

+ 3 - 3
data-ui/src/views/data/other/inspectiontype/index.vue

@@ -333,7 +333,7 @@
           icon="el-icon-plus"
           size="mini"
           @click="handleAddItem"
-          v-hasPermi="['inspectiontype:inspectionitem:add']"
+          v-hasPermi="['inspectiontype:inspectiontype:add']"
         >新增</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -389,14 +389,14 @@
               type="text"
               icon="el-icon-edit"
               @click="handleUpdateItem(scope.row)"
-              v-hasPermi="['inspectiontype:inspectionitem:edit']"
+              v-hasPermi="['inspectiontype:inspectiontype:edit']"
             >修改</el-button>
             <el-button
               size="mini"
               type="text"
               icon="el-icon-delete"
               @click="handleDeleteItem(scope.row)"
-              v-hasPermi="['inspectiontype:inspectionitem:remove']"
+              v-hasPermi="['inspectiontype:inspectiontype:remove']"
             >删除</el-button>
           </template>
         </el-table-column>