浏览代码

隔离点显示位置修改;区域设置页面跳转路由修改

wangyani 1 年之前
父节点
当前提交
7fbd50af41
共有 2 个文件被更改,包括 8 次插入11 次删除
  1. 2 5
      src/router/index.js
  2. 6 6
      src/views/mes/md/segregationpoint/index.vue

+ 2 - 5
src/router/index.js

@@ -158,7 +158,7 @@ export const dynamicRoutes = [
     ]
   },
   {
-    path: '/mes/md/workarea',
+    path: '/mes/md/workarea/index',
     component: Layout,
     hidden: true,
     permissions: ['mes:md:workarea:add'],
@@ -166,12 +166,9 @@ export const dynamicRoutes = [
       {
         path: 'MapData',
         component: () => import('@/views/mes/md/workarea/MapData'),
-        name: 'NewOperations',
+        name: 'MapData',
         meta: { title: '预览', activeMenu: '/mes/md/workares' },
-
       },
-
-
     ]
   },
   {

+ 6 - 6
src/views/mes/spm/segregationpoint/index.vue → src/views/mes/md/segregationpoint/index.vue

@@ -92,7 +92,7 @@
           icon="el-icon-plus"
           size="mini"
           @click="handleAdd"
-          v-hasPermi="['mes:spm:seg:add']"
+          v-hasPermi="['mes:md:seg:add']"
           >新增
         </el-button>
       </el-col>
@@ -104,7 +104,7 @@
           size="mini"
           :disabled="multiple"
           @click="handleDelete"
-          v-hasPermi="['mes:spm:seg:batchremove']"
+          v-hasPermi="['mes:md:seg:batchremove']"
           >批量删除
         </el-button>
       </el-col>
@@ -135,7 +135,7 @@
           <el-button
             type="text"
             @click="handleView(scope.row)"
-            v-hasPermi="['mes:spm:seg:query']"
+            v-hasPermi="['mes:md:seg:query']"
             >{{ scope.row.pointId }}
           </el-button>
         </template>
@@ -145,7 +145,7 @@
           <el-button
             type="text"
             @click="handleView(scope.row)"
-            v-hasPermi="['mes:spm:seg:query']"
+            v-hasPermi="['mes:md:seg:query']"
             >{{ scope.row.pointCode }}
           </el-button>
         </template>
@@ -195,7 +195,7 @@
             type="text"
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
-            v-hasPermi="['mes:spm:seg:edit']"
+            v-hasPermi="['mes:md:seg:edit']"
             >编辑
           </el-button>
           <el-button
@@ -203,7 +203,7 @@
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
-            v-hasPermi="['mes:spm:seg:remove']"
+            v-hasPermi="['mes:md:seg:remove']"
             >删除
           </el-button>
         </template>