3.13提交

This commit is contained in:
zoujiandong
2026-03-13 16:18:33 +08:00
parent 4e3a30b863
commit 4042df6762
30 changed files with 286 additions and 134 deletions
+10 -1
View File
@@ -34,7 +34,7 @@
<view class="history-section" v-if="historyList.length > 0">
<view class="section-title">申请记录(近一月)</view>
<view class="history-list">
<view class="history-item" v-for="(item, index) in historyList" :key="index">
<view class="history-item" v-for="(item, index) in historyList" :key="index" @click="goPatientDetail(item.patient_uuid,item.status)">
<view class="avatar">
<up-image v-if="docUrl+item.patient_photo" :src="docUrl + item.patient_photo" radius="10rpx" width="120rpx" height="120rpx"></up-image>
@@ -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) => {