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逗号","分割的字符串