|
|
@ -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 ( |
|
|
|
<div style={{ color: '#4A4A4A', fontSize: 12, display: 'flex', alignItems: 'center' }}> |
|
|
|
<div style={{ display: 'flex', alignItems: 'center' }}> |
|
|
|
{ |
|
|
|
r.role.map((ite, idx) => { |
|
|
|
let roleArr = [] |
|
|
|