|
@@ -214,15 +214,17 @@ const dateWbsElTreeClick = ({data, keys, key}) => {
|
|
|
|
|
|
//项目树被点击
|
|
//项目树被点击
|
|
const nodeWbsElTreeClick = ({data, keys}) => {
|
|
const nodeWbsElTreeClick = ({data, keys}) => {
|
|
|
|
+ searchForm.value.wbsIdsStr = data?.primaryKeyId || ''
|
|
if (data.leaf === true) {
|
|
if (data.leaf === true) {
|
|
nodeDataInfo.value = data
|
|
nodeDataInfo.value = data
|
|
queryKey.value = data['primaryKeyId'] || ''
|
|
queryKey.value = data['primaryKeyId'] || ''
|
|
|
|
+
|
|
//缓存自动展开
|
|
//缓存自动展开
|
|
TreeAutoExpandKeys.value = keys
|
|
TreeAutoExpandKeys.value = keys
|
|
setStoreData('TreeExpandKeys', keys)
|
|
setStoreData('TreeExpandKeys', keys)
|
|
//改变搜索表单数据
|
|
//改变搜索表单数据
|
|
searchForm.value.queryDate = null
|
|
searchForm.value.queryDate = null
|
|
- searchForm.value.wbsIdsStr = data?.primaryKeyId || ''
|
|
|
|
|
|
+ // searchForm.value.wbsIdsStr = data?.primaryKeyId || ''
|
|
searchForm.value.current = 1;
|
|
searchForm.value.current = 1;
|
|
getTableData()
|
|
getTableData()
|
|
} else {
|
|
} else {
|