From 20ee40b6f2abada114fd18d10e9aba08626235b4 Mon Sep 17 00:00:00 2001 From: "853931625@qq.com" Date: Tue, 9 Dec 2025 16:50:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4log=20=E4=BA=8C=E7=BA=A7?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=B8=8D=E4=BC=A0=E6=9D=83=E9=99=90=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/api/department/index.js | 2 +- src/components/OrgChartModal/index.js | 6 +- .../Enterprise/CorpInfo/Info/index.js | 102 +++++++++--------- .../Enterprise/CorpInfo/Update/index.js | 17 ++- .../ChangeList/index.js | 1 + .../ChangeView/index.js | 6 +- .../EnterpriseMiddleground/List/index.js | 2 +- .../IndustryQualification/Add/index.js | 3 +- .../Enterprise/OrganizationStructure/index.js | 11 +- .../AccountManage/List/index.js | 12 +-- .../AccountManage/View/index.js | 68 ++++++------ .../StakeholderUnit/User/List/index.js | 2 - .../StakeholderUnit/User/UserList/index.js | 7 +- .../Container/Enterprise/User/Add/index.js | 39 ++++++- .../Container/Enterprise/User/List/index.js | 35 +++--- .../Container/PersonnelCertificate/index.js | 1 - .../CorpInfo/components/Qualification.js | 9 +- .../Container/Stakeholder/CorpInfo/index.js | 14 +-- .../Container/Stakeholder/Department/index.js | 12 ++- .../Container/Stakeholder/User/Add/index.js | 24 ++++- .../Container/Stakeholder/User/List/index.js | 4 +- .../User/ResignationReview/index.js | 1 - .../User/SecurityPersonnel/index.js | 2 - .../User/SpecialPersonnel/index.js | 2 - .../BranchCompany/AccountManage/List/index.js | 23 ++-- .../BranchCompany/AccountManage/View/index.js | 2 +- .../DepartmentManage/List/index.js | 1 + .../DepartmentManage/View/index.js | 3 +- .../EnterpriseInfo/List/index.js | 3 - .../EnterpriseInfo/View/index.js | 98 ++++++++--------- .../SubsidiaryUser/UserList/index.js | 3 +- .../ChangeList/index.js | 1 + .../ChangeView/index.js | 5 +- .../EnterpriseMiddleground/List/index.js | 2 +- .../EnterpriseMiddleground/UserList/index.js | 4 +- .../AccountManage/List/index.js | 16 +-- .../AccountManage/View/index.js | 68 ++++++------ .../StakeholderUnit/CertifiedUser/index.js | 3 +- .../CertificateList/index.js | 2 +- .../SpecialPersonnel/CertificateList/index.js | 3 +- .../StakeholderUnit/User/List/index.js | 2 - .../StakeholderUnit/User/UserList/index.js | 7 +- .../Supervision/CorpInfo/Update/index.js | 8 +- .../Supervision/Department/index.js | 70 ++++++++++-- .../Supervision/Supervision/User/Add/index.js | 24 ++++- .../Supervision/User/List/index.js | 99 ++++++++--------- 47 files changed, 468 insertions(+), 363 deletions(-) diff --git a/package.json b/package.json index 65747e3..daab48b 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "relation-graph": "^2.2.11", - "zy-react-library": "^1.0.141" + "zy-react-library": "^1.0.152" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", diff --git a/src/api/department/index.js b/src/api/department/index.js index e0fe728..721c4ca 100644 --- a/src/api/department/index.js +++ b/src/api/department/index.js @@ -27,7 +27,7 @@ export const userGetInfo = declareRequest( ); export const corpDepartlist = declareRequest( "departmentLoading", - "Post > @/basic-info/corpInfo/corpDepartlist", + "Post > @/basicInfo/corpInfo/corpDepartlist", ); diff --git a/src/components/OrgChartModal/index.js b/src/components/OrgChartModal/index.js index 67a941f..5a13808 100644 --- a/src/components/OrgChartModal/index.js +++ b/src/components/OrgChartModal/index.js @@ -9,9 +9,9 @@ const ExpandAnimation = (departmentData) => { const graphOptions = { layout: { layoutName: "tree", - min_per_width: 80, - max_per_width: 150, - min_per_height: 200, + min_per_width: 150, + max_per_width: 200, + min_per_height: 230, }, defaultNodeShape: 1, defaultNodeWidth: 130, diff --git a/src/pages/Container/Enterprise/CorpInfo/Info/index.js b/src/pages/Container/Enterprise/CorpInfo/Info/index.js index 014ace8..1ca6a44 100644 --- a/src/pages/Container/Enterprise/CorpInfo/Info/index.js +++ b/src/pages/Container/Enterprise/CorpInfo/Info/index.js @@ -131,26 +131,26 @@ function Info(props) { children: info.lrName, }, { - label: "法人手机号", + label: "法定代表人手机号", children: (
- {info.lrMobile && info.lrMobile.label} - { (info.lrMobile && info.lrMobile.label) - && ( - - )} + {info.lrMobile } + {/* { (info.lrMobile && info.lrMobile.label) */} + {/* && ( */} + {/* */} + {/* )} */}
), @@ -164,22 +164,22 @@ function Info(props) { children: (
- { info.contactsPhone && info.contactsPhone.label} - { (info.contactsPhone && info.contactsPhone.label) - && ( - - )} + { info.contactsPhone } + {/* { (info.contactsPhone && info.contactsPhone.label) */} + {/* && ( */} + {/* */} + {/* )} */}
), @@ -193,23 +193,23 @@ function Info(props) { label: "安全负责人手机号", children: (
- - {info.safetyPhone && info.safetyPhone.label} - { (info.safetyPhone && info.safetyPhone.label) - && ( - - )} + {info.lrMobile && info.lrMobile.label} + {info.safetyPhone } + {/* { (info.safetyPhone && info.safetyPhone.label) */} + {/* && ( */} + {/* */} + {/* )} */}
), @@ -329,7 +329,7 @@ function Info(props) { {viewData}