Commit a9ab2a6e authored by 张伯涛's avatar 张伯涛

部分修改

parent f98b7443
<template>
<div>主体管理</div>
</template>
<script lang="ts" setup>
</script>
<style scoped>
</style>
......@@ -14,11 +14,11 @@
label: '编辑',
onClick: handleEdit.bind(null, record),
},
{
// icon: 'clarity:note-edit-line',
label: '数据权限',
onClick: dataPermiss.bind(null, record),
},
// {
// // icon: 'clarity:note-edit-line',
// label: '数据权限',
// onClick: dataPermiss.bind(null, record),
// },
{
// icon: 'ant-design:delete-outlined',
label: '删除',
......
......@@ -3,7 +3,7 @@
title="用户详情"
:content="`账号:${userName}&nbsp;&nbsp;&nbsp;&nbsp;
姓名:${name}&nbsp;&nbsp;&nbsp;&nbsp;
邮箱:${email}&nbsp;&nbsp;&nbsp;&nbsp;
邮箱:${email || '-'}&nbsp;&nbsp;&nbsp;&nbsp;
创建时间:${createDate}&nbsp;&nbsp;&nbsp;&nbsp;`"
class="content-padding"
contentBackground
......@@ -11,8 +11,8 @@
>
<template #footer>
<a-tabs default-active-key="global" v-model:activeKey="currentKey">
<a-tab-pane key="global" tab="全局角色" />
<a-tab-pane key="group" tab="工作组角色" />
<a-tab-pane key="global" tab="角色" />
<!-- <a-tab-pane key="group" tab="工作组角色" />-->
</a-tabs>
</template>
<div class="pt-4 m-4 desc-wrap">
......@@ -38,28 +38,28 @@
</template>
</BasicTable>
</template>
<template v-if="currentKey == 'group'">
<BasicTable @register="registerGroupTable" :searchInfo="searchInfo">
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'">
<TableAction
:actions="[
{
icon: 'ant-design:delete-outlined',
color: 'error',
label: '',
popConfirm: {
title: '是否确认删除',
placement: 'left',
confirm: handleDelete.bind(null, record),
},
},
]"
/>
</template>
</template>
</BasicTable>
</template>
<!-- <template v-if="currentKey == 'group'">-->
<!-- <BasicTable @register="registerGroupTable" :searchInfo="searchInfo">-->
<!-- <template #bodyCell="{ column, record }">-->
<!-- <template v-if="column.key === 'action'">-->
<!-- <TableAction-->
<!-- :actions="[-->
<!-- {-->
<!-- icon: 'ant-design:delete-outlined',-->
<!-- color: 'error',-->
<!-- label: '',-->
<!-- popConfirm: {-->
<!-- title: '是否确认删除',-->
<!-- placement: 'left',-->
<!-- confirm: handleDelete.bind(null, record),-->
<!-- },-->
<!-- },-->
<!-- ]"-->
<!-- />-->
<!-- </template>-->
<!-- </template>-->
<!-- </BasicTable>-->
<!-- </template>-->
<AccountModal @register="registerModal" @success="handleSuccess" />
</div>
</PageWrapper>
......
......@@ -11,7 +11,7 @@ export const roleData: any[] = [
selectType: null,
createTime: '2024-10-24 10:04:04',
createBy: 'admin',
remark: '超级管理员',
remark: '最高权限用户',
workspaceName: '数据平台治理部',
},
{
......@@ -26,7 +26,7 @@ export const roleData: any[] = [
selectType: null,
createTime: '2024-10-24 10:04:04',
createBy: 'admin',
remark: '一级用户',
remark: '一级权限',
workspaceName: '数据平台治理部',
},
{
......@@ -41,7 +41,7 @@ export const roleData: any[] = [
selectType: null,
createTime: '2024-10-24 10:04:04',
createBy: 'admin',
remark: '二级用户',
remark: '二级权限',
workspaceName: '数据平台治理部',
},
{
......@@ -56,7 +56,7 @@ export const roleData: any[] = [
selectType: null,
createTime: '2024-10-24 10:04:04',
createBy: 'admin',
remark: '三级用户',
remark: '三级权限',
workspaceName: '数据平台治理部',
},
{
......@@ -71,7 +71,7 @@ export const roleData: any[] = [
selectType: null,
createTime: '2024-10-24 10:04:04',
createBy: 'admin',
remark: '四级用户',
remark: '四级权限',
workspaceName: '数据平台治理部',
},
];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment