Просмотр исходного кода

配置基础数据新增菜单的权限

pm 1 год назад
Родитель
Сommit
d3e6216e30

+ 1 - 1
src/views/mes/material/materialinformation/index.vue

@@ -111,7 +111,7 @@
           size="mini"
           :disabled="multiple"
           @click="handleDelete"
-          v-hasPermi="['mes:mat:info.batchremove']"
+          v-hasPermi="['mes:mat:info:batchremove']"
           >批量删除
         </el-button>
       </el-col>

+ 2 - 0
src/views/mes/material/typeofmaterial/index.vue

@@ -58,6 +58,7 @@
       size="mini"
       type="primary"
       icon="el-icon-plus"
+      v-hasPermi="['mes:mat:type:add']"
       @click="handleAdd"
       >新增</el-button
     >
@@ -132,6 +133,7 @@
             size="mini"
             type="text"
             icon="el-icon-plus"
+            v-hasPermi="['mes:mat:type:add']"
             @click="handleAdd(scope.row)"
             >新增</el-button
           >

+ 5 - 4
src/views/mes/md/locksettype/index.vue

@@ -30,6 +30,7 @@
           type="primary"
           icon="el-icon-search"
           size="mini"
+
           @click="handleQuery"
           >搜索</el-button
         >
@@ -51,7 +52,7 @@
           icon="el-icon-plus"
           size="mini"
           @click="handleAdd"
-          v-hasPermi="['system:dept:add']"
+          v-hasPermi="['mes:md:locksettype:add']"
           >新增
         </el-button>
       </el-col>
@@ -137,7 +138,7 @@
             type="text"
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
-            v-hasPermi="['mes:md:waa:edit']"
+            v-hasPermi="['mes:md:locksettype:edit']"
             >修改
           </el-button>
           <el-button
@@ -146,7 +147,7 @@
             type="text"
             icon="el-icon-plus"
             @click="handleAdd(scope.row)"
-            v-hasPermi="['mes:md:waa:add']"
+            v-hasPermi="['mes:md:locksettype:add']"
             >新增
           </el-button>
 
@@ -157,7 +158,7 @@
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
-            v-hasPermi="['mes:md:waa:remove']"
+            v-hasPermi="['mes:md:locksettype:remove']"
             >删除
           </el-button>
         </template>

+ 4 - 4
src/views/mes/md/locktype/index.vue

@@ -51,7 +51,7 @@
           icon="el-icon-plus"
           size="mini"
           @click="handleAdd"
-          v-hasPermi="['system:dept:add']"
+          v-hasPermi="['mes:md:locktype:add']"
           >新增
         </el-button>
       </el-col>
@@ -129,7 +129,7 @@
             type="text"
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
-            v-hasPermi="['mes:md:waa:edit']"
+            v-hasPermi="['mes:md:locktype:edit']"
             >修改
           </el-button>
           <el-button
@@ -138,7 +138,7 @@
             type="text"
             icon="el-icon-plus"
             @click="handleAdd(scope.row)"
-            v-hasPermi="['mes:md:waa:add']"
+            v-hasPermi="['mes:md:locktype:add']"
             >新增
           </el-button>
 
@@ -149,7 +149,7 @@
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
-            v-hasPermi="['mes:md:waa:remove']"
+            v-hasPermi="['mes:md:locktype:remove']"
             >删除
           </el-button>
         </template>

+ 1 - 1
src/views/mes/md/workarea/index.vue

@@ -65,7 +65,7 @@
           icon="el-icon-plus"
           size="mini"
           @click="handleAdd"
-          v-hasPermi="['system:dept:add']"
+          v-hasPermi="['mes:md:waa:add']"
           >新增
         </el-button>
       </el-col>