Merge branch 'master' of http://121.41.2.71:3000/wyw/mh_jy_safe_web
This commit is contained in:
commit
20b39e5f5b
@ -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`, // 动态设置颜色
|
||||
}}
|
||||
>
|
||||
<p className="slide-text-style">{safetySloganOne || '暂无公告'}</p>
|
||||
<p className="slide-text-style">{safetySloganOne}</p>
|
||||
</div>
|
||||
</div>
|
||||
</Col>
|
||||
@ -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'
|
||||
}
|
||||
>
|
||||
<Icon
|
||||
@ -1717,23 +1717,23 @@ class GroupHome extends React.Component {
|
||||
item.title === '待办事项'
|
||||
? 'schedule'
|
||||
: item.title === '待办超时'
|
||||
? 'hourglass'
|
||||
: item.title === '已办事项'
|
||||
? 'check-circle'
|
||||
: item.title === '今日提醒'
|
||||
? 'bulb'
|
||||
: 'rocket'
|
||||
? 'hourglass'
|
||||
: item.title === '已办事项'
|
||||
? 'check-circle'
|
||||
: item.title === '今日提醒'
|
||||
? 'bulb'
|
||||
: 'rocket'
|
||||
}
|
||||
className={
|
||||
item.title === '待办事项'
|
||||
? 'backlog-icontitle-style1'
|
||||
: item.title === '待办超时'
|
||||
? 'backlog-icontitle-style2'
|
||||
: item.title === '已办事项'
|
||||
? 'backlog-icontitle-style3'
|
||||
: item.title === '今日提醒'
|
||||
? 'backlog-icontitle-style4'
|
||||
: 'backlog-icontitle-style'
|
||||
? 'backlog-icontitle-style2'
|
||||
: item.title === '已办事项'
|
||||
? 'backlog-icontitle-style3'
|
||||
: item.title === '今日提醒'
|
||||
? 'backlog-icontitle-style4'
|
||||
: 'backlog-icontitle-style'
|
||||
}
|
||||
></Icon>
|
||||
|
||||
@ -1744,12 +1744,12 @@ class GroupHome extends React.Component {
|
||||
item.title === '待办事项'
|
||||
? 'backlog-icon-style3'
|
||||
: item.title === '待办超时'
|
||||
? 'backlog-icon-style4'
|
||||
: item.title === '已办事项'
|
||||
? 'backlog-icon-style5'
|
||||
: item.title === '今日提醒'
|
||||
? 'backlog-icon-style6'
|
||||
: 'backlog-icon-style7'
|
||||
? 'backlog-icon-style4'
|
||||
: item.title === '已办事项'
|
||||
? 'backlog-icon-style5'
|
||||
: item.title === '今日提醒'
|
||||
? 'backlog-icon-style6'
|
||||
: 'backlog-icon-style7'
|
||||
}
|
||||
style={{ display: item.iconDisplay }}
|
||||
></div>
|
||||
|
||||
@ -1315,16 +1315,16 @@ class Home 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') {
|
||||
@ -1551,7 +1551,7 @@ class Home extends React.Component {
|
||||
'--slider-size': `${sliderSize}px`, // 动态设置颜色
|
||||
}}
|
||||
>
|
||||
<p className="slide-text-style">{safetySloganOne || '暂无公告'}</p>
|
||||
<p className="slide-text-style">{safetySloganOne}</p>
|
||||
</div>
|
||||
</div>
|
||||
</Col>
|
||||
@ -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'
|
||||
}
|
||||
>
|
||||
<Icon
|
||||
@ -1588,23 +1588,23 @@ class Home extends React.Component {
|
||||
item.title === '待办事项'
|
||||
? 'schedule'
|
||||
: item.title === '待办超时'
|
||||
? 'hourglass'
|
||||
: item.title === '已办事项'
|
||||
? 'check-circle'
|
||||
: item.title === '今日提醒'
|
||||
? 'bulb'
|
||||
: 'rocket'
|
||||
? 'hourglass'
|
||||
: item.title === '已办事项'
|
||||
? 'check-circle'
|
||||
: item.title === '今日提醒'
|
||||
? 'bulb'
|
||||
: 'rocket'
|
||||
}
|
||||
className={
|
||||
item.title === '待办事项'
|
||||
? 'backlog-icontitle-style1'
|
||||
: item.title === '待办超时'
|
||||
? 'backlog-icontitle-style2'
|
||||
: item.title === '已办事项'
|
||||
? 'backlog-icontitle-style3'
|
||||
: item.title === '今日提醒'
|
||||
? 'backlog-icontitle-style4'
|
||||
: 'backlog-icontitle-style'
|
||||
? 'backlog-icontitle-style2'
|
||||
: item.title === '已办事项'
|
||||
? 'backlog-icontitle-style3'
|
||||
: item.title === '今日提醒'
|
||||
? 'backlog-icontitle-style4'
|
||||
: 'backlog-icontitle-style'
|
||||
}
|
||||
></Icon>
|
||||
|
||||
@ -1615,12 +1615,12 @@ class Home extends React.Component {
|
||||
item.title === '待办事项'
|
||||
? 'backlog-icon-style3'
|
||||
: item.title === '待办超时'
|
||||
? 'backlog-icon-style4'
|
||||
: item.title === '已办事项'
|
||||
? 'backlog-icon-style5'
|
||||
: item.title === '今日提醒'
|
||||
? 'backlog-icon-style6'
|
||||
: 'backlog-icon-style7'
|
||||
? 'backlog-icon-style4'
|
||||
: item.title === '已办事项'
|
||||
? 'backlog-icon-style5'
|
||||
: item.title === '今日提醒'
|
||||
? 'backlog-icon-style6'
|
||||
: 'backlog-icon-style7'
|
||||
}
|
||||
style={{ display: item.iconDisplay }}
|
||||
></div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user