|
|
@ -22,6 +22,8 @@ let timeLine = null;
|
|
|
|
let orgChart = null;
|
|
|
|
let orgChart = null;
|
|
|
|
let topbar = null;
|
|
|
|
let topbar = null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let versionId = 0;
|
|
|
|
|
|
|
|
|
|
|
|
export default function companyPage() {
|
|
|
|
export default function companyPage() {
|
|
|
|
const [data, setData] = useState(null);
|
|
|
|
const [data, setData] = useState(null);
|
|
|
|
let compact = 0;
|
|
|
|
let compact = 0;
|
|
|
@ -54,6 +56,7 @@ export default function companyPage() {
|
|
|
|
rootId: node.id,
|
|
|
|
rootId: node.id,
|
|
|
|
fclass: topbar.state.requestData.fclass,
|
|
|
|
fclass: topbar.state.requestData.fclass,
|
|
|
|
id: infoRef.current,
|
|
|
|
id: infoRef.current,
|
|
|
|
|
|
|
|
versionId: versionId,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
drawerCom.showDrawer(params);
|
|
|
|
drawerCom.showDrawer(params);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -359,9 +362,9 @@ export default function companyPage() {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
const timeLineSearch = (timeline) => {
|
|
|
|
const timeLineSearch = (timeline) => {
|
|
|
|
setTimelineId(timeline.id);
|
|
|
|
setTimelineId(timeline.id);
|
|
|
|
|
|
|
|
versionId = timeline.id;
|
|
|
|
const fclass = topbar.state.requestData.fclass;
|
|
|
|
const fclass = topbar.state.requestData.fclass;
|
|
|
|
const resetParams = {
|
|
|
|
const resetParams = {
|
|
|
|
root: undefined,
|
|
|
|
|
|
|
|
level: '2',
|
|
|
|
level: '2',
|
|
|
|
fisvitual: '0',
|
|
|
|
fisvitual: '0',
|
|
|
|
hidedept: '0',
|
|
|
|
hidedept: '0',
|
|
|
@ -460,6 +463,7 @@ export default function companyPage() {
|
|
|
|
changeFclass={(requestData) => {
|
|
|
|
changeFclass={(requestData) => {
|
|
|
|
handleChange(requestData);
|
|
|
|
handleChange(requestData);
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
|
|
|
|
timelineId={timelineId}
|
|
|
|
type="company"
|
|
|
|
type="company"
|
|
|
|
url="/api/bs/hrmorganization/orgchart/getCondition?fclass=0&type=company&id=0"
|
|
|
|
url="/api/bs/hrmorganization/orgchart/getCondition?fclass=0&type=company&id=0"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|