This commit is contained in:
”Rain“ 2024-05-24 22:25:17 +08:00
parent 996e8536dc
commit 7ec70b3900

View File

@ -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;