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

部分修改

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