From 45a9478790855cb80487640f6b6dd5a51584a2f9 Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Mon, 16 Mar 2026 14:35:45 +0800 Subject: [PATCH] 3.16 --- pages.json | 21 +- pages_app/groupManage/groupManage.vue | 2 +- pages_app/idcardAuth/idcardAuth.vue | 6 +- pages_app/myAccount/withdrawal.vue | 3 +- pages_app/myPatient/myPatient.vue | 4 +- pages_app/patientDetail/patientDetail.vue | 23 +- pages_app/patientMsg/patientMsg copy.vue | 2 +- pages_app/patientMsg/patientMsg.vue | 8 +- pages_app/patientMsg/patientMsg___原生版.vue | 1423 ++++++++++++++++++ pages_app/patientSetting/patientSetting.vue | 18 +- pages_app/schedule/schedule.vue | 25 +- pages_app/searchPatient/searchPatient.vue | 67 +- pages_app/visit/visit.vue | 17 +- pages_app/visitPlan/visitPlan.vue | 44 +- 14 files changed, 1613 insertions(+), 50 deletions(-) create mode 100644 pages_app/patientMsg/patientMsg___原生版.vue diff --git a/pages.json b/pages.json index 232a597..3b072b2 100644 --- a/pages.json +++ b/pages.json @@ -792,6 +792,16 @@ } } }, + { + "path": "searchPatient/searchPatient", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, { "path": "visitPlan/visitPlan", "style": { @@ -1127,16 +1137,7 @@ // } // }, - // { - // "path": "searchPatient/searchPatient", - // "style": { - // "navigationStyle": "custom", - // "navigationBarTitleText": "uni-app分页", - // "app": { - // "bounce": "none" - // } - // } - // }, + // { // "path": "qikan/qikan", // "style": { diff --git a/pages_app/groupManage/groupManage.vue b/pages_app/groupManage/groupManage.vue index fc32703..e34d795 100644 --- a/pages_app/groupManage/groupManage.vue +++ b/pages_app/groupManage/groupManage.vue @@ -83,7 +83,7 @@ const loadAllGroups = async () => { try { const res = await api.groupList(); if (res.code === 200) { - const hiddenGroupNames = new Set(['待分组患者', '肝系医生非患教组', '肝系医生患教组']); + const hiddenGroupNames = new Set(['待分组患者', '肝系一生非患教组', '肝系一生患教组']); const arr = (res.data || []).filter((item) => !hiddenGroupNames.has(String(item?.name || '').trim())); allGroups.value = arr; } diff --git a/pages_app/idcardAuth/idcardAuth.vue b/pages_app/idcardAuth/idcardAuth.vue index 47ba958..c21f800 100644 --- a/pages_app/idcardAuth/idcardAuth.vue +++ b/pages_app/idcardAuth/idcardAuth.vue @@ -301,7 +301,7 @@ const onNextStep = async () => { } } catch (error) { console.error('身份验证失败:', error); - uni.showToast({ title: res.message, icon: 'none' }); + uni.showToast({ title: error.data.message || error.message, icon: 'none' }); isLoading.value = false; } } else if (currentStep.value === 2) { @@ -351,7 +351,9 @@ const onGetSmsCode = async () => { } }, 1000); } else { - uni.showToast({ title: res.msg || '短信验证码发送失败', icon: 'none' }); + uni.showToast({ + title: res.msg || res.data.message, icon: 'none' + }); } }; diff --git a/pages_app/myAccount/withdrawal.vue b/pages_app/myAccount/withdrawal.vue index 4c66b1f..e60f930 100644 --- a/pages_app/myAccount/withdrawal.vue +++ b/pages_app/myAccount/withdrawal.vue @@ -399,7 +399,8 @@ const onGetSmsCode = async () => { } catch (error) { console.error('发送短信验证码失败:', error) uni.showToast({ - title:error.message || error.msg, + title:error.data.message || error.message || error.data.msg || error.msg || '频繁发送短信,请稍后再试' + , icon: 'none' }) } finally { diff --git a/pages_app/myPatient/myPatient.vue b/pages_app/myPatient/myPatient.vue index cc13d47..ea4fa66 100644 --- a/pages_app/myPatient/myPatient.vue +++ b/pages_app/myPatient/myPatient.vue @@ -42,7 +42,7 @@ {{ formatDate2(item.create_date) }} - 昵称:{{ item.nickname || item.patient_name }} + 昵称:{{ item.patient_name || item.nickname }} {{ item.content}} @@ -205,7 +205,7 @@ const getApplyList = async () => { // 申请列表 if(status == 2){ navTo({ - url: `/pages_app/patientDetail/patientDetail?uuid=${uuid}` + url: `/pages_app/patientDetail/patientDetail?uuid=${uuid}&from=myPatient` }) } } diff --git a/pages_app/patientDetail/patientDetail.vue b/pages_app/patientDetail/patientDetail.vue index ab66d7d..1df2d48 100644 --- a/pages_app/patientDetail/patientDetail.vue +++ b/pages_app/patientDetail/patientDetail.vue @@ -123,7 +123,7 @@ + + \ No newline at end of file diff --git a/pages_app/patientSetting/patientSetting.vue b/pages_app/patientSetting/patientSetting.vue index c8f2467..1abef95 100644 --- a/pages_app/patientSetting/patientSetting.vue +++ b/pages_app/patientSetting/patientSetting.vue @@ -66,7 +66,7 @@