3.30提交

This commit is contained in:
zoujiandong
2026-03-30 09:45:55 +08:00
parent 0a51901807
commit e3a852cb43
6 changed files with 27 additions and 24 deletions
+4 -4
View File
@@ -23,8 +23,8 @@
<view class="request-text">{{ item.content }}</view>
<view class="action-buttons">
<button class="reject-btn" @click="applyListOperate(item.uuid,3)">拒绝</button>
<button class="agree-btn" @click="applyListOperate(item.uuid,2,item.content)">同意</button>
<button class="reject-btn" @click="applyListOperate(item.uuid,3,item.content,item.patientUuid)">拒绝</button>
<button class="agree-btn" @click="applyListOperate(item.uuid,2,item.content,item.patientUuid)">同意</button>
</view>
</view>
</view>
@@ -172,7 +172,7 @@ const getApplyList = async () => { // 申请列表
});
}
};
const applyListOperate = async (uuid,status,content) => {
const applyListOperate = async (uuid,status,content,patientUuid) => {
let data = {
uuid: uuid,
status: status
@@ -190,7 +190,7 @@ const getApplyList = async () => { // 申请列表
getRelationRecordLately();
if(status == 2){
navTo({
url: `/pages_app/patientRemark/patientRemark?uuid=${uuid}&&nickname=${nickname}`
url: `/pages_app/patientRemark/patientRemark?uuid=${patientUuid}&&nickname=${nickname}`
})
}
}