Skip to content

Commit

Permalink
Merge pull request #75 from suyuan32/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
suyuan32 committed Jul 14, 2023
2 parents 64a12fd + 3f9b072 commit 08f965f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/views/dashboard/workbench/components/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ export const navItems: NavItem[] = [

export const systemInfoData = [
['sys.sys.Name', 'Simple Admin'],
['sys.sys.version', 'V 1.0.13'],
['sys.sys.version', 'V 1.0.14'],
];
2 changes: 1 addition & 1 deletion src/views/sys/role/RoleDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
const roleId = await validate();
const checkedData = await getApiAuthority({ id: Number(roleId['id']) });
if (checkedData.data.data === null) {
checkedApiKeys.value = [];
checkedApiKeys.value = convertApiToCheckedKeys([], apiData.data.data);
} else {
checkedApiKeys.value = convertApiToCheckedKeys(
checkedData.data.data,
Expand Down
19 changes: 10 additions & 9 deletions src/views/sys/role/role.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ export const columns: BasicColumn[] = [
{
title: t('sys.role.roleName'),
dataIndex: 'trans',
width: 200,
width: 50,
},
{
title: t('sys.role.roleValue'),
dataIndex: 'code',
width: 180,
width: 20,
},
{
title: t('common.sort'),
dataIndex: 'sort',
width: 50,
width: 20,
},
{
title: t('common.status'),
dataIndex: 'status',
width: 120,
width: 50,
customRender: ({ record }) => {
if (!Reflect.has(record, 'pendingStatus')) {
record.pendingStatus = false;
Expand Down Expand Up @@ -61,18 +61,19 @@ export const columns: BasicColumn[] = [
});
},
},
{
title: t('common.remark'),
dataIndex: 'remark',
width: 50,
},
{
title: t('common.createTime'),
dataIndex: 'createdAt',
width: 180,
width: 50,
customRender: ({ record }) => {
return formatToDateTime(record.createdAt);
},
},
{
title: t('common.remark'),
dataIndex: 'remark',
},
];

export const formSchema: FormSchema[] = [
Expand Down

0 comments on commit 08f965f

Please sign in to comment.