Browse Source

工艺流程图2

km林芳旭 2 years ago
parent
commit
14f9b829c1
2 changed files with 337 additions and 167 deletions
  1. 11 19
      ui/src/router/index.js
  2. 326 148
      ui/src/views/monitor/materialChild/materialChild2.vue

+ 11 - 19
ui/src/router/index.js

@@ -598,27 +598,19 @@ export const constantRoutes = [
 
   //生产运行子页面
   {
-    path: '/produce',
-    component: Layout,
+    path: '/materialChild1',
+    component: (resolve) => require(['@/views/monitor/materialChild/materialChild1.vue'], resolve),
+    name: 'materialChild1',
     hidden: true,
-    children: [
-      {
-        path: 'materialChild1',
-        component: (resolve) => require(['@/views/monitor/materialChild/materialChild1.vue'], resolve),
-        name: 'materialChild1',
-        hidden: true,
-        meta: { title: '工艺流程图' }
-      },
-      {
-        path: 'materialChild2',
-        component: (resolve) => require(['@/views/monitor/materialChild/materialChild2.vue'], resolve),
-        name: 'materialChild2',
-        hidden: true,
-        meta: { title: '工艺流程图' }
-      },
-    ]
+    meta: { title: '工艺流程图' }
+  },
+  {
+    path: '/materialChild2',
+    component: (resolve) => require(['@/views/monitor/materialChild/materialChild2.vue'], resolve),
+    name: 'materialChild2',
+    hidden: true,
+    meta: { title: '工艺流程图' }
   },
-
   // 2023-02 首页重构
   {
     path: '/BCCdashboardNew',

File diff suppressed because it is too large
+ 326 - 148
ui/src/views/monitor/materialChild/materialChild2.vue


Some files were not shown because too many files changed in this diff