xg
This commit is contained in:
parent
bdc688a3b6
commit
f421efc52f
@ -50,23 +50,23 @@
|
||||
<div ref="table">
|
||||
<el-table v-loading="loading" :data="roleList" @selection-change="handleSelectionChange"
|
||||
:max-height="maxTableHeight">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="角色编号" prop="roleId" width="120" />
|
||||
<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 type="selection" align="center" width="70" />
|
||||
<el-table-column label="角色编号" align="left" prop="roleId" width="100" />
|
||||
<el-table-column label="角色名称" align="left" prop="roleName" :show-overflow-tooltip="true" width="150" />
|
||||
<el-table-column label="状态" align="left" width="100">
|
||||
<template slot-scope="scope">
|
||||
<el-switch v-model="scope.row.status" active-value="0" inactive-value="1"
|
||||
@change="handleStatusChange(scope.row)"></el-switch>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" width="180">
|
||||
<el-table-column label="权限字符" align="left" prop="roleKey" :show-overflow-tooltip="true" width="150" />
|
||||
<el-table-column label="创建时间" align="left" prop="createTime" width="220">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ parseTime(scope.row.createTime) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<el-table-column label="显示顺序" align="left" prop="roleSort" width="120" />
|
||||
<el-table-column label="操作" align="left" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope" v-if="scope.row.roleId !== 1">
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['system:role:edit']">修改</el-button>
|
||||
|
||||
@ -56,26 +56,26 @@
|
||||
<el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange"
|
||||
:max-height="maxTableHeight">
|
||||
<el-table-column type="selection" width="100" align="left" />
|
||||
<el-table-column label="姓名" align="left" prop="nickName" width='150' v-if="columns[1].visible"
|
||||
<el-table-column label="姓名" align="left" prop="nickName" width='120' v-if="columns[1].visible"
|
||||
:show-overflow-tooltip="true" />
|
||||
<el-table-column label="系统账号" align="left" prop="userName" width='150' v-if="columns[1].visible"
|
||||
<el-table-column label="系统账号" align="left" prop="userName" width='120' v-if="columns[1].visible"
|
||||
:show-overflow-tooltip="true" />
|
||||
<el-table-column label="所属机构" align="left" prop="nickName" width='200' v-if="columns[2].visible"
|
||||
:show-overflow-tooltip="true" />
|
||||
<el-table-column label="手机号码" align="left" key="phonenumber" width='200' prop="phonenumber"
|
||||
v-if="columns[4].visible" />
|
||||
<el-table-column label="账号状态" align="left" key="status" width='200' v-if="columns[5].visible">
|
||||
<el-table-column label="账号状态" align="left" key="status" width='150' v-if="columns[5].visible">
|
||||
<template slot-scope="scope">
|
||||
<el-switch v-model="scope.row.status" active-value="0" inactive-value="1"
|
||||
@change="handleStatusChange(scope.row)"></el-switch>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="创建时间" align="left" prop="createTime" v-if="columns[6].visible">
|
||||
<el-table-column label="所属机构" align="left" prop="nickName" width='170' v-if="columns[2].visible"
|
||||
:show-overflow-tooltip="true" />
|
||||
<el-table-column label="手机号码" align="left" key="phonenumber" width='170' prop="phonenumber"
|
||||
v-if="columns[4].visible" />
|
||||
<el-table-column label="创建时间" align="left" prop="createTime" width='230' v-if="columns[6].visible">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ parseTime(scope.row.createTime) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="left" width="160" class-name="small-padding fixed-width">
|
||||
<el-table-column label="操作" align="left" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope" v-if="scope.row.userId !== 1">
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['system:user:edit']">修改</el-button>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user