移除多个页面的标题组件。

This commit is contained in:
刘倡
2025-07-16 16:24:02 +08:00
parent bcb704afd2
commit 287fc98898
7 changed files with 364 additions and 363 deletions

View File

@ -155,7 +155,6 @@ const Index: React.FC<{}> = () => {
return (
<Spin spinning={spin}>
<PageHeader title="组织管理" />
<div style={{ maxHeight: innerHeight - 130, height: innerHeight - 130 }} className='xsy-entrust bgCWhite'>
<ProTable
actionRef={actionRef}//action触发后更新表格

View File

@ -53,7 +53,7 @@ const MenuManagement: React.FC = () => {
pageNo: 1,
pageSize: 10
});
const layout = {
labelCol: { span: 6 },
wrapperCol: { span: 13 },
@ -300,7 +300,6 @@ const MenuManagement: React.FC = () => {
return (
<Spin spinning={spin}>
<PageHeader title="菜单管理" />
<div style={{ maxHeight: innerHeight - 130, height: innerHeight - 130 }} className='xsy-entrust bgCWhite'>
<ProTable<MenuItem>
actionRef={actionRef}

View File

@ -6,6 +6,7 @@ import { getPage, getDataById, deleteRole, addRole, updateRole, getMenuTreeAll }
import { getDicData } from '@/utils/session';
import TextArea from 'antd/lib/input/TextArea';
import { proTableValueEnum } from '@/utils/CommonUtils';
import tableProps from '@/utils/tableProps';
const entrust: React.FC<{}> = () => {
//获取字典
@ -226,7 +227,6 @@ function createSelect(data: any) {
);
return (
<Spin spinning={spin}>
<PageHeader title="角色管理" />
<div style={{ maxHeight: innerHeight - 130, height: innerHeight - 130 }} className='xsy-entrust bgCWhite'>
<ProTable<any>
actionRef={actionRef}//action触发后更新表格

View File

@ -225,7 +225,6 @@ const entrust: React.FC<{}> = () => {
}, [searchValue, allData]);
return (
<Spin spinning={spin}>
<PageHeader title="用户管理" />
<div style={{ maxHeight: innerHeight - 130, height: innerHeight - 130 }} className='xsy-entrust bgCWhite'>
<div style={{ display: 'flex', }}>
<div style={{ backgroundColor: '#FFF', width: '220px', marginRight: '8px', }}>
@ -287,4 +286,4 @@ const entrust: React.FC<{}> = () => {
</Spin >
)
};
export default entrust;
export default entrust;

View File

@ -1,4 +1,4 @@
import { request } from '@umijs/max';
import request from '@/utils/request';
// 分页查询角色
export async function getPage(params: any) {