|
|
|
@ -16,6 +16,7 @@
|
|
|
|
|
placeholder="请选择角色状态"
|
|
|
|
|
clearable
|
|
|
|
|
>
|
|
|
|
|
<el-option label="全部" value=""></el-option>
|
|
|
|
|
<el-option label="正常" :value="0"/>
|
|
|
|
|
<el-option label="禁用" :value="1"/>
|
|
|
|
|
</el-select>
|
|
|
|
@ -58,6 +59,7 @@
|
|
|
|
|
<!-- ></el-switch>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
<!-- :disabled="scope.row.roleId == 1"-->
|
|
|
|
|
<el-table-column label="创建时间" align="center" prop="createTime">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span>{{ parseTime(scope.row.createTime) }}</span>
|
|
|
|
@ -66,14 +68,12 @@
|
|
|
|
|
<el-table-column label="操作" align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button
|
|
|
|
|
:disabled="scope.row.roleId == 1"
|
|
|
|
|
type="text"
|
|
|
|
|
@click="handleUpdate(scope.row)"
|
|
|
|
|
>编辑
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
:disabled="scope.row.roleId == 1"
|
|
|
|
|
@click="handleDelete(scope.row)"
|
|
|
|
|
>删除
|
|
|
|
|
</el-button>
|
|
|
|
@ -277,7 +277,7 @@ export default {
|
|
|
|
|
limit: 10,
|
|
|
|
|
roleName: undefined,
|
|
|
|
|
roleKey: undefined,
|
|
|
|
|
status: undefined
|
|
|
|
|
status: 0
|
|
|
|
|
},
|
|
|
|
|
// 表单参数
|
|
|
|
|
form: {},
|
|
|
|
|