1
This commit is contained in:
parent
996e8536dc
commit
7ec70b3900
@ -96,8 +96,8 @@
|
|||||||
createData: "", //创建时间
|
createData: "", //创建时间
|
||||||
templateList: [],
|
templateList: [],
|
||||||
status: 1,
|
status: 1,
|
||||||
minInspectTime:"", // 最低巡检时长
|
minInspectTime: "", // 最低巡检时长
|
||||||
minInspectName:"", // 最低巡检时长
|
minInspectName: "", // 最低巡检时长
|
||||||
},
|
},
|
||||||
fileList: [],
|
fileList: [],
|
||||||
status: false,
|
status: false,
|
||||||
@ -111,8 +111,8 @@
|
|||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
this.checkOpenGPSServiceByAndroid()
|
this.checkOpenGPSServiceByAndroid()
|
||||||
console.log(e.data,'我的测试数据')
|
console.log(e.data, '我的测试数据')
|
||||||
console.log(e,'我的测试数据')
|
console.log(e, '我的测试数据')
|
||||||
this.sendData = JSON.parse(e.data);
|
this.sendData = JSON.parse(e.data);
|
||||||
this.form.id = e.id;
|
this.form.id = e.id;
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
@ -247,7 +247,7 @@
|
|||||||
that.form.templateList = JSON.parse(responseData.template)
|
that.form.templateList = JSON.parse(responseData.template)
|
||||||
that.form.minInspectTime = responseData.minInspectTime;
|
that.form.minInspectTime = responseData.minInspectTime;
|
||||||
that.form.minInspectName = responseData.minInspectTime + '分钟';
|
that.form.minInspectName = responseData.minInspectTime + '分钟';
|
||||||
|
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -330,7 +330,8 @@
|
|||||||
status: this.form.status,
|
status: this.form.status,
|
||||||
template: JSON.stringify(this.form.templateList),
|
template: JSON.stringify(this.form.templateList),
|
||||||
updateDate: "",
|
updateDate: "",
|
||||||
xzCheckingRouteTaskId:this.form.id,
|
xzCheckingRouteTaskId: this.form.id,
|
||||||
|
inspectTime: this.time / 60,
|
||||||
},
|
},
|
||||||
|
|
||||||
method: "POST",
|
method: "POST",
|
||||||
@ -366,7 +367,7 @@
|
|||||||
showCancel: false, //没有取消按钮的弹框
|
showCancel: false, //没有取消按钮的弹框
|
||||||
buttonText: '确定',
|
buttonText: '确定',
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user