From d2c77b9cc29a32f790cac86d7e717b7da541d2a7 Mon Sep 17 00:00:00 2001 From: dj <1042039504@qq.com> Date: Sat, 21 Dec 2024 15:07:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=A7=BB=E9=99=A4=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E6=96=87=E4=BB=B6=E4=B8=8B=E8=BD=BD=E5=92=8C?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/research-fund/add.vue | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/views/research-fund/add.vue b/src/views/research-fund/add.vue index 94d647c..1344c07 100644 --- a/src/views/research-fund/add.vue +++ b/src/views/research-fund/add.vue @@ -117,27 +117,6 @@ const showExpendClass = (showMoreCompany) => { return '' } } -const handleDownload = (row) => { - downloadFile(row.fileId).then(res => { - const blob = new Blob([res]) - let a = document.createElement('a') - a.href = URL.createObjectURL(blob) - a.download = row.originalFileName - a.click() - }) -} -const handleDelete = (row) => { - deleteFile(row.fileId).then(res => { - ElNotification({ - title: '提示', - message: res.msg, - type: res.code === 1000 ? 'success' : 'error' - }) - if (res.code === 1000) { - formData.value.files.splice(formData.value.files.findIndex((item) => item.fileId === row.fileId), 1); - } - }); -} const handleBack = () => { history.back() }