大屏
This commit is contained in:
		| @@ -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) => { | ||||
|         }) | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| <template> | ||||
|   <ai-list class="notice"> | ||||
|   <ai-list class="notice" v-loading="isLoading"> | ||||
|     <template slot="title"> | ||||
|       <ai-title | ||||
|         title="考试台账" | ||||
| @@ -93,7 +93,8 @@ | ||||
|           haveCertificate: '', | ||||
|           examinationType: '' | ||||
|         }, | ||||
|         total: 10, | ||||
|         isLoading: false, | ||||
|         total: 0, | ||||
|         colConfigs: [ | ||||
|           { prop: 'realName',  label: '姓名' }, | ||||
|           { prop: 'idNumber',  label: '身份证号', align: 'center' }, | ||||
| @@ -149,13 +150,18 @@ | ||||
|           closeOnClickModal: false, | ||||
|           cancelButtonText: '取消' | ||||
|         }).then(() => { | ||||
|           this.isLoading = true | ||||
|           this.instance.post(`/app/appcertificateinfo/auditCertificate?certificateId=${item.certificateId}&openId=${item.openId}`).then(res => { | ||||
|             if (res.code == 0) { | ||||
|               this.getList() | ||||
|               this.$message.success('审核通过') | ||||
|             } | ||||
|  | ||||
|             this.isLoading = false | ||||
|           }).catch(() => { | ||||
|             this.isLoading = false | ||||
|           }) | ||||
|         }).catch((e) => { | ||||
|         }).catch(() => { | ||||
|         }) | ||||
|       }, | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user