From e019e6cffffe3b4b764bff4d60fffb5d62b160cd Mon Sep 17 00:00:00 2001 From: xiejun <xiejun@vci-tech.com> Date: 星期三, 28 八月 2024 19:12:11 +0800 Subject: [PATCH] 表单表格导出功能开发 --- Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue index 3c3da9d..1195fc0 100644 --- a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue +++ b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue @@ -2,7 +2,6 @@ <el-dialog v-dialogDrag :close-on-click-modal="false" - :destroy-on-close="true" :title="title" :visible.sync="visible" width="40%" @@ -23,6 +22,7 @@ </ul> <Divider left="30px" text="閫夋嫨鏂囦欢鍚庝細鑷姩涓婁紶"></Divider> <el-upload + :name="fileName" :action="fileUrl" :before-upload="beforeUpload" :data="fileData" @@ -53,6 +53,10 @@ type: Array, default: () => [] }, + fileName: { + type: String, + default: () => "file" + }, // 瀵硅瘽妗嗗ご閮ㄥ悕绉� title: { type: String, -- Gitblit v1.9.3