Commit a42814d8 by 王志慧

commit

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