修复巡检提交失败的问题
This commit is contained in:
parent
1f47945c98
commit
54d017c618
@ -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 // 巡检图片,格式为字符串数组
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user