|
@ -56,7 +56,7 @@ const PlanModal = ({ visible, onCreate, onCancel, dispatch, userLoading, userLis |
|
|
<Select |
|
|
<Select |
|
|
defaultValue={curRecord?.frequency ? curRecord.frequency.substring(curRecord.frequency.length - 3, curRecord.frequency.length) : "次/天"} |
|
|
defaultValue={curRecord?.frequency ? curRecord.frequency.substring(curRecord.frequency.length - 3, curRecord.frequency.length) : "次/天"} |
|
|
onChange={value => setUnit(value)} |
|
|
onChange={value => setUnit(value)} |
|
|
suffixIcon={<DownOutlined style={{color: '#fff'}} />} |
|
|
suffixIcon={<DownOutlined style={{ color: '#fff' }} />} |
|
|
> |
|
|
> |
|
|
<Option value="次/天">次/天</Option> |
|
|
<Option value="次/天">次/天</Option> |
|
|
<Option value="次/周">次/周</Option> |
|
|
<Option value="次/周">次/周</Option> |
|
@ -216,7 +216,9 @@ const PlanModal = ({ visible, onCreate, onCancel, dispatch, userLoading, userLis |
|
|
{ required: true, message: '请选择巡检点' }, |
|
|
{ required: true, message: '请选择巡检点' }, |
|
|
]} |
|
|
]} |
|
|
> |
|
|
> |
|
|
<Select mode="multiple" options={pointOpt} disabled={!pointOpt || type === 'view'} bordered={false} /> |
|
|
<Select mode="multiple" options={pointOpt} disabled={!pointOpt || type === 'view'} bordered={false} showSearch |
|
|
|
|
|
filterOption={(input, option) => (option?.label ?? '').toLowerCase().includes(input.toLowerCase())} |
|
|
|
|
|
/> |
|
|
</Form.Item> |
|
|
</Form.Item> |
|
|
<Form.Item |
|
|
<Form.Item |
|
|
name="userIds" |
|
|
name="userIds" |
|
|