| | |
| | | @tree-load="treeLoad"> |
| | | <template slot="menuLeft"> |
| | | <el-button type="danger" |
| | | size="small" |
| | | icon="el-icon-delete" |
| | | v-if="permission.menu_delete" |
| | | plain |
| | | @click="handleDelete">删 除 |
| | | size="small" |
| | | icon="el-icon-delete" |
| | | v-if="permission.menu_delete" |
| | | plain |
| | | @click="handleDelete">删 除 |
| | | </el-button> |
| | | <el-button type="success" |
| | | size="small" |
| | | icon="el-icon-connection" |
| | | plain |
| | | @click="cloneButton">从其他菜单克隆按钮 |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="scope" slot="menu"> |
| | |
| | | </div> |
| | | </template> |
| | | </avue-crud> |
| | | |
| | | <!-- 从其他菜单克隆按钮 --> |
| | | <el-dialog title="从其他菜单克隆按钮" |
| | | append-to-body |
| | | :visible.sync="cloneButtonSettingBox" |
| | | width="800px" |
| | | style="height: 116vh; margin-top: -10vh;"> |
| | | <avue-crud |
| | | :option="dialogeOption" |
| | | :table-loading="dialogLoading" |
| | | :data="useRangeData" |
| | | @refresh-change="refreshUseRangeChange"> |
| | | </avue-crud> |
| | | </el-dialog> |
| | | </basic-container> |
| | | </template> |
| | | |
| | |
| | | } |
| | | ] |
| | | }, |
| | | data: [] |
| | | data: [], |
| | | // 从其他菜单克隆按钮 |
| | | cloneOtherMenuButtons: { |
| | | cloneButtonSettingBox: false, |
| | | |
| | | } |
| | | }; |
| | | }, |
| | | watch: { |
| | |
| | | }); |
| | | }); |
| | | }, |
| | | /** 从其他菜单克隆按钮 */ |
| | | cloneButton(){ |
| | | |
| | | }, |
| | | searchReset() { |
| | | this.query = {}; |
| | | this.parentId = 0; |