|
@@ -1584,7 +1584,7 @@ const CertRowClick2 = ({ pdfFileUrl }) => {
|
|
|
const CertLoading = ref(false)
|
|
|
const CertClick = async () => {
|
|
|
CertLoading.value = true
|
|
|
- const { error, code } = await tasksFlowApi.batchCertification({
|
|
|
+ const { error, code, msg } = await tasksFlowApi.batchCertification({
|
|
|
ids: CertIds.value,
|
|
|
}, false)
|
|
|
//判断状态
|
|
@@ -1594,7 +1594,7 @@ const CertClick = async () => {
|
|
|
showCertificationModal.value = false
|
|
|
searchClick()
|
|
|
} else {
|
|
|
- window.$message?.error('认证失败')
|
|
|
+ window.$message?.error(msg)
|
|
|
}
|
|
|
}
|
|
|
|