From 09f40644a756369c6947fea2ca1309974f532e2c Mon Sep 17 00:00:00 2001 From: Chengliang <1546584672@qq.com> Date: Fri, 21 Feb 2025 14:26:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=91=E5=AE=A4=E6=98=BE=E7=A4=BA=E7=BC=96?= =?UTF-8?q?=E5=88=B6=E4=BA=BA=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/company.jsx | 8 +++----- src/pages/user.jsx | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) 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) => {