init
This commit is contained in:
2025-06-27 17:42:38 +08:00
commit bd6402478b
5317 changed files with 785994 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
import { RouteRecordRaw } from 'vue-router';
const fRoutes: Array<RouteRecordRaw> = [
{
path: '/smokeOrDrink',
name: '吸烟或喝酒',
meta: {
title: '问卷填写',
},
component: () => import('/@/views/archivesManage/smokeOrDrink/index.vue'),
},
{
path: '/set-target',
name: '设置目标',
component: () => import('/@/views/healthClock/setTarget/setTarget.vue'),
meta: {
title: '设置目标',
},
},
{
path: '/weight-examine',
name: '目标体重审核',
meta: {
title: '目标体重审核',
},
component: () => import('/@/views/healthClock/examine/weightExamine/weightExamine.vue'),
},
{
path: '/check-detail',
name: '打卡明细',
meta: {
title: '打卡明细',
},
component: () => import('/@/views/healthClock/examine/weightManage/checkDetail/checkDetail.vue'),
},
{
path: '/weight-activities',
name: '体重管理行动',
meta: {
title: '体重管理行动',
},
component: () => import('/@/views/weightActivities/weightActivities.vue'),
},
];
export default fRoutes;
+77
View File
@@ -0,0 +1,77 @@
import { createRouter, createWebHashHistory, createWebHistory, Router, RouteRecordRaw } from 'vue-router';
import kRoutes from '/@/router/kRouter';
import tRoutes from '/@/router/tRouter';
import xRoutes from '/@/router/xRouter';
import fRoutes from '/@/router/fRouter';
import zRoutes from '/@/router/zRouter';
import questions from '/@/router/questions';
import interveneRoutes from '/@/router/intervene';
import questionAndIntervene from '/@/router/questionAndIntervene';
import psychology from '/@/router/psychology';
import { useTypeHeader } from '/@/views/mergeQuesIntervene/ImageTraceability/traceabilityHooks';
const routes: Array<RouteRecordRaw> = [
{
path: '/',
name: '问卷',
component: () => import('/@/views/mobile/index.vue'),
// component: () => import('/@/views/mobile/index.vue'),
},
{
path: '/indexSon',
name: '预览',
component: () => import('/@/views/mobile/indexSon.vue'),
},
{
path: '/questionnaire',
name: '问卷1',
component: () => import('/@/views/mobile/questionnaire.vue'),
},
{
path: '/knowledge',
name: '疾病知识',
component: () => import('/@/views/mobile/knowledge/index.vue'),
},
{
path: '/searchKnowledge',
name: '知识查询',
component: () => import('/@/views/mobile/searchKnowledge/index.vue'),
},
{
path: '/app-download',
name: '下载',
meta: {
title: '下载',
},
component: () => import('/@/views/AppDownLoad.vue'),
},
];
const router: Router = createRouter({
history: createWebHistory('/static/mobile'),
routes: [
...routes,
...kRoutes,
...tRoutes,
...xRoutes,
...zRoutes,
...questions,
...interveneRoutes,
...questionAndIntervene,
...psychology,
...fRoutes,
],
});
router.beforeEach((to, from, next) => {
if (to.meta?.title) {
document.title = to.meta?.title;
}
if (to.query?.templateName) {
document.title = to.query?.templateName;
}
if (to.query?.traceabType) {
document.title = useTypeHeader(to.query?.traceabType).title + '问卷';
}
next();
});
export default router;
+36
View File
@@ -0,0 +1,36 @@
import { RouteRecordRaw } from 'vue-router';
const interveneRoutes: Array<RouteRecordRaw> = [
{
path: '/image-traceability',
name: '影像溯源问卷',
meta: {
title: '影像溯源问卷',
},
component: () => import('/@/views/23intervene/ImageTraceability/TraceabilityQuestion.vue'),
},
{
path: '/home-prediction',
name: '信号预判',
meta: {
title: '信号预判',
},
component: () => import('/@/views/23intervene/signalPrediction/HomePerediction.vue'),
},
{
path: '/signal-prediction',
name: '信号预判问卷',
meta: {
title: '信号预判问卷',
},
component: () => import('/@/views/23intervene/signalPrediction/Prediction.vue'),
},
{
path: '/immune-warning',
name: '免疫预警',
meta: {
title: '免疫预警问卷',
},
component: () => import('/@/views/23intervene/ImmuneWarning/WarningQuestion.vue'),
},
];
export default interveneRoutes;
+164
View File
@@ -0,0 +1,164 @@
import { RouteRecordRaw } from 'vue-router';
const kRoutes: Array<RouteRecordRaw> = [
{
path: '/postHealth',
name: '岗位健康',
meta: {
title: '岗位健康',
},
component: () => import('/@/views/post-health/postHealth.vue'),
},
{
path: '/jobDetails',
name: '岗位详情',
meta: {
title: '岗位详情',
},
component: () => import('/@/views/post-health/components/jobDetails.vue'),
},
{
path: '/rich-text',
name: '富文本内容',
meta: {
title: '富文本内容',
},
component: () => import('/@/views/rich-text/richText.vue'),
},
{
path: '/health-question',
name: '健康答题',
meta: {
title: '健康答题',
},
component: () => import('/@/views/health-questions/healthQuestions.vue'),
},
{
path: '/answer-recordsList',
name: '答题记录',
meta: {
title: '答题记录',
},
component: () => import('/@/views/health-questions/answerRecordsList.vue'),
},
{
path: '/answer-page',
name: '答题页',
meta: {
title: '答题页',
},
component: () => import('/@/views/health-questions/answerPage.vue'),
},
{
path: '/complete-answer',
name: '答题结果页',
meta: {
title: '答题结果页',
},
component: () => import('/@/views/health-questions/completeAnswerPage.vue'),
},
{
path: '/cancer-answer',
name: '癌症答题',
meta: {
title: '癌症答题',
},
component: () => import('/@/views/knowledge-answer/cancer-answer/cancerAnswer.vue'),
},
{
path: '/psychology-answer',
name: '心理知识答题',
meta: {
title: '心理知识答题',
},
component: () => import('/@/views/knowledge-answer/psychology-answer/psychologyAnswer.vue'),
},
{
path: '/sports-platform',
name: '今日运动',
meta: {
title: '今日运动',
},
component: () => import('/@/views/motion-data/sports-platform/sportsPlatform.vue'),
},
{
path: '/sport-week',
name: '今日运动-运动统计',
meta: {
title: '运动统计',
},
component: () => import('/@/views/motion-data/sport-week-page/sportWeekPage.vue'),
},
{
path: '/add-sport',
name: '添加运动',
meta: {
title: '添加运动',
},
component: () => import('/@/views/motion-data/add-sport/addSport.vue'),
},
{
path: '/sport-form',
name: '运动填报',
meta: {
title: '运动填报',
},
component: () => import('/@/views/motion-data/sport-form/sportForm.vue'),
},
{
path: '/sport-ranking',
name: '运动排名',
meta: {
title: '运动排名',
},
component: () => import('/@/views/sport-ranking/sportRanking.vue'),
},
{
path: '/step-statistics',
name: '步行',
meta: {
title: '',
},
component: () => import('/@/views/motion-data/step-statistics/stepStatistics.vue'),
},
{
path: '/ride-statistics',
name: '骑行',
meta: {
title: '骑行',
},
component: () => import('/@/views/motion-data/ride-statistics/rideStatistics.vue'),
},
{
path: '/yoga-statistics',
name: '瑜伽',
meta: {
title: '瑜伽',
},
component: () => import('/@/views/motion-data/yoga-statistics/yogaStatistics.vue'),
},
{
path: '/disease-assessment-result',
name: '慢病测评结果',
meta: {
title: '慢病测评结果',
},
component: () => import('/@/views/disease-warning/disease-assessment-result/diseaseAssessmentResult.vue'),
},
//医疗点
{
path: '/treatmentDetail',
name: '就诊记录详情',
meta: {
title: '就诊记录详情',
},
component: () => import('/@/views/medicalCenter/treatmentDetail/treatmentDetail.vue'),
},
];
// let str = '';
// kRoutes.map((item) => {
// str += item.name + ':' + 'http://192.168.1.43:9000/static/mobile' + item.path + '\n';
// });
// console.log('菜单路径\n', str);
export default kRoutes;
+137
View File
@@ -0,0 +1,137 @@
import { RouteRecordRaw } from 'vue-router';
// 心理评估
const psAssessment = [
{
path: '/basic-information',
name: '基本信息问卷',
meta: {
title: '基本信息问卷',
},
component: () => import('/@/views/23psychology/psychic/baseInfo/BasicInformation.vue'),
},
{
path: '/self-evaluation',
name: '自主评估',
meta: {
title: '自主评估',
},
component: () => import('/@/views/23psychology/psychic/evaluation/SelfEvaluation.vue'),
},
{
path: '/scale-questionnaire',
name: '自主评估-量表填写',
meta: {
title: '自主评估',
},
component: () => import('/@/views/23psychology/psychic/evaluation/ScaleQuestionnaire.vue'),
},
{
path: '/ps-result',
name: '心理评估-评估报告',
meta: {
title: '评估报告',
},
component: () => import('/@/views/23psychology/psychic/report/Reports.vue'),
},
{
path: '/reportHistory',
name: '心理-自主评估历史',
meta: {
title: '自主评估历史',
},
component: () => import('/@/views/23psychology/psychic/report/reportHistory.vue'),
},
{
path: '/task',
name: '测评任务',
meta: {
title: '测评任务',
},
component: () => import('/@/views/23psychology/psychic/task/task.vue'),
},
{
path: '/psychology-progress',
name: '心理评估-任务详情',
meta: {
title: '任务详情',
},
component: () => import('/@/views/23psychology/psychic/progress/progress.vue'),
},
];
// 知识答题
const knowledge = [
{
path: '/choose-topic',
name: '自主答题',
meta: {
title: '自主答题',
},
component: () => import('/@/views/23psychology/answer/chooseTopic/chooseTopic.vue'),
},
{
path: '/task-topic',
name: '答题活动',
meta: {
title: '答题活动',
},
component: () => import('/@/views/23psychology/answer/task/task.vue'),
},
{
path: '/answer-history',
name: '知识-自主答题历史',
meta: {
title: '自主答题历史',
},
component: () => import('/@/views/23psychology/answer/answerHistory/answerHistory.vue'),
},
{
path: '/answer-Report',
name: '答题结果',
meta: {
title: '答题结果',
},
component: () => import('/@/views/23psychology/answer/answerReport/answerReport.vue'),
},
{
path: '/knowledge-detail',
name: '知识答题-知识详情',
meta: {
title: '知识详情',
},
component: () => import('/@/views/23psychology/answer/answerReport/knowledgeDetail.vue'),
},
{
path: '/ps-selfAnswer',
name: '心理评估-自主答题',
meta: {
title: '自主答题',
},
component: () => import('/@/views/23psychology/answer/questionAnswer/QuestionAnswer.vue'),
},
{
path: '/ps-answerDetails',
name: '心理评估-结果页面',
meta: {
title: '答题详情',
},
component: () => import('/@/views/23psychology/answer/questionAnswer/components/QuestionResult.vue'),
},
{
path: '/taskDetails',
name: '知识答题-任务详情',
meta: {
title: '任务详情',
},
component: () => import('/@/views/23psychology/answer/taskDetails/taskDetails.vue'),
},
{
path: '/ranking-list',
name: '排行榜',
meta: {
title: '排行榜',
},
component: () => import('/@/views/23psychology/answer/rankingList/rankingList.vue'),
},
];
const psychologyRoutes: Array<RouteRecordRaw> = [...psAssessment, ...knowledge];
export default psychologyRoutes;
+116
View File
@@ -0,0 +1,116 @@
import { RouteRecordRaw } from 'vue-router';
// 对应设计图 2023年-干预集成
const platform = sessionStorage.getItem('platform') !== null ? sessionStorage.getItem('platform') : 'C01';
const type = {
C01: '体检',
C02: '癌症',
C03: '答题培训',
};
// @ts-ignore
const questionAndIntervene: Array<RouteRecordRaw> = [
{
name: '体检答题-四合一',
path: '/mergeQuestion/physical-questions',
component: () => import('/@/views/mergeQuesIntervene/question/index.vue'),
meta: {
title: `${type[platform]}答题`,
},
},
{
name: '单位答题活动-四合一',
path: '/mergeQuestion/physical-activity',
component: () => import('/@/views/mergeQuesIntervene/question/activities/answerActivity.vue'),
meta: {
title: '单位答题活动',
},
},
{
name: '活动详情-四合一',
path: '/mergeQuestion/physical-activityDetail',
component: () => import('/@/views/mergeQuesIntervene/question/activities/answerActiveDetail.vue'),
meta: {
title: '单位答题活动',
},
},
{
name: '体检知识答题记录-四合一',
path: '/mergeQuestion/physical-history',
component: () => import('/@/views/mergeQuesIntervene/question/components/historyRecord.vue'),
meta: {
title: `${type[platform]}答题记录`,
},
},
{
name: '排行榜-四合一',
path: '/mergeQuestion/physical-level',
component: () => import('/@/views/mergeQuesIntervene/question/activities/level.vue'),
meta: {
title: '排行榜',
},
},
{
name: '答题培训-四合一',
path: '/mergeQuestion/physical-answer',
component: () => import('/@/views/mergeQuesIntervene/question/answer/answerHome.vue'),
meta: {
title: platform === 'C03' ? `${type[platform]}` : `${type[platform]}知识答题`,
},
},
{
name: '体检知识答题结果-四合一',
path: '/mergeQuestion/physical-result',
component: () => import('/@/views/mergeQuesIntervene/question/answer/answerResult.vue'),
meta: {
title: `${type[platform]}知识答题`,
},
},
{
name: '回顾答题-四合一',
path: '/mergeQuestion/physical-review',
component: () => import('/@/views/mergeQuesIntervene/question/answer/answerReview.vue'),
meta: {
title: '答题记录',
},
},
{
path: '/mergeQuestion/image-traceability',
name: '影像溯源问卷-四合一',
meta: {
title: '影像溯源问卷',
},
component: () => import('/@/views/mergeQuesIntervene/ImageTraceability/TraceabilityQuestion.vue'),
},
{
path: '/mergeQuestion/home-prediction',
name: '信号预判-四合一',
meta: {
title: '信号预判',
},
component: () => import('/@/views/mergeQuesIntervene/signalPrediction/HomePerediction.vue'),
},
{
path: '/mergeQuestion/signal-prediction',
name: '信号预判问卷-四合一',
meta: {
title: '信号预判问卷',
},
component: () => import('/@/views/mergeQuesIntervene/signalPrediction/Prediction.vue'),
},
{
path: '/mergeQuestion/immune-warning',
name: '免疫预警-四合一',
meta: {
title: '免疫预警问卷',
},
component: () => import('/@/views/mergeQuesIntervene/ImmuneWarning/WarningQuestion.vue'),
},
{
path: '/mergeQuestion/eating-balance',
name: '吃动平衡-四合一',
meta: {
title: '吃动平衡问卷',
},
component: () => import('/@/views/mergeQuesIntervene/eatingBalance/EatingBalance.vue'),
},
];
export default questionAndIntervene;
+76
View File
@@ -0,0 +1,76 @@
import { RouteRecordRaw } from 'vue-router';
const platform = sessionStorage.getItem('platform') !== null ? sessionStorage.getItem('platform') : 'C01';
const type = {
C01: '体检',
C02: '癌症',
C03: '答题培训',
};
// @ts-ignore
const tRoutes: Array<RouteRecordRaw> = [
{
name: '体检答题',
path: '/physical-questions',
component: () => import('/@/views/23-physical-questions/index.vue'),
meta: {
title: `${type[platform]}答题`,
},
},
{
name: '单位答题活动',
path: '/physical-activity',
component: () => import('/@/views/23-physical-questions/activities/answerActivity.vue'),
meta: {
title: '单位答题活动',
},
},
{
name: '活动详情',
path: '/physical-activityDetail',
component: () => import('/@/views/23-physical-questions/activities/answerActiveDetail.vue'),
meta: {
title: '单位答题活动',
},
},
{
name: '体检知识答题记录',
path: '/physical-history',
component: () => import('/@/views/23-physical-questions/components/historyRecord.vue'),
meta: {
title: `${type[platform]}答题`,
},
},
{
name: '排行榜',
path: '/physical-level',
component: () => import('/@/views/23-physical-questions/activities/level.vue'),
meta: {
title: '排行榜',
},
},
{
name: '答题培训',
path: '/physical-answer',
component: () => import('/@/views/23-physical-questions/answer/answerHome.vue'),
meta: {
title: platform === 'C03' ? `${type[platform]}` : `${type[platform]}知识答题`,
},
},
{
name: '体检知识答题结果',
path: '/physical-result',
component: () => import('/@/views/23-physical-questions/answer/answerResult.vue'),
meta: {
title: `${type[platform]}知识答题`,
},
},
{
name: '回顾答题',
path: '/physical-review',
component: () => import('/@/views/23-physical-questions/answer/answerReview.vue'),
meta: {
title: '答题记录',
},
},
];
export default tRoutes;
+253
View File
@@ -0,0 +1,253 @@
import { RouteRecordRaw } from 'vue-router';
import moment from 'moment';
const tRoutes: Array<RouteRecordRaw> = [
{
path: '/vaccine',
name: '疫苗问卷',
meta: {
title: '疫苗问卷',
},
component: () => import('/@/views/immuneWarning/Vaccinum.vue'),
},
{
path: '/health',
name: '健康评估',
meta: {
title: '健康评估',
},
component: () => import('/@/views/health/HealthList.vue'),
},
{
path: '/health-subject',
name: '健康评估题目',
meta: {
title: '健康评估题目',
},
component: () => import('/@/views/health/HealthSubject.vue'),
},
{
path: '/health-history',
name: '测评记录',
meta: {
title: '测评记录',
},
component: () => import('/@/views/health/HealthHistory.vue'),
},
{
path: '/anxiety-history',
name: '焦虑抑郁测评记录',
meta: {
title: '焦虑抑郁测评记录',
},
component: () => import('/@/views/health/AnxietyHistory.vue'),
},
{
path: '/anxiety-result',
name: '焦虑抑郁测评结果',
meta: {
title: '焦虑抑郁测评',
},
component: () => import('/@/views/health/AnxietyResult.vue'),
},
{
path: '/livingIndependent',
name: '规律起居',
meta: {
title: '规律起居',
},
component: () => import('/@/views/living/livingIndependent/LivingIndependent.vue'),
},
{
name: 'baseFileEntry',
path: '/baseFileEntry',
component: () => import('/@/views/living/baseFileEntry/BaseFileEntry.vue'),
meta: {
title: '档案录入',
},
},
{
name: 'fileEntryC',
path: '/fileEntryC',
component: () => import('/@/views/eatingBalance/fileEntry/fileEntry.vue'),
meta: {
title: '档案录入',
},
},
{
name: 'report',
path: '/report',
component: () => import('/@/views/living/report/Report.vue'),
meta: {
title: '规律起居评估报告',
},
},
{
name: 'livingPlan',
path: '/livingPlan',
component: () => import('/@/views/living/livingPlan/LivingPlan.vue'),
meta: {
title: '起居计划',
},
},
{
name: 'livingWeekly',
path: '/livingWeekly',
component: () => import('/@/views/living/livingWeekly/LivingWeekly.vue'),
meta: {
title: '监测周报',
},
},
{
name: 'historyList',
path: '/historyList',
component: () => import('/@/views/living/historyList/HistoryList.vue'),
meta: {
title: '历史数据',
},
},
{
name: 'adjustmentSuggestionC',
path: '/adjustmentSuggestionC',
component: () => import('/@/views/eatingBalance/adjustmentSuggestion/adjustmentSuggestion.vue'),
meta: {
title: '膳食结构调整建议',
},
},
{
name: 'dietarySciencePopularizationC',
path: '/dietarySciencePopularizationC',
component: () => import('/@/views/eatingBalance/dietarySciencePopularization/dietarySciencePopularization.vue'),
meta: {
title: '膳食科普',
},
},
{
name: 'psychologicalEvaluationListC',
path: '/psychologicalEvaluationListC',
component: () => import('/@/views/eatingBalance/psychologicalEvaluationList/psychologicalEvaluationList.vue'),
meta: {
title: '历史数据',
},
},
{
name: 'healthIndependentC',
path: '/healthIndependentC',
component: () => import('/@/views/eatingBalance/healthIndependent/healthIndependent.vue'),
meta: {
title: '健康自主管理',
},
},
{
name: 'suggestionsOnEatingDynamicBalanceC',
path: '/suggestionsOnEatingDynamicBalanceC',
component: () => import('/@/views/eatingBalance/suggestionsOnEatingDynamicBalance/suggestionsOnEatingDynamicBalance.vue'),
meta: {
title: '吃动平衡建议',
},
},
{
name: 'dailyPaperC',
path: '/dailyPaperC',
component: () => import('/@/views/eatingBalance/dailyPaper/dailyPaper.vue'),
meta: {
title: '吃动平衡监测日报',
},
},
{
name: 'weeklyC',
path: '/weeklyC',
component: () => import('/@/views/eatingBalance/weekly/weekly.vue'),
meta: {
title: '吃动平衡监测周报',
},
},
{
name: 'healthMonitoringC',
path: '/healthMonitoringC',
component: () => import('/@/views/eatingBalance/healthMonitoring/healthMonitoring.vue'),
meta: {
title: '健康监测',
},
},
{
name: 'healthMonitoringHelpC',
path: '/healthMonitoringHelpC',
component: () => import('/@/views/eatingBalance/healthMonitoringHelp/healthMonitoringHelp.vue'),
meta: {
title: '健康监测帮助',
},
},
{
name: 'Indicator',
path: '/Indicator',
component: () => import('/@/views/eatingBalance/indicator/Indicator.vue'),
meta: {
title: '指标监测数据',
},
},
{
name: 'sport',
path: '/sport',
component: () => import('/@/views/eatingBalance/sport/Sport.vue'),
meta: {
title: '运动监测数据',
},
},
{
name: 'meals',
path: '/meals',
component: () => import('/@/views/eatingBalance/meals/Meals.vue'),
meta: {
title: '膳食监测数据',
},
},
{
name: 'AssessmentHome',
path: '/assessment-home',
component: () => import('/@/views/psycholoical/AssessmentHome.vue'),
meta: {
title: '心理评估',
},
},
{
name: 'evaluatingA',
path: '/evaluatingA',
component: () => import('/@/views/psycholoical/evaluating/evaluating.vue'),
meta: {
title: moment(new Date()).format('YYYY') + '年度身心健康知识测评',
},
},
{
name: 'historyA',
path: '/historyA',
component: () => import('/@/views/psycholoical/history/history.vue'),
meta: {
title: '历史测评',
},
},
{
name: 'assessmentResultA',
path: '/assessmentResultA',
component: () => import('/@/views/psycholoical/assessmentResult/assessmentResult.vue'),
meta: {
title: '心理评估报告',
},
},
{
name: '病因溯源',
path: '/etiological',
component: () => import('/@/views/etiological/EtiologicalTracing.vue'),
meta: {
title: '病因溯源',
},
},
{
name: '规律起居提醒应用安装教程',
path: '/filesPdf',
component: () => import('/@/views/living/files/index.vue'),
meta: {
title: '规律起居提醒应用安装教程',
},
},
];
export default tRoutes;
+165
View File
@@ -0,0 +1,165 @@
import { RouteRecordRaw } from 'vue-router';
const xRoutes: Array<RouteRecordRaw> = [
{
path: '/sportsStatistics',
name: '运动统计',
meta: {
title: '运动统计',
},
component: () => import('/@/views/sports-statistics/index.vue'),
},
{
path: '/follow',
name: '随访记录详情',
meta: {
title: '随访记录详情',
},
component: () => import('/@/views/medicalCenter/follow/followDetail.vue'),
},
{
path: '/motionClock',
name: '运动打卡',
meta: {
title: '运动打卡',
},
component: () => import('/@/views/healthClock/motion/motion.vue'),
},
{
path: '/motionDetailClock',
name: '运动打卡详情',
meta: {
title: '运动打卡详情',
},
component: () => import('/@/views/healthClock/motion/motionDetail.vue'),
},
{
path: '/weightClock',
name: '体重管理',
meta: {
title: '体重管理',
},
component: () => import('/@/views/healthClock/weight/weight.vue'),
},
{
path: '/weightDetailClock',
name: '体重打卡详情',
meta: {
title: '体重打卡详情',
},
component: () => import('/@/views/healthClock/weight/weightDetail.vue'),
},
{
path: '/ranking',
name: '排行榜1',
meta: {
title: '排行榜',
},
component: () => import('/@/views/healthClock/ranking/rankingB.vue'),
},
{
path: '/commitment',
name: '承诺书',
meta: {
title: '目标承诺',
},
component: () => import('/@/views/healthClock/commitment/commitment.vue'),
},
{
path: '/noPlanCommitment',
name: '无计划承诺书',
meta: {
title: '目标承诺',
},
component: () => import('/@/views/healthClock/commitment/hasOrNoPlanCommitment/noPlanCommitment.vue'),
},
{
path: '/showCommitment',
name: '承诺书文件',
meta: {
title: '',
},
component: () => import('/@/views/healthClock/commitment/showCommitment.vue'),
},
{
path: '/contraindications',
name: '禁忌证',
meta: {
title: '禁忌证',
},
component: () => import('/@/views/healthClock/contraindications/contraindications.vue'),
},
{
path: '/indicators',
name: '重点指标',
meta: {
title: '重点指标',
},
component: () => import('/@/views/healthClock/indicators/indicatorsNew.vue'),
},
{
path: '/activeInfo',
name: '设置目标-活动详情',
meta: {
title: '活动详情',
},
component: () => import('/@/views/healthClock/setTarget/components/loseWeight/activeInfo.vue'),
},
{
path: '/weightManage',
name: '体重管理详情',
meta: {
title: '体重管理详情',
},
component: () => import('/@/views/healthClock/examine/weightManage/weightManage.vue'),
},
{
path: '/checkHistory',
name: '体重管理详情-打卡历史',
meta: {
title: '',
},
component: () => import('/@/views/healthClock/examine/weightManage/checkHistory/checkHistory.vue'),
},
{
path: '/weightIndex',
name: '干预-体重记录首页',
meta: {
title: '体重管理',
},
component: () => import('/@/views/healthIntervene/weightHistory/weightIndex.vue'),
},
{
path: '/weightBody',
name: '干预-体重记录身体测评',
meta: {
title: '身体测评',
},
component: () => import('/@/views/healthIntervene/weightHistory/weightBody.vue'),
},
{
path: '/weightBodyResult',
name: '干预-体重记录测评结果',
meta: {
title: '测评结果',
},
component: () => import('/@/views/healthIntervene/weightHistory/weightBodyResult.vue'),
},
{
path: '/weightClockHistory',
name: '干预-体重记录',
meta: {
title: '体重记录',
},
component: () => import('/@/views/healthIntervene/weightHistory/weightClock.vue'),
},
{
path: '/weightHistory',
name: '干预-体重全部记录',
meta: {
title: '全部记录',
},
component: () => import('/@/views/healthIntervene/weightHistory/weightHistory.vue'),
},
];
export default xRoutes;
+152
View File
@@ -0,0 +1,152 @@
import { RouteRecordRaw } from 'vue-router';
// @ts-ignore
const zRoutes: Array<RouteRecordRaw> = [
{
path: '/bloodGlucose',
name: '血糖监测',
meta: {
title: '血糖监测',
},
component: () => import('/@/views/bloodGlucose/index.vue'),
},
{
path: '/bloodGlucoseManualEntry',
name: '手动录入',
meta: {
title: '手动录入',
},
component: () => import('/@/views/bloodGlucose/manualEntry.vue'),
},
{
path: '/bloodGlucoseMoreRecord',
name: '血糖监测——更多记录',
meta: {
title: '更多记录',
},
component: () => import('/@/views/bloodGlucose/moreRecord.vue'),
},
{
path: '/overweightIntervention',
name: '超重干预',
meta: {
title: '超重干预',
},
component: () => import('/@/views/overweightIntervention/index.vue'),
},
{
path: '/overweightInterventionManualEntry',
name: '录入BMI',
meta: {
title: '录入BMI',
newPage: true,
},
component: () => import('/@/views/overweightIntervention/manualEntry.vue'),
},
{
path: '/overweightInterventionMoreRecord',
name: '超重干预-更多记录',
meta: {
title: '超重干预',
},
component: () => import('/@/views/overweightIntervention/moreRecord.vue'),
},
{
path: '/knowledge-page',
name: '文章详情',
meta: {
title: '文章详情',
newPage: true,
},
component: () => import('/@/views/overweightIntervention/components/knowledgePage.vue'),
},
{
path: '/immuneWarning',
name: '免疫预警干预',
meta: {
title: '免疫预警',
},
component: () => import('/@/views/immuneWarning/index.vue'),
},
{
path: '/physicalExaminationIndex',
name: '体检项目',
meta: {
title: '体检项目',
},
component: () => import('/@/views/physicalExamination/physicalExamination/physicalExamination.vue'),
},
{
path: '/physicalDetail',
name: '体检项目详情',
meta: {
title: '体检项目详情',
},
component: () => import('/@/views/physicalExamination/physicalDetail/physicalDetail.vue'),
},
{
path: '/physicalExaminationElectronicReport',
name: '电子报告',
meta: {
title: '电子报告',
},
component: () => import('/@/views/physicalExamination/electronicReport/electronicReport.vue'),
},
{
path: '/physicalExaminationGeneralInspection',
name: '体检项',
meta: {
title: '体检项',
},
component: () => import('/@/views/physicalExamination/generalInspection/generalInspection.vue'),
},
{
path: '/physicalExaminationMedicalReport',
name: '体检报告',
meta: {
title: '体检报告',
},
component: () => import('/@/views/physicalExamination/medicalReport/medicalReport.vue'),
},
{
path: '/physicalExaminationTransaminase',
name: '变化趋势',
meta: {
title: '变化趋势',
},
component: () => import('/@/views/physicalExamination/transaminase/transaminase.vue'),
},
{
path: '/heart-attack',
name: '心血管-防范心梗,防脑卒中问卷',
component: () => import('/@/views/preventionQuestion/heartAttack/heartAttack.vue'),
meta: {
title: '防范心梗',
},
},
{
path: '/heart-factors',
name: '心血管-危险因素',
component: () => import('/@/views/preventionQuestion/heartAttack/riskFactors.vue'),
meta: {
title: '危险因素',
},
},
{
path: '/selfRecordedMeals',
name: 'selfRecordedMeals',
component: () => import('/@/views/selfRecordedMealsModule/selfRecordedMeals/selfRecordedMeals.vue'),
meta: {
title: '自记餐',
},
},
{
path: '/selfRecordedMealHistory',
name: 'selfRecordedMealHistory',
component: () => import('/@/views/selfRecordedMealsModule/selfRecordedMealHistory/selfRecordedMealHistory.vue'),
meta: {
title: '历史记录',
},
},
];
export default zRoutes;