From 8545a9f83bb4b3d3290fe4ed1268b5354dd30dad Mon Sep 17 00:00:00 2001 From: zhangminghua Date: Wed, 4 Jan 2023 15:38:34 +0800 Subject: [PATCH] =?UTF-8?q?(*)=E5=91=98=E5=B7=A5=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=EF=BC=8C=E7=BB=A9=E7=82=B9=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../humanAffairs/containers/employeeInformation.jsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/web/client/src/sections/humanAffairs/containers/employeeInformation.jsx b/web/client/src/sections/humanAffairs/containers/employeeInformation.jsx index f3253ac..1c8e0be 100644 --- a/web/client/src/sections/humanAffairs/containers/employeeInformation.jsx +++ b/web/client/src/sections/humanAffairs/containers/employeeInformation.jsx @@ -37,7 +37,7 @@ const employeeInformation = (props) => { { name: "职位", value: "userJob" }, { name: "岗位", value: "userPost" }, { name: "在职状态", value: "userActiveStatus" }, - { name: "绩点", value: "point" }, + { name: "绩点", value: "gradePoint" }, { name: "所属机构", value: "userOrganization" }, { name: "技术职级等级", value: "technicalGrade" }, { name: "证件号", value: "idNumber" }, @@ -83,7 +83,7 @@ const employeeInformation = (props) => { localStorage.getItem(EMPLOYEEINFORMATION) == null ? localStorage.setItem( EMPLOYEEINFORMATION, - JSON.stringify(['userName', 'departmrnt', 'userJob', 'userPost', 'userActiveStatus', 'point', 'userOrganization', 'technicalGrade', + JSON.stringify(['userName', 'departmrnt', 'userJob', 'userPost', 'userActiveStatus', 'gradePoint', 'userOrganization', 'technicalGrade', 'hiredate', 'age', 'phoneNumber', 'marital', 'politicsStatus', 'educationBackground', 'graduatedFrom', 'employmentLife', 'occupationalHistory']) ) @@ -243,9 +243,11 @@ const employeeInformation = (props) => { }, { title: '绩点', width: 100, - dataIndex: "point", - key: "point", - render: (_, r, index) => -, + dataIndex: "gradePoint", + key: "gradePoint", + render: (_, r, index) => { + return r.gradePoint || '-'; + }, }, { title: (