diff --git a/src/routes/GroupHome.js b/src/routes/GroupHome.js index ee22eb5..00340cd 100644 --- a/src/routes/GroupHome.js +++ b/src/routes/GroupHome.js @@ -1444,16 +1444,16 @@ class GroupHome extends React.Component { //显示详情弹窗 showDetailModal = (formCode) => { - var titleTemp ="" - // this.state.mineType == 20 - // ? '尾矿库' - // : this.state.mineType == 10 - // ? '选矿厂' - // : this.state.mineType == 31 - // ? '职能口' - // : this.state.mineType == 32 - // ? '非金属' - // : '露天矿'; + var titleTemp = ''; + // this.state.mineType == 20 + // ? '尾矿库' + // : this.state.mineType == 10 + // ? '选矿厂' + // : this.state.mineType == 31 + // ? '职能口' + // : this.state.mineType == 32 + // ? '非金属' + // : '露天矿'; if (formCode == 'BI054_HOMEDETAIL') { titleTemp += '安全检查次数统计(近12月)'; } else if (formCode == 'BI055_HOMEDETAIL') { @@ -1680,7 +1680,7 @@ class GroupHome extends React.Component { '--slider-size': `${sliderSize}px`, // 动态设置颜色 }} > -
{safetySloganOne || '暂无公告'}
+{safetySloganOne}
@@ -1704,12 +1704,12 @@ class GroupHome extends React.Component { item.title === '待办事项' ? 'backlog-background-style' : item.title === '待办超时' - ? 'backlog-background-style1' - : item.title === '已办事项' - ? 'backlog-background-style2' - : item.title === '今日提醒' - ? 'backlog-background-style3' - : 'backlog-background-style4' + ? 'backlog-background-style1' + : item.title === '已办事项' + ? 'backlog-background-style2' + : item.title === '今日提醒' + ? 'backlog-background-style3' + : 'backlog-background-style4' } >{safetySloganOne || '暂无公告'}
+{safetySloganOne}
@@ -1575,12 +1575,12 @@ class Home extends React.Component { item.title === '待办事项' ? 'backlog-background-style' : item.title === '待办超时' - ? 'backlog-background-style1' - : item.title === '已办事项' - ? 'backlog-background-style2' - : item.title === '今日提醒' - ? 'backlog-background-style3' - : 'backlog-background-style4' + ? 'backlog-background-style1' + : item.title === '已办事项' + ? 'backlog-background-style2' + : item.title === '今日提醒' + ? 'backlog-background-style3' + : 'backlog-background-style4' } >