Compare commits
2 Commits
65b215c6a8
...
8334e74a2a
Author | SHA1 | Date | |
---|---|---|---|
![]() |
8334e74a2a | ||
![]() |
1eb785dfca |
|
@ -105,13 +105,17 @@ import { metaDataTypeTree } from '@/api/metaData'
|
|||
this.$message.warning("至少选择一个需要导出的表");
|
||||
return;
|
||||
}
|
||||
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)
|
||||
}
|
||||
})
|
||||
|
||||
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)
|
||||
// }
|
||||
// })
|
||||
},
|
||||
onOk(value) {
|
||||
this.$emit('ok');
|
||||
|
|
Loading…
Reference in New Issue
Block a user