| | |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div class="operationClass"> |
| | | <el-button type="text" @click="edit('edit',row)">修改</el-button> |
| | | <el-button type="text" @click="edit('edit',row)">编辑</el-button> |
| | | <el-button type="text" @click="del(row)">删除</el-button> |
| | | </div> |
| | | </template> |
| | |
| | | |
| | | <!-- 新增修改对话框--> |
| | | <el-dialog |
| | | :title="operation==='add'?'新增':'修改'" |
| | | :title="operation==='add'?'新增':'编辑'" |
| | | :visible.sync="dialogVisible" |
| | | width="50%" |
| | | top="15vh" |
| | | :close-on-click-modal="false" |
| | | @closed="handleClose" |
| | | @close="handleClose" |
| | | > |
| | |
| | | :visible.sync="settingDialogVisible" |
| | | width="50%" |
| | | top="15vh" |
| | | :close-on-click-modal="false" |
| | | class="settingDialogVisible" |
| | | @close="handleCloseSetting" |
| | | > |
| | |
| | | title="角色关联用户" |
| | | :visible.sync="userDialogVisible" |
| | | width="80%" |
| | | :close-on-click-modal="false" |
| | | top="15vh" |
| | | class="userDialogVisible" |
| | | @closed="handleCloseUser" |
| | |
| | | :visible.sync="dialogVisibleRight" |
| | | width="50%" |
| | | top="15vh" |
| | | :close-on-click-modal="false" |
| | | class="dialogVisibleRight" |
| | | @closed="handleCloseRight" |
| | | @close="handleCloseRight" |