Commit 12cd7f52 authored by 皮倩雯's avatar 皮倩雯

fix: '维保模板业务类型支持输入'

parent 6787e07b
Pipeline #77231 waiting for manual action with stages
...@@ -21,6 +21,7 @@ import { ...@@ -21,6 +21,7 @@ import {
Switch, Switch,
TreeSelect, TreeSelect,
message, message,
AutoComplete,
} from 'antd'; } from 'antd';
import { import {
PlusOutlined, PlusOutlined,
...@@ -724,6 +725,21 @@ const AddModal = props => { ...@@ -724,6 +725,21 @@ const AddModal = props => {
setShowRule(true); setShowRule(true);
}; };
const options = [
{
value: '巡检',
},
{
value: '保养',
},
{
value: '水箱清洗',
},
{
value: '扫码巡检',
},
];
return ( return (
<Drawer <Drawer
title="模板配置" title="模板配置"
...@@ -792,12 +808,7 @@ const AddModal = props => { ...@@ -792,12 +808,7 @@ const AddModal = props => {
}, },
]} ]}
> >
<Select placeholder="选择业务类型" onSearch={inputType} showSearch> <AutoComplete placeholder="选择业务类型" options={options} allowClear />
<Option value="巡检">巡检</Option>
<Option value="保养">保养</Option>
<Option value="水箱清洗">水箱清洗</Option>
<Option value="扫码巡检">扫码巡检</Option>
</Select>
</Item> </Item>
</Col> </Col>
<Col span={24}> <Col span={24}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment