Merge branch 'hi-ucs-dev' of http://15.2.21.221:3000/wuhongjian/hi-ucs into hi-ucs-dev

This commit is contained in:
gaoyuanwei 2022-07-26 10:18:49 +08:00
commit 8be597f9cf
2 changed files with 10 additions and 4 deletions

View File

@ -484,7 +484,7 @@
del() del()
}) })
onBeforeUnmount(() => { onBeforeUnmount(() => {
mybus.off('tabsChange') mybus.off('Cancellation')
mybus.off('Determine') mybus.off('Determine')
}) })
const reason = ref('') const reason = ref('')

View File

@ -821,9 +821,15 @@
} else { } else {
let arr = [] let arr = []
list.value.map((val) => { list.value.map((val) => {
val.arr = val.children.filter( val.arr = val.children.filter((item) => {
(item) => checkedListAbility.value.indexOf(item.id) > -1 console.log('选择的数据=============>', item)
) if (
checkedListAbility.value.indexOf(item.id) > -1 &&
item.delFlag != 0
) {
return item
}
})
}) })
arr = list.value.filter((val) => val.arr.length !== 0) arr = list.value.filter((val) => val.arr.length !== 0)
console.log('一键申请===================>', arr) console.log('一键申请===================>', arr)