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()
})
onBeforeUnmount(() => {
mybus.off('tabsChange')
mybus.off('Cancellation')
mybus.off('Determine')
})
const reason = ref('')

View File

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