From 4042df6762a7dc7fbab9629073be0c9c703a958e Mon Sep 17 00:00:00 2001
From: zoujiandong <10130823232@qq.com>
Date: Fri, 13 Mar 2026 16:18:33 +0800
Subject: [PATCH] =?UTF-8?q?3.13=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 2 +-
pages_app/caseList/caseList.vue | 10 +-
pages_app/caseRecord/caseRecord.vue | 3 +-
pages_app/feedback/feedback.vue | 3 +-
pages_app/followDetail/followDetail.vue | 2 +-
pages_app/groupEdit/groupEdit.vue | 27 ++-
pages_app/myAnswer/myAnswer.vue | 1 +
pages_app/myPatient/myPatient.vue | 11 +-
pages_app/patientDetail/patientDetail.vue | 73 +++++--
pages_app/patientGroup/patientGroup.vue | 2 +-
pages_app/patientMsg/patientMsg.vue | 217 ++++++++++++-------
pages_app/patientRemark/patientRemark.vue | 2 +-
pages_app/qikan/qikan.vue | 1 +
pages_app/reply/reply.vue | 1 +
pages_app/schedule/schedule.vue | 17 +-
pages_app/visit/visit.vue | 9 +-
pages_app/visitNote/visitNote.vue | 4 +-
pages_app/visitPlan/visitPlan.vue | 5 +-
pages_app/webview/webviewClass.vue | 11 +-
pages_app/writeInfo/writeInfo.vue | 3 +-
pages_app/zhinan/zhinan.vue | 1 +
pages_chat/chat/message/message-input.vue | 1 +
pages_chat/groupMessage/groupMessage.vue | 1 +
pages_chat/note/note.vue | 1 +
pages_chat/outPatient/addSchedule.vue | 2 +-
pages_chat/outPatient/publishSuspension.vue | 2 +-
pages_chat/patientGroup/patientGroup.vue | 6 +-
pages_chat/quickReply/quickReply.vue | 1 +
pages_chat/stopPatient/stopPatient.vue | 2 +-
pages_course/course_review/course_review.vue | 1 +
30 files changed, 287 insertions(+), 135 deletions(-)
diff --git a/pages.json b/pages.json
index a8568de..232a597 100644
--- a/pages.json
+++ b/pages.json
@@ -1709,7 +1709,7 @@
"list": [
{
"name": "",
- "path": "pages_app/newsList/newsList",
+ "path": "pages_app/patientMsg/patientMsg",
"query": ""
}
]
diff --git a/pages_app/caseList/caseList.vue b/pages_app/caseList/caseList.vue
index e788114..fc3d93d 100644
--- a/pages_app/caseList/caseList.vue
+++ b/pages_app/caseList/caseList.vue
@@ -33,10 +33,11 @@
:lower-threshold="100"
>
-
+
+
@@ -108,6 +109,7 @@ import { onShow, onLoad } from '@dcloudio/uni-app'
import navBar from '@/components/navBar/navBar.vue'
import api from '@/api/api.js'
import docUrl from '@/utils/docUrl.js'
+import empty from '@/components/empty/empty.vue'
const patientUuid = ref('')
const getRecordList = (isRefresh = false) => {
@@ -200,7 +202,7 @@ const goBack = () => {
const addRecord = () => {
// 跳转到添加记录页面
uni.navigateTo({
- url: '/pages_app/addRecord/addRecord?patientUuid=' + patientUuid.value
+ url: '/pages_app/caseRecord/caseRecord?patientUuid=' + patientUuid.value
})
}
@@ -396,7 +398,7 @@ onMounted(() => {
height: 200rpx;
border-radius: 12rpx;
overflow: hidden;
- box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
+
}
.content-image {
diff --git a/pages_app/caseRecord/caseRecord.vue b/pages_app/caseRecord/caseRecord.vue
index ca2e380..987c55b 100644
--- a/pages_app/caseRecord/caseRecord.vue
+++ b/pages_app/caseRecord/caseRecord.vue
@@ -41,6 +41,7 @@
class="description-input"
v-model="des"
placeholder="请输入患者病情"
+ :adjust-position="false"
>
@@ -347,7 +348,7 @@ const saveRecord = () => {
bottom:150rpx;
z-index:1;
overflow-y: scroll;
- padding: 30rpx;
+ padding:0 30rpx;
}
.form-item {
diff --git a/pages_app/feedback/feedback.vue b/pages_app/feedback/feedback.vue
index 65cc9ae..af9ff0e 100644
--- a/pages_app/feedback/feedback.vue
+++ b/pages_app/feedback/feedback.vue
@@ -3,7 +3,7 @@
-
+
@@ -14,6 +14,7 @@
v-model="feedbackText"
:maxlength="200"
placeholder="尊敬的医生您好,若在交流过程中发现患者发布不适当内容,请您及时填写相关信息,我们将第一时间处理,谢谢您的支持。"
+ :adjust-position="false"
@input="onInput"
>
-
+
diff --git a/pages_app/groupEdit/groupEdit.vue b/pages_app/groupEdit/groupEdit.vue
index 3fac475..556c597 100644
--- a/pages_app/groupEdit/groupEdit.vue
+++ b/pages_app/groupEdit/groupEdit.vue
@@ -38,8 +38,8 @@
-
- {{ m.realName || '未知' }}
+
+ {{ m.nickname || m.realName }}
——
@@ -68,11 +68,33 @@
import delImg from "@/static/iv_delete.png"
import addImg from "@/static/addpatient.png"
import api from '@/api/api.js'
+ import defaultImg from "@/static/default.png"
import unidialog from '@/components/dialog/dialog.vue'
const groupUuid = ref('')
const groupName = ref('')
const members = ref([])
const visible = ref(false)
+ const avatarErrorMap = ref({})
+ const getAvatarKey = (member = {}) => String(member.uuid || member.id || member.realName || '')
+ const normalizeAvatarUrl = (photo) => {
+ const raw = String(photo || '').trim()
+ if (!raw) return defaultImg
+ if (/^https?:\/\//i.test(raw)) return raw
+ return `${docUrl}${raw}`
+ }
+ const getMemberAvatar = (member = {}) => {
+ const key = getAvatarKey(member)
+ if (key && avatarErrorMap.value[key]) return defaultImg
+ return normalizeAvatarUrl(member.photo)
+ }
+ const handleMemberAvatarError = (member) => {
+ const key = getAvatarKey(member)
+ if (!key) return
+ avatarErrorMap.value = {
+ ...avatarErrorMap.value,
+ [key]: true
+ }
+ }
const confirmDelete = () => {
deleteGroup();
}
@@ -186,6 +208,7 @@
})
}
const patientListByGroup = async () => {
+ avatarErrorMap.value = {}
const res = await api.patientListByGroup({
group_uuid: groupUuid.value,
list_sort:0
diff --git a/pages_app/myAnswer/myAnswer.vue b/pages_app/myAnswer/myAnswer.vue
index e8ae15d..c88a3d5 100644
--- a/pages_app/myAnswer/myAnswer.vue
+++ b/pages_app/myAnswer/myAnswer.vue
@@ -14,6 +14,7 @@
placeholder="请依据患者的个人信息、疾病资料及患者所咨询的问题详细解答患者的问题(信息仅提问患者及医生可见,最多输入300个字)"
placeholder-class="ph"
auto-height
+ :adjust-position="false"
/>
diff --git a/pages_app/myPatient/myPatient.vue b/pages_app/myPatient/myPatient.vue
index d58b080..0a1cfde 100644
--- a/pages_app/myPatient/myPatient.vue
+++ b/pages_app/myPatient/myPatient.vue
@@ -34,7 +34,7 @@
申请记录(近一月)
-
+
@@ -198,6 +198,15 @@ const getApplyList = async () => { // 申请列表
});
+ const goPatientDetail = (uuid,status) => {
+
+ if(status == 2){
+ navTo({
+ url: `/pages_app/patientDetail/patientDetail?uuid=${uuid}`
+ })
+ }
+ }
+
// 辅助方法
// 格式化日期
const formatDate = (dateString) => {
diff --git a/pages_app/patientDetail/patientDetail.vue b/pages_app/patientDetail/patientDetail.vue
index 0a993de..b3ec907 100644
--- a/pages_app/patientDetail/patientDetail.vue
+++ b/pages_app/patientDetail/patientDetail.vue
@@ -13,7 +13,8 @@
>
-
+
+
@@ -24,10 +25,10 @@
- {{ patientInfo.realName || '未知' }}
+ {{nickname || patientInfo.realName }}
- 昵称:{{nickname }}
+ 昵称:{{ patientInfo.realName || '未知' }}
年龄:{{ patientDetail.age || '未知' }}
|
@@ -42,9 +43,16 @@
+ 备注
+
+ {{nickname || '给患者添加备注名'}}
+
+
+
+
分组
- {{ group.name }}
+ {{ group.name || '通过分组给患者分类' }}
@@ -58,7 +66,7 @@
电话号码
- {{ patientInfo.mobile || '未设置' }}
+ {{ patientInfo.mobile || '未设置' }}
@@ -73,12 +81,14 @@
检查报告
-
-
- {{ $u.timeFormat(item.createDate, 'yyyy-mm-dd') }}
- {{ item.diseaseName }}
+
+
+
+ {{ $u.timeFormat(item.createDate, 'yyyy-mm-dd') }}
+ {{ item.diseaseName }}
+
-
+
@@ -97,6 +107,15 @@
+
+