From a060f3d6821ad979295ec8b8edab1df2e0f3e707 Mon Sep 17 00:00:00 2001 From: mengxiaolong Date: Wed, 28 Oct 2020 18:40:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A7=E4=B8=9A=E8=AF=81=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=80=BC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ebiz/agentEenter/PractisingCertificate.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/views/ebiz/agentEenter/PractisingCertificate.vue b/src/views/ebiz/agentEenter/PractisingCertificate.vue index 851651438..8ce424746 100644 --- a/src/views/ebiz/agentEenter/PractisingCertificate.vue +++ b/src/views/ebiz/agentEenter/PractisingCertificate.vue @@ -49,6 +49,7 @@ export default { list.push({ ...certificate }) } for (let item of list) { + item.certificate_type === '执业证' ? '1' : '2' item.flag = item.flag === '是' ? 'Y' : 'N' } console.dir(list) @@ -57,6 +58,20 @@ export default { certificate: list } const result = await saveCertificateInfo(params) + if (result.result === '0') { + this.$jump({ + flag: 'h5', + extra: { + url: location.origin + '/#/agentEenter/approve/ApproveList', + needRefresh: '1' + }, + routerInfo: { + path: '/agentEenter/approve/ApproveList' + } + }) + } else { + this.$toast(result.resultMessage) + } console.dir(result) }, async deleteCertificate(index) {