|
@@ -9,8 +9,15 @@ |
|
|
<view class="search-text">输入客户姓名/手机号</view> |
|
|
<view class="search-text">输入客户姓名/手机号</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<image class="filter-icon" @click="screenShow = true" |
|
|
|
|
|
src="https://static.quhouse.com/f4feade4a19d413085b591612179457f.png" mode="" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<template v-if="showFilterOption"> |
|
|
|
|
|
<image @click="screenShow = true" class="filter-icon" src="@/static/images/iconFilter.png" mode=""> |
|
|
|
|
|
</image> |
|
|
|
|
|
</template> |
|
|
|
|
|
<template v-else> |
|
|
|
|
|
<image class="filter-icon" @click="screenShow = true" |
|
|
|
|
|
src="https://static.quhouse.com/f4feade4a19d413085b591612179457f.png" mode="" /> |
|
|
|
|
|
</template> |
|
|
</view> |
|
|
</view> |
|
|
<!-- 选择器 --> |
|
|
<!-- 选择器 --> |
|
|
<view class="boxtittab"> |
|
|
<view class="boxtittab"> |
|
@@ -71,10 +78,10 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="content-sec-lab"> |
|
|
<view class="content-sec-lab"> |
|
|
<view class="u-flex" style="flex:1"> |
|
|
<view class="u-flex" style="flex:1"> |
|
|
挖掘执行:<view class="content-sec-lab1">{{item.wordFraction||0}}%</view> |
|
|
|
|
|
|
|
|
挖掘执行:<view class="content-sec-lab1">{{item.wordFraction||0}}%</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="u-flex" style="flex:1"> |
|
|
|
|
|
挖掘成功:<view class="content-sec-lab1">{{item.wordFinishFraction||0}}%</view> |
|
|
|
|
|
|
|
|
<view class="u-flex" style="flex:1"> |
|
|
|
|
|
挖掘成功:<view class="content-sec-lab1">{{item.wordFinishFraction||0}}%</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="content-sec-lab"> |
|
|
<view class="content-sec-lab"> |
|
@@ -270,7 +277,7 @@ |
|
|
<u-select v-model="selectshow" :list="freeList" @confirm="actionSelectCallback"></u-select> |
|
|
<u-select v-model="selectshow" :list="freeList" @confirm="actionSelectCallback"></u-select> |
|
|
<!-- 自定义时间 --> |
|
|
<!-- 自定义时间 --> |
|
|
<u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar> |
|
|
<u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar> |
|
|
<!-- 选择接待时间 --> |
|
|
|
|
|
|
|
|
<!-- 选择接待时间 --> |
|
|
<u-popup v-model="timeshow" mode="bottom"> |
|
|
<u-popup v-model="timeshow" mode="bottom"> |
|
|
<view class="timeview" :style="{ color: activeTotal == 5 ? '#2B6EFF' : '#333333' }" |
|
|
<view class="timeview" :style="{ color: activeTotal == 5 ? '#2B6EFF' : '#333333' }" |
|
|
@click="tabtimetap(5, '接待时间')"> |
|
|
@click="tabtimetap(5, '接待时间')"> |
|
@@ -290,7 +297,7 @@ |
|
|
<view class="timeview" :style="{ color: activeTotal == 4 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(4)"> |
|
|
<view class="timeview" :style="{ color: activeTotal == 4 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(4)"> |
|
|
自定义</view> |
|
|
自定义</view> |
|
|
</u-popup> |
|
|
</u-popup> |
|
|
<!-- 排序 --> |
|
|
|
|
|
|
|
|
<!-- 排序 --> |
|
|
<u-popup v-model="soltishow" mode="bottom"> |
|
|
<u-popup v-model="soltishow" mode="bottom"> |
|
|
<view class="soltishow" @tap.stop @touchmove.stop> |
|
|
<view class="soltishow" @tap.stop @touchmove.stop> |
|
|
<block v-for="(item, index) in orderBylist" :key="index"> |
|
|
<block v-for="(item, index) in orderBylist" :key="index"> |
|
@@ -344,11 +351,11 @@ |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
keywordsIds: [], // 画像标签 |
|
|
keywordsIds: [], // 画像标签 |
|
|
sourceList: [],//客户来源 |
|
|
|
|
|
|
|
|
sourceList: [], //客户来源 |
|
|
templateList: [], // 销讲业务 |
|
|
templateList: [], // 销讲业务 |
|
|
showTemplate: true, // 展示销讲业务 |
|
|
showTemplate: true, // 展示销讲业务 |
|
|
agentIdtext: '接待顾问', |
|
|
agentIdtext: '接待顾问', |
|
|
phaseList: [],// 客户阶段 |
|
|
|
|
|
|
|
|
phaseList: [], // 客户阶段 |
|
|
huaxiangShow: false, |
|
|
huaxiangShow: false, |
|
|
wajueArrow: true, |
|
|
wajueArrow: true, |
|
|
jieduanArrow: true, |
|
|
jieduanArrow: true, |
|
@@ -544,6 +551,11 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
computed: { |
|
|
|
|
|
showFilterOption() { |
|
|
|
|
|
return this.sortFilter !== '排序' || this.arriveFilter !== '接待时间' || this.agentIdtext !== '接待顾问' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
onLoad(options) { |
|
|
onLoad(options) { |
|
|
this.LOADING = true |
|
|
this.LOADING = true |
|
@@ -573,7 +585,7 @@ |
|
|
onShow() { |
|
|
onShow() { |
|
|
this.buildingID = uni.getStorageSync('buildingID').id; |
|
|
this.buildingID = uni.getStorageSync('buildingID').id; |
|
|
this.updatebuildingID = uni.getStorageSync('updatebuildingID') |
|
|
this.updatebuildingID = uni.getStorageSync('updatebuildingID') |
|
|
if (this.isnorefresh != 'refresh'||this.updatebuildingID=='updatebuildingID') { |
|
|
|
|
|
|
|
|
if (this.isnorefresh != 'refresh' || this.updatebuildingID == 'updatebuildingID') { |
|
|
this.nextPage = 1; |
|
|
this.nextPage = 1; |
|
|
this.recordList = [] |
|
|
this.recordList = [] |
|
|
this.getMyCustom() |
|
|
this.getMyCustom() |
|
@@ -665,7 +677,7 @@ |
|
|
if (res > 0) { |
|
|
if (res > 0) { |
|
|
uni.setTabBarBadge({ //显示数字 |
|
|
uni.setTabBarBadge({ //显示数字 |
|
|
index: 4, //tabbar下标 |
|
|
index: 4, //tabbar下标 |
|
|
text: `${res}`//数字 |
|
|
|
|
|
|
|
|
text: `${res}` //数字 |
|
|
}) |
|
|
}) |
|
|
} else { |
|
|
} else { |
|
|
uni.removeTabBarBadge({ |
|
|
uni.removeTabBarBadge({ |
|
@@ -732,7 +744,7 @@ |
|
|
this.arriveFilter = this.screen.staTime + '-' + this.screen.endTime |
|
|
this.arriveFilter = this.screen.staTime + '-' + this.screen.endTime |
|
|
this.getMyCustom(); |
|
|
this.getMyCustom(); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
choice(item) { |
|
|
choice(item) { |
|
|
item.isShow = !item.isShow; |
|
|
item.isShow = !item.isShow; |
|
|
}, |
|
|
}, |
|
@@ -813,7 +825,7 @@ |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
parames.query.marketingBusiness = ars.join(',') |
|
|
parames.query.marketingBusiness = ars.join(',') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.$u.post("/customer/customerManagement", parames) |
|
|
this.$u.post("/customer/customerManagement", parames) |
|
|
.then((data) => { |
|
|
.then((data) => { |
|
|
this.LOADING = false; |
|
|
this.LOADING = false; |
|
@@ -945,20 +957,20 @@ |
|
|
this.huaxiangList = res; |
|
|
this.huaxiangList = res; |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//选择顾问 |
|
|
//选择顾问 |
|
|
actionSelectCallback(e) { |
|
|
actionSelectCallback(e) { |
|
|
console.log(e) |
|
|
console.log(e) |
|
|
if(e[0].label=='全部'){ |
|
|
|
|
|
|
|
|
if (e[0].label == '全部') { |
|
|
this.agentIdtext = '接待顾问' |
|
|
this.agentIdtext = '接待顾问' |
|
|
this.screen.agentId= '' |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.screen.agentId = e[0].value; |
|
|
|
|
|
|
|
|
this.screen.agentId = '' |
|
|
|
|
|
} else { |
|
|
|
|
|
this.screen.agentId = e[0].value; |
|
|
this.agentIdtext = e[0].label; |
|
|
this.agentIdtext = e[0].label; |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//重置 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//重置 |
|
|
reset() { |
|
|
reset() { |
|
|
this.screen = { |
|
|
this.screen = { |
|
|
agentId: "", |
|
|
agentId: "", |
|
@@ -1083,67 +1095,68 @@ |
|
|
background: #F8F8F8; |
|
|
background: #F8F8F8; |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
.top-search { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
justify-content: space-between; |
|
|
|
|
|
background: #fff; |
|
|
|
|
|
padding-right: 30rpx; |
|
|
|
|
|
|
|
|
|
|
|
.filter-icon { |
|
|
|
|
|
width: 40rpx; |
|
|
|
|
|
height: 40rpx; |
|
|
|
|
|
padding: 15rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.search-box { |
|
|
|
|
|
width: 670rpx; |
|
|
|
|
|
height: 102rpx; |
|
|
|
|
|
background: #ffffff; |
|
|
|
|
|
|
|
|
.top-search { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
|
|
|
|
|
|
justify-content: space-between; |
|
|
|
|
|
background: #fff; |
|
|
|
|
|
padding-right: 30rpx; |
|
|
|
|
|
|
|
|
|
|
|
.filter-icon { |
|
|
|
|
|
width: 40rpx; |
|
|
|
|
|
height: 40rpx; |
|
|
|
|
|
padding: 15rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.search { |
|
|
|
|
|
width: 94%; |
|
|
|
|
|
height: 70rpx; |
|
|
|
|
|
|
|
|
.search-box { |
|
|
|
|
|
width: 670rpx; |
|
|
|
|
|
height: 102rpx; |
|
|
|
|
|
background: #ffffff; |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
background: #f8f8f8; |
|
|
|
|
|
border-radius: 33rpx; |
|
|
|
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
|
|
|
.search-img { |
|
|
|
|
|
width: 26rpx; |
|
|
|
|
|
height: 30rpx; |
|
|
|
|
|
margin-left: 20rpx; |
|
|
|
|
|
|
|
|
.search { |
|
|
|
|
|
width: 94%; |
|
|
|
|
|
height: 70rpx; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
background: #f8f8f8; |
|
|
|
|
|
border-radius: 33rpx; |
|
|
|
|
|
|
|
|
.search-img1 { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
margin-top: 2rpx; |
|
|
|
|
|
|
|
|
.search-img { |
|
|
|
|
|
width: 26rpx; |
|
|
|
|
|
height: 30rpx; |
|
|
|
|
|
margin-left: 20rpx; |
|
|
|
|
|
|
|
|
|
|
|
.search-img1 { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
margin-top: 2rpx; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.search-text { |
|
|
|
|
|
font-size: 28rpx; |
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
color: #999999; |
|
|
|
|
|
margin-left: 10rpx; |
|
|
|
|
|
|
|
|
.search-text { |
|
|
|
|
|
font-size: 28rpx; |
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
color: #999999; |
|
|
|
|
|
margin-left: 10rpx; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.search-screen { |
|
|
|
|
|
width: 40rpx; |
|
|
|
|
|
height: 40rpx; |
|
|
|
|
|
margin-left: 30rpx; |
|
|
|
|
|
|
|
|
.search-screen { |
|
|
|
|
|
width: 40rpx; |
|
|
|
|
|
height: 40rpx; |
|
|
|
|
|
margin-left: 30rpx; |
|
|
|
|
|
|
|
|
.search-screen1 { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
|
.search-screen1 { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.content { |
|
|
.content { |
|
|
flex-grow: 1; |
|
|
flex-grow: 1; |
|
@@ -1205,6 +1218,7 @@ |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.count { |
|
|
.count { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
height: 82rpx; |
|
|
height: 82rpx; |
|
|