|
|
@ -11,15 +11,15 @@ const Server = (props) => { |
|
|
|
//console.log('actions',actions) |
|
|
|
const {install,service}=actions |
|
|
|
const [dateValue,setDateValue]=useState([]) |
|
|
|
const [mode,setMode]=useState('') |
|
|
|
const [mode,setMode]=useState('month') |
|
|
|
const [modalVis,setModalVis]=useState(false) |
|
|
|
const [recordRow,setRecordRow]=useState(null) |
|
|
|
const [recordList,setRecordList]=useState([]) |
|
|
|
const [pepList, setPepList] = useState([])//角色分配 |
|
|
|
const [startTime,setStartTime]=useState('1970-1-1') |
|
|
|
const [endTime,setEndTime]=useState('2099-1-1') |
|
|
|
const [sTime,setStime]=useState('1970-1-1') |
|
|
|
const [eTime,setEtime]=useState('2099-1-1') |
|
|
|
const [startTime,setStartTime]=useState('1970-1-1' ) |
|
|
|
const [endTime,setEndTime]=useState('2099-1-1') |
|
|
|
const [sTime,setStime]=useState(moment().startOf('month').format('YYYY-MM-DD HH:mm:ss')) |
|
|
|
const [eTime,setEtime]=useState(moment().endOf('month').format('YYYY-MM-DD HH:mm:ss')) |
|
|
|
const [calculability,setCalculability]=useState('') |
|
|
|
const [pageSize,setPageSize]=useState(10) |
|
|
|
const [pageIndex,setPageIndex]=useState(1) |
|
|
@ -184,7 +184,7 @@ const addHandler=()=>{ |
|
|
|
<div style={{ fontFamily: "YouSheBiaoTiHei", fontSize: 24, color: '#101531', marginLeft: 8 }}>系统可用性</div> |
|
|
|
<div style={{marginLeft:350}}> |
|
|
|
<RadioGroup onChange={e => onSelect(e)} value={mode} type="button"> |
|
|
|
<Radio value={'month'}>本月</Radio> |
|
|
|
<Radio value={'month'} checked>本月</Radio> |
|
|
|
<Radio value={'year'}>全年</Radio> |
|
|
|
</RadioGroup> |
|
|
|
<DatePicker type="dateTimeRange" |
|
|
|