优化提交疫情上报

This commit is contained in:
shane 2021-08-10 22:51:04 +08:00
parent 5445b81dcf
commit 9a6998409d

View File

@ -60,9 +60,9 @@
*/ */
onLoad: function(options) { onLoad: function(options) {
let that = this; let that = this;
this.qaId = options.qaId; this.settingId = options.settingId;
querySettingTitle({ querySettingTitle({
qaId: this.qaId, settingId: this.settingId,
page: 1, page: 1,
row: 100 row: 100
}) })
@ -146,11 +146,9 @@
}) })
let obj = { let obj = {
"qaId": this.qaId, "settingId": this.settingId,
"objType": this.objType, "communityId": context.getUserInfo().communityId,
"objId": context.getUserInfo().communityId, "questionAnswerTitles": _questionAnswerTitles
"answerType": '1002',
questionAnswerTitles: _questionAnswerTitles
} }
saveReportInfoAnswerValue(obj) saveReportInfoAnswerValue(obj)
.then(_data => { .then(_data => {