build(openhis-ui-vue3): 更新 sass 依赖版本并注释部分路由配置

更新 sass 依赖从 ^1.70.0 到 ^1.77.8,并注释掉 router 中暂时未使用的路由配置项,
包括门诊医生站、套餐管理、预约管理、基础管理、维护系统及系统管理等相关路由。
This commit is contained in:
2025-12-16 13:49:06 +08:00
parent c79e4c2623
commit 3188ca5752
2 changed files with 168 additions and 168 deletions

View File

@@ -51,7 +51,7 @@
"devDependencies": { "devDependencies": {
"@vitejs/plugin-vue": "^5.0.0", "@vitejs/plugin-vue": "^5.0.0",
"@vue/compiler-sfc": "^3.5.25", "@vue/compiler-sfc": "^3.5.25",
"sass": "^1.70.0", "sass": "^1.77.8",
"unplugin-auto-import": "^0.19.0", "unplugin-auto-import": "^0.19.0",
"unplugin-vue-setup-extend-plus": "^1.0.0", "unplugin-vue-setup-extend-plus": "^1.0.0",
"vite": "^5.0.4", "vite": "^5.0.4",

View File

@@ -26,21 +26,21 @@ import Layout from '@/layout'
// 公共路由 - 所有用户均可访问的路由 // 公共路由 - 所有用户均可访问的路由
export const constantRoutes = [ export const constantRoutes = [
// 门诊医生站路由 // 门诊医生站路由
{ // {
path: '/doctorstation', // path: '/doctorstation',
component: Layout, // component: Layout,
redirect: '/doctorstation', // redirect: '/doctorstation',
name: 'DoctorStation', // name: 'DoctorStation',
meta: { title: '门诊医生站', icon: 'doctorstation' }, // meta: { title: '门诊医生站', icon: 'doctorstation' },
children: [ // children: [
{ // {
path: '', // path: '',
component: () => import('@/views/doctorstation/index.vue'), // component: () => import('@/views/doctorstation/index.vue'),
name: 'DoctorStationIndex', // name: 'DoctorStationIndex',
meta: { title: '门诊医生站', icon: 'doctorstation' } // meta: { title: '门诊医生站', icon: 'doctorstation' }
} // }
] // ]
}, // },
// 重定向路由 // 重定向路由
{ {
path: '/redirect', path: '/redirect',
@@ -101,167 +101,167 @@ export const constantRoutes = [
] ]
}, },
// 套餐管理相关路由 - 添加到公共路由确保始终可用 // 套餐管理相关路由 - 添加到公共路由确保始终可用
{ // {
path: '/maintainSystem/Inspection/PackageManagement', // path: '/maintainSystem/Inspection/PackageManagement',
component: Layout, // component: Layout,
hidden: true, // hidden: true,
children: [ // children: [
{ // {
path: '', // path: '',
component: () => import('@/views/maintainSystem/Inspection/PackageManagement.vue'), // component: () => import('@/views/maintainSystem/Inspection/PackageManagement.vue'),
name: 'DirectPackageManagement', // name: 'DirectPackageManagement',
meta: { title: '套餐管理' } // meta: { title: '套餐管理' }
} // }
] // ]
}, // },
// 预约管理直接访问路由 - 兼容外部系统访问 // 预约管理直接访问路由 - 兼容外部系统访问
{ // {
path: '/reservationRecord2/appoinmentmanage', // path: '/reservationRecord2/appoinmentmanage',
component: Layout, // component: Layout,
hidden: true, // hidden: true,
children: [ // children: [
{ // {
path: '', // path: '',
component: () => import('@/views/appoinmentmanage/clinicRoom/index.vue'), // component: () => import('@/views/appoinmentmanage/clinicRoom/index.vue'),
name: 'DirectClinicRoom', // name: 'DirectClinicRoom',
meta: { title: '门诊出诊医生诊室设置' } // meta: { title: '门诊出诊医生诊室设置' }
} // }
] // ]
} // }
] ]
// 动态路由 - 基于用户权限动态加载的路由 // 动态路由 - 基于用户权限动态加载的路由
export const dynamicRoutes = [ export const dynamicRoutes = [
// 基础管理路由 // 基础管理路由
{ // {
path: '/basicmanage', // path: '/basicmanage',
component: Layout, // component: Layout,
redirect: '/basicmanage/invoice-management', // redirect: '/basicmanage/invoice-management',
name: 'BasicManage', // name: 'BasicManage',
meta: { title: '基础管理', icon: 'component' }, // meta: { title: '基础管理', icon: 'component' },
children: [ // children: [
{ // {
path: 'invoice-management', // path: 'invoice-management',
component: () => import('@/views/basicmanage/InvoiceManagement/index.vue'), // component: () => import('@/views/basicmanage/InvoiceManagement/index.vue'),
name: 'invoice-management', // name: 'invoice-management',
meta: { title: '发票管理' } // meta: { title: '发票管理' }
} // }
] // ]
}, // },
// 兼容系统业务管理路径的发票管理路由 // 兼容系统业务管理路径的发票管理路由
{ // {
path: '/system/ywgz', // path: '/system/ywgz',
component: Layout, // component: Layout,
redirect: '/system/ywgz/InvoiceManagement', // redirect: '/system/ywgz/InvoiceManagement',
hidden: true, // hidden: true,
children: [ // children: [
{ // {
path: 'InvoiceManagement', // path: 'InvoiceManagement',
component: () => import('@/views/basicmanage/InvoiceManagement/index.vue'), // component: () => import('@/views/basicmanage/InvoiceManagement/index.vue'),
name: 'SystemInvoiceManagement', // name: 'SystemInvoiceManagement',
meta: { title: '发票管理' } // meta: { title: '发票管理' }
} // }
] // ]
}, // },
// 维护系统路由 // 维护系统路由
{ // {
path: '/maintainSystem', // path: '/maintainSystem',
component: Layout, // component: Layout,
redirect: '/maintainSystem/chargeConfig', // redirect: '/maintainSystem/chargeConfig',
name: 'MaintainSystem', // name: 'MaintainSystem',
meta: { title: '维护系统', icon: 'system' }, // meta: { title: '维护系统', icon: 'system' },
children: [ // children: [
{ // {
path: '', // path: '',
redirect: 'chargeConfig', // redirect: 'chargeConfig',
name: 'MaintainSystemIndex' // 添加名称以解决警告 // name: 'MaintainSystemIndex' // 添加名称以解决警告
}, // },
{ // {
path: 'chargeConfig', // 收费配置路由 // path: 'chargeConfig', // 收费配置路由
component: () => import('@/views/maintainSystem/chargeConfig/index.vue'), // component: () => import('@/views/maintainSystem/chargeConfig/index.vue'),
name: 'ChargeConfig', // name: 'ChargeConfig',
meta: { title: '挂号收费系统参数维护', icon: 'config', permissions: ['maintainSystem:chargeConfig:list'] } // meta: { title: '挂号收费系统参数维护', icon: 'config', permissions: ['maintainSystem:chargeConfig:list'] }
}, // },
{ // {
path: 'Inspection', // 检验管理路由 // path: 'Inspection', // 检验管理路由
component: () => import('@/views/maintainSystem/Inspection/index.vue'), // component: () => import('@/views/maintainSystem/Inspection/index.vue'),
name: 'Inspection', // name: 'Inspection',
meta: { title: '检验管理', icon: 'inspection' }, // meta: { title: '检验管理', icon: 'inspection' },
children: [ // children: [
{ // {
path: 'PackageManagement', // 套餐管理路由 // path: 'PackageManagement', // 套餐管理路由
component: () => import('@/views/maintainSystem/Inspection/PackageManagement.vue'), // component: () => import('@/views/maintainSystem/Inspection/PackageManagement.vue'),
name: 'PackageManagement', // name: 'PackageManagement',
meta: { title: '套餐管理' } // meta: { title: '套餐管理' }
} // }
] // ]
} // }
] // ]
}, // },
// 系统管理路由 // 系统管理路由
{ // {
path: '/system', // path: '/system',
component: Layout, // component: Layout,
redirect: '/system/user', // redirect: '/system/user',
name: 'System', // name: 'System',
meta: { title: '系统管理', icon: 'system' }, // meta: { title: '系统管理', icon: 'system' },
children: [ // children: [
{ // {
path: 'user', // 用户管理路由 // path: 'user', // 用户管理路由
component: () => import('@/views/system/user/index.vue'), // component: () => import('@/views/system/user/index.vue'),
name: 'User', // name: 'User',
meta: { title: '用户管理', icon: 'user', permissions: ['system:user:list'] } // meta: { title: '用户管理', icon: 'user', permissions: ['system:user:list'] }
}, // },
{ // {
path: 'role', // 角色管理路由 // path: 'role', // 角色管理路由
component: () => import('@/views/system/role/index.vue'), // component: () => import('@/views/system/role/index.vue'),
name: 'Role', // name: 'Role',
meta: { title: '角色管理', icon: 'role', permissions: ['system:role:list'] } // meta: { title: '角色管理', icon: 'role', permissions: ['system:role:list'] }
}, // },
{ // {
path: 'menu', // 菜单管理路由 // path: 'menu', // 菜单管理路由
component: () => import('@/views/system/menu/index.vue'), // component: () => import('@/views/system/menu/index.vue'),
name: 'Menu', // name: 'Menu',
meta: { title: '菜单管理', icon: 'menu', permissions: ['system:menu:list'] } // meta: { title: '菜单管理', icon: 'menu', permissions: ['system:menu:list'] }
}, // },
{ // {
path: 'dept', // 部门管理路由 // path: 'dept', // 部门管理路由
component: () => import('@/views/system/dept/index.vue'), // component: () => import('@/views/system/dept/index.vue'),
name: 'Dept', // name: 'Dept',
meta: { title: '部门管理', icon: 'dept', permissions: ['system:dept:list'] } // meta: { title: '部门管理', icon: 'dept', permissions: ['system:dept:list'] }
}, // },
{ // {
path: 'post', // 岗位管理路由 // path: 'post', // 岗位管理路由
component: () => import('@/views/system/post/index.vue'), // component: () => import('@/views/system/post/index.vue'),
name: 'Post', // name: 'Post',
meta: { title: '岗位管理', icon: 'post', permissions: ['system:post:list'] } // meta: { title: '岗位管理', icon: 'post', permissions: ['system:post:list'] }
}, // },
{ // {
path: 'dict', // 字典管理路由 // path: 'dict', // 字典管理路由
component: () => import('@/views/system/dict/index.vue'), // component: () => import('@/views/system/dict/index.vue'),
name: 'Dict', // name: 'Dict',
meta: { title: '字典管理', icon: 'dict', permissions: ['system:dict:list'] } // meta: { title: '字典管理', icon: 'dict', permissions: ['system:dict:list'] }
}, // },
{ // {
path: 'config', // 参数配置路由 // path: 'config', // 参数配置路由
component: () => import('@/views/system/config/index.vue'), // component: () => import('@/views/system/config/index.vue'),
name: 'Config', // name: 'Config',
meta: { title: '参数配置', icon: 'config', permissions: ['system:config:list'] } // meta: { title: '参数配置', icon: 'config', permissions: ['system:config:list'] }
}, // },
{ // {
path: 'notice', // 通知公告路由 // path: 'notice', // 通知公告路由
component: () => import('@/views/system/notice/index.vue'), // component: () => import('@/views/system/notice/index.vue'),
name: 'Notice', // name: 'Notice',
meta: { title: '通知公告', icon: 'notice', permissions: ['system:notice:list'] } // meta: { title: '通知公告', icon: 'notice', permissions: ['system:notice:list'] }
}, // },
{ // {
path: 'tenant', // 租户管理路由 // path: 'tenant', // 租户管理路由
component: () => import('@/views/system/tenant/index.vue'), // component: () => import('@/views/system/tenant/index.vue'),
name: 'Tenant', // name: 'Tenant',
meta: { title: '租户管理', icon: 'tenant', permissions: ['system:tenant:list'] } // meta: { title: '租户管理', icon: 'tenant', permissions: ['system:tenant:list'] }
} // }
] // ]
}, // },
// 租户用户设置路由 // 租户用户设置路由
{ {
path: '/system/tenant-user', path: '/system/tenant-user',