Compare commits

..

No commits in common. "8334e74a2a9eb575a54bd347aeeb43b0720e6550" and "65b215c6a8120be84273acc659533f08d1562b4a" have entirely different histories.

View File

@ -105,17 +105,13 @@ import { metaDataTypeTree } from '@/api/metaData'
this.$message.warning("至少选择一个需要导出的表"); this.$message.warning("至少选择一个需要导出的表");
return; return;
} }
postAction("/dataManager/DmExportTable?schemaMass="+this.queryParam.schemaMass+"&tableNames="+this.selectedRowKeys+"&exportType="+exportType,{}).then(res => {
let apiBaseUrl = window._CONFIG['domianURL'] || '/jeecg-boot' if (res.code == 200) {
window.open(apiBaseUrl + "/file/DmExportTable?schemaMass="+this.queryParam.schemaMass+"&tableNames="+this.selectedRowKeys+"&exportType="+exportType) this.$message.success(res.result);
}else{
// postAction("/dataManager/DmExportTable?schemaMass="+this.queryParam.schemaMass+"&tableNames="+this.selectedRowKeys+"&exportType="+exportType,{}).then(res => { this.$message.warning(res.message)
// if (res.code == 200) { }
// this.$message.success(res.result); })
// }else{
// this.$message.warning(res.message)
// }
// })
}, },
onOk(value) { onOk(value) {
this.$emit('ok'); this.$emit('ok');