修改bug
This commit is contained in:
@@ -553,7 +553,16 @@
|
||||
url: '/jero-boot/split/sarFileSplitMenu/copyMenuNotChildren',
|
||||
method: 'post',
|
||||
data: params,
|
||||
transformRequest: [function (data) {
|
||||
// Do whatever you want to transform the data
|
||||
let ret = ''
|
||||
for (let it in data) {
|
||||
ret += encodeURIComponent(it) + '=' + encodeURIComponent(data[it]) + '&'
|
||||
}
|
||||
return ret
|
||||
}],
|
||||
headers: {
|
||||
// 'Content-Type': 'application/x-www-form-urlencoded',
|
||||
'X-Access-Token':this.token
|
||||
}
|
||||
})
|
||||
@@ -567,17 +576,6 @@
|
||||
this.$message.warning(this.$t('operationFailed'))
|
||||
}
|
||||
})
|
||||
|
||||
// postAction(`split/sarFileSplitMenu/copyMenuNotChildren`,params).then(res=> {
|
||||
// if(res.success){
|
||||
// this.$message.success(this.$t('OperationSuccessful'))
|
||||
// // this.loadData()
|
||||
// this.loadMenuData()
|
||||
// eventBUs.$emit('searchReset')
|
||||
// }else{
|
||||
// this.$message.warning(this.$t('operationFailed'))
|
||||
// }
|
||||
// })
|
||||
},
|
||||
onCancel() {},
|
||||
});
|
||||
@@ -621,7 +619,7 @@
|
||||
let name = this.$t('DocumentSplitting')+'.zip'
|
||||
let query = {
|
||||
infoId:this.infoId,
|
||||
exportName:name,
|
||||
exportName:'',
|
||||
idList:this.selectedRowKeys.join(',')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user