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() }