【ID1000459】仪器管理-用户仪器绑定-导出全量数据,详情数据范围:全部记录详情,导出文档数据为最新记录详情

master
382696293@qq.com 2 years ago
parent ba3c96cbb8
commit d6ade55835

@ -753,6 +753,7 @@ export default {
this.cancelExportFieldsDialog();
}
if (this.batchOperateValue == 2) {
console.log(this.exportFieldList)
let exportFields = Object.values(this.exportFieldList).filter(val => val != null);
if (exportFields.length == 0) {
this.$modal.msgError("请选择导出字段");
@ -760,6 +761,7 @@ export default {
}
this.queryParams.userInstrumentIdList = null;
this.queryParams.exportFields = exportFields;
this.queryParams.queryString = this.exportFieldsForm.queryString;
this.download('/system/userInstrument/batchExport', {
...Object.assign({}, this.queryParams, {exportFields: exportFields})
}, `仪器绑定_${new Date().getTime()}.xlsx`)

Loading…
Cancel
Save