From 43cdb6beb76d77988363a136558f3b3850ca8e22 Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Tue, 13 Dec 2022 11:17:37 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E8=AF=81=E4=B9=A6=E9=80=BB=E8=BE=91=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CertificateManagement.vue | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) 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