Эх сурвалжийг харах

运行记录填报刷新优化

yuanchao 3 долоо хоног өмнө
parent
commit
9214814109

+ 17 - 3
src/router/modules/remaining.ts

@@ -306,25 +306,38 @@ const remainingRouter: AppRouteRecordRaw[] = [
     ]
   },
   {
-    path: '/fillOrderInfo',
+    path: '/FillOrderInfo',
     component: Layout,
     name: 'FillOrderInfo',
     meta: {
-      hidden: true
+      hidden: true,
+      keepAlive: true
     },
     children: [
       {
         path: 'template/detail/:id',
-        component: () => import('@/views/pms/iotopeationfill/index1.vue'),
+        component: () => import('@/views/pms/iotopeationfill/index1.vue'+''),
         name: 'FillOrderInfo',
         meta: {
           title: t('rem.FillInInformation'),
           noCache: false,
           hidden: true,
           canTo: true,
+          keepAlive: true,
           activeMenu: '/template/info'
         }
       },
+    ]
+  },
+  {
+    path: '/FillOrderInfoS',
+    component: Layout,
+    name: 'FillOrderInfoS',
+    meta: {
+      hidden: true,
+      keepAlive: true
+    },
+    children: [
       {
         path: 'template/detail/:deptId/:orderStatus/:createTime*',
         component: () => import('@/views/pms/iotopeationfill/index.vue'),
@@ -334,6 +347,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
           noCache: false,
           hidden: true,
           canTo: true,
+          keepAlive: true,
           activeMenu: '/template/info'
         }
       },