From 33a32e113405a97f383e1474e26fdb3d74877c9f Mon Sep 17 00:00:00 2001
From: Jafeng <2998840497@qq.com>
Date: Mon, 2 Feb 2026 14:51:40 +0800
Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E6=97=A5?=
=?UTF-8?q?=E6=9C=9F=E9=80=89=E6=8B=A9=E5=99=A8=E5=92=8C=E6=97=B6=E9=97=B4?=
=?UTF-8?q?=E7=AD=9B=E9=80=89=E9=80=BB=E8=BE=91=EF=BC=8C=E4=BC=98=E5=8C=96?=
=?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BD=93=E9=AA=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../archive-detail/health-profile-tab.vue | 40 +++++++------------
pages/case/case.vue | 4 +-
2 files changed, 17 insertions(+), 27 deletions(-)
diff --git a/components/archive-detail/health-profile-tab.vue b/components/archive-detail/health-profile-tab.vue
index ba41576..817b5f0 100644
--- a/components/archive-detail/health-profile-tab.vue
+++ b/components/archive-detail/health-profile-tab.vue
@@ -9,12 +9,12 @@
-
+
- {{ currentTimeRange.label }}
+ {{ dateRangeLabel }}
-
+
@@ -75,13 +75,13 @@ const currentType = ref({ name: '全部', value: 'ALL' });
const records = ref([]);
-const timeRangeOptions = [
- { label: '全部时间', value: 'ALL' },
- { label: '今天', value: 'today' },
- { label: '近7天', value: '7d' },
- { label: '近30天', value: '30d' },
-];
-const currentTimeRange = ref(timeRangeOptions[0]);
+const dateRange = ref([]);
+const dateRangeLabel = computed(() => {
+ if (Array.isArray(dateRange.value) && dateRange.value.length === 2 && dateRange.value[0] && dateRange.value[1]) {
+ return `${dateRange.value[0]} 至 ${dateRange.value[1]}`;
+ }
+ return '全部时间';
+});
function getCurrentTeamId() {
const team = uni.getStorageSync('ykt_case_current_team') || {};
@@ -204,19 +204,9 @@ async function refreshList() {
currentType.value.value === 'ALL' ? templates.value.map((i) => i.templateType) : currentType.value.value;
// 添加时间筛选
- if (currentTimeRange.value.value !== 'ALL') {
- const now = Date.now();
- if (currentTimeRange.value.value === 'today') {
- const todayStart = new Date(new Date().setHours(0, 0, 0, 0)).getTime();
- params.startTime = todayStart;
- params.endTime = now;
- } else if (currentTimeRange.value.value === '7d') {
- params.startTime = now - 7 * 24 * 60 * 60 * 1000;
- params.endTime = now;
- } else if (currentTimeRange.value.value === '30d') {
- params.startTime = now - 30 * 24 * 60 * 60 * 1000;
- params.endTime = now;
- }
+ if (Array.isArray(dateRange.value) && dateRange.value.length === 2 && dateRange.value[0] && dateRange.value[1]) {
+ params.startTime = dayjs(dateRange.value[0]).startOf('day').valueOf();
+ params.endTime = dayjs(dateRange.value[1]).endOf('day').valueOf();
}
const res = await api('getCustomerMedicalRecord', params);
@@ -323,8 +313,8 @@ function pickType(e) {
currentType.value = typeRange.value[e.detail.value] || { name: '全部', value: 'ALL' };
refreshList();
}
-function pickTimeRange(e) {
- currentTimeRange.value = timeRangeOptions[e.detail.value] || timeRangeOptions[0];
+function pickTimeRange(val) {
+ dateRange.value = val;
refreshList();
}
diff --git a/pages/case/case.vue b/pages/case/case.vue
index 49472f3..e727094 100644
--- a/pages/case/case.vue
+++ b/pages/case/case.vue
@@ -717,11 +717,11 @@ const openVerifyEntry = () => {
};
const openAddCustomerServiceEntry = () => {
- uni.showToast({ title: '添加客服功能待接入', icon: 'none' });
+ uni.navigateTo({ url: '/pages/work/service/contact-service' });
};
const openInvitePatientEntry = () => {
- uni.navigateTo({ url: '/pages/case/patient-invite' });
+ uni.navigateTo({ url: '/pages/work/team/invite/invite-patient' });
};
const openCreatePatientEntry = () => {
From e16b683813348b8178aa60a7736560ceee452d22 Mon Sep 17 00:00:00 2001
From: Jafeng <2998840497@qq.com>
Date: Mon, 2 Feb 2026 15:15:51 +0800
Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E6=A0=B7=E5=BC=8F=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../archive-detail/customer-profile-tab.vue | 16 ++++-----
.../archive-detail/follow-up-manage-tab.vue | 16 ++++-----
.../archive-detail/health-profile-tab.vue | 4 +--
.../archive-detail/service-info-tab.vue | 14 ++++----
.../form-cell/form-positive-find.vue | 4 +--
components/manage-plan/node-list.vue | 4 +--
components/manage-plan/plan-node-item.vue | 2 +-
pages/case/archive-detail.vue | 34 +++++++++----------
pages/case/archive-edit.vue | 2 +-
pages/case/batch-share.vue | 4 +--
pages/case/batch-transfer.vue | 4 +--
pages/case/case.vue | 12 +++----
pages/case/followup-detail.vue | 2 +-
pages/case/group-manage.vue | 6 ++--
pages/case/medical-case-form.vue | 2 +-
pages/case/new-followup-record.vue | 8 ++---
pages/case/new-followup.vue | 12 +++----
pages/case/patient-create.vue | 4 +--
pages/case/patient-inner-info.vue | 2 +-
pages/case/patient-invite.vue | 10 +++---
pages/case/plan-execute.vue | 8 ++---
pages/case/plan-list.vue | 12 +++----
pages/case/plan-preview.vue | 2 +-
pages/case/search.vue | 8 ++---
pages/case/service-record-detail.vue | 8 ++---
pages/case/visit-record-detail.vue | 8 ++---
pages/case/visit-record-view.vue | 4 +--
pages/library/diagnosis-list.vue | 2 +-
pages/others/edit-positive-find.vue | 6 ++--
29 files changed, 110 insertions(+), 110 deletions(-)
diff --git a/components/archive-detail/customer-profile-tab.vue b/components/archive-detail/customer-profile-tab.vue
index 8178965..a3f0609 100644
--- a/components/archive-detail/customer-profile-tab.vue
+++ b/components/archive-detail/customer-profile-tab.vue
@@ -44,7 +44,7 @@
院内来源
{{ latestTransferRecord?.executeTeamName || '点击查看' }}
-
+
props.data?._id, () => {
color: #333;
}
.val.link {
- color: #4f6ef7;
+ color: #0877F1;
display: flex;
justify-content: flex-end;
align-items: center;
@@ -457,11 +457,11 @@ watch(() => props.data?._id, () => {
}
.btn.plain {
background: #fff;
- color: #4f6ef7;
- border: 2rpx solid #4f6ef7;
+ color: #0877F1;
+ border: 2rpx solid #0877F1;
}
.btn.primary {
- background: #4f6ef7;
+ background: #0877F1;
color: #fff;
}
@@ -503,7 +503,7 @@ watch(() => props.data?._id, () => {
top: 56rpx;
bottom: 36rpx;
width: 4rpx;
- background: #4f6ef7;
+ background: #0877F1;
}
.item {
position: relative;
@@ -520,9 +520,9 @@ watch(() => props.data?._id, () => {
width: 24rpx;
height: 24rpx;
border-radius: 50%;
- background: #4f6ef7;
+ background: #0877F1;
border: 4rpx solid #fff;
- box-shadow: 0 0 0 4rpx #4f6ef7;
+ box-shadow: 0 0 0 4rpx #0877F1;
}
.time {
font-size: 24rpx;
diff --git a/components/archive-detail/follow-up-manage-tab.vue b/components/archive-detail/follow-up-manage-tab.vue
index 8babfb0..9832d11 100644
--- a/components/archive-detail/follow-up-manage-tab.vue
+++ b/components/archive-detail/follow-up-manage-tab.vue
@@ -523,7 +523,7 @@ watch(
}
.status-tab.active {
background: #dbe6ff;
- color: #4f6ef7;
+ color: #0877F1;
}
.filter-btn {
flex-shrink: 0;
@@ -603,7 +603,7 @@ watch(
}
.st-notStart {
background: #dbe6ff;
- color: #4f6ef7;
+ color: #0877F1;
}
.st-treated {
background: #dcfce7;
@@ -644,7 +644,7 @@ watch(
width: 52px;
height: 52px;
border-radius: 26px;
- background: #4f6ef7;
+ background: #0877F1;
display: flex;
align-items: center;
justify-content: center;
@@ -704,8 +704,8 @@ watch(
color: #333;
}
.chip.active {
- background: #4f6ef7;
- border-color: #4f6ef7;
+ background: #0877F1;
+ border-color: #0877F1;
color: #fff;
}
.select-row {
@@ -769,11 +769,11 @@ watch(
}
.btn.plain {
background: #fff;
- color: #4f6ef7;
- border: 1px solid #4f6ef7;
+ color: #0877F1;
+ border: 1px solid #0877F1;
}
.btn.primary {
- background: #4f6ef7;
+ background: #0877F1;
color: #fff;
}
diff --git a/components/archive-detail/health-profile-tab.vue b/components/archive-detail/health-profile-tab.vue
index 817b5f0..f0374cb 100644
--- a/components/archive-detail/health-profile-tab.vue
+++ b/components/archive-detail/health-profile-tab.vue
@@ -508,7 +508,7 @@ watch(
border-radius: 16rpx;
}
.bg-blue {
- background: #4f6ef7;
+ background: #0877F1;
}
.bg-amber {
background: #d97706;
@@ -539,7 +539,7 @@ watch(
width: 104rpx;
height: 104rpx;
border-radius: 52rpx;
- background: #4f6ef7;
+ background: #0877F1;
display: flex;
align-items: center;
justify-content: center;
diff --git a/components/archive-detail/service-info-tab.vue b/components/archive-detail/service-info-tab.vue
index 7f8cf87..ea575c8 100644
--- a/components/archive-detail/service-info-tab.vue
+++ b/components/archive-detail/service-info-tab.vue
@@ -501,7 +501,7 @@ watch(
width: 16rpx;
height: 16rpx;
border-radius: 50%;
- background: #4f6ef7;
+ background: #0877F1;
}
.time {
font-size: 28rpx;
@@ -510,7 +510,7 @@ watch(
}
.file-link {
font-size: 26rpx;
- color: #4f6ef7;
+ color: #0877F1;
}
.meta {
display: flex;
@@ -521,8 +521,8 @@ watch(
}
.tag {
font-size: 24rpx;
- color: #4f6ef7;
- border: 2rpx solid #4f6ef7;
+ color: #0877F1;
+ border: 2rpx solid #0877F1;
border-radius: 999rpx;
padding: 8rpx 16rpx;
}
@@ -567,7 +567,7 @@ watch(
top: 68rpx;
bottom: 0;
width: 4rpx;
- background: #4f6ef7;
+ background: #0877F1;
opacity: 0.6;
}
.empty {
@@ -583,7 +583,7 @@ watch(
width: 104rpx;
height: 104rpx;
border-radius: 52rpx;
- background: #4f6ef7;
+ background: #0877F1;
display: flex;
align-items: center;
justify-content: center;
@@ -637,7 +637,7 @@ watch(
border: none;
}
.btn.primary {
- background: #4f6ef7;
+ background: #0877F1;
color: #fff;
}
diff --git a/components/form-template/form-cell/form-positive-find.vue b/components/form-template/form-cell/form-positive-find.vue
index 4b25961..31d3973 100644
--- a/components/form-template/form-cell/form-positive-find.vue
+++ b/components/form-template/form-cell/form-positive-find.vue
@@ -5,7 +5,7 @@
{{ name }}
*
-
+
@@ -154,7 +154,7 @@ function remove(idx) {
color: #fff;
}
.action.edit {
- background: #4f6ef7;
+ background: #0877F1;
}
.action.del {
background: #ff4d4f;
diff --git a/components/manage-plan/node-list.vue b/components/manage-plan/node-list.vue
index 6f6c94d..6011933 100644
--- a/components/manage-plan/node-list.vue
+++ b/components/manage-plan/node-list.vue
@@ -30,7 +30,7 @@ defineProps({
line-height: 40rpx;
transform: translateX(-50%);
border-radius: 50%;
- background: #4f6ef7;
+ background: #0877F1;
color: #fff;
font-size: 24rpx;
text-align: center;
@@ -43,7 +43,7 @@ defineProps({
width: 2rpx;
height: 100%;
transform: translateX(-50%);
- background: #4f6ef7;
+ background: #0877F1;
z-index: 2;
}
.node-body {
diff --git a/components/manage-plan/plan-node-item.vue b/components/manage-plan/plan-node-item.vue
index 2034e5b..0c28f22 100644
--- a/components/manage-plan/plan-node-item.vue
+++ b/components/manage-plan/plan-node-item.vue
@@ -95,7 +95,7 @@ const sendFile = computed(() => {
color: #9ca3af;
}
.link {
- color: #4f6ef7;
+ color: #0877F1;
}
.clamp2 {
overflow: hidden;
diff --git a/pages/case/archive-detail.vue b/pages/case/archive-detail.vue
index 8618b30..bba4aa0 100644
--- a/pages/case/archive-detail.vue
+++ b/pages/case/archive-detail.vue
@@ -1,4 +1,4 @@
-
+