Browse Source

fit:1、警员选择剔除历史数据

main
pengwei 4 months ago
parent
commit
d61cffeef9
  1. 5
      src/components/police-picker.vue

5
src/components/police-picker.vue

@ -231,7 +231,6 @@ function handleSelectDepart(node) {
} }
function handleRemove(index) { function handleRemove(index) {
console.log(index)
polices.value.forEach(s=>{ polices.value.forEach(s=>{
if(s.empNo == checkPolices.value[index].empNo){ if(s.empNo == checkPolices.value[index].empNo){
s.isCheck =false s.isCheck =false
@ -244,6 +243,10 @@ function handleRemove(index) {
function submit() { function submit() {
emit('update:modelValue', checkPolices.value) emit('update:modelValue', checkPolices.value)
polices.value.forEach(s=>{
s.isCheck =false
})
checkPolices.value=[]
show.value = false show.value = false
} }

Loading…
Cancel
Save