diff --git a/src/views/supervise/management.vue b/src/views/supervise/management.vue index 4d591714..c5587658 100644 --- a/src/views/supervise/management.vue +++ b/src/views/supervise/management.vue @@ -34,6 +34,34 @@ + + + + + + + + + + 搜 索 @@ -494,6 +522,53 @@ const Indicatortype = () => { query.value.pid = String(queryTop.value.classificationoptionsvalue); onLoad(query.value); }; + + + +const BelongsearcheNodeClick = data => { + department.value = data; //存储当前点击的考核部门 + if (data.hasChildren) { + classification(data.id, data.value); + } + query.value.examineDeptName = data.label; + onLoad(query.value); + +}; + + +// 归属部门查询 +const Belongingdepartment = () => { + console.log(queryTop.value.examineDeptName,'queryTop.value.createDeptName'); + if (!queryTop.value.examineDeptName){ + query.value.examineDeptName = null; + onLoad(query.value); + } +}; + + + +const BelongsearcheNodeClickFn = data => { + department.value = data; //存储当前点击的考核部门 + if (data.hasChildren) { + classification(data.id, data.value); + } + query.value.createDeptName = data.label; + onLoad(query.value); + console.log(data); + +}; + + + +const BelongingdepartmentFn = () => { + if (!queryTop.value.createDeptName) { + query.value.createDeptName = null; + onLoad(query.value); + } +}; + + + // 分类编辑 const ClassificationDditing = val => {