|
@@ -123,11 +123,12 @@ const treeAutoExpandKeys = ref(getStoreValue('testTreeExpandKeys') || [])
|
|
|
const nodeDataInfo = ref({})
|
|
|
const nodeErTreeId = ref('')
|
|
|
const wbsElTreeClick = ({ data, keys }) => {
|
|
|
- nodeDataInfo.value = data
|
|
|
+ nodeDataInfo.value = data
|
|
|
+ searchForm.value.nodeId = data['primaryKeyId']
|
|
|
nodeErTreeId.value = data['erTreeId'] || ''
|
|
|
- //缓存自动展开
|
|
|
- treeAutoExpandKeys.value = keys
|
|
|
- setStoreValue('testTreeExpandKeys', keys)
|
|
|
+ //缓存自动展开
|
|
|
+ treeAutoExpandKeys.value = keys
|
|
|
+ setStoreValue('testTreeExpandKeys', keys)
|
|
|
//获取表格
|
|
|
searchClick()
|
|
|
}
|