|
@@ -143,7 +143,9 @@ class SharePersonNum extends React.Component {
|
143
|
143
|
personFrom: personFrom,
|
144
|
144
|
province: province,
|
145
|
145
|
realtyConsultant: realtyConsultant,
|
146
|
|
- realtyConsultantPhone: realtyConsultantPhone
|
|
146
|
+ realtyConsultantPhone: realtyConsultantPhone,
|
|
147
|
+ pageNum: 1,
|
|
148
|
+ pageSize: 999
|
147
|
149
|
}
|
148
|
150
|
}, this.getTableList)
|
149
|
151
|
}
|
|
@@ -151,37 +153,6 @@ class SharePersonNum extends React.Component {
|
151
|
153
|
//重置搜索
|
152
|
154
|
handleReset = e => {
|
153
|
155
|
this.props.form.resetFields()
|
154
|
|
- let startDate;
|
155
|
|
- let endDate;
|
156
|
|
- if (this.props.location.query.queryDate){
|
157
|
|
- startDate = moment(this.props.location.query.queryDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
|
158
|
|
- endDate = moment(this.props.location.query.queryDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
|
159
|
|
- }else{
|
160
|
|
- startDate = moment(this.props.location.query.startDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
|
161
|
|
- endDate = moment(this.props.location.query.endDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
|
162
|
|
- }
|
163
|
|
- this.setState({
|
164
|
|
- formData: {
|
165
|
|
- personFrom: '',
|
166
|
|
- pageNum:'',
|
167
|
|
- pageSize:'',
|
168
|
|
- startDate: startDate,
|
169
|
|
- endDate: endDate,
|
170
|
|
- province:'',
|
171
|
|
- realtyConsultant:'',
|
172
|
|
- realtyConsultantPhone:'',
|
173
|
|
- activityId: this.props.location.query.activityId,
|
174
|
|
- activityType:this.props.location.query.activityType,
|
175
|
|
- personId: this.props.location.query.personId,
|
176
|
|
- buildingId: this.props.location.query.buildingId
|
177
|
|
- },
|
178
|
|
- personData: [],
|
179
|
|
- dataSoures: [],
|
180
|
|
- tableData: [],
|
181
|
|
- userType: 'all',
|
182
|
|
- activityName: this.props.location.query.activityName
|
183
|
|
- })
|
184
|
|
- this.getTableList()
|
185
|
156
|
}
|
186
|
157
|
|
187
|
158
|
goback = () => {
|