fix:协议管理导出修改

This commit is contained in:
jackal 2024-04-20 14:30:43 +08:00
parent ff93691d19
commit 1a30d552ad
2 changed files with 14 additions and 9 deletions

View File

@ -576,6 +576,7 @@ export default {
//
handleSelectionChange(selection) {
this.ids = selection.map(item => item.agreementId)
console.log(this.ids)
this.single = selection.length != 1
this.multiple = !selection.length
},
@ -662,13 +663,17 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
if (this.ids.length) {
this.download(
'material/agreementInfo/export',
{
...this.queryParams,
dataCondition: this.ids,
},
`协议_${new Date().getTime()}.xlsx`
)
} else {
this.$modal.msgWarning('请选择要导出的数据')
}
},
},
}

View File

@ -44,8 +44,8 @@ module.exports = {
// target: `http://10.40.92.8:8080`, //超
// target: `http://10.40.92.81:8080`, //韩
target: `http://10.40.92.74:8080`,//旭/
// target: `http://10.40.92.153:8080`, //帅
// target: `http://10.40.92.74:8080`,//旭/
target: `http://10.40.92.153:8080`, //帅
// target: `http://10.40.92.14:8080`, //福
//******** 注意事项 ********* */