From a2cf42557791a3c0351e625bd9f73ed9e4a209a7 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Thu, 16 Jun 2022 12:22:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/reportInfoDetail/reportInfoDetail.vue | 32 ++++++++++++++++++--- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/pages/reportInfoDetail/reportInfoDetail.vue b/pages/reportInfoDetail/reportInfoDetail.vue index f6c5fb8..2e98e9c 100644 --- a/pages/reportInfoDetail/reportInfoDetail.vue +++ b/pages/reportInfoDetail/reportInfoDetail.vue @@ -49,6 +49,24 @@ + + + + + 登记完成 + + + + + + 感谢您的反馈 + + + 关闭 + + + + @@ -78,7 +96,8 @@ titles: [], qaId: '', objType: '', - openId:'' + openId:'', + finishFlag:false, }; }, /** @@ -256,6 +275,7 @@ "openId":this.openId, questionAnswerTitles: _questionAnswerTitles, } + let _that = this; saveReportInfoAnswerValue(obj) .then(_data => { uni.showToast({ @@ -263,9 +283,7 @@ title: '保存成功' }); this.communityId = ""; - uni.navigateBack({ - delta:1 - }) + _that.finishFlag = true; }, err => { uni.showToast({ icon: 'none', @@ -286,6 +304,12 @@ _that.idCard = _params[0].idCard; _that.tel = _params[0].tel; }) + }, + _cancleFinishModal:function(){ + this.finishFlag = false; + uni.navigateBack({ + delta:1 + }) } }, };