update 统一框架所有主键id均使用雪花id
This commit is contained in:
@@ -118,7 +118,7 @@
|
|||||||
|
|
||||||
<el-table-column fixed="right" label="操作" width="180">
|
<el-table-column fixed="right" label="操作" width="180">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tooltip v-if="scope.row.roleId !== 1" content="修改" placement="top">
|
<el-tooltip v-if="scope.row.roleId !== 1761300000000000001" content="修改" placement="top">
|
||||||
<el-button
|
<el-button
|
||||||
v-hasPermi="['system:role:edit']"
|
v-hasPermi="['system:role:edit']"
|
||||||
link
|
link
|
||||||
@@ -127,7 +127,7 @@
|
|||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
></el-button>
|
></el-button>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-tooltip v-if="scope.row.roleId !== 1" content="删除" placement="top">
|
<el-tooltip v-if="scope.row.roleId !== 1761300000000000001" content="删除" placement="top">
|
||||||
<el-button
|
<el-button
|
||||||
v-hasPermi="['system:role:remove']"
|
v-hasPermi="['system:role:remove']"
|
||||||
link
|
link
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
></el-button>
|
></el-button>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-tooltip v-if="scope.row.roleId !== 1" content="数据权限" placement="top">
|
<el-tooltip v-if="scope.row.roleId !== 1761300000000000001" content="数据权限" placement="top">
|
||||||
<el-button
|
<el-button
|
||||||
v-hasPermi="['system:role:edit']"
|
v-hasPermi="['system:role:edit']"
|
||||||
link
|
link
|
||||||
@@ -145,7 +145,7 @@
|
|||||||
@click="handleDataScope(scope.row)"
|
@click="handleDataScope(scope.row)"
|
||||||
></el-button>
|
></el-button>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-tooltip v-if="scope.row.roleId !== 1" content="分配用户" placement="top">
|
<el-tooltip v-if="scope.row.roleId !== 1761300000000000001" content="分配用户" placement="top">
|
||||||
<el-button
|
<el-button
|
||||||
v-hasPermi="['system:role:edit']"
|
v-hasPermi="['system:role:edit']"
|
||||||
link
|
link
|
||||||
|
|||||||
@@ -234,7 +234,7 @@
|
|||||||
|
|
||||||
<el-table-column label="操作" fixed="right" width="180" class-name="small-padding fixed-width">
|
<el-table-column label="操作" fixed="right" width="180" class-name="small-padding fixed-width">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tooltip v-if="scope.row.userId !== 1" content="修改" placement="top">
|
<el-tooltip v-if="scope.row.userId !== 1761100000000000001" content="修改" placement="top">
|
||||||
<el-button
|
<el-button
|
||||||
v-hasPermi="['system:user:edit']"
|
v-hasPermi="['system:user:edit']"
|
||||||
link
|
link
|
||||||
@@ -243,7 +243,7 @@
|
|||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
></el-button>
|
></el-button>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-tooltip v-if="scope.row.userId !== 1" content="删除" placement="top">
|
<el-tooltip v-if="scope.row.userId !== 1761100000000000001" content="删除" placement="top">
|
||||||
<el-button
|
<el-button
|
||||||
v-hasPermi="['system:user:remove']"
|
v-hasPermi="['system:user:remove']"
|
||||||
link
|
link
|
||||||
@@ -253,7 +253,7 @@
|
|||||||
></el-button>
|
></el-button>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
|
||||||
<el-tooltip v-if="scope.row.userId !== 1" content="重置密码" placement="top">
|
<el-tooltip v-if="scope.row.userId !== 1761100000000000001" content="重置密码" placement="top">
|
||||||
<el-button
|
<el-button
|
||||||
v-hasPermi="['system:user:resetPwd']"
|
v-hasPermi="['system:user:resetPwd']"
|
||||||
link
|
link
|
||||||
@@ -263,7 +263,7 @@
|
|||||||
></el-button>
|
></el-button>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
|
||||||
<el-tooltip v-if="scope.row.userId !== 1" content="分配角色" placement="top">
|
<el-tooltip v-if="scope.row.userId !== 1761100000000000001" content="分配角色" placement="top">
|
||||||
<el-button
|
<el-button
|
||||||
v-hasPermi="['system:user:edit']"
|
v-hasPermi="['system:user:edit']"
|
||||||
link
|
link
|
||||||
|
|||||||
Reference in New Issue
Block a user