68 lines
1.7 KiB
JavaScript
68 lines
1.7 KiB
JavaScript
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',
|
|
height: '100%',
|
|
}}
|
|
>
|
|
<h1 style={{ textAlign: 'center', marginTop: '30px' }}>金源公司生产安全管控平台</h1>
|
|
<Button
|
|
type={this.state.filterType == 1 ? 'primary' : 'default'}
|
|
onClick={() => window.open('#/popup', '_blank', 'noreferrer')}
|
|
style={{ marginRight: '5px', alignItems: 'center', margin: 'auto' }}
|
|
>
|
|
管控平台入口
|
|
</Button>
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
export default connect(({ login, app }) => ({ login, app }))(BI00FullScreen);
|