资质审核

master
schry 2 years ago
parent 10fd9f6803
commit 852a9dcd24

@ -514,14 +514,14 @@ export default {
methods: {
onPassSubmit(val) {
this.inputQuery.checkStatus = 1;
this.inputQuery.auditStatus = 1;
this.$confirm("是否审核通过?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
this.loading = true;
this.inputQuery.checkStatus = 1;
this.inputQuery.auditStatus = 1;
auditManufacturer(this.inputQuery).then(response => {
this.loading = false;
if (response.code === 20000) {
@ -542,7 +542,7 @@ export default {
cancelButtonText: '取消',
}).then(({value}) => {
this.inputQuery.auditComment = value;
this.inputQuery.checkStatus = 2;
this.inputQuery.auditStatus = 2;
auditManufacturer(this.inputQuery).then(response => {
this.loading = false;
if (response.code === 20000) {
@ -627,8 +627,8 @@ export default {
auditCert(row) {
this.certAuditVisible = true;
this.currentAudit = row;
this.isOpen = this.currentAudit.checkStatus;
this.confirmStatus = this.currentAudit.checkStatus;
this.isOpen = this.currentAudit.auditStatus;
this.confirmStatus = this.currentAudit.auditStatus;
},
revoke(inputQuery) {
this.$confirm("是否确定撤回证书状态至未确认?", "提示", {
@ -656,11 +656,11 @@ export default {
},
passAuditCert() {
this.currentAudit.checkStatus = 1;
this.currentAudit.auditStatus = 1;
this.auditSupCert(this.currentAudit);
},
rejectAuditCert() {
this.currentAudit.checkStatus = 2;
this.currentAudit.auditStatus = 2;
this.auditSupCert(this.currentAudit);
},
confirm() {

Loading…
Cancel
Save