|
|
@ -61,13 +61,13 @@ const okHandler=()=>{ |
|
|
|
> |
|
|
|
<Form wrapperCol={{ span: 20 }} |
|
|
|
initValues={{'name':recordRow?.sketch,'startTime':recordRow?.occurrenceTime, |
|
|
|
'endTime':recordRow?.solvingTime,'settler':recordRow?.maintenanceRecordExecuteUsers.map((item)=>{return item.id}),'type':recordRow?.type,'record':recordRow?.record}} |
|
|
|
'endTime':recordRow?.solvingTime,'settler':recordRow?.maintenanceRecordExecuteUsers.map((item)=>{return item.pepUserId}),'type':recordRow?.type,'record':recordRow?.record}} |
|
|
|
getFormApi={formApi => FormApi.current = formApi} |
|
|
|
labelPosition='left' |
|
|
|
labelAlign='right'> |
|
|
|
<Form.Input field='name' label='故障简述:' trigger='blur' |
|
|
|
|
|
|
|
placeholder='选择或搜索项目' rules={[{ required: true, message:'请输入故障简述' }]} maxLength={30}/> |
|
|
|
placeholder='请输入故障简述' rules={[{ required: true, message:'请输入故障简述' }]} maxLength={30}/> |
|
|
|
<Form.DatePicker field='startTime' label='发生时间:' rules={[{ required: true, message:'请输入发生时间' }]} |
|
|
|
type="dateTime" onChange={(e)=>{ |
|
|
|
setStartTime(e) |
|
|
|