Pārlūkot izejas kodu

工艺流程图2

km林芳旭 2 gadi atpakaļ
vecāks
revīzija
14f9b829c1
2 mainītis faili ar 337 papildinājumiem un 167 dzēšanām
  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',

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 326 - 148
ui/src/views/monitor/materialChild/materialChild2.vue


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels