Browse Source

修改

master
deartibers 2 years ago
parent
commit
fce953b374
  1. 2
      web/client/src/sections/humanAffairs/containers/employeeInformation.jsx
  2. 4
      web/client/src/sections/humanAffairs/containers/leaveStatistics.jsx
  3. 4
      web/client/src/sections/humanAffairs/containers/overtimeStatistics.jsx

2
web/client/src/sections/humanAffairs/containers/employeeInformation.jsx

@ -207,7 +207,7 @@ const employeeInformation = (props) => {
key: "roleName", key: "roleName",
render: (_, r, index) => { render: (_, r, index) => {
return ( return (
<div style={{ color: '#4A4A4A', fontSize: 12, display: 'flex', alignItems: 'center' }}> <div style={{ display: 'flex', alignItems: 'center' }}>
{ {
r.role.map((ite, idx) => { r.role.map((ite, idx) => {
let roleArr = [] let roleArr = []

4
web/client/src/sections/humanAffairs/containers/leaveStatistics.jsx

@ -20,7 +20,7 @@ const leaveStatistics = (props) => {
const [setup, setSetup] = useState(false);// const [setup, setSetup] = useState(false);//
const [setupp, setSetupp] = useState([]);// const [setupp, setSetupp] = useState([]);//
const [query, setQuery] = useState({ limit: 10, page: 0 }); // 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 [limits, setLimits] = useState()//
const [downloadUrl, setDownloadUrl] = useState('')//pdf const [downloadUrl, setDownloadUrl] = useState('')//pdf
const LEAVESTATISTICS = "leaveStatistics"; const LEAVESTATISTICS = "leaveStatistics";
@ -168,7 +168,7 @@ const leaveStatistics = (props) => {
key: "roleName", key: "roleName",
render: (_, r, index) => { render: (_, r, index) => {
return ( return (
<div style={{ color: '#4A4A4A', fontSize: 12, display: 'flex', alignItems: 'center' }}> <div style={{ display: 'flex', alignItems: 'center' }}>
{ {
r.role.map((ite, idx) => { r.role.map((ite, idx) => {
let roleArr = [] let roleArr = []

4
web/client/src/sections/humanAffairs/containers/overtimeStatistics.jsx

@ -20,7 +20,7 @@ const overtimeStatistics = (props) => {
const [setup, setSetup] = useState(false);// const [setup, setSetup] = useState(false);//
const [setupp, setSetupp] = useState([]);// const [setupp, setSetupp] = useState([]);//
const [query, setQuery] = useState({ limit: 10, page: 0 }); // 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 [limits, setLimits] = useState()//
const [downloadUrl, setDownloadUrl] = useState('')//pdf const [downloadUrl, setDownloadUrl] = useState('')//pdf
const OVERTIMESTATISTICS = "overtimeStatistics"; const OVERTIMESTATISTICS = "overtimeStatistics";
@ -163,7 +163,7 @@ const overtimeStatistics = (props) => {
key: "roleName", key: "roleName",
render: (_, r, index) => { render: (_, r, index) => {
return ( return (
<div style={{ color: '#4A4A4A', fontSize: 12, display: 'flex', alignItems: 'center' }}> <div style={{ display: 'flex', alignItems: 'center' }}>
{ {
r.role.map((ite, idx) => { r.role.map((ite, idx) => {
let roleArr = [] let roleArr = []

Loading…
Cancel
Save