wgl 4 lat temu
rodzic
commit
5f2a7fc4b9

+ 116 - 0
src/projects/pension/router/master.js

@@ -283,6 +283,122 @@ const routesMaster = [
 				],
 			},
 
+			//亲情号码
+			{
+				path: 'phone',
+				component: () => import('../views/Layout.vue'),
+				children: [
+					//亲情号码主页
+					{
+						path: '',
+						name: 'MasterPhone',
+						component: () => import('../views/Master/Phone/Home.vue'),
+						meta: {
+							requireAuth: true,
+							role: [],
+							title: '亲情号码',
+							mode: true
+						}
+					},
+					//新增亲情号码
+					{
+						path: 'add',
+						name: 'MasterPhoneAdd',
+						component: () => import('../views/Master/Phone/Add.vue'),
+						meta: {
+							requireAuth: false,
+							role: [],
+							title: '新增亲情号码',
+						}
+					},
+				],
+			},
+
+			//就医记录
+			{
+				path: 'hospital',
+				component: () => import('../views/Layout.vue'),
+				children: [
+					//就医记录
+					{
+						path: '',
+						name: 'MasterHospital',
+						component: () => import('../views/Master/Hospital/Home.vue'),
+						meta: {
+							requireAuth: true,
+							role: [],
+							title: '就医记录主页',
+							mode: true
+						}
+					},
+					//就医记录新增编辑记录
+					{
+						path: 'form',
+						name: 'MasterHospitalForm',
+						component: () => import('../views/Master/Hospital/Form.vue'),
+						meta: {
+							requireAuth: true,
+							role: [],
+							title: '就医记录新增编辑记录',
+							form: true
+						}
+					},
+					//编辑就医档案
+					{
+						path: 'archives',
+						name: 'MasterHospitalArchives',
+						component: () => import('../views/Master/Hospital/Archives.vue'),
+						meta: {
+							requireAuth: false,
+							role: [],
+							title: '编辑就医档案',
+						}
+					},
+				],
+			},
+
+			//用药提醒
+			{
+				path: 'drug',
+				component: () => import('../views/Layout.vue'),
+				children: [
+					//用药提醒
+					{
+						path: '',
+						name: 'MasterDrug',
+						component: () => import('../views/Master/Drug/Home.vue'),
+						meta: {
+							requireAuth: true,
+							role: [],
+							title: '用药提醒',
+							mode: true
+						}
+					},
+					//添加用药提醒
+					{
+						path: 'add',
+						name: 'MasterDrugAdd',
+						component: () => import('../views/Master/Drug/Add.vue'),
+						meta: {
+							requireAuth: false,
+							role: [],
+							title: '用药提醒',
+						}
+					},
+					//添加用药提醒完成
+					{
+						path: 'success',
+						name: 'MasterDrugAddSuccess',
+						component: () => import('../views/Master/Drug/AddSuccess.vue'),
+						meta: {
+							requireAuth: false,
+							role: [],
+							title: '添加用药提醒完成',
+						}
+					},
+				],
+			},
+
 			//用户相关
 			{
 				path: 'user',

+ 8 - 0
src/projects/pension/views/Master/Drug/Add.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/projects/pension/views/Master/Drug/AddSuccess.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/projects/pension/views/Master/Drug/Home.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/projects/pension/views/Master/Hospital/Archives.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/projects/pension/views/Master/Hospital/Form.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/projects/pension/views/Master/Hospital/Home.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/projects/pension/views/Master/Phone/Add.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/projects/pension/views/Master/Phone/Home.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>