|
@@ -398,20 +398,15 @@ const ConfirmApprovalClick = async () => {
|
|
|
}
|
|
|
|
|
|
SMSAuthLoading.value = true
|
|
|
- const { error, code, msg, data } = await tasksApi.batchApproval({}, false)
|
|
|
+ // const { error, code, msg, data } = await tasksApi.batchApproval({}, false)
|
|
|
//判断数据
|
|
|
SMSAuthLoading.value = false
|
|
|
- if (!error && code === 200 && data === true) {
|
|
|
- const ShowAuth = isCheckSmsCodeTime()
|
|
|
- SMSAuthShow.value = ShowAuth
|
|
|
- //免短信验证
|
|
|
- if (!ShowAuth) {
|
|
|
- SMSAuthConfirm()
|
|
|
- }
|
|
|
- } else {
|
|
|
- window.$message?.warning(msg)
|
|
|
+ const ShowAuth = isCheckSmsCodeTime()
|
|
|
+ SMSAuthShow.value = ShowAuth
|
|
|
+ //免短信验证
|
|
|
+ if (!ShowAuth) {
|
|
|
+ SMSAuthConfirm()
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
|
|
|
//短信验证有效期
|