vue2组织机构数vue-okr-tree

npm i vue-okr-tree
import {
   VueOkrTree} from 'vue-okr-tree';
import 'vue-okr-tree/dist/vue-okr-tree.css'
<template>
    <el-card :style="{height: scrollHeight}" style="overflow-y: auto;overflow-x:hidden">
        <div class="filter-wrapper">
            <input type="text" v-model="filterText" placeholder=" 输入关键字进行过滤">
        </div>
        <vue-okr-tree 
            ref="tree"
            :data="treeData" 
            direction="horizontal" 
            show-collapsable 
            default-expand-all
            showNodeNum
            :label-class-name="renderLabelClass"
            :current-lable-class-name="renderCurrentClass"
            :filter-node-method

你可能感兴趣的:(vue.js,javascript,elementui)