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

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

354
menu.json Normal file
View File

@ -0,0 +1,354 @@
{
"code": "1",
"success": true,
"message": "操作成功",
"data": [
{
"menuId": "2",
"path": "",
"name": "我的工作台",
"icon": "DesktopOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/workbench/files",
"name": "共享文档下载",
"frame": "N"
},
{
"path": "/SystemMessage/message",
"name": "系统消息",
"frame": "N"
},
{
"path": "/api/auth/oauth/authorize?response_type\u003dcode\u0026client_id\u003d3FjMVIzt\u0026redirect_uri\u003dhttps://10.242.31.158:18023/Expertlibraryworkbench/MyExpertHome/Extract?proxyCompanyNo\u003d{organizationId}\u0026sign\u003dprocure\u0026urlSign\u003dSubagenT\u0026mall3_token\u003d{mall3_token}",
"name": "代理机构信息管理",
"frame": "S"
},
{
"path": "/api/auth/oauth/authorize?response_type\u003dcode\u0026client_id\u003dCOsHJydx\u0026redirect_uri\u003dhttps://uat-uscm.chinaunicom.cn:8631/redirect?page\u003dcustomerservice/support/conversation/index\u0026mall3_token\u003d{mall3_token}",
"name": "我的客服",
"frame": "S"
},
{
"path": "/Lowcode/LowcodeRedirect",
"name": "我的服务单",
"frame": "Y"
},
{
"path": "/api/auth/oauth/authorize?response_type\u003dcode\u0026client_id\u003ds3FXwGQh\u0026redirect_uri\u003dhttps://uat-uscm.chinaunicom.cn:18024/supplierInfo/redirect?page\u003d/supplier-info-ordinary\u0026mall3_token\u003d{mall3_token}",
"name": "智企查",
"frame": "S"
}
],
"feignFlag": null
},
{
"menuId": "3",
"path": "",
"name": "通知公告",
"icon": "NotificationOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/notice/noticeList",
"name": "通知公告查看",
"frame": "N"
}
],
"feignFlag": null
},
{
"menuId": "99",
"path": "",
"name": "系统管理",
"icon": "BookOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/System/User",
"name": "用户管理",
"frame": "N"
},
{
"path": "/System/Dept",
"name": "部门管理",
"frame": "N"
},
{
"path": "/System/Role",
"name": "角色管理",
"frame": "N"
},
{
"path": "/System/Menu",
"name": "菜单管理",
"frame": "N"
},
{
"path": "/System/Scheduled",
"name": "定时任务管理",
"frame": "N"
}
],
"feignFlag": null
},
{
"menuId": "41",
"path": "",
"name": "分派项目管理",
"icon": "BookOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/Project/EntrustAssign/Operator",
"name": "分派给我的项目",
"frame": "N"
},
{
"path": "/Project/EntrustWithdraw",
"name": "委托撤回记录",
"frame": "N"
}
],
"feignFlag": null
},
{
"menuId": "1000001",
"path": "",
"name": "招标项目管理",
"icon": "ProfileOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/Bid/Manage",
"name": "项目管理",
"frame": "N"
}
],
"feignFlag": null
},
{
"menuId": "1000006",
"path": "Negotiation",
"name": "谈判项目管理",
"icon": "CommentOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/Negotiation/Manage",
"name": "项目管理",
"frame": "N"
}
],
"feignFlag": null
},
{
"menuId": "1843567845937700866",
"path": "DirectProc",
"name": "直接采购管理",
"icon": "SelectOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/DirectProc/Manage",
"name": "项目管理",
"frame": "N"
}
],
"feignFlag": null
},
{
"menuId": "100009",
"path": "ComparisonProc",
"name": "询比采购管理",
"icon": "PartitionOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/ComparisonProc/Manage",
"name": "项目管理",
"frame": "N"
}
],
"feignFlag": null
},
{
"menuId": "1000008",
"path": "Inquiry",
"name": "询价项目管理",
"icon": "ProjectOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/Inquiry/Manage",
"name": "项目管理",
"frame": "N"
}
],
"feignFlag": null
},
{
"menuId": "1000007",
"path": "Recruit",
"name": "招募项目管理",
"icon": "MacCommandOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/Recruit/Manage",
"name": "项目管理",
"frame": "N"
}
],
"feignFlag": null
},
{
"menuId": "11111111",
"path": "Finance",
"name": "财务管理",
"icon": "PayCircleOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/Finance/ProjectManager/RevenueRecognition",
"name": "招标收入确认",
"frame": "N"
},
{
"path": "/Finance/EnsureAmount",
"name": "投标保证金查询",
"frame": "N"
},
{
"path": "/Finance/EnsureAmountRefund",
"name": "保证金退还",
"frame": "N"
}
],
"feignFlag": null
},
{
"menuId": "11",
"path": "Invoice",
"name": "发票管理",
"icon": "WalletOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/Invoice/Manager",
"name": "发票列表",
"frame": "N"
}
],
"feignFlag": null
},
{
"menuId": "1565509326829727746",
"path": "ExpertManage",
"name": "专家管理",
"icon": "IdcardOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/api/auth/oauth/authorize?response_type\u003dcode\u0026client_id\u003d3FjMVIzt\u0026redirect_uri\u003dhttps://10.242.31.158:18023/Expertlibraryworkbench/MyExpertHome/Extract?proxyCompanyNo\u003d{organizationId}\u0026sign\u003dprocure\u0026mall3_token\u003d{mall3_token}",
"name": "专家抽取",
"frame": "S"
},
{
"path": "/api/auth/oauth/authorize?response_type\u003dcode\u0026client_id\u003d3FjMVIzt\u0026redirect_uri\u003dhttps://10.242.31.158:18023/Expertlibraryworkbench/MyExpertHome/Extract?proxyCompanyNo\u003d{organizationId}\u0026sign\u003dprocure\u0026urlSign\u003dEvaluate\u0026mall3_token\u003d{mall3_token}",
"name": "专家评价",
"frame": "S"
},
{
"path": "/ExpertInfo/ExpertInformationManage",
"name": "专家信息管理",
"frame": "N"
},
{
"path": "/ExpertInfo/ExpertExtractionAvoidance",
"name": "专家抽取回避",
"frame": "N"
}
],
"feignFlag": null
},
{
"menuId": "1565574276328947714",
"path": "VideoMonitor",
"name": "视频监控查询",
"icon": "PlaySquareOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/HistoryVideo",
"name": "历史视频上传列表",
"frame": "N"
}
],
"feignFlag": null
},
{
"menuId": "1722061270189662209",
"path": "PurchaseReOffer",
"name": "采购复盘与检查",
"icon": "BookOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/PurchaseReOffer",
"name": "采购复盘与检查表",
"frame": "N"
}
],
"feignFlag": null
},
{
"menuId": "1767358998249476098",
"path": "UnbalancedBid",
"name": "不均衡报价分析",
"icon": "BookOutlined",
"menuScope": "EBTP",
"menuOu": null,
"isTop": 0,
"children": [
{
"path": "/UnbalancedBidList",
"name": "不均衡报价分析表",
"frame": "N"
}
],
"feignFlag": null
}
]
}

View File

@ -110,365 +110,15 @@ const BasicLayout: React.FC<BasicLayoutProps> = (props) => {
let params = {
roleIdList: [getSessionRoleData()?.roleId]
}
// const res = {
// "code": "1",
// "success": true,
// "message": "操作成功",
// "data": [
// {
// "menuId": "2",
// "path": "",
// "name": "我的工作台",
// "icon": "DesktopOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/workbench/files",
// "name": "共享文档下载",
// "frame": "N"
// },
// {
// "path": "/SystemMessage/message",
// "name": "系统消息",
// "frame": "N"
// },
// {
// "path": "/api/auth/oauth/authorize?response_type\u003dcode\u0026client_id\u003d3FjMVIzt\u0026redirect_uri\u003dhttps://10.242.31.158:18023/Expertlibraryworkbench/MyExpertHome/Extract?proxyCompanyNo\u003d{organizationId}\u0026sign\u003dprocure\u0026urlSign\u003dSubagenT\u0026mall3_token\u003d{mall3_token}",
// "name": "代理机构信息管理",
// "frame": "S"
// },
// {
// "path": "/api/auth/oauth/authorize?response_type\u003dcode\u0026client_id\u003dCOsHJydx\u0026redirect_uri\u003dhttps://uat-uscm.chinaunicom.cn:8631/redirect?page\u003dcustomerservice/support/conversation/index\u0026mall3_token\u003d{mall3_token}",
// "name": "我的客服",
// "frame": "S"
// },
// {
// "path": "/Lowcode/LowcodeRedirect",
// "name": "我的服务单",
// "frame": "Y"
// },
// {
// "path": "/api/auth/oauth/authorize?response_type\u003dcode\u0026client_id\u003ds3FXwGQh\u0026redirect_uri\u003dhttps://uat-uscm.chinaunicom.cn:18024/supplierInfo/redirect?page\u003d/supplier-info-ordinary\u0026mall3_token\u003d{mall3_token}",
// "name": "智企查",
// "frame": "S"
// }
// ],
// "feignFlag": null
// },
// {
// "menuId": "3",
// "path": "",
// "name": "通知公告",
// "icon": "NotificationOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/notice/noticeList",
// "name": "通知公告查看",
// "frame": "N"
// }
// ],
// "feignFlag": null
// },
// {
// "menuId": "99",
// "path": "",
// "name": "系统管理",
// "icon": "BookOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/System/User",
// "name": "用户管理",
// "frame": "N"
// },
// {
// "path": "/System/Dept",
// "name": "部门管理",
// "frame": "N"
// },
// {
// "path": "/System/Role",
// "name": "角色管理",
// "frame": "N"
// },
// {
// "path": "/System/Menu",
// "name": "菜单管理",
// "frame": "N"
// },
// {
// "path": "/System/Scheduled",
// "name": "定时任务管理",
// "frame": "N"
// }
// ],
// "feignFlag": null
// },
// {
// "menuId": "41",
// "path": "",
// "name": "分派项目管理",
// "icon": "BookOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/Project/EntrustAssign/Operator",
// "name": "分派给我的项目",
// "frame": "N"
// },
// {
// "path": "/Project/EntrustWithdraw",
// "name": "委托撤回记录",
// "frame": "N"
// }
// ],
// "feignFlag": null
// },
// {
// "menuId": "1000001",
// "path": "",
// "name": "招标项目管理",
// "icon": "ProfileOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/Bid/Manage",
// "name": "项目管理",
// "frame": "N"
// }
// ],
// "feignFlag": null
// },
// {
// "menuId": "1000006",
// "path": "Negotiation",
// "name": "谈判项目管理",
// "icon": "CommentOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/Negotiation/Manage",
// "name": "项目管理",
// "frame": "N"
// }
// ],
// "feignFlag": null
// },
// {
// "menuId": "1843567845937700866",
// "path": "DirectProc",
// "name": "直接采购管理",
// "icon": "SelectOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/DirectProc/Manage",
// "name": "项目管理",
// "frame": "N"
// }
// ],
// "feignFlag": null
// },
// {
// "menuId": "100009",
// "path": "ComparisonProc",
// "name": "询比采购管理",
// "icon": "PartitionOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/ComparisonProc/Manage",
// "name": "项目管理",
// "frame": "N"
// }
// ],
// "feignFlag": null
// },
// {
// "menuId": "1000008",
// "path": "Inquiry",
// "name": "询价项目管理",
// "icon": "ProjectOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/Inquiry/Manage",
// "name": "项目管理",
// "frame": "N"
// }
// ],
// "feignFlag": null
// },
// {
// "menuId": "1000007",
// "path": "Recruit",
// "name": "招募项目管理",
// "icon": "MacCommandOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/Recruit/Manage",
// "name": "项目管理",
// "frame": "N"
// }
// ],
// "feignFlag": null
// },
// {
// "menuId": "11111111",
// "path": "Finance",
// "name": "财务管理",
// "icon": "PayCircleOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/Finance/ProjectManager/RevenueRecognition",
// "name": "招标收入确认",
// "frame": "N"
// },
// {
// "path": "/Finance/EnsureAmount",
// "name": "投标保证金查询",
// "frame": "N"
// },
// {
// "path": "/Finance/EnsureAmountRefund",
// "name": "保证金退还",
// "frame": "N"
// }
// ],
// "feignFlag": null
// },
// {
// "menuId": "11",
// "path": "Invoice",
// "name": "发票管理",
// "icon": "WalletOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/Invoice/Manager",
// "name": "发票列表",
// "frame": "N"
// }
// ],
// "feignFlag": null
// },
// {
// "menuId": "1565509326829727746",
// "path": "ExpertManage",
// "name": "专家管理",
// "icon": "IdcardOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/api/auth/oauth/authorize?response_type\u003dcode\u0026client_id\u003d3FjMVIzt\u0026redirect_uri\u003dhttps://10.242.31.158:18023/Expertlibraryworkbench/MyExpertHome/Extract?proxyCompanyNo\u003d{organizationId}\u0026sign\u003dprocure\u0026mall3_token\u003d{mall3_token}",
// "name": "专家抽取",
// "frame": "S"
// },
// {
// "path": "/api/auth/oauth/authorize?response_type\u003dcode\u0026client_id\u003d3FjMVIzt\u0026redirect_uri\u003dhttps://10.242.31.158:18023/Expertlibraryworkbench/MyExpertHome/Extract?proxyCompanyNo\u003d{organizationId}\u0026sign\u003dprocure\u0026urlSign\u003dEvaluate\u0026mall3_token\u003d{mall3_token}",
// "name": "专家评价",
// "frame": "S"
// },
// {
// "path": "/ExpertInfo/ExpertInformationManage",
// "name": "专家信息管理",
// "frame": "N"
// },
// {
// "path": "/ExpertInfo/ExpertExtractionAvoidance",
// "name": "专家抽取回避",
// "frame": "N"
// }
// ],
// "feignFlag": null
// },
// {
// "menuId": "1565574276328947714",
// "path": "VideoMonitor",
// "name": "视频监控查询",
// "icon": "PlaySquareOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/HistoryVideo",
// "name": "历史视频上传列表",
// "frame": "N"
// }
// ],
// "feignFlag": null
// },
// {
// "menuId": "1722061270189662209",
// "path": "PurchaseReOffer",
// "name": "采购复盘与检查",
// "icon": "BookOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/PurchaseReOffer",
// "name": "采购复盘与检查表",
// "frame": "N"
// }
// ],
// "feignFlag": null
// },
// {
// "menuId": "1767358998249476098",
// "path": "UnbalancedBid",
// "name": "不均衡报价分析",
// "icon": "BookOutlined",
// "menuScope": "EBTP",
// "menuOu": null,
// "isTop": 0,
// "children": [
// {
// "path": "/UnbalancedBidList",
// "name": "不均衡报价分析表",
// "frame": "N"
// }
// ],
// "feignFlag": null
// }
// ]
// }
// setMenuData( res.data || [])
// setmenuShow(true)
getMenu(params).then(res => {
if (res.code == 200) {
setMenuData(res.data || [])
if (dispatch) {
dispatch({
type: 'user/saveMenuData',
payload: res.data || [],
});
}
setmenuShow(true)
} else {
message.error("数据错误请联系管理员")

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) {