diff --git a/src/views/order/components/orderDia.vue b/src/views/order/components/orderDia.vue index 4872489..95d104c 100644 --- a/src/views/order/components/orderDia.vue +++ b/src/views/order/components/orderDia.vue @@ -684,27 +684,27 @@ .then(async () => { is_phone.value = false; - proxy.$modal.msgSuccess({ - message: '外呼成功', - duration: 3000, - onClose: () => { - is_phone.value = true; - }, - }); - - // unitVoiceTemplateCall(params) - // .then(response => { - // proxy.$modal.msgSuccess({ - // message: '外呼成功', - // duration: 3000, - // onClose: () => { - // is_phone.value = true; - // }, - // }); - // }) - // .catch(() => { + // proxy.$modal.msgSuccess({ + // message: '外呼成功', + // duration: 3000, + // onClose: () => { // is_phone.value = true; - // }); + // }, + // }); + + unitVoiceTemplateCall(params) + .then(response => { + proxy.$modal.msgSuccess({ + message: '外呼成功', + duration: 3000, + onClose: () => { + is_phone.value = true; + }, + }); + }) + .catch(() => { + is_phone.value = true; + }); }) .catch(() => {});