|
|
@ -246,14 +246,16 @@ export default { |
|
|
|
spinner: 'el-icon-loading', |
|
|
|
background: 'rgba(0, 0, 0, 0.7)' |
|
|
|
}) |
|
|
|
const params = [] |
|
|
|
const tableParams = { |
|
|
|
list: [] |
|
|
|
} |
|
|
|
this.multipleSelection.forEach((e) => { |
|
|
|
params.push({ |
|
|
|
tableParams.list.push({ |
|
|
|
type: e.type, |
|
|
|
sid: e.sid |
|
|
|
}) |
|
|
|
}) |
|
|
|
req.changeRead(params).then(resp => { |
|
|
|
req.changeRead(tableParams).then(resp => { |
|
|
|
if (resp.success) { |
|
|
|
this.$message({ type: 'success', message: '操作成功', showClose: true }) |
|
|
|
} |
|
|
|