|
@@ -526,6 +526,7 @@ export default class raiseMoney extends Component {
|
526
|
526
|
userId: consultant.userId,
|
527
|
527
|
userName: consultant.name,
|
528
|
528
|
}, raiseProfile).then((res) => {
|
|
529
|
+ this.setState({ record: res })
|
529
|
530
|
resolve(res)
|
530
|
531
|
})
|
531
|
532
|
})
|
|
@@ -580,11 +581,11 @@ export default class raiseMoney extends Component {
|
580
|
581
|
toRaiseProfile(id) {
|
581
|
582
|
|
582
|
583
|
Taro.navigateTo({
|
583
|
|
- url: `/onlineSelling/pages/raiseProfile/index?raiseRecordId=${id}`
|
|
584
|
+ url: `/onlineSelling/pages/raiseProfile/index?id=${id}`
|
584
|
585
|
})
|
585
|
586
|
}
|
586
|
587
|
renderResult() {
|
587
|
|
- const { raiseProfile = {}, failInfo } = this.state
|
|
588
|
+ const { raiseProfile = {}, record = {}, failInfo } = this.state
|
588
|
589
|
const isOk = !failInfo
|
589
|
590
|
const showIcon = isOk ? require('../../assets/success2.png') : require('../../assets/fail2.png')
|
590
|
591
|
const showTitle = isOk ? '提交成功' : failInfo.title
|
|
@@ -611,7 +612,7 @@ export default class raiseMoney extends Component {
|
611
|
612
|
|
612
|
613
|
<ContactConsultant buildingId={raiseProfile.buildingId} style=" position: absolute;bottom: 11vh;" />
|
613
|
614
|
|
614
|
|
- <View className="look-btn" onClick={() => this.toRaiseProfile(raiseProfile.raiseId)}>查看认筹单</View>
|
|
615
|
+ <View className="look-btn" onClick={() => this.toRaiseProfile(record.raiseRecordId)}>查看认筹单</View>
|
615
|
616
|
</View>
|
616
|
617
|
|
617
|
618
|
);
|