|
@@ -105,7 +105,7 @@ const handleCheckChange = (data,checked,indeterminate,) => {
|
|
emit('nodeCheck',ElTreeRef.value?.getCheckedNodes(false, false))
|
|
emit('nodeCheck',ElTreeRef.value?.getCheckedNodes(false, false))
|
|
}
|
|
}
|
|
const getReturnNode=(node,_array,value)=>{
|
|
const getReturnNode=(node,_array,value)=>{
|
|
- let isPass = node.data && node.data.title && node.data.title.indexOf(value) !== -1;
|
|
|
|
|
|
+ let isPass = node.data && node.data.fullName && node.data.fullName.indexOf(value) !== -1;
|
|
isPass?_array.push(isPass):'';
|
|
isPass?_array.push(isPass):'';
|
|
if(!isPass && node.level!=1 && node.parent){
|
|
if(!isPass && node.level!=1 && node.parent){
|
|
getReturnNode(node.parent,_array,value);
|
|
getReturnNode(node.parent,_array,value);
|
|
@@ -113,6 +113,7 @@ const handleCheckChange = (data,checked,indeterminate,) => {
|
|
}
|
|
}
|
|
const filterNode = (value, data,node) => {
|
|
const filterNode = (value, data,node) => {
|
|
isdivisionLoading.value=true
|
|
isdivisionLoading.value=true
|
|
|
|
+
|
|
if(!value){
|
|
if(!value){
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|