From 662445047bd24967041b74cd6be53b7493ff312d Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期二, 21 十一月 2023 18:28:02 +0800 Subject: [PATCH] # --- pages/business/plan/planDetails.vue | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pages/business/plan/planDetails.vue b/pages/business/plan/planDetails.vue index 086650e..cd29830 100644 --- a/pages/business/plan/planDetails.vue +++ b/pages/business/plan/planDetails.vue @@ -70,6 +70,11 @@ </uni-popup-dialog> </uni-popup> </view> + + <view class="foot"> + <button size="mini" type="primary" @click="edite(id)">淇敼</button> + <button size="mini" type="warn" @click="del(id)">鍒犻櫎</button> + </view> </view> </template> @@ -146,7 +151,6 @@ method: 'GET', success(res) { res = res.data - console.log(res); that.detl = res.data that.active = res.data.settle that.list1 = JSON.parse(res.data.settleMsg) @@ -320,7 +324,13 @@ that.getFollowers() } }) - } + }, + edite(id) { + let _this = this + uni.navigateTo({ + url: '/pages/business/plan/modiPlan?id=' + id + }) + }, } } </script> -- Gitblit v1.9.1