mh_jy_safe_web/src/components/CustomPages/BI/BI00FullScreen.js

67 lines
1.6 KiB
JavaScript
Raw Normal View History

2026-01-19 08:56:29 +08:00
import React, { useState, useEffect, useRef, Component } from 'react';
import { withRouter } from 'dva/router';
import { connect } from 'dva';
import {
initFilter,
addRuleAndGroups,
guid,
extendInclude,
extendRule,
extendOrder,
extend,
} from '../../../utils/common';
import { Table, Row, Col, Button, Select, Divider } from 'antd';
import echarts from 'echarts';
import styles from '../HI/StepForm1.css';
import moment from 'moment';
const { Option } = Select;
class BI00FullScreen extends React.Component {
constructor(props) {
super(props);
this.state = {
pagination: {},
retData: [],
displayNum: 24,
totalCount: 0,
finishCount: 0,
overtimeCount: 0,
unfinishCount: 0,
filterType: 1,
timeRange: '',
departmentType: '',
};
}
componentDidMount() {}
render() {
return (
<div
style={{
backgroundColor: 'white',
width: '1200px',
top: '0',
bottom: '0',
left: '0',
right: '0',
margin: 'auto',
borderStyle: 'solid',
borderColor: '#ccc',
borderWidth: '1px',
}}
>
<h1 style={{ textAlign: 'center', marginTop: '30px' }}>金源公司生产安全管控平台</h1>
<Button
type={this.state.filterType == 1 ? 'primary' : 'default'}
onClick={() => window.open('#/popup', '_blank', 'noreferrer')}
style={{ marginRight: '5px' }}
>
最近1周
</Button>
</div>
);
}
}
export default connect(({ login, app }) => ({ login, app }))(BI00FullScreen);