|
@@ -10,7 +10,7 @@
|
|
|
<el-card>
|
|
<el-card>
|
|
|
<template #header>
|
|
<template #header>
|
|
|
<el-space align="center">
|
|
<el-space align="center">
|
|
|
- <el-button @click="openAddAdminDrawer" v-if="!isSysTenant && isCanAddTenant && hasAddPermission()">
|
|
|
|
|
|
|
+ <el-button @click="openAddAdminDrawer" v-if="true || (!isSysTenant && isCanAddTenant && hasAddPermission())">
|
|
|
<template #icon>
|
|
<template #icon>
|
|
|
<el-icon>
|
|
<el-icon>
|
|
|
<Plus />
|
|
<Plus />
|
|
@@ -18,7 +18,8 @@
|
|
|
</template>
|
|
</template>
|
|
|
添加租户管理员
|
|
添加租户管理员
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <el-button type="primary" @click="openAddSingleDrawer" v-permission="{ action: [PERM_USER.ACCOUNT_ADD] }">
|
|
|
|
|
|
|
+ <!-- <el-button type="primary" @click="openAddSingleDrawer" v-permission="{ action: [PERM_USER.ACCOUNT_ADD] }"> -->
|
|
|
|
|
+ <el-button type="primary" @click="openAddSingleDrawer">
|
|
|
<template #icon>
|
|
<template #icon>
|
|
|
<el-icon>
|
|
<el-icon>
|
|
|
<Plus />
|
|
<Plus />
|
|
@@ -26,13 +27,14 @@
|
|
|
</template>
|
|
</template>
|
|
|
添加用户
|
|
添加用户
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <el-button
|
|
|
|
|
|
|
+ <!-- <el-button
|
|
|
color="#1890FF"
|
|
color="#1890FF"
|
|
|
@click="openAddMultipleDrawer"
|
|
@click="openAddMultipleDrawer"
|
|
|
style="margin-left: 18px"
|
|
style="margin-left: 18px"
|
|
|
plain
|
|
plain
|
|
|
v-permission="{ action: [PERM_USER.ACCOUNT_ADD] }"
|
|
v-permission="{ action: [PERM_USER.ACCOUNT_ADD] }"
|
|
|
- >
|
|
|
|
|
|
|
+ > -->
|
|
|
|
|
+ <el-button color="#1890FF" @click="openAddMultipleDrawer" style="margin-left: 18px" plain>
|
|
|
<template #icon>
|
|
<template #icon>
|
|
|
<el-icon>
|
|
<el-icon>
|
|
|
<DocumentAdd />
|
|
<DocumentAdd />
|
|
@@ -100,18 +102,20 @@
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<el-space v-if="scope.row.roleType !== RoleTypeEnum.SUPER_ADMIN">
|
|
<el-space v-if="scope.row.roleType !== RoleTypeEnum.SUPER_ADMIN">
|
|
|
<div class="el-space el-space--horizontal">
|
|
<div class="el-space el-space--horizontal">
|
|
|
- <div
|
|
|
|
|
|
|
+ <!-- <div
|
|
|
class="el-space__item"
|
|
class="el-space__item"
|
|
|
@click="handleEdit(scope.row)"
|
|
@click="handleEdit(scope.row)"
|
|
|
v-permission="{ action: [PERM_USER.ACCOUNT_EDIT] }"
|
|
v-permission="{ action: [PERM_USER.ACCOUNT_EDIT] }"
|
|
|
- >
|
|
|
|
|
|
|
+ > -->
|
|
|
|
|
+ <div class="el-space__item" @click="handleEdit(scope.row)">
|
|
|
<div><img :src="editIcon" class="el-tooltip__trigger" /></div>
|
|
<div><img :src="editIcon" class="el-tooltip__trigger" /></div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div
|
|
|
|
|
|
|
+ <!-- <div
|
|
|
class="el-space__item"
|
|
class="el-space__item"
|
|
|
@click="handleDelete(scope.row)"
|
|
@click="handleDelete(scope.row)"
|
|
|
v-permission="{ action: [PERM_USER.ACCOUNT_DELETE] }"
|
|
v-permission="{ action: [PERM_USER.ACCOUNT_DELETE] }"
|
|
|
- >
|
|
|
|
|
|
|
+ > -->
|
|
|
|
|
+ <div class="el-space__item" @click="handleDelete(scope.row)">
|
|
|
<div><img :src="deleteIcon" class="el-tooltip__trigger" /></div>
|
|
<div><img :src="deleteIcon" class="el-tooltip__trigger" /></div>
|
|
|
</div>
|
|
</div>
|
|
|
<div
|
|
<div
|