参数收集清单删除增加未收集状态情况
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user