style: 表格样式修改

This commit is contained in:
RubyLiu 2023-08-31 19:23:18 +08:00 committed by fit2-zhao
parent 2b01c586b4
commit a6139408c7
7 changed files with 12 additions and 7 deletions

View File

@ -21,7 +21,7 @@ export const addUserToUserGroupUrl = `/user/role/relation/global/add`;
/** 删除用户组用户 */ /** 删除用户组用户 */
export const deleteUserFromUserGroupUrl = `/user/role/relation/global/delete/`; export const deleteUserFromUserGroupUrl = `/user/role/relation/global/delete/`;
/** 获取需要关联的用户选项 */ /** 获取需要关联的用户选项 */
export const getSystemUserGroupOptionUrl = `/user/role/relation//global/user/option/`; export const getSystemUserGroupOptionUrl = `/user/role/relation/global/user/option/`;
/** 组织 */ /** 组织 */
// 组织-修改用户组 // 组织-修改用户组

View File

@ -570,16 +570,19 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
padding: 5px 0; padding: 5px 10px;
width: 32px; min-width: 32px;
height: 32px; height: 32px;
box-sizing: border-box; box-sizing: border-box;
cursor: pointer; cursor: pointer;
&-previous { &-previous {
margin-left: 14px !important; margin-left: 14px !important;
} }
&-ellipsis {
padding: 5px 0;
}
&-ellipsis:hover { &-ellipsis:hover {
width: 32px; min-width: 32px;
height: 32px; height: 32px;
} }
&:not(:last-child):not(:first-child):not(.arco-pagination-item-ellipsis) { &:not(:last-child):not(:first-child):not(.arco-pagination-item-ellipsis) {

View File

@ -15,7 +15,7 @@
@change="handleChange" @change="handleChange"
/> />
<span v-if="$slots['jumper-append']" :class="`${prefixCls}-append`"><slot name="jumper-append" /></span> <span v-if="$slots['jumper-append']" :class="`${prefixCls}-append`"><slot name="jumper-append" /></span>
<span :class="`${prefixCls}-total-page`" :style="{ width: totalPageWidth }">{{ <span :class="`${prefixCls}-total-page`" :style="{ 'min-width': totalPageWidth }">{{
t('msPagination.page', { page: pages }) t('msPagination.page', { page: pages })
}}</span> }}</span>
</span> </span>

View File

@ -1,7 +1,7 @@
<template> <template>
<MsCard simple> <MsCard simple>
<h1>BugManagement is waiting for development </h1> <h1>BugManagement is waiting for development </h1>
<ms-pagination size="small" :total="100" show-total show-jumper show-page-size /> <ms-pagination size="small" :total="100000" show-total show-jumper show-page-size />
</MsCard> </MsCard>
</template> </template>

View File

@ -137,6 +137,8 @@
} }
.user-group-left { .user-group-left {
position: relative; position: relative;
width: 300px;
height: calc(100vh - 125px);
border-right: 1px solid var(--color-border); border-right: 1px solid var(--color-border);
.usergroup-collapse { .usergroup-collapse {
position: absolute; position: absolute;

View File

@ -122,6 +122,7 @@
title: 'system.organization.subordinateOrg', title: 'system.organization.subordinateOrg',
dataIndex: 'organizationName', dataIndex: 'organizationName',
sortable: { sortable: {
sorter: true,
sortDirections: ['ascend', 'descend'], sortDirections: ['ascend', 'descend'],
}, },
}, },

View File

@ -116,6 +116,5 @@
); );
onBeforeMount(() => { onBeforeMount(() => {
tableSearch(); tableSearch();
initOrgAndProjectCount();
}); });
</script> </script>