diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 8087db6..376fc9d 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -324,54 +324,6 @@ const remainingRouter: AppRouteRecordRaw[] = [ title: '查看 OA 请假', 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') } ] - } + }, + { + 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 diff --git a/src/views/fta/enterpriseinformation/create.vue b/src/views/fta/enterpriseinformation/create.vue index cc8a9c7..b87ae6d 100644 --- a/src/views/fta/enterpriseinformation/create.vue +++ b/src/views/fta/enterpriseinformation/create.vue @@ -256,7 +256,7 @@ import * as DefinitionApi from '@/api/bpm/definition' import * as UserApi from '@/api/system/user' import ImageFileForm from "@/views/fta/enterpriseinformation/ImageFileForm.vue"; -defineOptions({ name: 'EnterpriseInformationCreate' }) +defineOptions({ name: 'FtaEnterpriseCreate' }) const message = useMessage() // 消息弹窗 const { delView } = useTagsViewStore() // 视图操作