|
@@ -165,6 +165,15 @@ export default class myCustomer extends Taro.Component {
|
165
|
165
|
}
|
166
|
166
|
componentDidShow() {
|
167
|
167
|
this.loadList()
|
|
168
|
+ // Taro.getSystemInfo({
|
|
169
|
+ // success: function (res) {
|
|
170
|
+ // console.log(res, "9999999999999")
|
|
171
|
+ // this.setState({
|
|
172
|
+ // tabHeight: res.screenHeight - 380 + 'px'
|
|
173
|
+ // })
|
|
174
|
+ // },
|
|
175
|
+ // })
|
|
176
|
+
|
168
|
177
|
}
|
169
|
178
|
loadList() {
|
170
|
179
|
const { customerId } = this.$router.params
|
|
@@ -214,7 +223,7 @@ export default class myCustomer extends Taro.Component {
|
214
|
223
|
customerId,
|
215
|
224
|
}
|
216
|
225
|
addFollowRecord(params).then(res => {
|
217
|
|
- this.queryFollowRecord()
|
|
226
|
+ this.queryFollowRecord(1)
|
218
|
227
|
})
|
219
|
228
|
this.setState({
|
220
|
229
|
followVisible: false,
|
|
@@ -348,7 +357,7 @@ export default class myCustomer extends Taro.Component {
|
348
|
357
|
customerId: customer.customerId,
|
349
|
358
|
}
|
350
|
359
|
addFollowRecord(params).then(res => {
|
351
|
|
- this.queryFollowRecord()
|
|
360
|
+ this.queryFollowRecord(1)
|
352
|
361
|
})
|
353
|
362
|
this.setState({
|
354
|
363
|
followVisible: false,
|
|
@@ -455,7 +464,7 @@ export default class myCustomer extends Taro.Component {
|
455
|
464
|
</View>
|
456
|
465
|
<View onClick={this.handleTelClick.bind(this, customerDetail)} className='user__left__phone'>{customerDetail.phone}<View style={`background-image: url(${iconImg});background-size: 100%;background-position: 0rpx -88rpx;width: 44rpx;height: 44rpx;margin-left:10rpx`}></View></View>
|
457
|
466
|
</View>
|
458
|
|
- <AtTabs className="my-tab" current={this.state.current} tabList={tabList} onClick={this.handleClick.bind(this)}>
|
|
467
|
+ <AtTabs height="400px" className="my-tab" current={this.state.current} tabList={tabList} onClick={this.handleClick.bind(this)}>
|
459
|
468
|
<AtTabsPane current={this.state.current} index={0} >
|
460
|
469
|
<View className="tab-pane1 pane">
|
461
|
470
|
<View className="status">{customerDetail.status == 1 ? '报备' : customerDetail.status == 2 ? '到访' : customerDetail.status == 3 ? '认筹' : '签约'}</View>
|
|
@@ -532,7 +541,7 @@ export default class myCustomer extends Taro.Component {
|
532
|
541
|
<ListView
|
533
|
542
|
className="wrap"
|
534
|
543
|
needInit
|
535
|
|
- style="height:40vh"
|
|
544
|
+ style="height:300px"
|
536
|
545
|
isEmpty={isEmpty3}
|
537
|
546
|
emptyText="暂无跟进记录~"
|
538
|
547
|
hasMore={hasMore3}
|
|
@@ -563,7 +572,7 @@ export default class myCustomer extends Taro.Component {
|
563
|
572
|
}
|
564
|
573
|
</View>
|
565
|
574
|
</ListView>
|
566
|
|
- <View className="btn" onClick={this.addFollow}>添加跟进</View>
|
|
575
|
+ <View className="btn" style="margin:40rpx auto;" onClick={this.addFollow}>添加跟进</View>
|
567
|
576
|
</View>
|
568
|
577
|
</AtTabsPane>
|
569
|
578
|
</AtTabs>
|