| | |
| | | :model="form" |
| | | label-width="100px" |
| | | inline |
| | | style="display: flex;justify-content: space-between" |
| | | style="display: flex;" |
| | | > |
| | | <div class="elForm"> |
| | | <el-form-item label-width="70px" label="角色编码" style=" display: flex;"> |
| | | <el-form-item label="角色编码" style=" display: flex;"> |
| | | <el-input v-model="form.RoleCode" placeholder="请输入" style="width: 200px" /> |
| | | </el-form-item> |
| | | <el-form-item label="角色名称" style=" display: flex;"> |
| | |
| | | <el-input v-model="form.UserName" style="width: 200px" placeholder="请输入" /> |
| | | </el-form-item> |
| | | </div> |
| | | <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}"> |
| | | <div |
| | | class="bodySearchReset" |
| | | :style="{marginLeft:$store.state.app.sidebar.opened? $store.state.settings.menuIsHorizontal?'15%':'3%':'10%'}" |
| | | > |
| | | <el-button type="primary" icon="el-icon-search" @click="search">查询</el-button> |
| | | <el-button type="info" icon="el-icon-refresh" @click="reset">重置</el-button> |
| | | </div> |
| | |
| | | |
| | | <!-- 新增修改对话框--> |
| | | <el-dialog |
| | | v-el-drag-dialog |
| | | :title="operation==='add'?'新增':'编辑'" |
| | | :visible.sync="dialogVisible" |
| | | width="800px" |
| | |
| | | </el-dialog> |
| | | <!-- 设置按钮对话框--> |
| | | <el-dialog |
| | | v-el-drag-dialog |
| | | title="设置" |
| | | :visible.sync="settingDialogVisible" |
| | | width="800px" |
| | |
| | | </el-dialog> |
| | | <!-- 关联用户对话框--> |
| | | <el-dialog |
| | | v-el-drag-dialog |
| | | title="角色关联用户" |
| | | :visible.sync="userDialogVisible" |
| | | width="900px" |
| | |
| | | </el-dialog> |
| | | <!-- 分配权限对话框--> |
| | | <el-dialog |
| | | v-el-drag-dialog |
| | | title="角色关联权限" |
| | | :visible.sync="dialogVisibleRight" |
| | | width="800px" |
| | |
| | | import { getCookie } from '@/utils/auth' |
| | | import $ from 'jquery' |
| | | import clearAllChildren, { validateCode } from '@/utils/global' |
| | | import elDragDialog from '@/directive/el-drag-dialog' |
| | | |
| | | export default { |
| | | name: 'JSQD', |
| | | components: { |
| | | Pagination, ImportPicker |
| | | }, |
| | | directives: { elDragDialog }, |
| | | data() { |
| | | return { |
| | | isIpad: false, |