| | |
| | | <!-- <footer-btn @click="sumitInfo"></footer-btn> --> |
| | | |
| | | <button class="submit-btn" @click="sumitInfo">提交</button> |
| | | <button class="list-btn mb-20" @click="navTo">我上报的事件</button> |
| | | <button class="list-btn mb-20" @click="navTo">上报记录</button> |
| | | |
| | | |
| | | |
| | |
| | | for (let k = 0, kk = this.questionList[i].children.length; k < kk; k++) { |
| | | // if (this.questionList[i].children[k].state != null) { |
| | | |
| | | if (this.questionList[i].children[k].urls.length) { |
| | | // files.push(this.questionList[i].children[k].id) |
| | | arr.push({ |
| | | itemId: this.questionList[i].children[k].id, |
| | | // state: this.questionList[i].children[k].state, |
| | | imageUrls: this.setImages(this.questionList[i].children[k].urls), |
| | | // remark: this.questionList[i].children[k].remark || "" |
| | | }) |
| | | } |
| | | // if (this.questionList[i].children[k].urls.length) { |
| | | // arr.push({ |
| | | // itemId: this.questionList[i].children[k].id, |
| | | // state: this.questionList[i].children[k].state, |
| | | // imageUrls: this.setImages(this.questionList[i].children[k].urls), |
| | | // remark: this.questionList[i].children[k].remark || "" |
| | | // }) |
| | | // } |
| | | |
| | | // arr.push({ |
| | | // itemId: this.questionList[i].children[k].id, |
| | | |
| | | // imageUrls: this.setImages(this.questionList[i].children[k].urls), |
| | | |
| | | // }) |
| | | arr.push({ |
| | | itemId: this.questionList[i].children[k].id, |
| | | imageUrls: this.setImages(this.questionList[i].children[k].urls), |
| | | }) |
| | | // if (this.questionList[i].children[k].state == 0) { |
| | | // count += 1; |
| | | // } |
| | |
| | | // this.info.imageUrls = urls.join(",") |
| | | // } |
| | | |
| | | if (!this.getSelected().length) { |
| | | this.$showTips("您还没有上传附件"); |
| | | return; |
| | | } else { |
| | | this.info.taskPlaceRecordVOList = this.getSelected() |
| | | } |
| | | // if (!this.getSelected().length) { |
| | | // this.$showTips("您还没有上传附件"); |
| | | // return; |
| | | // } else { |
| | | // this.info.taskPlaceRecordVOList = this.getSelected() |
| | | // } |
| | | |
| | | this.info.taskPlaceRecordVOList = this.getSelected() |
| | | |
| | | if (this.isEdit) { |
| | | this.info.status = 1; |
| | | updateCounterfraudReport(this.info).then(res => { |