| | |
| | | <template> |
| | | <div> |
| | | <el-row> |
| | | <el-col :span="12" class="top_left_name">实验室管理</el-col> |
| | | <el-col :span="12" class="top_left_name">设备维护</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <el-button |
| | | @click="testItem()" |
| | |
| | | :props="{ children: 'children', label: 'father' }" |
| | | node-key="id" |
| | | default-expand-all |
| | | highlight-current |
| | | @node-click="handleNodeClick" |
| | | > |
| | | <div class="custom-tree-node" slot-scope="{ node, data }"> |
| | |
| | | ></i> |
| | | {{ data.father }}</span |
| | | > |
| | | <el-button type="text" size="mini" @click.stop="remove(node, data)"> |
| | | <!-- <el-button type="text" size="mini" @click.stop="remove(node, data)"> |
| | | <i class="el-icon-delete"></i> |
| | | </el-button> |
| | | </el-button> --> |
| | | </div> |
| | | </el-tree> |
| | | </div> |