|
|
|
|
@ -496,34 +496,33 @@ export default { |
|
|
|
|
taskId: this.detailForm.id |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
console.log(11111111, newArr) |
|
|
|
|
// this.$u.api.updateDetaile(queryData).then(res => { |
|
|
|
|
// if (res.code == 200) { |
|
|
|
|
// let signInfo = { |
|
|
|
|
// id: this.detailForm.id, |
|
|
|
|
// signUrl: this.signUrl, |
|
|
|
|
// remark: this.remark |
|
|
|
|
// } |
|
|
|
|
// this.$u.api.updateSign(signInfo).then(res => { |
|
|
|
|
// if (res.code == 200) { |
|
|
|
|
// let query = { |
|
|
|
|
// id: this.detailForm.id, |
|
|
|
|
// } |
|
|
|
|
// this.$u.api.taskServicemanSubmit(query).then(res => { |
|
|
|
|
// if (res.code == 200) { |
|
|
|
|
// uni.showToast({ title: "提交成功", icon: "none" }); |
|
|
|
|
// setTimeout(() => { |
|
|
|
|
// uni.navigateBack({ |
|
|
|
|
// delta: 1 // 默认值是1,表示回退一个页面 |
|
|
|
|
// }) |
|
|
|
|
// }, 500) |
|
|
|
|
// } |
|
|
|
|
// }) |
|
|
|
|
// } |
|
|
|
|
// }) |
|
|
|
|
|
|
|
|
|
// } |
|
|
|
|
// }) |
|
|
|
|
this.$u.api.updateDetaile(queryData).then(res => { |
|
|
|
|
if (res.code == 200) { |
|
|
|
|
let signInfo = { |
|
|
|
|
id: this.detailForm.id, |
|
|
|
|
signUrl: this.signUrl, |
|
|
|
|
remark: this.remark |
|
|
|
|
} |
|
|
|
|
this.$u.api.updateSign(signInfo).then(res => { |
|
|
|
|
if (res.code == 200) { |
|
|
|
|
let query = { |
|
|
|
|
id: this.detailForm.id, |
|
|
|
|
} |
|
|
|
|
this.$u.api.taskServicemanSubmit(query).then(res => { |
|
|
|
|
if (res.code == 200) { |
|
|
|
|
uni.showToast({ title: "提交成功", icon: "none" }); |
|
|
|
|
setTimeout(() => { |
|
|
|
|
uni.navigateBack({ |
|
|
|
|
delta: 1 // 默认值是1,表示回退一个页面 |
|
|
|
|
}) |
|
|
|
|
}, 500) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 客户确认巡检任务 |
|
|
|
|
changeApproveResult(e) { |
|
|
|
|
|