|
@@ -21,7 +21,7 @@ export default class Records extends Component {
|
21
|
21
|
}
|
22
|
22
|
componentWillMount() {
|
23
|
23
|
ready.queue(() => {
|
24
|
|
-
|
|
24
|
+
|
25
|
25
|
const { userInfo: { person: { personId } } } = this.props
|
26
|
26
|
const params = {
|
27
|
27
|
personId,
|
|
@@ -29,12 +29,12 @@ export default class Records extends Component {
|
29
|
29
|
pageSize: 999,
|
30
|
30
|
}
|
31
|
31
|
queryPreselectionRecord(params).then(res => {
|
|
32
|
+ const list = res.records
|
32
|
33
|
this.setState({
|
33
|
|
- recordList: res.records || []
|
|
34
|
+ recordList: list.filter(item => item.status == '1') || []
|
34
|
35
|
})
|
35
|
36
|
})
|
36
|
37
|
})
|
37
|
|
-
|
38
|
38
|
}
|
39
|
39
|
toHouseDetail(item) {
|
40
|
40
|
if (item.housingStatus == '0' || item.saleBatchStatus == '0') {
|
|
@@ -44,7 +44,6 @@ export default class Records extends Component {
|
44
|
44
|
url: `/onlineSelling/pages/detail/index?id=${item.houseId}`
|
45
|
45
|
})
|
46
|
46
|
}
|
47
|
|
-
|
48
|
47
|
}
|
49
|
48
|
|
50
|
49
|
render() {
|