This commit is contained in:
yunkexin 2026-05-08 17:08:36 +08:00
parent dcdd7bc7f9
commit fbf1751f95

View File

@ -703,7 +703,7 @@ class HomeContent extends React.Component {
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 (
<div>
@ -728,7 +728,8 @@ class HomeContent extends React.Component {
{/* 日期 */}
<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>
{/* 分割线 */}
@ -861,7 +862,7 @@ class HomeContent extends React.Component {
<Col span={8} className={styles.hiddenStatsCol}>
<div className={styles.hiddenTitle}>年度隐患数据</div>
<div className={styles.hiddenStatItem}>
<div className={styles.hiddenStatName}>年度重大隐患数</div>
<div className={styles.hiddenStatName}>年度重大隐患数</div>
<div className={styles.hiddenStatValue}>{hiddenSummary.majorQty}</div>
</div>
<div className={styles.hiddenStatItem}>