修改
This commit is contained in:
parent
807c197a6d
commit
c3bf2fa4cb
@ -74,11 +74,18 @@
|
|||||||
}, {
|
}, {
|
||||||
name: '其它',
|
name: '其它',
|
||||||
checked: false,
|
checked: false,
|
||||||
}]
|
}],
|
||||||
|
requestStatus: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
truetaskReturn() {
|
truetaskReturn() {
|
||||||
|
if (this.requestStatus) {
|
||||||
|
// 利用 return 终止函数继续运行
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this.requestStatus = true;
|
||||||
|
setTimeout(() => {
|
||||||
if (this.list[4].checked && this.value) {
|
if (this.list[4].checked && this.value) {
|
||||||
this.taskReturnReason += this.value + ';'
|
this.taskReturnReason += this.value + ';'
|
||||||
}
|
}
|
||||||
@ -88,6 +95,7 @@
|
|||||||
}
|
}
|
||||||
closeHealthConsultationOrder(obj).then(res => {
|
closeHealthConsultationOrder(obj).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
|
this.requestStatus = false;
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '工单退回成功',
|
title: '工单退回成功',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
@ -96,6 +104,7 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}, 1600);
|
||||||
},
|
},
|
||||||
// 选中某个复选框时,由checkbox时触发
|
// 选中某个复选框时,由checkbox时触发
|
||||||
checkboxChange(e) {},
|
checkboxChange(e) {},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user