From 72a4d57a4ae5c50980814d20cdd755927e30e453 Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Fri, 27 Feb 2026 17:47:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=20=E5=AF=BC=E5=85=A5=E9=A1=B5=E9=9D=A2=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E6=A8=A1=E6=9D=BF=E6=A0=87=E9=A2=98=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/comps/template/dialog/ImportExcelDialog.vue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/views/business/comps/template/dialog/ImportExcelDialog.vue b/src/views/business/comps/template/dialog/ImportExcelDialog.vue index 94aabfe..6a40b9c 100644 --- a/src/views/business/comps/template/dialog/ImportExcelDialog.vue +++ b/src/views/business/comps/template/dialog/ImportExcelDialog.vue @@ -3,6 +3,9 @@ + + {{$t('template.common.downloadTemplate') }} + @@ -24,6 +27,14 @@ import * as XLSX from 'xlsx' export default { name: "ImportEccelDialog", components: {}, + props:{ + downloadArr:{ + type:Array, + default(){ + return [] + } + } + }, data() { return { title: this.$t('form.modify'), @@ -91,6 +102,9 @@ export default { reader.readAsArrayBuffer(file[0].raw); }, + downloadExcelTemplate() { + this.$emit('downloadExcelTemplate',this.downloadArr) + }, } }