|
|
@ -26,29 +26,29 @@ |
|
|
|
<el-table-column prop="mobile" label="手机号" header-align="center" align="center" /> |
|
|
|
<el-table-column prop="roleNameList" label="角色" header-align="center" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div v-if="scope.row.roleNameList.length>0"> |
|
|
|
<div v-if="scope.row.roleNameList && scope.row.roleNameList.length>0"> |
|
|
|
<p v-for="(item,index) in scope.row.roleNameList" :key="index" style="margin:0">{{ item }} |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<!-- <el-table-column prop="status" label="状态" header-align="center" align="center">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <span--> |
|
|
|
<!-- :class="scope.row.status=='1' ? 'state-circle state-circle-green' :'state-circle state-circle-red'"--> |
|
|
|
<!-- />--> |
|
|
|
<!-- <span>{{ scope.row.status == '1' ? '正常':'停用' }}</span>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- <el-table-column prop="status" label="状态" header-align="center" align="center">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <span--> |
|
|
|
<!-- :class="scope.row.status=='1' ? 'state-circle state-circle-green' :'state-circle state-circle-red'"--> |
|
|
|
<!-- />--> |
|
|
|
<!-- <span>{{ scope.row.status == '1' ? '正常':'停用' }}</span>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<el-table-column prop="operation" label="操作" header-align="center" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="opPermission(scope.row)"> |
|
|
|
<!-- <el-dropdown trigger="click" @command="handleRoleCommand(scope.row,$event)">--> |
|
|
|
<!-- <span class="el-dropdown-link" style="padding-right:8px;cursor: pointer;">更改角色</span>--> |
|
|
|
<!-- <el-dropdown-menu slot="dropdown">--> |
|
|
|
<!-- <el-dropdown-item v-for="item in roleList" :key="item.roleId" :command="item.id">{{ item.name }}</el-dropdown-item>--> |
|
|
|
<!-- </el-dropdown-menu>--> |
|
|
|
<!-- </el-dropdown>--> |
|
|
|
<!-- <el-dropdown trigger="click" @command="handleRoleCommand(scope.row,$event)">--> |
|
|
|
<!-- <span class="el-dropdown-link" style="padding-right:8px;cursor: pointer;">更改角色</span>--> |
|
|
|
<!-- <el-dropdown-menu slot="dropdown">--> |
|
|
|
<!-- <el-dropdown-item v-for="item in roleList" :key="item.roleId" :command="item.id">{{ item.name }}</el-dropdown-item>--> |
|
|
|
<!-- </el-dropdown-menu>--> |
|
|
|
<!-- </el-dropdown>--> |
|
|
|
<span |
|
|
|
style="color:#FF4D4F" |
|
|
|
class="operation-delete" |
|
|
|