From ff49b8649ec65c75f23d885a3240669aa97dabb3 Mon Sep 17 00:00:00 2001 From: xue <571013506@qq.com> Date: Fri, 14 Jun 2024 10:41:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=89=B9=E5=B7=A5=E4=BD=9C=E6=B5=81?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/remaining.ts | 110 ++++++++++-------- .../fta/enterpriseinformation/create.vue | 2 +- 2 files changed, 62 insertions(+), 50 deletions(-) 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() // 视图操作