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 + }) } }, };