|
@@ -48,8 +48,8 @@
|
|
<el-table-column label="微信昵称" min-width="150" prop="nickName" />
|
|
<el-table-column label="微信昵称" min-width="150" prop="nickName" />
|
|
<el-table-column label="角色权限" min-width="80" prop="authorityId">
|
|
<el-table-column label="角色权限" min-width="80" prop="authorityId">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
- <el-tag v-show="scope.row.authorityId == 666" type="primary">管理员</el-tag>
|
|
|
|
- <el-tag v-show="scope.row.authorityId == 777" type="success">一般用户</el-tag>
|
|
|
|
|
|
+ <el-tag v-show="scope.row.authorityId == 666" type="primary">处理人员</el-tag>
|
|
|
|
+ <el-tag v-show="scope.row.authorityId == 777" type="success">督导人员</el-tag>
|
|
<el-tag v-show="scope.row.authorityId == 100" type="warning">待审核用户</el-tag>
|
|
<el-tag v-show="scope.row.authorityId == 100" type="warning">待审核用户</el-tag>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -65,9 +65,9 @@
|
|
</el-button>
|
|
</el-button>
|
|
<el-button v-show="scope.row.authorityId == 100" type="success" icon="el-icon-s-claim" size="mini" @click="updateUser(scope.row,false,'777')">审核通过
|
|
<el-button v-show="scope.row.authorityId == 100" type="success" icon="el-icon-s-claim" size="mini" @click="updateUser(scope.row,false,'777')">审核通过
|
|
</el-button>
|
|
</el-button>
|
|
- <el-button v-show="scope.row.authorityId == 666" type="success" icon="el-icon-s-claim" size="mini" @click="updateUser(scope.row,false,'777')">一般用户
|
|
|
|
|
|
+ <el-button v-show="scope.row.authorityId == 666" type="success" icon="el-icon-s-claim" size="mini" @click="updateUser(scope.row,false,'777')">督导人员
|
|
</el-button>
|
|
</el-button>
|
|
- <el-button v-show="scope.row.authorityId == 777" type="success" icon="el-icon-s-claim" size="mini" @click="updateUser(scope.row,false,'666')">管理员
|
|
|
|
|
|
+ <el-button v-show="scope.row.authorityId == 777" type="success" icon="el-icon-s-claim" size="mini" @click="updateUser(scope.row,false,'666')">处理人员
|
|
</el-button>
|
|
</el-button>
|
|
<el-popover v-model:visible="scope.row.visible" placement="top" width="160">
|
|
<el-popover v-model:visible="scope.row.visible" placement="top" width="160">
|
|
<p>确定要删除此用户吗</p>
|
|
<p>确定要删除此用户吗</p>
|
|
@@ -76,7 +76,7 @@
|
|
<el-button type="primary" size="mini" @click="deleteUser(scope.row)">确定</el-button>
|
|
<el-button type="primary" size="mini" @click="deleteUser(scope.row)">确定</el-button>
|
|
</div>
|
|
</div>
|
|
<template #reference>
|
|
<template #reference>
|
|
- <el-button type="danger" icon="el-icon-delete" size="mini">删除</el-button>
|
|
|
|
|
|
+ <el-button v-show="scope.row.authorityId == 777||scope.row.authorityId == 666||scope.row.authorityId == 100" type="danger" icon="el-icon-delete" size="mini">删除</el-button>
|
|
</template>
|
|
</template>
|
|
</el-popover>
|
|
</el-popover>
|
|
</template>
|
|
</template>
|