|
|
|
|
@ -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`)
|
|
|
|
|
|