修改bug

This commit is contained in:
caoyang
2022-03-30 22:19:08 +08:00
parent 6324e40d2d
commit 66ecd07c6e
13 changed files with 90 additions and 97 deletions
@@ -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(',')
}