Browse Source

角色--修改布局和添加列表字段

master
Zhao Qiqi 3 years ago
parent
commit
a12009293b
  1. 13
      anrui-system-ui/src/views/RoleAdminister/RoleAdminister.vue

13
anrui-system-ui/src/views/RoleAdminister/RoleAdminister.vue

@ -33,6 +33,8 @@
</el-table-column>
<el-table-column prop="postName" label="角色岗位" width="220px" align="center">
</el-table-column>
<el-table-column prop="roleTypeValue" label="组织层级" width="200px" align="center">
</el-table-column>
<el-table-column prop="remarks" label="备注" align="center">
</el-table-column>
<el-table-column prop="isEnableName" label="是否可用" align="center">
@ -193,7 +195,7 @@
<table class="e-table" cellspacing="0">
<tr>
<td>岗位</td>
<td colspan="3">
<td>
<el-select v-model="roleForm.postSid" filterable style="width:300px" @change="changePost">
<el-option v-for="(item, i) in postSidData" :key="i" :label="item.name" :value="item.sid"></el-option>
</el-select>
@ -204,6 +206,8 @@
<td>
<el-input v-model="roleForm.name" style="width:300px"></el-input>
</td>
</tr>
<tr>
<td>编码</td>
<td>
<el-input v-model="roleForm.code" style="width:300px"></el-input>
@ -213,10 +217,13 @@
<td>组织层级</td>
<td>
<el-select v-model="roleForm.roleTypeValue" style="width:300px" @change="changeOrgName">
<el-option v-for="(item, i) in roleTypeValue_list" :key="i" :label="item.dictValue" :value="item.dictValue"></el-option>
<el-option v-for="(item, i) in roleTypeValue_list" :key="i" :label="item.dictValue"
:value="item.dictValue"></el-option>
</el-select>
<!-- <el-input v-model="roleForm.roleTypeValue" style="width:300px"></el-input>-->
</td>
</tr>
<tr>
<td>排序</td>
<td>
<el-input v-model="roleForm.sort" style="width:300px"></el-input>
@ -224,7 +231,7 @@
</tr>
<tr>
<td>备注</td>
<td colspan="3">
<td>
<el-input type="textarea" :autosize="{ minRows: 4, maxRows: 6}" v-model="roleForm.remarks"></el-input>
</td>
</tr>

Loading…
Cancel
Save