|
@@ -10,7 +10,7 @@
|
|
<div class="text-xs text-cut project-name">{{ projectInfo.name }}</div>
|
|
<div class="text-xs text-cut project-name">{{ projectInfo.name }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="hc-tree-box">
|
|
|
|
|
|
+ <div v-if="isshowTree" class="hc-tree-box">
|
|
<el-scrollbar>
|
|
<el-scrollbar>
|
|
<WbsTree
|
|
<WbsTree
|
|
:auto-expand-keys="TreeAutoExpandKeys" :contract-id="contractId" :project-id="projectId" :class-id="classifyId"
|
|
:auto-expand-keys="TreeAutoExpandKeys" :contract-id="contractId" :project-id="projectId" :class-id="classifyId"
|
|
@@ -202,9 +202,13 @@ watch(contractId, (val) => {
|
|
})
|
|
})
|
|
//自动展开缓存
|
|
//自动展开缓存
|
|
const TreeAutoExpandKeys = ref([])
|
|
const TreeAutoExpandKeys = ref([])
|
|
-
|
|
|
|
|
|
+const isshowTree = ref(true)
|
|
//渲染完成
|
|
//渲染完成
|
|
onActivated(() => {
|
|
onActivated(() => {
|
|
|
|
+ isshowTree.value = false
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ isshowTree.value = true
|
|
|
|
+ }, 100)
|
|
dataId.value = useRoutes?.query?.id || ''
|
|
dataId.value = useRoutes?.query?.id || ''
|
|
console.log( dataId.value, 'dataId.value')
|
|
console.log( dataId.value, 'dataId.value')
|
|
if (dataType === 1) {
|
|
if (dataType === 1) {
|