参数收集清单删除增加未收集状态情况

This commit is contained in:
zyx.net
2022-12-28 14:41:04 +08:00
parent 8f754abc57
commit 469265a730
4 changed files with 5 additions and 5 deletions
@@ -294,7 +294,7 @@
})
},
deleteLib(val) {
if (val.state === '已完成' || val.state === 'Finished') {
if (val.state === '已完成' || val.state === 'Finished' || val.state === '未收集' || val.state === 'Uncollected') {
let _this = this
this.$confirm({
content: _this.$t('ConfirmDelete'),
@@ -389,7 +389,7 @@
// 默认为0 可全部删除
let flag = 1
this.selectedRowKeysvalArray.forEach((item) => {
if (item.state !== '已完成' && item.state !== 'Finished') {
if (item.state !== '已完成' && item.state !== 'Finished' && item.state !== '未收集' && item.state !== 'Uncollected') {
flag = 0
}
})