diff --git a/src/pages/company.jsx b/src/pages/company.jsx index 5b4e24e..d64486a 100644 --- a/src/pages/company.jsx +++ b/src/pages/company.jsx @@ -162,8 +162,8 @@ export default function companyPage() { const nodeContentRender = (d, i, arr, state) => { let fclass = topbar.state.requestData.fclass; let statisticsStyle = fclass == 0 ? 'block' : 'none'; - let flevelStyle = - d.data.ftype == 2 && d.data.deptLevel == 0 ? 'inline-block' : 'none'; + // let flevelStyle = + // d.data.ftype == 2 && d.data.deptLevel == 0 ? 'inline-block' : 'none'; if (d.data.ftype == 0) { return `
@@ -209,9 +209,7 @@ export default function companyPage() {
${d.data.fname}
- ${ - d.data.staffNum - } + ${d.data.staffNum}
diff --git a/src/pages/user.jsx b/src/pages/user.jsx index 541a89f..3e0c795 100644 --- a/src/pages/user.jsx +++ b/src/pages/user.jsx @@ -99,7 +99,7 @@ export default function userPage() { // 获取数据 useEffect(() => { document.cookie = - 'ecology_JSessionid=aaajace0y1dE-cpttwUtz; JSESSIONID=aaajace0y1dE-cpttwUtz; Systemlanguid=7; loginuuids=1; languageidweaver=7; __randcode__=bcb3a4d9-7e40-424a-8274-5081eef0bf1d; loginidweaver=sysadmin'; + 'ecology_JSessionid=aaaIM-wLhZqZT42JQaHuz; JSESSIONID=aaaIM-wLhZqZT42JQaHuz; __randcode__=4a2611df-36e6-4b5b-9367-4eda0d961d91; Systemlanguid=7; languageidweaver=7; loginidweaver=sysadmin; loginuuids=1'; d3.json( '/api/bs/hrmorganization/orgchart/userData?fclass=0&fisvitual=0&root=0&level=3&id=0', ).then((data) => {