wang_xy преди 1 година
родител
ревизия
3346d515ca
променени са 3 файла, в които са добавени 18 реда и са изтрити 6 реда
  1. 8 2
      src/views/zdsz/openbolt/index.vue
  2. 8 2
      src/views/zdsz/opencheck/index.vue
  3. 2 2
      src/views/zdsz/openrepair/index.vue

+ 8 - 2
src/views/zdsz/openbolt/index.vue

@@ -151,14 +151,20 @@
             type="text"
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
-            v-hasPermi="['zdsz:comprehensive:edit']"
+          >查看</el-button>
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-edit"
+            @click="handleUpdate(scope.row)"
+            v-hasPermi="['zdsz:openbolt:edit']"
           >修改</el-button>
           <el-button
             size="mini"
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
-            v-hasPermi="['zdsz:comprehensive:remove']"
+            v-hasPermi="['zdsz:openbolt:remove']"
           >删除</el-button>
         </template>
       </el-table-column>

+ 8 - 2
src/views/zdsz/opencheck/index.vue

@@ -148,14 +148,20 @@
             type="text"
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
-            v-hasPermi="['zdsz:comprehensive:edit']"
+          >查看</el-button>
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-edit"
+            @click="handleUpdate(scope.row)"
+            v-hasPermi="['zdsz:openbolt:edit']"
           >修改</el-button>
           <el-button
             size="mini"
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
-            v-hasPermi="['zdsz:comprehensive:remove']"
+            v-hasPermi="['zdsz:openbolt:remove']"
           >删除</el-button>
         </template>
       </el-table-column>

+ 2 - 2
src/views/zdsz/openrepair/index.vue

@@ -148,14 +148,14 @@
             type="text"
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
-            v-hasPermi="['zdsz:comprehensive:edit']"
+            v-hasPermi="['zdsz:openbolt:edit']"
           >修改</el-button>
           <el-button
             size="mini"
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
-            v-hasPermi="['zdsz:comprehensive:remove']"
+            v-hasPermi="['zdsz:openbolt:remove']"
           >删除</el-button>
         </template>
       </el-table-column>