From 6a16ce1bbb24840ec28c70efffcaab52c5dcfd04 Mon Sep 17 00:00:00 2001
From: Jafeng <2998840497@qq.com>
Date: Thu, 29 Jan 2026 19:07:11 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=AE=A2=E6=88=B7?=
=?UTF-8?q?=E6=B5=81=E8=BD=AC=E8=AE=B0=E5=BD=95=E6=8E=A5=E5=8F=A3=EF=BC=8C?=
=?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=97=85=E6=A1=88=E5=8F=B7=E6=98=BE=E7=A4=BA?=
=?UTF-8?q?=E9=80=BB=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../archive-detail/customer-profile-tab.vue | 153 ++++++++++++------
pages/case/archive-detail.vue | 15 +-
utils/api.js | 2 +
3 files changed, 113 insertions(+), 57 deletions(-)
diff --git a/components/archive-detail/customer-profile-tab.vue b/components/archive-detail/customer-profile-tab.vue
index 47ba157..58c1687 100644
--- a/components/archive-detail/customer-profile-tab.vue
+++ b/components/archive-detail/customer-profile-tab.vue
@@ -1,18 +1,6 @@
-
-
- {{ t.label }}
-
-
-
基本信息
@@ -55,7 +43,7 @@
院内来源
- {{ forms.creator || '点击查看' }}
+ {{ latestTransferRecord?.executeTeamName || '点击查看' }}
@@ -88,26 +76,33 @@
@@ -115,9 +110,13 @@
diff --git a/pages/case/archive-detail.vue b/pages/case/archive-detail.vue
index b2c4264..8618b30 100644
--- a/pages/case/archive-detail.vue
+++ b/pages/case/archive-detail.vue
@@ -249,11 +249,7 @@ function switchTab(key) {
currentTab.value = key;
// 切换 tab 后,将 tab 滚动到页面顶部(隐藏头部信息区域)
nextTick(() => {
- // tabs 高度可能随数据变化,先测量一次再滚动
- measureTabsTop();
- setTimeout(() => {
- uni.pageScrollTo({ scrollTop: tabsScrollTop.value || 0, duration: 0 });
- }, 0);
+ uni.pageScrollTo({ scrollTop: tabsScrollTop.value || 0, duration: 300 });
});
}
@@ -303,6 +299,9 @@ function normalizeArchiveFromApi(raw) {
outpatientNo: r.outpatientNo || '',
inpatientNo: r.inpatientNo || '',
medicalRecordNo: r.medicalRecordNo || '',
+ customerNumber: r.customerNumber || '',
+ customerProfileNo2: r.customerProfileNo2 || '',
+ customerProfileNo3: r.customerProfileNo3 || '',
createTime: r.createTime || '',
creator: r.creator || '',
notes: r.notes || r.remark || '',
@@ -548,9 +547,9 @@ const sexOrAge = computed(() => {
const idRows = computed(() => {
const rows = [];
- if (archive.value.outpatientNo) rows.push({ label: '门诊号', value: String(archive.value.outpatientNo) });
- if (archive.value.inpatientNo) rows.push({ label: '住院号', value: String(archive.value.inpatientNo) });
- if (archive.value.medicalRecordNo) rows.push({ label: '病案号', value: String(archive.value.medicalRecordNo) });
+ if (archive.value.customerNumber) rows.push({ label: '病案号1', value: String(archive.value.customerNumber) });
+ if (archive.value.customerProfileNo2) rows.push({ label: '病案号2', value: String(archive.value.customerProfileNo2) });
+ if (archive.value.customerProfileNo3) rows.push({ label: '病案号3', value: String(archive.value.customerProfileNo3) });
return rows;
});
diff --git a/utils/api.js b/utils/api.js
index 3430116..74766be 100644
--- a/utils/api.js
+++ b/utils/api.js
@@ -116,6 +116,8 @@ const urlsConfig = {
addServiceRecord: 'addServiceRecord',
updateServiceRecord: 'updateServiceRecord',
removeServiceRecord: 'removeServiceRecord',
+ // 客户流转记录
+ customerTransferRecord: 'customerTransferRecord',
// sendConsultRejectedMessage: "sendConsultRejectedMessage"
}