From 68c6db7422c5b76e6bdd0fbe079bf42745a55b68 Mon Sep 17 00:00:00 2001 From: wangdongbo <> Date: Mon, 10 Aug 2026 14:00:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=92=A8=E8=AF=A2=E5=8A=A9=E6=89=8B=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/ai-consult/entry.vue | 6 ++++-- pages/archive/edit-archive.vue | 8 +++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/pages/ai-consult/entry.vue b/pages/ai-consult/entry.vue index 22a2352..a3a468c 100644 --- a/pages/ai-consult/entry.vue +++ b/pages/ai-consult/entry.vue @@ -1,4 +1,4 @@ - + diff --git a/pages/archive/edit-archive.vue b/pages/archive/edit-archive.vue index 8b666a1..367c8fa 100644 --- a/pages/archive/edit-archive.vue +++ b/pages/archive/edit-archive.vue @@ -59,6 +59,7 @@ const visible = ref(false); const referenceCustomer = ref(null) const healthTypes = ref([]); const enableHis = ref(false); +const redirectUrl = ref(''); const formData = computed(() => { return { ...customer.value, ...form.value, mobile: account.value?.mobile } @@ -166,6 +167,10 @@ async function addArchive() { set('home-invite-team-info', { teamId: teamId.value }) if (res && res.success) { uni.$emit('reloadTeamCustomers') + if (redirectUrl.value) { + uni.redirectTo({ url: redirectUrl.value }); + return; + } // getTeam(corpId.value, teamId.value, res.data.id); if (healthTypes.value.length) { const nextType = healthTypes.value[0]; @@ -307,6 +312,7 @@ onLoad(options => { customerId.value = options.id || ''; corpUserId.value = options.corpUserId || ''; referenceCustomerId.value = options.referenceCustomerId || ''; + redirectUrl.value = options.redirectUrl || ''; if (referenceCustomerId.value) { getReferenceCustomer(); } @@ -318,4 +324,4 @@ useLoad(options => { }) - \ No newline at end of file +