|
@@ -10,7 +10,7 @@
|
|
<div class="hc-project-icon-box">
|
|
<div class="hc-project-icon-box">
|
|
<HcIcon name="stack" />
|
|
<HcIcon name="stack" />
|
|
</div>
|
|
</div>
|
|
- <div class="ml-2 project-name-box">
|
|
|
|
|
|
+ <div class="project-name-box ml-2">
|
|
<div class="project-alias">{{ projectInfo.projectName }}</div>
|
|
<div class="project-alias">{{ projectInfo.projectName }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -21,7 +21,7 @@
|
|
</HcTooltip>
|
|
</HcTooltip>
|
|
</div>
|
|
</div>
|
|
<div class="hc-search-tree-val">
|
|
<div class="hc-search-tree-val">
|
|
- <el-input v-model="searchTreeVal" block clearable placeholder="请输入名称关键词检索" @keyup="searchTreeKeyUp">
|
|
|
|
|
|
+ <el-input v-model="searchTreeVal" clearable block placeholder="请输入名称关键词检索" @keyup="searchTreeKeyUp">
|
|
<template #suffix>
|
|
<template #suffix>
|
|
<HcIcon name="search-2" ui="text-xl iscusor" @click="searchTreeClick" />
|
|
<HcIcon name="search-2" ui="text-xl iscusor" @click="searchTreeClick" />
|
|
</template>
|
|
</template>
|
|
@@ -194,6 +194,7 @@ const getSearchTreeData = async () => {
|
|
contractId: contractId.value,
|
|
contractId: contractId.value,
|
|
queryValue: searchTreeVal.value,
|
|
queryValue: searchTreeVal.value,
|
|
tableOwner:authBtnTabKey.value,
|
|
tableOwner:authBtnTabKey.value,
|
|
|
|
+ description: 1,
|
|
})
|
|
})
|
|
//判断状态
|
|
//判断状态
|
|
if (!error && code === 200) {
|
|
if (!error && code === 200) {
|
|
@@ -382,7 +383,6 @@ const treeLoadNode = async ({ node, item, level }, resolve) => {
|
|
contractIdRelation = nodeData?.contractIdRelation || ''
|
|
contractIdRelation = nodeData?.contractIdRelation || ''
|
|
parentId = contractIdRelation ? nodeData?.primaryKeyId : nodeData?.id
|
|
parentId = contractIdRelation ? nodeData?.primaryKeyId : nodeData?.id
|
|
primaryKeyId = nodeData?.id || ''
|
|
primaryKeyId = nodeData?.id || ''
|
|
-
|
|
|
|
}
|
|
}
|
|
//获取数据
|
|
//获取数据
|
|
const { data } = await queryApi.queryWbsTreeData({
|
|
const { data } = await queryApi.queryWbsTreeData({
|
|
@@ -393,6 +393,7 @@ const treeLoadNode = async ({ node, item, level }, resolve) => {
|
|
// classifyType: authBtnTabKey.value,
|
|
// classifyType: authBtnTabKey.value,
|
|
classifyType: classType.value,
|
|
classifyType: classType.value,
|
|
tableOwner:authBtnTabKey.value,
|
|
tableOwner:authBtnTabKey.value,
|
|
|
|
+ description: 1,
|
|
})
|
|
})
|
|
treeLoading.value = false
|
|
treeLoading.value = false
|
|
|
|
|