From 262618806aa9dfb65678e0697b54d199cc938879 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期一, 30 六月 2025 09:50:57 +0800 Subject: [PATCH] fix: bug --- src/views/Home/Home.vue | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue index 81a68ce..955e965 100644 --- a/src/views/Home/Home.vue +++ b/src/views/Home/Home.vue @@ -87,7 +87,7 @@ class="box-item" effect="dark" :content="row.auditRemark" - placement="top-start" + placement="top" v-if="row.auditStatus === InsurancePolicyAuditStatusEnum.Reject && row.auditRemark" popper-class="max-width-popper" > @@ -550,12 +550,15 @@ }); } -function handleGoDownloadInvoice(row: API.GetInsurancePageOutput) { - router.push({ - name: 'InsureDownloadInvoice', - params: { - id: row.id, - }, - }); +async function handleGoDownloadInvoice(row: API.GetInsurancePageOutput) { + try { + await insuranceOrderServices.getInvoiceId({ id: row.id }); + router.push({ + name: 'InsureDownloadInvoice', + params: { + id: row.id, + }, + }); + } catch (error) {} } </script> -- Gitblit v1.9.1