|
@@ -213,7 +213,9 @@ onMounted(() => {
|
|
|
if(info&&info.detectionResult){
|
|
|
listItemBaseData.value.detectionResult=info.detectionResult.toString()
|
|
|
}
|
|
|
-
|
|
|
+ if(info&&info.projectPosition){
|
|
|
+ defaultCheckarrIds.value=info.projectPosition.split(',')
|
|
|
+ }
|
|
|
getSearchNodeTables()
|
|
|
getSearchNodeTablesall(1)
|
|
|
getSearchNodeTablesall(2)
|
|
@@ -299,6 +301,8 @@ const getSearchNodeTables = async () => {
|
|
|
isLoading.value = false
|
|
|
if (!error && code === 200) {
|
|
|
listItemData.value = getArrValue(data)
|
|
|
+ // console.log( listItemData.value,' listItemData.value');
|
|
|
+ // defaultCheckarrIds.value= listItemData.value.projectPosition.join(',')
|
|
|
} else {
|
|
|
listItemData.value = []
|
|
|
}
|
|
@@ -430,7 +434,7 @@ const getContractInfoTreeApi = async () => {
|
|
|
searchTreeData.value = getArrValue(data['treeContractAll'])
|
|
|
setStoreData('unmatchedTreeData', unmatchedTreeData.value)
|
|
|
|
|
|
- defaultCheckarrIds.value=getArrValue(data['isSelectedStatus'])
|
|
|
+ // defaultCheckarrIds.value=getArrValue(data['isSelectedStatus'])
|
|
|
checkrelationId.value=getArrValue(data['isSelectedStatus'])
|
|
|
} else {
|
|
|
unmatchedTreeData.value = []
|