| | |
| | | <!-- |
| | | * @Date: 2024-06-12 22:07:23 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-06-13 00:07:27 |
| | | * @LastEditTime: 2024-06-16 16:18:43 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/dnc/craft/document/File.vue |
| | | --> |
| | | <template> |
| | |
| | | <el-input style="width: 180px;" v-model="filterText" placeholder="请输入关键词进行过滤" /> |
| | | </el-col> |
| | | <el-col style="margin-top: 8px;"> |
| | | <el-tree ref="treeRef" default-expand-all node-key="id" :data="treeData" :props="{ |
| | | label: 'name', |
| | | }" @node-click="nodeClick" :filter-node-method="filterNode" highlight-current |
| | | <el-tree ref="treeRef" :expand-on-click-node="false" default-expand-all |
| | | node-key="id" :data="treeData" :props="{ |
| | | label: 'name', |
| | | }" @node-click="nodeClick" :filter-node-method="filterNode" highlight-current |
| | | :current-node-key="selectNode?.id"> |
| | | <template #default="{ node, data }"> |
| | | <span :class="data.isGroup ? 'active' : ''" class="custom-tree-node"> |
| | |
| | | <el-input style="width: 180px;" v-model="filterText" placeholder="请输入关键词进行过滤" /> |
| | | </el-col> |
| | | <el-col style="margin-top: 8px;"> |
| | | <el-tree :load="loadNode" ref="treeRef" default-expand-all node-key="id" :props="{ |
| | | label: 'name', |
| | | hasChildren: 'id' |
| | | }" @node-click="nodeClick" :filter-node-method="filterNode" highlight-current |
| | | <el-tree :expand-on-click-node="false" :load="loadNode" ref="treeRef" |
| | | default-expand-all node-key="id" :props="{ |
| | | label: 'name', |
| | | hasChildren: 'id' |
| | | }" @node-click="nodeClick" :filter-node-method="filterNode" highlight-current |
| | | :current-node-key="selectNode?.id" lazy> |
| | | <template #default="{ node, data }"> |
| | | <span :class="data.isGroup ? 'active' : ''" class="custom-tree-node"> |
| | |
| | | <el-input style="width: 180px;" v-model="filterText" placeholder="请输入关键词进行过滤" /> |
| | | </el-col> |
| | | <el-col style="margin-top: 8px;"> |
| | | <el-tree :load="loadNode1" ref="treeRef" default-expand-all node-key="id" :props="{ |
| | | label: 'name', |
| | | hasChildren: 'id' |
| | | }" @node-click="nodeClick" :filter-node-method="filterNode" highlight-current |
| | | <el-tree :expand-on-click-node="false" :load="loadNode1" ref="treeRef" |
| | | default-expand-all node-key="id" :props="{ |
| | | label: 'name', |
| | | hasChildren: 'id' |
| | | }" @node-click="nodeClick" :filter-node-method="filterNode" highlight-current |
| | | :current-node-key="selectNode?.id" lazy> |
| | | <template #default="{ node, data }"> |
| | | <span :class="data.isGroup ? 'active' : ''" class="custom-tree-node"> |