From 30c817b5bd6cd1d3b44afe12fac6f1a7064b8689 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期六, 28 六月 2025 15:57:23 +0800 Subject: [PATCH] feat: v2.2 --- src/views/Home/Home.vue | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue index 81a68ce..dba96ee 100644 --- a/src/views/Home/Home.vue +++ b/src/views/Home/Home.vue @@ -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