This commit is contained in:
caozehui
2024-12-31 19:03:52 +08:00
parent 081aeacff7
commit 5e8dda0b75
6 changed files with 306 additions and 360 deletions

View File

@@ -37,8 +37,11 @@ import { type Plan } from '@/api/plan/interface';
import { Menu, Platform, CircleCheck,Loading } from '@element-plus/icons-vue'
import { onMounted, ref, watch } from 'vue';
import { useRouter } from 'vue-router'
import {useCheckStore} from "@/stores/modules/check";
const router = useRouter()
const checkStore = useCheckStore()
const data: any = ref([])
const defaultProps = {
children: 'children',
@@ -71,6 +74,7 @@ watch(
},
)
const handleNodeClick = (data: Plan.ResPlan) => {
checkStore.setScriptId(data.scriptId)
updateSelectedTreeNode(data.id)
}
const filterNode = (value: string, data: any) => {