gaoshp
2024-11-03 3e091224ab26252d8624b42b461ba773ee8bee0f
src/views/mdc/MYTree.vue
@@ -1,13 +1,13 @@
<!--
 * @Date: 2024-04-18 19:53:35
 * @LastEditors: Sneed
 * @LastEditTime: 2024-06-04 21:28:29
 * @LastEditTime: 2024-06-16 16:21:59
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/mdc/MYTree.vue
-->
<template>
    <el-tree ref="treeRef" v-bind="$attrs" :show-checkbox="showCheckbox" :current-node-key="currentNodeKey"
        node-key="id" :props="defalutProps" :data="data" @check-change="checkChange" @node-click="handleNodeClick"
        highlight-current default-expand-all :expand-on-click-node="false" :render-content="renderContent"></el-tree>
    <el-tree :expand-on-click-node="false" ref="treeRef" v-bind="$attrs" :show-checkbox="showCheckbox"
        :current-node-key="currentNodeKey" node-key="id" :props="defalutProps" :data="data" @check-change="checkChange"
        @node-click="handleNodeClick" highlight-current default-expand-all :render-content="renderContent"></el-tree>
</template>
<script>
@@ -75,7 +75,7 @@
                data.title)
        },
        getList() {
            this.$HTTP.post('/api/blade-cps/group/groupWorkstation/type', {
            this.$HTTP.post('/api/smis/group/groupWorkstation/type', {
                groupCategory: 1,
                groupType: "group_workstation"
            }).then(({ code, data }) => {
@@ -139,8 +139,8 @@
</script>
<style lang="scss">
.active .el-tree-node__content {
    background: var(--el-color-primary) !important;
.is-current>.el-tree-node__content {
    // background: var(--el-color-primary) !important;
}
a.disabled {