审批工作流路由配置修改

This commit is contained in:
xue 2024-06-14 10:41:09 +08:00
parent df7352dc15
commit ff49b8649e
2 changed files with 62 additions and 50 deletions

View File

@ -324,54 +324,6 @@ const remainingRouter: AppRouteRecordRaw[] = [
title: '查看 OA 请假', title: '查看 OA 请假',
activeMenu: '/bpm/oa/leave' activeMenu: '/bpm/oa/leave'
} }
},
{
path: 'fta/enterprise/create',
component: () => import('@/views/fta/enterpriseinformation/create.vue'),
name: 'FtaEnterpriseCreate',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '发起 企业信息 填报',
activeMenu: '/enterpriseInformation/enterprise-information'
}
},
{
path: 'fta/enterprise/detail',
component: () => import('@/views/fta/enterpriseinformation/detail.vue'),
name: 'FtaEnterpriseDetail',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '查看 企业信息 填报',
activeMenu: '/enterpriseInformation/enterprise-information'
}
},
{
path: 'fta/enterprisechange/create',
component: () => import('@/views/fta/enterprisechange/create.vue'),
name: 'FtaEnterpriseChangeCreate',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '发起 企业信息 变更',
activeMenu: '/enterpriseInformation/enterprise-change'
}
},
{
path: 'fta/enterprisechange/detail',
component: () => import('@/views/fta/enterprisechange/detail.vue'),
name: 'FtaEnterpriseChangeDetail',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '查看 企业信息 变更',
activeMenu: '/enterpriseInformation/enterprise-change'
}
} }
] ]
}, },
@ -620,7 +572,67 @@ const remainingRouter: AppRouteRecordRaw[] = [
component: () => import('@/views/crm/product/detail/index.vue') component: () => import('@/views/crm/product/detail/index.vue')
} }
] ]
},
{
path: '/fta',
component: Layout,
name: 'fta',
meta: {
hidden: true
},
children: [
{
path: 'enterprise/create',
component: () => import('@/views/fta/enterpriseinformation/create.vue'),
name: 'FtaEnterpriseCreate',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '发起 企业信息 填报',
activeMenu: '/enterpriseInformation/enterprise-information'
} }
},
{
path: 'enterprise/detail',
component: () => import('@/views/fta/enterpriseinformation/detail.vue'),
name: 'FtaEnterpriseDetail',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '查看 企业信息 填报',
activeMenu: '/enterpriseInformation/enterprise-information'
}
},
{
path: 'enterprisechange/create',
component: () => import('@/views/fta/enterprisechange/create.vue'),
name: 'FtaEnterpriseChangeCreate',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '发起 企业信息 变更',
activeMenu: '/enterpriseInformation/enterprise-change'
}
},
{
path: 'enterprisechange/detail',
component: () => import('@/views/fta/enterprisechange/detail.vue'),
name: 'FtaEnterpriseChangeDetail',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '查看 企业信息 变更',
activeMenu: '/enterpriseInformation/enterprise-change'
}
}
]
},
] ]
export default remainingRouter export default remainingRouter

View File

@ -256,7 +256,7 @@ import * as DefinitionApi from '@/api/bpm/definition'
import * as UserApi from '@/api/system/user' import * as UserApi from '@/api/system/user'
import ImageFileForm from "@/views/fta/enterpriseinformation/ImageFileForm.vue"; import ImageFileForm from "@/views/fta/enterpriseinformation/ImageFileForm.vue";
defineOptions({ name: 'EnterpriseInformationCreate' }) defineOptions({ name: 'FtaEnterpriseCreate' })
const message = useMessage() // const message = useMessage() //
const { delView } = useTagsViewStore() // const { delView } = useTagsViewStore() //