1
This commit is contained in:
parent
dcdd7bc7f9
commit
fbf1751f95
@ -703,7 +703,7 @@ class HomeContent extends React.Component {
|
|||||||
|
|
||||||
if (!currentAnnouncement) return null;
|
if (!currentAnnouncement) return null;
|
||||||
|
|
||||||
const { TITLE, ABSTRACT, START, END, CONTENT, Nav_Files = [] } = currentAnnouncement;
|
const { TITLE, ABSTRACT, START, END, CONTENT, CREATE_USER_NAME, Nav_Files = [] } = currentAnnouncement;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
@ -728,7 +728,8 @@ class HomeContent extends React.Component {
|
|||||||
|
|
||||||
{/* 日期 */}
|
{/* 日期 */}
|
||||||
<div style={{ fontSize: '12px', color: '#999', marginBottom: '16px', textAlign: 'center' }}>
|
<div style={{ fontSize: '12px', color: '#999', marginBottom: '16px', textAlign: 'center' }}>
|
||||||
{START} 至 {END}
|
{START ? START : '--'} 至 {END ? END : '--'}
|
||||||
|
<span style={{ marginLeft: '20px' }}>{CREATE_USER_NAME ? CREATE_USER_NAME : ''}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* 分割线 */}
|
{/* 分割线 */}
|
||||||
@ -861,7 +862,7 @@ class HomeContent extends React.Component {
|
|||||||
<Col span={8} className={styles.hiddenStatsCol}>
|
<Col span={8} className={styles.hiddenStatsCol}>
|
||||||
<div className={styles.hiddenTitle}>年度隐患数据</div>
|
<div className={styles.hiddenTitle}>年度隐患数据</div>
|
||||||
<div className={styles.hiddenStatItem}>
|
<div className={styles.hiddenStatItem}>
|
||||||
<div className={styles.hiddenStatName}>年度重大隐患数</div>
|
<div className={styles.hiddenStatName}>年度重大隐患数量</div>
|
||||||
<div className={styles.hiddenStatValue}>{hiddenSummary.majorQty}</div>
|
<div className={styles.hiddenStatValue}>{hiddenSummary.majorQty}</div>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.hiddenStatItem}>
|
<div className={styles.hiddenStatItem}>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user