|
|
|
|
@ -110,7 +110,7 @@ export default { |
|
|
|
|
// signaturePerson: this.userInfo.user_name, //签名人 |
|
|
|
|
// signatureTime: this.$u.timeFrom(timeNow, 'yyyy-mm-dd hh:MM:ss'), //签名时间 |
|
|
|
|
} |
|
|
|
|
this.BetLoading.show() |
|
|
|
|
// this.BetLoading.show() |
|
|
|
|
if (this.completeValue == 1) {//已完成 |
|
|
|
|
for (let i = 0; i < this.questionList.length; i++) { |
|
|
|
|
if (this.questionList[i].type == null) { |
|
|
|
|
@ -123,7 +123,7 @@ export default { |
|
|
|
|
if (this.istask == 'true') { |
|
|
|
|
this.$u.api.repairRefuseFinish(query_).then(res => { |
|
|
|
|
if (res.code == 200) { |
|
|
|
|
this.BetLoading.hide() |
|
|
|
|
// this.BetLoading.hide() |
|
|
|
|
uni.showToast({ title: "提交成功", icon: "none" }); |
|
|
|
|
|
|
|
|
|
// 评价成功 返回上一级 |
|
|
|
|
@ -135,7 +135,7 @@ export default { |
|
|
|
|
} else { |
|
|
|
|
this.$u.api.evaluateRepairReject(query_).then(res => { |
|
|
|
|
if (res.code == 200) { |
|
|
|
|
this.BetLoading.hide() |
|
|
|
|
// this.BetLoading.hide() |
|
|
|
|
uni.showToast({ title: "提交成功", icon: "none" }); |
|
|
|
|
|
|
|
|
|
// 评价成功 返回上一级 |
|
|
|
|
@ -185,7 +185,7 @@ export default { |
|
|
|
|
if (this.istask == 'true') { |
|
|
|
|
this.$u.api.repairConfirmFinish(query_).then(res => { |
|
|
|
|
if (res.code == 200) { |
|
|
|
|
this.BetLoading.hide() |
|
|
|
|
// this.BetLoading.hide() |
|
|
|
|
uni.showToast({ title: "评价成功", icon: "none" }); |
|
|
|
|
// 评价成功 返回上一级 |
|
|
|
|
uni.navigateBack({ |
|
|
|
|
@ -196,7 +196,7 @@ export default { |
|
|
|
|
} else { |
|
|
|
|
this.$u.api.evaluateSign(query_).then(res => { |
|
|
|
|
if (res.code == 200) { |
|
|
|
|
this.BetLoading.hide() |
|
|
|
|
// this.BetLoading.hide() |
|
|
|
|
uni.showToast({ title: "评价成功", icon: "none" }); |
|
|
|
|
// 评价成功 返回上一级 |
|
|
|
|
uni.navigateBack({ |
|
|
|
|
@ -209,7 +209,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
error: (uploadFileRes) => { |
|
|
|
|
console.log("上传失败", uploadFileRes.data); // 上传成功后的操作 |
|
|
|
|
this.BetLoading.hide() |
|
|
|
|
// this.BetLoading.hide() |
|
|
|
|
}, |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|