From ae2661ab26f2558d334949320937f6f22327bb6b Mon Sep 17 00:00:00 2001 From: huxuejian Date: Mon, 8 Jun 2026 17:21:38 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/consult.vue | 5 +++-- pages/home/customer-archive.vue | 2 +- utils/api-base-config.js | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/home/consult.vue b/pages/home/consult.vue index f54ea88..5941631 100644 --- a/pages/home/consult.vue +++ b/pages/home/consult.vue @@ -83,7 +83,8 @@ const consultItems = ref([ ]); const hideMenus = computed(() => { const result = {}; - if (!props.team || !props.team.creator) { + // 非医助手团队 + if (!(props.team && props.team.createSource === 'yzs')) { result.chat = true; } return result; @@ -92,7 +93,7 @@ const hideMenus = computed(() => { function handleItemClick(item) { // 聊天咨询需要选择咨询人 if (item.needSelectConsultant) { - if (!props.team || !props.team.creator) { + if (!(props.team && props.team.createSource === 'yzs')) { return toast('该团队暂未开放咨询服务') } diff --git a/pages/home/customer-archive.vue b/pages/home/customer-archive.vue index 8510348..fd7cc5e 100644 --- a/pages/home/customer-archive.vue +++ b/pages/home/customer-archive.vue @@ -146,7 +146,7 @@ const hasHealthTemp = computed( () => qrcode.value && Array.isArray(qrcode.value.healthTempList) && - qrcode.value.healthTempList.length > 0 + qrcode.value.healthTempList.filter(i => i && i.enable).length > 0 ); const baseInfo = computed(() => qrcode.value && diff --git a/utils/api-base-config.js b/utils/api-base-config.js index e8af668..10088a9 100644 --- a/utils/api-base-config.js +++ b/utils/api-base-config.js @@ -4,6 +4,7 @@ export const API_CONTEXT_CACHE_KEY = "ykt_team_api_context"; export const CORP_API_BASE_URL_MAP = { wwa54dfba0b5441ef1: "https://crm.gykqyy.com/ykt/", + ww1b4bcb2fd92baafa: 'https://hlwyy.6thhosp.com:4443/' }; function normalizeBaseUrl(url) { From a3313064c0e55f516bddaeba9115da22da7163e8 Mon Sep 17 00:00:00 2001 From: huxuejian Date: Mon, 8 Jun 2026 17:31:40 +0800 Subject: [PATCH 2/2] Update api-base-config.js --- utils/api-base-config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/api-base-config.js b/utils/api-base-config.js index 10088a9..e8af668 100644 --- a/utils/api-base-config.js +++ b/utils/api-base-config.js @@ -4,7 +4,6 @@ export const API_CONTEXT_CACHE_KEY = "ykt_team_api_context"; export const CORP_API_BASE_URL_MAP = { wwa54dfba0b5441ef1: "https://crm.gykqyy.com/ykt/", - ww1b4bcb2fd92baafa: 'https://hlwyy.6thhosp.com:4443/' }; function normalizeBaseUrl(url) {