From 0ce7b8620f60360d9ceb61ddf7d6284a694b748a Mon Sep 17 00:00:00 2001 From: Yesol Choi Date: Tue, 27 May 2025 10:03:03 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=B2=A8=EB=B6=80=ED=8C=8C=EC=9D=BC?= =?UTF-8?q?=20UI=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/app/priceDetail.vue | 50 +++++++++++++++++++++++------------ 1 file changed, 33 insertions(+), 17 deletions(-) diff --git a/src/pages/app/priceDetail.vue b/src/pages/app/priceDetail.vue index 4205d0e..a7e22f1 100644 --- a/src/pages/app/priceDetail.vue +++ b/src/pages/app/priceDetail.vue @@ -102,7 +102,7 @@ function getDetailList(arg){ apprStat: req.apprStat, attendNm: req.attendNm })) //비고 데이터 없음, 승인일자 없음 todo - console.log(" apprLine.value", apprLine.value) + params.prcsAtts = arg.prcsAtts } const updateState = async () => { @@ -141,6 +141,15 @@ const onChangeFinal = async () => { loading.value = false } } + +const onPrcsFileDownload = async (prcsNo: string, fileOrd: number, logiFnm: string) => { + const link = document.createElement('a') + link.href = `https://svcm.hmsn.ink/api/prcs/${prcsNo}/${fileOrd}` //todo + link.setAttribute('download', logiFnm) + link.setAttribute('target', '_blank') + document.body.appendChild(link) + link.click() +}