|
@@ -33,12 +33,14 @@
|
|
|
clearable
|
|
|
size="small"
|
|
|
style="width: 240px"
|
|
|
+
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="dict in dict.type.sys_normal_disable"
|
|
|
:key="dict.value"
|
|
|
:label="dict.label"
|
|
|
:value="dict.value"
|
|
|
+ class="input_xiala"
|
|
|
/>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -124,27 +126,28 @@
|
|
|
</el-row>
|
|
|
|
|
|
<el-table
|
|
|
+ style=""
|
|
|
v-loading="loading"
|
|
|
:data="roleList"
|
|
|
@selection-change="handleSelectionChange"
|
|
|
:header-cell-style="{ background: '#003C69', color: 'white' }"
|
|
|
>
|
|
|
- <el-table-column type="selection" width="55" align="center" />
|
|
|
- <el-table-column label="角色编号" prop="roleId" width="120" />
|
|
|
+ <el-table-column type="selection" align="center" />
|
|
|
+ <el-table-column label="角色编号" prop="roleId" />
|
|
|
<el-table-column
|
|
|
label="角色名称"
|
|
|
prop="roleName"
|
|
|
:show-overflow-tooltip="true"
|
|
|
- width="150"
|
|
|
+
|
|
|
/>
|
|
|
<el-table-column
|
|
|
label="权限字符"
|
|
|
prop="roleKey"
|
|
|
:show-overflow-tooltip="true"
|
|
|
- width="150"
|
|
|
+
|
|
|
/>
|
|
|
- <el-table-column label="显示顺序" prop="roleSort" width="100" />
|
|
|
- <el-table-column label="状态" align="center" width="100">
|
|
|
+ <el-table-column label="显示顺序" prop="roleSort" />
|
|
|
+ <el-table-column label="状态" align="center" >
|
|
|
<template slot-scope="scope">
|
|
|
<el-switch
|
|
|
v-model="scope.row.status"
|
|
@@ -158,7 +161,7 @@
|
|
|
label="创建时间"
|
|
|
align="center"
|
|
|
prop="createTime"
|
|
|
- width="180"
|
|
|
+
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ parseTime(scope.row.createTime) }}</span>
|
|
@@ -168,6 +171,7 @@
|
|
|
label="操作"
|
|
|
align="center"
|
|
|
class-name="small-padding fixed-width"
|
|
|
+
|
|
|
>
|
|
|
<template slot-scope="scope" v-if="scope.row.roleId !== 1">
|
|
|
<el-button
|
|
@@ -329,6 +333,7 @@
|
|
|
:key="item.value"
|
|
|
:label="item.label"
|
|
|
:value="item.value"
|
|
|
+ class="input_xiala"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|