|
@@ -41,19 +41,18 @@ class InviteTable extends React.Component {
|
41
|
41
|
// 弹框确定按钮
|
42
|
42
|
// eslint-disable-next-line react/sort-comp
|
43
|
43
|
handleOk () {
|
|
44
|
+ this.setState({ visibleData: { visible: false, helpId: '', realtyConsultant: '' } })
|
44
|
45
|
this.props.onCancel()
|
45
|
|
- this.setState({ dataSource: { records: [] } })
|
46
|
46
|
}
|
47
|
47
|
|
48
|
48
|
// 弹框取消按钮
|
49
|
49
|
handleCancel () {
|
|
50
|
+ this.setState({ visibleData: { visible: false, helpId: '', realtyConsultant: '' } })
|
50
|
51
|
this.props.onCancel()
|
51
|
|
- this.setState({ dataSource: { records: [] } })
|
52
|
52
|
}
|
53
|
53
|
|
54
|
54
|
getList (params) {
|
55
|
|
- console.log('paramsparamsparams', params)
|
56
|
|
- if (params.helpId === '') {
|
|
55
|
+ if (params.helpRecordInitiateId === '') {
|
57
|
56
|
return
|
58
|
57
|
}
|
59
|
58
|
request({ ...apis.helpActivity.helpPeopleDetails, params: { ...params } }).then(res => {
|