From c45139f34f842634d2c70cd7773ea126b8596443 Mon Sep 17 00:00:00 2001 From: sc Date: Thu, 9 Jun 2022 12:47:53 +0800 Subject: [PATCH] =?UTF-8?q?UP=20scFileExport=20=E6=96=87=E4=BB=B6=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=20=E5=A2=9E=E5=8A=A0showData=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=85=B6=E4=BB=96=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/scFileExport/index.vue | 3 ++- src/views/vab/importexport.vue | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/scFileExport/index.vue b/src/components/scFileExport/index.vue index e5b462fa..a04c740f 100644 --- a/src/components/scFileExport/index.vue +++ b/src/components/scFileExport/index.vue @@ -35,7 +35,7 @@ - + {{val}} @@ -59,6 +59,7 @@ fileName: { type: String, default: "" }, fileTypes: { type: Array, default: () => ['xlsx'] }, data: { type: Object, default: () => {} }, + showData: { type: Boolean, default: false }, column: { type: Array, default: () => [] }, blob: { type: Boolean, default: false }, progress: { type: Boolean, default: true } diff --git a/src/views/vab/importexport.vue b/src/views/vab/importexport.vue index a0b01841..9ceecd29 100644 --- a/src/views/vab/importexport.vue +++ b/src/views/vab/importexport.vue @@ -40,7 +40,7 @@ - + @@ -59,6 +59,7 @@ Object 文件导出接口对象,通过apiObj.url请求文件 Object 上传时附带的额外参数(可为数据表格的过滤项) + Boolean 是否显示附带的额外参数 String 下载文件名称,默认为当前时间戳 Array 可选择文件类型,默认为['xlsx'],组件将数组第一项当做已选项 Array 列配置,请求文件时将添加column为key的参数,值为prop逗号","分割的字符串