[update] 54839
This commit is contained in:
@@ -211,7 +211,7 @@
|
|||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
},
|
},
|
||||||
deleteLib(val) {
|
deleteLib(val) {
|
||||||
if(val.state === '已完成') {
|
if(val.state === '已完成' || val.state === 'Finished' ) {
|
||||||
let _this = this
|
let _this = this
|
||||||
this.$confirm({
|
this.$confirm({
|
||||||
content: _this.$t('ConfirmDelete'),
|
content: _this.$t('ConfirmDelete'),
|
||||||
@@ -304,7 +304,7 @@
|
|||||||
// 默认为0 可全部删除
|
// 默认为0 可全部删除
|
||||||
let flag = 1
|
let flag = 1
|
||||||
this.selectedRowKeysvalArray.forEach((item) => {
|
this.selectedRowKeysvalArray.forEach((item) => {
|
||||||
if(item.state !== '已完成'){
|
if(item.state !== '已完成' && val.state !== 'Finished' ){
|
||||||
flag = 0
|
flag = 0
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user