|
@@ -728,6 +728,17 @@ export const constantRoutes = [
|
|
|
nocopy: true
|
|
|
},
|
|
|
},
|
|
|
+ {
|
|
|
+ path: '/whitelist-outpatientMedicalRecordDetail',
|
|
|
+ name: 'WhitelistOutpatientMedicalRecordDetail',
|
|
|
+ component: () => import('@/views/outpatient/control/detail'),
|
|
|
+ hidden: true,
|
|
|
+ meta: {
|
|
|
+ keepAlive: 0,
|
|
|
+ canMultipleOpen: true,
|
|
|
+ nocopy: true
|
|
|
+ },
|
|
|
+ },
|
|
|
{
|
|
|
path: '/whitelist-caseControl',
|
|
|
name: 'WhitelistCaseControl',
|
|
@@ -764,7 +775,7 @@ const createRouter = () =>
|
|
|
|
|
|
const router = createRouter();
|
|
|
|
|
|
-const whiteList = ['/login','/404', '/whitelist-search', '/whitelist-caseViews', '/whitelist-chargeDetails', '/whitelist-details', '/whitelist-caseControl','/whitelist-qualityResults']; // 添加路由白名单
|
|
|
+const whiteList = ['/login','/404', '/whitelist-search', '/whitelist-caseViews', '/whitelist-chargeDetails', '/whitelist-details', '/whitelist-caseControl','/whitelist-qualityResults', '/whitelist-outpatientMedicalRecordDetail']; // 添加路由白名单
|
|
|
//路由判断
|
|
|
router.beforeEach(async (to, from, next) => {
|
|
|
const hasToken = getToken();
|