| | |
| | | <template> |
| | | <el-container> |
| | | <el-header class="businessHeader" style="height: 40px;"> |
| | | <el-button type="primary" @click="businessAdd" size="small">新增</el-button> |
| | | <el-button type="primary" @click="businessEdit" size="small">修改</el-button> |
| | | <el-button type="primary" @click="selectFromTable" size="small">从已有中获取</el-button> |
| | | <el-button-group> |
| | | <el-button type="primary" @click="businessAdd" size="small"> <i class="el-icon-plus"></i> 新增</el-button> |
| | | <el-button type="primary" @click="businessEdit" size="small"><i class="el-icon-edit"></i> 修改</el-button> |
| | | <el-button type="primary" @click="selectFromTable" size="small"><i class="el-icon-thumb"></i> 从已有中获取</el-button> |
| | | </el-button-group> |
| | | </el-header> |
| | | <el-container> |
| | | <el-aside width="240px"> |
| | | <basic-container class="businessTreeContainer"> |
| | | <p style="margin-top: 10px;font-weight: 570;font-size: 19px">{{ treeOption.title }}</p> |
| | | <avue-tree id="basic" :data="treeData" :option="treeOption" @node-click="nodeClick" class="businessTree"> |
| | | <span class="el-tree-node__label" slot-scope="{ node, data }"> |
| | | <span> |
| | |
| | | treeOption: { |
| | | defaultExpandAll: true, |
| | | title: '业务类型树', |
| | | addBtn: false, |
| | | props: { |
| | | labelText: '', |
| | | label: 'name', |