修复巡检提交失败的问题

This commit is contained in:
赵毅 2025-09-26 11:47:06 +08:00
parent 1f47945c98
commit 54d017c618
2 changed files with 4 additions and 1 deletions

View File

@ -153,7 +153,7 @@ export default {
// 准备提交数据,使用正确的参数格式 // 准备提交数据,使用正确的参数格式
const params = { const params = {
task_id: parseInt(this.taskId), // 巡检任务ID task_id: parseInt(this.taskId), // 巡检任务ID
point_id: parseInt(this.selectedPoint), // 巡检点ID task_point_id: parseInt(this.selectedPoint), // 巡检点ID
image: this.images // 巡检图片,格式为字符串数组 image: this.images // 巡检图片,格式为字符串数组
} }

View File

@ -52,6 +52,9 @@ export default {
}, },
onLoad(options) { onLoad(options) {
this.communityId = JSON.parse(options.communityId); this.communityId = JSON.parse(options.communityId);
// this.getList();
},
onShow() {
this.getList(); this.getList();
}, },
methods: { methods: {