修改检测入口、预检测、正式检测页面
This commit is contained in:
@@ -53,6 +53,9 @@ const getTreeData = (val: any) => {
|
||||
}
|
||||
const filterText = ref('')
|
||||
const treeRef = ref()
|
||||
const {updateSelectedTreeNode} = defineProps<{
|
||||
updateSelectedTreeNode:Function;
|
||||
}>();
|
||||
watch(
|
||||
() => searchForm.value.planName,
|
||||
(val) => {
|
||||
@@ -64,6 +67,7 @@ watch(
|
||||
)
|
||||
const handleNodeClick = (data) => {
|
||||
console.log(data)
|
||||
updateSelectedTreeNode()
|
||||
}
|
||||
const filterNode = (value: string, data) => {
|
||||
if (!value) return true
|
||||
@@ -110,12 +114,12 @@ defineExpose({ getTreeData })
|
||||
.tree_container {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
// width: 100%;
|
||||
// overflow-x: auto;
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
|
||||
.el-tree {
|
||||
height: 100%;
|
||||
// width: 2000px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user