问题修改

This commit is contained in:
hekaiyu 2025-06-22 03:07:47 +08:00
parent 8858f4f8a5
commit 741f5f306e
3 changed files with 4 additions and 3 deletions

View File

@ -141,8 +141,9 @@ import { metaDataTypeTree } from '@/api/metaData'
},(error) => {
return Promise.reject(error)
})
console.log(this.queryParam.sourceType)
service({
url: "/dataManager/DmExportTable?schemaMass="+this.queryParam.schemaMass+"&tableNames="+this.selectedRowKeys+"&exportType="+exportType,
url: "/dataManager/DmExportTable?sourceType="+this.queryParam.sourceType+"&mdl="+this.queryParam.mdl+"&hn="+this.queryParam.hn+"&schemaMass="+this.queryParam.schemaMass+"&tableNames="+this.selectedRowKeys+"&exportType="+exportType,
params: {},
method:'post' ,
responseType: 'blob'

View File

@ -392,7 +392,7 @@ export default {
this.$message.warning("请选择导出的数据类型");
return;
}
postAction("/dataManager/DmExportTool?schemaMass=" + this.queryParam.schemaMass + "&tableNames=" + "" + "&exportType=0", {}).then(res => {
postAction("/dataManager/DmExportTool?sourceType="+this.queryParam.sourceType+"&mdl="+this.queryParam.mdl+"&hn="+this.queryParam.hn+"&schemaMass=" + this.queryParam.schemaMass + "&tableNames=" + "" + "&exportType=0", {}).then(res => {
if (res.code == 200) {
this.$message.success(res.result);
} else {

View File

@ -390,7 +390,7 @@ export default {
this.$message.warning("请选择导出的数据类型");
return;
}
postAction("/dataManager/DmExportTool?schemaMass=" + this.queryParam.schemaMass + "&tableNames=" + "" + "&exportType=0", {}).then(res => {
postAction("/dataManager/DmExportTool?sourceType="+this.queryParam.sourceType+"&mdl="+this.queryParam.mdl+"&hn="+this.queryParam.hn+"&schemaMass=" + this.queryParam.schemaMass + "&tableNames=" + "" + "&exportType=0", {}).then(res => {
if (res.code == 200) {
this.$message.success(res.result);
} else {