|
@@ -160,7 +160,7 @@
|
|
|
<el-table-column label="邀请人" align="center" prop="inviteUserStr" />
|
|
|
<el-table-column label="操作" align="center" fixed="right" min-width="220">
|
|
|
<template #default="scope">
|
|
|
- <el-button link type="primary" @click="openDetail(scope.row.person?.id, scope.row.user.id)">详情</el-button>
|
|
|
+ <el-button link type="primary" @click="openDetail(scope.row.person?.id, scope.row.user.id, scope.row.person?.type)">详情</el-button>
|
|
|
<el-button v-if="scope.row.user.status === '1'" link type="success" @click="handleAction(scope.row.user.id, 'enable')" v-hasPermi="['menduner:system:person-info:update']">启用</el-button>
|
|
|
<el-button v-if="scope.row.user.status === '0'" link type="danger" @click="handleAction(scope.row.user.id, 'disabled')" v-hasPermi="['menduner:system:person-info:update']">禁用</el-button>
|
|
|
<el-button link type="primary" @click="handleResetPassword(scope.row.user.id)" v-hasPermi="['menduner:system:mde-user:update-password']">修改登录密码</el-button>
|
|
@@ -243,8 +243,8 @@ const handleQuery = () => {
|
|
|
|
|
|
/** 打开用户详情 */
|
|
|
const { push } = useRouter()
|
|
|
-const openDetail = (id: string, userId: string) => {
|
|
|
- push({ name: 'PersonDetail', query: { id, userId } })
|
|
|
+const openDetail = (id: string, userId: string, type: string) => {
|
|
|
+ push({ name: 'PersonDetail', query: { id, userId, type } })
|
|
|
}
|
|
|
|
|
|
/** 重置按钮操作 */
|