diff --git a/web/client/src/sections/humanAffairs/containers/employeeInformation.jsx b/web/client/src/sections/humanAffairs/containers/employeeInformation.jsx index eae9a33..9af1c27 100644 --- a/web/client/src/sections/humanAffairs/containers/employeeInformation.jsx +++ b/web/client/src/sections/humanAffairs/containers/employeeInformation.jsx @@ -207,7 +207,7 @@ const employeeInformation = (props) => { key: "roleName", render: (_, r, index) => { return ( -
+
{ r.role.map((ite, idx) => { let roleArr = [] diff --git a/web/client/src/sections/humanAffairs/containers/leaveStatistics.jsx b/web/client/src/sections/humanAffairs/containers/leaveStatistics.jsx index d56c8f6..a70e386 100644 --- a/web/client/src/sections/humanAffairs/containers/leaveStatistics.jsx +++ b/web/client/src/sections/humanAffairs/containers/leaveStatistics.jsx @@ -20,7 +20,7 @@ const leaveStatistics = (props) => { const [setup, setSetup] = useState(false);//表格设置是否显现 const [setupp, setSetupp] = useState([]);//实际显示的表格列表 const [query, setQuery] = useState({ limit: 10, page: 0 }); //页码信息 - const [order, setOrder] = useState({ orderBy: 'hiredate', orderDirection: 'DESC' }); //页码信息 + const [order, setOrder] = useState({ orderBy: 'code', orderDirection: 'DESC' }); //页码信息 const [limits, setLimits] = useState()//每页实际条数 const [downloadUrl, setDownloadUrl] = useState('')//下载pdf const LEAVESTATISTICS = "leaveStatistics"; @@ -168,7 +168,7 @@ const leaveStatistics = (props) => { key: "roleName", render: (_, r, index) => { return ( -
+
{ r.role.map((ite, idx) => { let roleArr = [] diff --git a/web/client/src/sections/humanAffairs/containers/overtimeStatistics.jsx b/web/client/src/sections/humanAffairs/containers/overtimeStatistics.jsx index a37b2bd..10b47c3 100644 --- a/web/client/src/sections/humanAffairs/containers/overtimeStatistics.jsx +++ b/web/client/src/sections/humanAffairs/containers/overtimeStatistics.jsx @@ -20,7 +20,7 @@ const overtimeStatistics = (props) => { const [setup, setSetup] = useState(false);//表格设置是否显现 const [setupp, setSetupp] = useState([]);//实际显示的表格列表 const [query, setQuery] = useState({ limit: 10, page: 0 }); //页码信息 - const [order, setOrder] = useState({ orderBy: 'hiredate', orderDirection: 'DESC' }); //页码信息 + const [order, setOrder] = useState({ orderBy: 'code', orderDirection: 'DESC' }); //页码信息 const [limits, setLimits] = useState()//每页实际条数 const [downloadUrl, setDownloadUrl] = useState('')//下载pdf const OVERTIMESTATISTICS = "overtimeStatistics"; @@ -163,7 +163,7 @@ const overtimeStatistics = (props) => { key: "roleName", render: (_, r, index) => { return ( -
+
{ r.role.map((ite, idx) => { let roleArr = []