From eec581f332e2b54626f0cbe434619ee4c7eadfe0 Mon Sep 17 00:00:00 2001 From: wanglei Date: Fri, 11 Jul 2025 16:26:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E6=B1=87=E6=80=BB=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/RecursiveTree/index.vue | 29 ++- ruoyi-ui/src/views/kaohe/gather/index.vue | 174 ++++++++++++++---- ruoyi-ui/src/views/kaohe/totalScore/index.vue | 2 - 3 files changed, 154 insertions(+), 51 deletions(-) diff --git a/ruoyi-ui/src/components/RecursiveTree/index.vue b/ruoyi-ui/src/components/RecursiveTree/index.vue index 09f96e4..ed525b3 100644 --- a/ruoyi-ui/src/components/RecursiveTree/index.vue +++ b/ruoyi-ui/src/components/RecursiveTree/index.vue @@ -3,16 +3,15 @@
- - - - + + + + + - + 子级标题 @@ -27,8 +26,10 @@ :node-data="child" @add-child="onAddChild" @remove-node="onRemoveNode" + @change-kaohe="onChangeKaohe" >
+ @@ -46,6 +47,14 @@ export default { } }, methods: { + // 选择引用考核任务 + changeKaohe(){ + this.$emit('change-kaohe', this.nodeData) + }, + // 选择引用考核任务 + onChangeKaohe(parentNode){ + this.$emit('change-kaohe', parentNode) + }, addChild(type) { this.$emit('add-child', this.nodeData, type) }, @@ -57,7 +66,7 @@ export default { }, onRemoveNode(nodeToRemove) { this.$emit('remove-node', nodeToRemove) - } + }, } } diff --git a/ruoyi-ui/src/views/kaohe/gather/index.vue b/ruoyi-ui/src/views/kaohe/gather/index.vue index 4d48573..60e3e95 100644 --- a/ruoyi-ui/src/views/kaohe/gather/index.vue +++ b/ruoyi-ui/src/views/kaohe/gather/index.vue @@ -87,7 +87,7 @@ - + - - - - - - - - - - - - - - - + +
+ +
+ + + +
+ + + + + + 搜索 + + + + + + + + + + + +
+
+ diff --git a/ruoyi-ui/src/views/kaohe/totalScore/index.vue b/ruoyi-ui/src/views/kaohe/totalScore/index.vue index d53a8a5..2eb0e95 100644 --- a/ruoyi-ui/src/views/kaohe/totalScore/index.vue +++ b/ruoyi-ui/src/views/kaohe/totalScore/index.vue @@ -1,6 +1,5 @@