项目隐藏产品部分功能
This commit is contained in:
parent
4a630310f5
commit
41904be591
|
|
@ -336,7 +336,7 @@ export class TopBar extends React.Component {
|
|||
</Col>
|
||||
|
||||
<Col span={10}>
|
||||
{this.state.requestData.fclass == '0' && (
|
||||
{/* {this.state.requestData.fclass == '0' && (
|
||||
<span>
|
||||
<Button
|
||||
type="primary"
|
||||
|
|
@ -367,7 +367,7 @@ export class TopBar extends React.Component {
|
|||
{getLabel(547313, labelData)}
|
||||
</Button>
|
||||
</span>
|
||||
)}
|
||||
)} */}
|
||||
|
||||
<Button
|
||||
type="primary"
|
||||
|
|
|
|||
|
|
@ -109,11 +109,11 @@ export default function companyPage() {
|
|||
d3.json('/api/bs/hrmorganization/orgchart/i18n').then((res) => {
|
||||
setLabelData(res.data);
|
||||
setLabelCompleted(true);
|
||||
notification.open({
|
||||
message: `${getLabel(547283, res.data)}`,
|
||||
description: `${getLabel(547292, res.data)}`,
|
||||
icon: <SmileOutlined style={{ color: '#108ee9' }} />,
|
||||
});
|
||||
// notification.open({
|
||||
// message: `${getLabel(547283, res.data)}`,
|
||||
// description: `${getLabel(547292, res.data)}`,
|
||||
// icon: <SmileOutlined style={{ color: '#108ee9' }} />,
|
||||
// });
|
||||
});
|
||||
}, []);
|
||||
|
||||
|
|
@ -192,7 +192,6 @@ export default function companyPage() {
|
|||
</div>
|
||||
|
||||
<div style="display: ${statisticsStyle}">
|
||||
<span style="color:red">${d.data.staffNum}</span> /
|
||||
<span style="color:green">${d.data.onJobNum}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -214,7 +213,6 @@ export default function companyPage() {
|
|||
</div>
|
||||
|
||||
<div style="display: ${statisticsStyle}">
|
||||
<span style="color:red">${d.data.staffNum}</span> /
|
||||
<span style="color:green">${d.data.onJobNum}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -488,13 +486,13 @@ export default function companyPage() {
|
|||
onZoomIn={(progressBtn) => handleZoomIn(progressBtn)}
|
||||
onZoomBehavior={(value) => handleZoomBehavior(value)}
|
||||
/>
|
||||
<TimeLine
|
||||
{/* <TimeLine
|
||||
ref={(r) => (timeLine = r)}
|
||||
onClick={(timeline) => {
|
||||
timeLineSearch(timeline);
|
||||
}}
|
||||
labelData={labelData}
|
||||
/>
|
||||
/> */}
|
||||
<Spin size="large" spinning={spinning}>
|
||||
<OrgChartComponent
|
||||
setChart={(chart) => (orgChart = chart)}
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ export default function userPage() {
|
|||
// 获取数据
|
||||
useEffect(() => {
|
||||
document.cookie =
|
||||
'ecology_JSessionid=aaaimqoOmNl-h8fHABnpz; JSESSIONID=aaaimqoOmNl-h8fHABnpz; Systemlanguid=7; languageidweaver=7; loginuuids=1; loginidweaver=sysadmin; __randcode__=f58cd90c-d187-4c90-bd38-0981bf5232e0';
|
||||
'ecology_JSessionid=aaaqrj0Xm5_P2f6K0bavz; JSESSIONID=aaaqrj0Xm5_P2f6K0bavz; Systemlanguid=7; languageidweaver=7; loginuuids=1; __randcode__=0d52a82a-5780-4c3b-90cb-a9b216117fa2; loginidweaver=sysadmin';
|
||||
d3.json(
|
||||
'/api/bs/hrmorganization/orgchart/userData?fclass=0&fisvitual=0&root=0&level=3&id=0',
|
||||
).then((data) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue