diff --git a/acupuncture-前台/src/permission.js b/acupuncture-前台/src/permission.js index b66190b3..9b43df45 100644 --- a/acupuncture-前台/src/permission.js +++ b/acupuncture-前台/src/permission.js @@ -9,7 +9,7 @@ import { isRelogin } from '@/utils/request' NProgress.configure({ showSpinner: false }) -const whiteList = ['/login', '/register'] +const whiteList = ['/login', '/register','/screening/index'] const isWhiteList = (path) => { return whiteList.some(pattern => isPathMatch(pattern, path)) diff --git a/acupuncture-前台/src/router/index.js b/acupuncture-前台/src/router/index.js index f2981b15..d4a02442 100644 --- a/acupuncture-前台/src/router/index.js +++ b/acupuncture-前台/src/router/index.js @@ -146,6 +146,12 @@ export const constantRoutes = [ }, ], }, + // 筛查基本信息 + { + path: "/screening/index", + component: () => import("@/views/screening/index.vue"), + hidden: true, + }, ]; // 动态路由,基于用户权限动态去加载 diff --git a/acupuncture-前台/src/views/screening/index.vue b/acupuncture-前台/src/views/screening/index.vue new file mode 100644 index 00000000..df956819 --- /dev/null +++ b/acupuncture-前台/src/views/screening/index.vue @@ -0,0 +1,531 @@ + + + + + +