diff --git a/src/views/standardsAssociation/CertificateManagement.vue b/src/views/standardsAssociation/CertificateManagement.vue index 128d596..4ac75f0 100644 --- a/src/views/standardsAssociation/CertificateManagement.vue +++ b/src/views/standardsAssociation/CertificateManagement.vue @@ -66,7 +66,7 @@ 查询 重置 { + getAction('/vinCertificate/vinCertificate/getFreeCount').then(res => { + if(res.success){ + if(res.result === 0){ + this.showApply = false + resolve(false) + }else { + resolve(true) + this.showApply = true + } + }else { + resolve(true) + this.showApply = true + } + }) + }) + }, // 申请证书 applyCertificate: function () { const that = this