From ff219b3b55209c4d5e04d4f0632747ae4bdd3482 Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Fri, 27 Feb 2026 18:03:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=20YP003=20=E6=B5=8B=E8=AF=95=E5=AF=BC=E5=85=A5=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/comps/template/comps/yp/YP003.vue | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/views/business/comps/template/comps/yp/YP003.vue b/src/views/business/comps/template/comps/yp/YP003.vue index 605d9a5..f5d02af 100644 --- a/src/views/business/comps/template/comps/yp/YP003.vue +++ b/src/views/business/comps/template/comps/yp/YP003.vue @@ -34,6 +34,10 @@ + + {{ $t('template.common.importTemplate') + }} + @@ -48,10 +52,11 @@ import { EventBus } from "@/utils/eventBus"; import { uniqeResource } from "@/utils/calUnitTools"; import { debounce } from 'lodash-es' import TableOpertaionDelete from "@/components/Template/operation/TableOpertaionDelete.vue" +import ImportExcelDialog from '../../dialog/ImportExcelDialog' export default { name: "YP003", - components: { BaseInfoFormPackage, LineLabel, TableList, Step, CustomTable,TableOpertaionDelete }, + components: { ImportExcelDialog,BaseInfoFormPackage, LineLabel, TableList, Step, CustomTable,TableOpertaionDelete }, mixins: [templateMixin], props: { fillType: { @@ -209,6 +214,18 @@ export default { tableRef.deleteRow(rowIndex); } }, + + + showImportExcelDialog() { + this.$refs.ImportExcelDialog.show() + }, + onLoadExcelData(excelData) { + console.log(excelData) + this.$refs.ImportExcelDialog.cancel() + }, + downloadExcelTemplate(arr){ + this.exportExcel(arr) + } } };