From d5a752132abc0a89c03ef16a479df1a3f72b1ca8 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Thu, 7 Aug 2025 17:55:21 +0800 Subject: [PATCH] no message --- root/person/marge.vue | 65 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 63 insertions(+), 2 deletions(-) diff --git a/root/person/marge.vue b/root/person/marge.vue index 4c87561..14227c9 100644 --- a/root/person/marge.vue +++ b/root/person/marge.vue @@ -23,9 +23,34 @@ - 11 + + + + + + + + + + {{item.targetAgency.agencyName}} + + + {{item.desp || '-'}} + + + + + + + + + @@ -252,6 +277,42 @@ export default { that.modalApplyData.isShow = false; uni.navigateBack(); }) + }, + handleSet($data,$type){ + let that = this; + if($type == 1){ + // 通过 + uni.showModal({ + content:'确认通过吗?', + success(res) { + if(res.confirm){ + that.G.Get(that.api.person_applyTrue + '/' + $data.id,{},()=>{ + uni.showToast({ + icon:'success', + title:'已通过' + }); + that.getList(); + }) + } + } + }) + }else{ + // 拒绝 + uni.showModal({ + content:'确认拒绝吗?', + success(res) { + if(res.confirm){ + that.G.Get(that.api.person_applyFalse + '/' + $data.id,{},()=>{ + uni.showToast({ + icon:'error', + title:'已拒绝' + }); + that.getList(); + }) + } + } + }) + } } }, };