From 1a61525947d43fd7c8a6df637bf5c1c8f9cc37f3 Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期四, 26 六月 2025 14:24:32 +0800 Subject: [PATCH] Merge branch 'main' of http://120.76.84.145:10101/gitblit/r/H5/leshan-laboratory --- culture/src/router/index.js | 67 ++++++++++++++++++++++++++++++--- 1 files changed, 60 insertions(+), 7 deletions(-) diff --git a/culture/src/router/index.js b/culture/src/router/index.js index d02a1d1..2c1bdaf 100644 --- a/culture/src/router/index.js +++ b/culture/src/router/index.js @@ -169,7 +169,6 @@ name: "StrainLibraryManage", meta: { title: "原始细胞库", - keepAlive: true, }, component: () => import("../views/strain-library/strain-library-manage"), @@ -179,8 +178,16 @@ name: "StrainLibraryManageAdd", meta: { title: "新增原始细胞库", - keepAlive: true, - + hide: true, + }, + component: () => + import("../views/strain-library/strain-library-manage/add.vue"), + }, + { + path: "strain-library-manage/detail", + name: "StrainLibraryManageAdd", + meta: { + title: "编辑原始细胞库", hide: true, }, component: () => @@ -203,7 +210,6 @@ name: "MainCellLibrary", meta: { title: "主细胞库", - keepAlive: true, }, component: () => import("../views/strain-library/main-cell-library"), @@ -213,7 +219,16 @@ name: "MainCellLibraryAdd", meta: { title: "新增主细胞", - keepAlive: true, + hide: true, + }, + component: () => + import("../views/strain-library/main-cell-library/add.vue"), + }, + { + path: "main-cell-library/edit", + name: "MainCellLibraryAdd", + meta: { + title: "编辑主细胞", hide: true, }, component: () => @@ -224,7 +239,6 @@ name: "ProductionCellLibrary", meta: { title: "生产细胞库", - keepAlive: true, }, component: () => import("../views/strain-library/production-cell-library"), @@ -234,7 +248,16 @@ name: "ProductionCellLibraryAdd", meta: { title: "新增生产细胞", - keepAlive: true, + hide: true, + }, + component: () => + import("../views/strain-library/production-cell-library/add.vue"), + }, + { + path: "production-cell-library/edit", + name: "ProductionCellLibraryAdd", + meta: { + title: "编辑生产细胞", hide: true, }, component: () => @@ -475,6 +498,16 @@ import("../views/strainReportLibrary/reportLibraryOneTWO/index.vue"), }, { + path: "detailTwo", + meta: { + title: "报告详情", + hide: true, + keepAlive: true, + }, + component: () => + import("../views/strainReportLibrary/reportLibraryOneTWO/add.vue"), + }, + { path: "addTwo", meta: { title: "新增报告", @@ -496,6 +529,16 @@ ), }, { + path: "detailThree", + meta: { + title: "报告详情", + hide: true, + keepAlive: true, + }, + component: () => + import("../views/strainReportLibrary/reportLibraryOneThree/add.vue"), + }, + { path: "addThree", meta: { title: "新增报告", @@ -515,6 +558,16 @@ import("../views/strainReportLibrary/reportLibraryOneFour/index.vue"), }, { + path: "detailFour", + meta: { + title: "报告详情", + hide: true, + keepAlive: true, + }, + component: () => + import("../views/strainReportLibrary/reportLibraryOneFour/add.vue"), + }, + { path: "addFour", meta: { title: "新增报告", -- Gitblit v1.7.1