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