Browse Source

feat: 巡检计划制订-巡检点搜索

master
liujiangyong 12 months ago
parent
commit
05b2a2b87b
  1. 4
      web/client/src/sections/patrolManage/components/planModal.js

4
web/client/src/sections/patrolManage/components/planModal.js

@ -216,7 +216,9 @@ const PlanModal = ({ visible, onCreate, onCancel, dispatch, userLoading, userLis
{ 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
name="userIds"

Loading…
Cancel
Save