优化多次评价回复的bug

This commit is contained in:
wuxw 2024-12-05 14:01:32 +08:00
parent ca5e49e864
commit 8e5b7caaf1
2 changed files with 4 additions and 7 deletions

View File

@ -10,7 +10,7 @@
},
_initEvent: function () {
vc.on('replyComplaintAppraise', 'openReplyComplaintAppraiseModal', function (_appraise) {
vc.copyObject(_appraise,$that.replyComplaintAppraiseInfo);
vc.copyObject(_appraise, $that.replyComplaintAppraiseInfo);
$('#replyComplaintAppraiseModel').modal('show');
});
},
@ -46,7 +46,7 @@
return;
}
$that.replyComplaintAppraiseInfo.communityId = vc.getCurrentCommunity().communityId;
vc.http.apiPost(
'/complaintAppraise.replyComplaintAppraise',
JSON.stringify($that.replyComplaintAppraiseInfo),
@ -74,10 +74,8 @@
},
clearReplyComplaintAppraiseInfo: function () {
$that.replyComplaintAppraiseInfo = {
title: '',
pubType: '',
headerImg: '',
context: ''
appraiseId: '',
replyContext: '',
};
}
}

View File

@ -1,5 +1,4 @@
<div>
<div class="ibox">
<div class="ibox-title">
<h5>