This commit is contained in:
yunkexin 2026-02-05 10:34:45 +08:00
parent d695d53833
commit 42c06cb244
2 changed files with 70 additions and 70 deletions

View File

@ -1444,16 +1444,16 @@ class GroupHome extends React.Component {
//显示详情弹窗 //显示详情弹窗
showDetailModal = (formCode) => { showDetailModal = (formCode) => {
var titleTemp ="" var titleTemp = '';
// this.state.mineType == 20 // this.state.mineType == 20
// ? '尾矿库' // ? '尾矿库'
// : this.state.mineType == 10 // : this.state.mineType == 10
// ? '选矿厂' // ? '选矿厂'
// : this.state.mineType == 31 // : this.state.mineType == 31
// ? '职能口' // ? '职能口'
// : this.state.mineType == 32 // : this.state.mineType == 32
// ? '非金属' // ? '非金属'
// : '露天矿'; // : '露天矿';
if (formCode == 'BI054_HOMEDETAIL') { if (formCode == 'BI054_HOMEDETAIL') {
titleTemp += '安全检查次数统计近12月'; titleTemp += '安全检查次数统计近12月';
} else if (formCode == 'BI055_HOMEDETAIL') { } else if (formCode == 'BI055_HOMEDETAIL') {
@ -1680,7 +1680,7 @@ class GroupHome extends React.Component {
'--slider-size': `${sliderSize}px`, // 动态设置颜色 '--slider-size': `${sliderSize}px`, // 动态设置颜色
}} }}
> >
<p className="slide-text-style">{safetySloganOne || '暂无公告'}</p> <p className="slide-text-style">{safetySloganOne}</p>
</div> </div>
</div> </div>
</Col> </Col>
@ -1704,12 +1704,12 @@ class GroupHome extends React.Component {
item.title === '待办事项' item.title === '待办事项'
? 'backlog-background-style' ? 'backlog-background-style'
: item.title === '待办超时' : item.title === '待办超时'
? 'backlog-background-style1' ? 'backlog-background-style1'
: item.title === '已办事项' : item.title === '已办事项'
? 'backlog-background-style2' ? 'backlog-background-style2'
: item.title === '今日提醒' : item.title === '今日提醒'
? 'backlog-background-style3' ? 'backlog-background-style3'
: 'backlog-background-style4' : 'backlog-background-style4'
} }
> >
<Icon <Icon
@ -1717,23 +1717,23 @@ class GroupHome extends React.Component {
item.title === '待办事项' item.title === '待办事项'
? 'schedule' ? 'schedule'
: item.title === '待办超时' : item.title === '待办超时'
? 'hourglass' ? 'hourglass'
: item.title === '已办事项' : item.title === '已办事项'
? 'check-circle' ? 'check-circle'
: item.title === '今日提醒' : item.title === '今日提醒'
? 'bulb' ? 'bulb'
: 'rocket' : 'rocket'
} }
className={ className={
item.title === '待办事项' item.title === '待办事项'
? 'backlog-icontitle-style1' ? 'backlog-icontitle-style1'
: item.title === '待办超时' : item.title === '待办超时'
? 'backlog-icontitle-style2' ? 'backlog-icontitle-style2'
: item.title === '已办事项' : item.title === '已办事项'
? 'backlog-icontitle-style3' ? 'backlog-icontitle-style3'
: item.title === '今日提醒' : item.title === '今日提醒'
? 'backlog-icontitle-style4' ? 'backlog-icontitle-style4'
: 'backlog-icontitle-style' : 'backlog-icontitle-style'
} }
></Icon> ></Icon>
@ -1744,12 +1744,12 @@ class GroupHome extends React.Component {
item.title === '待办事项' item.title === '待办事项'
? 'backlog-icon-style3' ? 'backlog-icon-style3'
: item.title === '待办超时' : item.title === '待办超时'
? 'backlog-icon-style4' ? 'backlog-icon-style4'
: item.title === '已办事项' : item.title === '已办事项'
? 'backlog-icon-style5' ? 'backlog-icon-style5'
: item.title === '今日提醒' : item.title === '今日提醒'
? 'backlog-icon-style6' ? 'backlog-icon-style6'
: 'backlog-icon-style7' : 'backlog-icon-style7'
} }
style={{ display: item.iconDisplay }} style={{ display: item.iconDisplay }}
></div> ></div>

View File

@ -1315,16 +1315,16 @@ class Home extends React.Component {
//显示详情弹窗 //显示详情弹窗
showDetailModal = (formCode) => { showDetailModal = (formCode) => {
var titleTemp ="" var titleTemp = '';
// this.state.mineType == 20 // this.state.mineType == 20
// ? '尾矿库' // ? '尾矿库'
// : this.state.mineType == 10 // : this.state.mineType == 10
// ? '选矿厂' // ? '选矿厂'
// : this.state.mineType == 31 // : this.state.mineType == 31
// ? '职能口' // ? '职能口'
// : this.state.mineType == 32 // : this.state.mineType == 32
// ? '非金属' // ? '非金属'
// : '露天矿'; // : '露天矿';
if (formCode == 'BI054_HOMEDETAIL') { if (formCode == 'BI054_HOMEDETAIL') {
titleTemp += '安全检查次数统计近12月'; titleTemp += '安全检查次数统计近12月';
} else if (formCode == 'BI055_HOMEDETAIL') { } else if (formCode == 'BI055_HOMEDETAIL') {
@ -1551,7 +1551,7 @@ class Home extends React.Component {
'--slider-size': `${sliderSize}px`, // 动态设置颜色 '--slider-size': `${sliderSize}px`, // 动态设置颜色
}} }}
> >
<p className="slide-text-style">{safetySloganOne || '暂无公告'}</p> <p className="slide-text-style">{safetySloganOne}</p>
</div> </div>
</div> </div>
</Col> </Col>
@ -1575,12 +1575,12 @@ class Home extends React.Component {
item.title === '待办事项' item.title === '待办事项'
? 'backlog-background-style' ? 'backlog-background-style'
: item.title === '待办超时' : item.title === '待办超时'
? 'backlog-background-style1' ? 'backlog-background-style1'
: item.title === '已办事项' : item.title === '已办事项'
? 'backlog-background-style2' ? 'backlog-background-style2'
: item.title === '今日提醒' : item.title === '今日提醒'
? 'backlog-background-style3' ? 'backlog-background-style3'
: 'backlog-background-style4' : 'backlog-background-style4'
} }
> >
<Icon <Icon
@ -1588,23 +1588,23 @@ class Home extends React.Component {
item.title === '待办事项' item.title === '待办事项'
? 'schedule' ? 'schedule'
: item.title === '待办超时' : item.title === '待办超时'
? 'hourglass' ? 'hourglass'
: item.title === '已办事项' : item.title === '已办事项'
? 'check-circle' ? 'check-circle'
: item.title === '今日提醒' : item.title === '今日提醒'
? 'bulb' ? 'bulb'
: 'rocket' : 'rocket'
} }
className={ className={
item.title === '待办事项' item.title === '待办事项'
? 'backlog-icontitle-style1' ? 'backlog-icontitle-style1'
: item.title === '待办超时' : item.title === '待办超时'
? 'backlog-icontitle-style2' ? 'backlog-icontitle-style2'
: item.title === '已办事项' : item.title === '已办事项'
? 'backlog-icontitle-style3' ? 'backlog-icontitle-style3'
: item.title === '今日提醒' : item.title === '今日提醒'
? 'backlog-icontitle-style4' ? 'backlog-icontitle-style4'
: 'backlog-icontitle-style' : 'backlog-icontitle-style'
} }
></Icon> ></Icon>
@ -1615,12 +1615,12 @@ class Home extends React.Component {
item.title === '待办事项' item.title === '待办事项'
? 'backlog-icon-style3' ? 'backlog-icon-style3'
: item.title === '待办超时' : item.title === '待办超时'
? 'backlog-icon-style4' ? 'backlog-icon-style4'
: item.title === '已办事项' : item.title === '已办事项'
? 'backlog-icon-style5' ? 'backlog-icon-style5'
: item.title === '今日提醒' : item.title === '今日提醒'
? 'backlog-icon-style6' ? 'backlog-icon-style6'
: 'backlog-icon-style7' : 'backlog-icon-style7'
} }
style={{ display: item.iconDisplay }} style={{ display: item.iconDisplay }}
></div> ></div>