傅行帆 5 лет назад
Родитель
Сommit
952d0dd32f

+ 1
- 1
src/components/SelectButton/WxDictSelect.jsx Просмотреть файл

@@ -30,7 +30,7 @@ const WxDictSelect = props => {
30 30
       <Select
31 31
       showSearch
32 32
       value={props.value}
33
-      style={{ width: '300px' }}
33
+      style={{ width: '150px' }}
34 34
       placeholder="请选择用户来源"
35 35
       onChange={props.onChange}
36 36
       filterOption={(input, option) =>

+ 6
- 0
src/pages/customer/customerlist/index.jsx Просмотреть файл

@@ -12,6 +12,7 @@ import ModalRecommendRecord from './components/recommend'
12 12
 import ChangeStatus from './components/changeStatus'
13 13
 import BuildSelect from '../../../components/SelectButton/BuildSelect'
14 14
 import AuthButton from '@/components/AuthButton';
15
+import WxDictSelect from '@/components/SelectButton/WxDictSelect';
15 16
 
16 17
 
17 18
 const { Option } = Select;
@@ -425,6 +426,11 @@ function body(props) {
425 426
             <Input placeholder="置业顾问电话" />,
426 427
           )}
427 428
         </Form.Item>}
429
+        <Form.Item>
430
+          {getFieldDecorator('sceneType')(
431
+            <WxDictSelect />,
432
+          )}
433
+        </Form.Item>
428 434
         <Form.Item>
429 435
             <AuthButton name="admin.customer.recommend.search" noRight={null}>
430 436
               <Button type="primary" htmlType="submit" >