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 @@