Files
xj-admin/mobile/src/router/xRouter.ts
T
2025-06-27 17:42:38 +08:00

166 lines
4.6 KiB
TypeScript

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;