|
|
@ -1819,14 +1819,21 @@ function updateLocation(currentValue: any,currentComp:any) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}else{ |
|
|
}else{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model.value[element.path].forEach((x:any) => { |
|
|
model.value[element.path].forEach((x:any) => { |
|
|
|
|
|
/* console.log(currentValue) |
|
|
if(workNumber==""){ |
|
|
console.log(currentComp) |
|
|
x[element.name] = undefined |
|
|
console.log(x) */ |
|
|
}else{ |
|
|
|
|
|
x[element.name] = mainOrg |
|
|
if(x[currentComp] == currentValue){ |
|
|
|
|
|
if(workNumber==""){ |
|
|
|
|
|
x[element.name] = undefined |
|
|
|
|
|
}else{ |
|
|
|
|
|
x[element.name] = mainOrg |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
|