zhoulisen 5 years ago
parent
commit
9338a62fbb
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/pages/channel/independentList/index.jsx

+ 3
- 1
src/pages/channel/independentList/index.jsx View File

44
   // 弹框取消按钮
44
   // 弹框取消按钮
45
   handleCancel() {
45
   handleCancel() {
46
     this.setState({ visibleData: { visible: false, customerId: '', realtyConsultant: '' } })
46
     this.setState({ visibleData: { visible: false, customerId: '', realtyConsultant: '' } })
47
+    this.props.onCancel()
47
   }
48
   }
48
 
49
 
49
   getList(params) {
50
   getList(params) {
200
 
201
 
201
   // 弹框取消按钮
202
   // 弹框取消按钮
202
   handleCancel() {
203
   handleCancel() {
204
+    console.log('345')
203
     this.setState({ dataSource: { records: [] } })
205
     this.setState({ dataSource: { records: [] } })
204
     this.props.onCancel()
206
     this.props.onCancel()
205
   }
207
   }
504
       </AuthButton>
506
       </AuthButton>
505
       <Table rowKey="independentIndex" dataSource={dataSource.records} columns={columns} pagination={{ total: dataSource.total, onChange }} />
507
       <Table rowKey="independentIndex" dataSource={dataSource.records} columns={columns} pagination={{ total: dataSource.total, onChange }} />
506
       {/* 推荐客户 */}
508
       {/* 推荐客户 */}
507
-      <ModalTable visibleData={gVisibleData} />
509
+      <ModalTable visibleData={gVisibleData} onCancel={() => setGVisibleData({ visible: false, customerId: '', realtyConsultant: '' })}/>
508
 
510
 
509
       {/* 邀请经纪人 */}
511
       {/* 邀请经纪人 */}
510
       <InviteTable visibleData={gInviteData} onCancel={() => setGInviteData({ visible: false, customerId: '', realtyConsultant: '' })} />
512
       <InviteTable visibleData={gInviteData} onCancel={() => setGInviteData({ visible: false, customerId: '', realtyConsultant: '' })} />