From 6e9de08abc00a818b3664326bc64e26b5074f858 Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Thu, 13 Aug 2026 03:06:10 +0800 Subject: [PATCH] =?UTF-8?q?feat(company):=20=E4=BC=81=E4=B8=9A=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E6=88=90=E5=8A=9F=E9=A1=B5=E6=96=B0=E5=A2=9E"?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E7=A7=9F=E6=88=B7=E8=AF=A6=E6=83=85"?= =?UTF-8?q?=EF=BC=8C=E5=BD=A2=E6=88=90=E5=A1=AB=E5=86=99=E2=86=92=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=97=AD=E7=8E=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/company/EpCreate.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/views/company/EpCreate.vue b/src/views/company/EpCreate.vue index 1dfbdf6..78c8b24 100644 --- a/src/views/company/EpCreate.vue +++ b/src/views/company/EpCreate.vue @@ -23,10 +23,13 @@ * - date-range 字段(BusinessTerm)绑定数组,提交时 join 为字符串;tags 字段(BusinessScope)同理 */ import { ref, reactive, computed, onMounted } from 'vue' +import { useRouter } from 'vue-router' import { ElMessage } from 'element-plus' import { formApi } from '@/api/form' import { setPageTitle } from '@/utils/serverScope' +const router = useRouter() + // === 类型定义 === type FieldType = 'text' | 'textarea' | 'select' | 'date' | 'date-range' | 'number' | 'tags' @@ -744,6 +747,11 @@ function resetAll(): void { currentStep.value = -1 } +/** 返回租户详情(成功页):详情页无参数时自动回退当前角色租户 */ +function goTenantDetail(): void { + router.push('/company/tenant-detail') +} + onMounted(() => { setPageTitle('企业创建') }) @@ -919,7 +927,8 @@ onMounted(() => {
企业创建成功
企业信息已提交,等待审核通过后生效。
- 继续创建 + 继续创建 + 返回租户详情