This commit is contained in:
2023-11-14 15:38:18 +08:00
parent 807c197a6d
commit c3bf2fa4cb

View File

@ -74,28 +74,37 @@
}, { }, {
name: '其它', name: '其它',
checked: false, checked: false,
}] }],
requestStatus: false,
} }
}, },
methods: { methods: {
truetaskReturn() { truetaskReturn() {
if (this.list[4].checked && this.value) { if (this.requestStatus) {
this.taskReturnReason += this.value + ';' // return
return;
} }
var obj = { this.requestStatus = true;
orderNo: this.tasklist.orderNo, setTimeout(() => {
remark: this.taskReturnReason, if (this.list[4].checked && this.value) {
} this.taskReturnReason += this.value + ';'
closeHealthConsultationOrder(obj).then(res => {
if (res.code == 200) {
this.$refs.uToast.show({
title: '工单退回成功',
type: 'success',
duration: '1500',
back: 1
})
} }
}) var obj = {
orderNo: this.tasklist.orderNo,
remark: this.taskReturnReason,
}
closeHealthConsultationOrder(obj).then(res => {
if (res.code == 200) {
this.requestStatus = false;
this.$refs.uToast.show({
title: '工单退回成功',
type: 'success',
duration: '1500',
back: 1
})
}
})
}, 1600);
}, },
// checkbox // checkbox
checkboxChange(e) {}, checkboxChange(e) {},