|
|
@ -93,13 +93,13 @@ const Server = (props) => { |
|
|
|
{ |
|
|
|
title: '计划完成时间', |
|
|
|
render:(record)=>{ |
|
|
|
return <span>{moment(record.planFinishTime).format('YYYY-MM-DD HH:mm:ss')}</span> |
|
|
|
return <span>{moment(record.planFinishTime).format('YYYY-MM-DD')}</span> |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '实际完成时间', |
|
|
|
render:(record)=>{ |
|
|
|
return <span>{moment(record.actualFinishTime).format('YYYY-MM-DD HH:mm:ss')}</span> |
|
|
|
return <span>{moment(record.actualFinishTime).format('YYYY-MM-DD')}</span> |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
@ -116,7 +116,7 @@ const Server = (props) => { |
|
|
|
<div style={{background: '#FFFFFF', margin: '8px 12px', padding: '20px 20px 0px 20px'}}> |
|
|
|
<div style={{marginBottom:20}}> |
|
|
|
<Button theme='solid' type='secondary' onClick={()=>{setAddVis(true)}}>新增</Button> |
|
|
|
<Button theme='solid' type='secondary' style={{marginLeft:50}}>导入</Button> |
|
|
|
{/* <Button theme='solid' type='secondary' style={{marginLeft:50}}>导入</Button> */} |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<Table columns={columns} dataSource={cycPlan} pagination={false}></Table> |
|
|
@ -135,7 +135,7 @@ const Server = (props) => { |
|
|
|
setPageIndex(pageIndex) |
|
|
|
setPageSize(pageSize) |
|
|
|
const query={ |
|
|
|
pageIndex,pageSize,type:'temp',msg:'获取周期性计划' |
|
|
|
pageIndex,pageSize,type:'period',msg:'获取周期性计划' |
|
|
|
} |
|
|
|
getCycPlan(query) |
|
|
|
}}></Pagination> |
|
|
|