问题修改
This commit is contained in:
parent
8858f4f8a5
commit
741f5f306e
|
@ -141,8 +141,9 @@ import { metaDataTypeTree } from '@/api/metaData'
|
||||||
},(error) => {
|
},(error) => {
|
||||||
return Promise.reject(error)
|
return Promise.reject(error)
|
||||||
})
|
})
|
||||||
|
console.log(this.queryParam.sourceType)
|
||||||
service({
|
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: {},
|
params: {},
|
||||||
method:'post' ,
|
method:'post' ,
|
||||||
responseType: 'blob'
|
responseType: 'blob'
|
||||||
|
|
|
@ -392,7 +392,7 @@ export default {
|
||||||
this.$message.warning("请选择导出的数据类型");
|
this.$message.warning("请选择导出的数据类型");
|
||||||
return;
|
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) {
|
if (res.code == 200) {
|
||||||
this.$message.success(res.result);
|
this.$message.success(res.result);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -390,7 +390,7 @@ export default {
|
||||||
this.$message.warning("请选择导出的数据类型");
|
this.$message.warning("请选择导出的数据类型");
|
||||||
return;
|
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) {
|
if (res.code == 200) {
|
||||||
this.$message.success(res.result);
|
this.$message.success(res.result);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user