瀏覽代碼

修复查询

魏熙美 5 年之前
父節點
當前提交
1b0ad0d253

+ 1
- 1
config/config.js 查看文件

479
 
479
 
480
   proxy: {
480
   proxy: {
481
     '/api/': {
481
     '/api/': {
482
-      target: 'http://192.168.0.172:8080/',
482
+      target: 'http://localhost:8080/',
483
       changeOrigin: true,
483
       changeOrigin: true,
484
       // pathRewrite: { '^/server': '' },
484
       // pathRewrite: { '^/server': '' },
485
     },
485
     },

+ 7
- 7
src/pages/building/list/add/components/base.jsx 查看文件

11
 import TagGroup from './tags'
11
 import TagGroup from './tags'
12
 import Amap from './amap'
12
 import Amap from './amap'
13
 import BudildingProjectType from './buildingProjectType'
13
 import BudildingProjectType from './buildingProjectType'
14
+import SelectCity from '../../../../../components/SelectButton/CitySelect'
14
 
15
 
15
 const { Option } = Select
16
 const { Option } = Select
16
 const { TabPane } = Tabs;
17
 const { TabPane } = Tabs;
116
             {getFieldDecorator('dynamic')(<Input />)}
117
             {getFieldDecorator('dynamic')(<Input />)}
117
           </Form.Item>
118
           </Form.Item>
118
           <Form.Item label="物业类型" hasFeedback>
119
           <Form.Item label="物业类型" hasFeedback>
119
-            {getFieldDecorator('buildingProperty')(
120
-              <Select mode="multiple" placeholder="物业类型" style={{ width: '1016px' }}>
121
-                <Option value="未知">未知</Option>
122
-              </Select>,
120
+            {getFieldDecorator('propertyType')(
121
+              // <Select mode="multiple" placeholder="物业类型" style={{ width: '1016px' }}>
122
+              //   <Option value="未知">未知</Option>
123
+              // </Select>,
124
+              <Input />,
123
             )}
125
             )}
124
           </Form.Item>
126
           </Form.Item>
125
           <Form.Item label="销售状态" hasFeedback>
127
           <Form.Item label="销售状态" hasFeedback>
163
           </Form.Item>
165
           </Form.Item>
164
           <Form.Item label="所在城市" hasFeedback>
166
           <Form.Item label="所在城市" hasFeedback>
165
             {getFieldDecorator('cityId')(
167
             {getFieldDecorator('cityId')(
166
-              <Select placeholder="选择城市" style={{ width: '200px' }}>
167
-                <Option value="red">Red</Option>
168
-              </Select>,
168
+              <SelectCity />,
169
             )}
169
             )}
170
           </Form.Item>
170
           </Form.Item>
171
           <Form.Item label="楼盘区域" hasFeedback>
171
           <Form.Item label="楼盘区域" hasFeedback>

+ 2
- 4
src/pages/building/list/index.jsx 查看文件

6
 import Styles from './style.less';
6
 import Styles from './style.less';
7
 import { router } from 'umi';
7
 import { router } from 'umi';
8
 import AuthButton from '@/components/AuthButton';
8
 import AuthButton from '@/components/AuthButton';
9
+import SelectCity from '../../../components/SelectButton/CitySelect'
9
 
10
 
10
 
11
 
11
 const { Option } = Select;
12
 const { Option } = Select;
266
         </Form.Item>
267
         </Form.Item>
267
         <Form.Item>
268
         <Form.Item>
268
           {getFieldDecorator('cityId')(
269
           {getFieldDecorator('cityId')(
269
-            <Select style={{ width: '180px' }} placeholder="城市" onChange={handleSelectChange}>
270
-              <Option value="male">male</Option>
271
-              <Option value="female">female</Option>
272
-            </Select>,
270
+             <SelectCity />,
273
           )}
271
           )}
274
         </Form.Item>
272
         </Form.Item>
275
         <Form.Item>
273
         <Form.Item>

+ 2
- 3
src/pages/customer/customerlist/index.jsx 查看文件

9
 import Attribution from './components/attribution'
9
 import Attribution from './components/attribution'
10
 import IntegralRecord from './components/integralRecord'
10
 import IntegralRecord from './components/integralRecord'
11
 import ChangeStatus from './components/changeStatus'
11
 import ChangeStatus from './components/changeStatus'
12
+import BuildSelect from '../../../components/SelectButton/BuildSelect'
12
 
13
 
13
 
14
 
14
 const { Option } = Select;
15
 const { Option } = Select;
207
       <Form layout="inline" onSubmit={e => handleSubmit(e, props)}>
208
       <Form layout="inline" onSubmit={e => handleSubmit(e, props)}>
208
         <Form.Item>
209
         <Form.Item>
209
           {getFieldDecorator('buildingId')(
210
           {getFieldDecorator('buildingId')(
210
-            <Select style={{ width: '180px' }} placeholder="意向项目" onChange={handleSelectChange}>
211
-              <Option value="male">male</Option>
212
-            </Select>,
211
+            <BuildSelect />,
213
           )}
212
           )}
214
         </Form.Item>
213
         </Form.Item>
215
         <Form.Item>
214
         <Form.Item>

+ 2
- 3
src/pages/customer/report/index.jsx 查看文件

4
 import request from '../../../utils/request';
4
 import request from '../../../utils/request';
5
 import apis from '../../../services/apis';
5
 import apis from '../../../services/apis';
6
 import Styles from './style.less';
6
 import Styles from './style.less';
7
+import BuildSelect from '../../../components/SelectButton/BuildSelect'
7
 
8
 
8
 
9
 
9
 const { Option } = Select;
10
 const { Option } = Select;
148
         </Form.Item>
149
         </Form.Item>
149
         <Form.Item>
150
         <Form.Item>
150
           {getFieldDecorator('buildingId')(
151
           {getFieldDecorator('buildingId')(
151
-            <Select style={{ width: '180px' }} placeholder="意向项目" onChange={handleSelectChange}>
152
-              <Option value="male">male</Option>
153
-            </Select>,
152
+            <BuildSelect />,
154
           )}
153
           )}
155
         </Form.Item>
154
         </Form.Item>
156
         <Form.Item>
155
         <Form.Item>