|
@ -106,11 +106,12 @@ function remove(index: number){ |
|
|
if (list.value.length > 1) { |
|
|
if (list.value.length > 1) { |
|
|
_confirm('确定要删除吗?',function(){ |
|
|
_confirm('确定要删除吗?',function(){ |
|
|
tempList.forEach(person=>{ |
|
|
tempList.forEach(person=>{ |
|
|
if(person.personCode != list.value[index].personCode){ |
|
|
if(person.personCode == list.value[index].personCode){ |
|
|
person.checked = false |
|
|
person.checked = false |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
list.value.splice(index, 1) |
|
|
list.value.splice(index, 1) |
|
|
|
|
|
debugger |
|
|
}) |
|
|
}) |
|
|
}else{ |
|
|
}else{ |
|
|
_toast("最少需要上报一项") |
|
|
_toast("最少需要上报一项") |
|
|