Commit a42814d8 by 王志慧

commit

1 parent d8ced6ad
......@@ -75,7 +75,6 @@ export default {
watch: {
customerInfo(n) {
this.customerData = n
console.log(n,'===================')
}
},
data() {
......
......@@ -6,7 +6,7 @@ export default {
currentIndex: 0,
follewIndex: 0,
activityId: util.getLocalStorage('dj_scrm_activityId') ? util.getLocalStorage('dj_scrm_activityId') :3,
staffId: util.getLocalStorage('dj_STAFF_ID') ? util.getLocalStorage('dj_STAFF_ID') :1,
staffId: util.getLocalStorage('dj_STAFF_ID') ? util.getLocalStorage('dj_STAFF_ID') :363,
followResultList:[],
customerInfoList: [
{
......
<template>
<div class="customer-container">
<div class="customer-container" v-if="flag">
<div class="customer-container-head">
<div class="font-16 color54 line-24 title">{{ groupName }}</div>
<div class="search-head flex">
......@@ -11,8 +11,8 @@
<drop-down :selectOption1="statusList" :selectOption2="resultList" :currentValue1="status" :currentValue2="result" @changeFirst="changeFirst" @changeSecond="selectSecondChange"></drop-down>
</div>
<scroll-view class="content" @ReachBottom="onReachBottom" ref="scrollView">
<customer-card v-if="customerInfo.length > 0" :customerInfo="customerInfo"></customer-card>
<empty v-else></empty>
<!-- <customer-card :customerInfo="customerInfo"></customer-card> -->
<!-- <empty v-else></empty> -->
</scroll-view>
</div>
</template>
......@@ -22,6 +22,7 @@ import { solicitApi } from '@/api'
export default {
data() {
return {
flag: false,
keyWord: '',
status: 0,
result: 0,
......@@ -43,7 +44,9 @@ export default {
},
computed: {
...mapState({
followResultList: state => state.solicit.followResultList
followResultList: state => state.solicit.followResultList,
staffId: state => state.solicit.staffId,
activityId: state => state.solicit.activityId
})
},
created() {
......@@ -78,6 +81,7 @@ export default {
} else {
Notify(message)
}
this.flag = true
})
},
onReachBottom() {
......@@ -97,7 +101,6 @@ export default {
},
changeFirst(index) {
this.status = index
console.log(index)
this.result = 0
this.getSendCustomerList()
},
......@@ -158,8 +161,8 @@ export default {
}
.content {
height: calc(100vh - 154px);
/deep/ .van-list{
background: #F7F7F7;
/deep/ .van-list {
background: #f7f7f7;
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!