From c950b86ceb5de8a9f1c1d0af267383263a5c805f Mon Sep 17 00:00:00 2001 From: zhangyanli Date: Sun, 4 Feb 2024 09:00:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/asyncRouter.js | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/src/assets/js/asyncRouter.js b/src/assets/js/asyncRouter.js index f6c5332..cca0f7d 100644 --- a/src/assets/js/asyncRouter.js +++ b/src/assets/js/asyncRouter.js @@ -289,6 +289,14 @@ export default [ }, component: "hazard_investigation/inventory_management/print", }, + { + path: "/hazard_investigation/inventory_management/print_custom", + meta: { + title: "打印", + activeMenu: "/hazard_investigation/inventory_management", + }, + component: "hazard_investigation/inventory_management/print_custom", + }, { path: "/hazard_investigation/inventory_management/part_qr_code", meta: { @@ -331,13 +339,12 @@ export default [ component: "hazard_investigation/inventory_management/add", }, { - path: "/hazard_investigation/inventory_management/check_standard_add", + path: "/hazard_investigation/inventory_management/add_custom", meta: { title: "新增", activeMenu: "/hazard_investigation/inventory_management", }, - component: - "hazard_investigation/inventory_management/check_standard_add", + component: "hazard_investigation/inventory_management/add_custom", }, { path: "/hazard_investigation/inventory_management/edit", @@ -347,6 +354,14 @@ export default [ }, component: "hazard_investigation/inventory_management/add", }, + { + path: "/hazard_investigation/inventory_management/edit_custom", + meta: { + title: "修改", + activeMenu: "/hazard_investigation/inventory_management", + }, + component: "hazard_investigation/inventory_management/add_custom", + }, { path: "/hazard_investigation/inventory_management/inheritance_list", meta: { @@ -394,13 +409,13 @@ export default [ component: "hazard_investigation/inventory_troubleshooting/inspect", }, { - path: "/hazard_investigation/inventory_troubleshooting/standard_inspect", + path: "/hazard_investigation/inventory_troubleshooting/inspect_custom", meta: { title: "开始检查", activeMenu: "/hazard_investigation/inventory_troubleshooting", }, component: - "hazard_investigation/inventory_troubleshooting/standard_inspect", + "hazard_investigation/inventory_troubleshooting/inspect_custom", }, ], },