| | |
| | | <basic-container> |
| | | <div style="height: calc(100vh - 142px);!important;"> |
| | | <div class="headerCon" style="display: flex; flex-wrap: wrap;margin-bottom: 5px"> |
| | | <el-button v-if="permissionList.TreeAddStatus" plain size="small" type="primary" @click="TreeAdd">添加 |
| | | <el-button plain size="small" type="primary" @click="TreeAdd">添加 |
| | | </el-button> |
| | | <el-button v-if="permissionList.TreeEditStatus" plain size="small" type="primary" @click="TreeEdit">修改 |
| | | </el-button> |
| | |
| | | BtmdialogVisible: false, |
| | | SelectOption: [ |
| | | { |
| | | value: 'name', |
| | | label: '中文名称' |
| | | value: 'id', |
| | | label: '英文名称', |
| | | }, |
| | | { |
| | | value: 'id', |
| | | label: '英文名称' |
| | | value: 'name', |
| | | label: '中文名称' |
| | | } |
| | | |
| | | ], |
| | | btmSelectOption: [ |
| | | { |
| | |
| | | }, |
| | | //树点击事件 |
| | | async nodeClick(data) { |
| | | getAuthButtonList({classifyId: data.oid}).then(res => { |
| | | getAuthButtonList({classifyId: data.oid,code:'classifyTree',authType:'classify_auth'}).then(res => { |
| | | this.btnAuthList = res.data.data; |
| | | }).catch(error => { |
| | | console.log(error) |