NEZ-1849 feat :alert message列表页面 增加 acknowledge 状态及按钮

This commit is contained in:
likexuan
2022-05-07 11:16:17 +08:00
parent 1a7f68a174
commit c32683b173
4 changed files with 38 additions and 9 deletions

View File

@@ -277,7 +277,7 @@ export default {
}, {
name: this.$t('overall.acknowledge'),
type: 'selectString',
label: 'acknowledge',
label: 'ack',
readonly: true,
disabled: false
}
@@ -539,10 +539,11 @@ export default {
}).then(() => {
this.delFlag = true
const params = []
const obj = {}
this.batchDeleteObjs.forEach(item => {
obj.id = item.id
obj.ack = 1
const obj = {
id: item.id,
ack: 1
}
params.push(obj)
})
this.$put('alert/message/ack', params).then(response => {