This commit is contained in:
yanran200730
2023-05-05 14:37:49 +08:00
parent 0507cd9a89
commit c5784e268e
6 changed files with 209 additions and 96 deletions

View File

@@ -1,5 +1,5 @@
<template>
<ai-detail>
<ai-detail v-loading="isLoading">
<template slot="title">
<ai-title title="考试详情" isShowBack isShowBottomBorder @onBackClick="cancel(false)">
</ai-title>
@@ -75,6 +75,7 @@
size: 10,
title: ''
},
isLoading: false,
total: 0,
tableData: [],
colConfigs: [
@@ -110,11 +111,15 @@
closeOnClickModal: false,
cancelButtonText: '取消'
}).then(() => {
this.isLoading = true
this.instance.post(`/app/appcertificateinfo/auditCertificate?certificateId=${this.info.certificateId}&openId=${this.params.openId}`).then(res => {
if (res.code == 0) {
this.getInfo()
this.isLoading = false
this.$message.success('审核通过')
}
}).catch(() => {
this.isLoading = false
})
}).catch((e) => {
})