发票号码维护页面
This commit is contained in:
@@ -87,7 +87,37 @@ export const constantRoutes = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
// 动态路由,基于用户权限动态去加载
|
// 动态路由,基于用户权限动态去加载
|
||||||
export const dynamicRoutes = [
|
export const dynamicRoutes = [
|
||||||
|
{
|
||||||
|
path: '/basicmanage',
|
||||||
|
component: Layout,
|
||||||
|
redirect: '/basicmanage/invoice-management',
|
||||||
|
name: 'BasicManage',
|
||||||
|
meta: { title: '基础管理', icon: 'component' },
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'invoice-management',
|
||||||
|
component: () => import('@/views/basicmanage/InvoiceManagement/index.vue'),
|
||||||
|
name: 'invoice-management',
|
||||||
|
meta: { title: '发票管理' }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
// 兼容系统业务管理路径
|
||||||
|
{
|
||||||
|
path: '/system/ywgz',
|
||||||
|
component: Layout,
|
||||||
|
redirect: '/system/ywgz/InvoiceManagement',
|
||||||
|
hidden: true,
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'InvoiceManagement',
|
||||||
|
component: () => import('@/views/basicmanage/InvoiceManagement/index.vue'),
|
||||||
|
name: 'SystemInvoiceManagement',
|
||||||
|
meta: { title: '发票管理' }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/maintainSystem',
|
path: '/maintainSystem',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
@@ -312,9 +342,12 @@ export const dynamicRoutes = [
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
// 合并常量路由和动态路由,确保所有路由都能被访问
|
||||||
|
const allRoutes = [...constantRoutes, ...dynamicRoutes];
|
||||||
|
|
||||||
const router = createRouter({
|
const router = createRouter({
|
||||||
history: createWebHistory(),
|
history: createWebHistory(),
|
||||||
routes: constantRoutes,
|
routes: allRoutes,
|
||||||
scrollBehavior(to, from, savedPosition) {
|
scrollBehavior(to, from, savedPosition) {
|
||||||
if (savedPosition) {
|
if (savedPosition) {
|
||||||
return savedPosition
|
return savedPosition
|
||||||
|
|||||||
1173
openhis-ui-vue3/src/views/basicmanage/InvoiceManagement/index.vue
Normal file
1173
openhis-ui-vue3/src/views/basicmanage/InvoiceManagement/index.vue
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user