瀏覽代碼

提交修改

newyun
douzhuo 1 年之前
父節點
當前提交
08426662af
共有 3 個文件被更改,包括 79 次插入66 次删除
  1. +0
    -1
      App.vue
  2. +79
    -65
      pages/index/consumer/index.vue
  3. 二進制
      static/images/iconFilter.png

+ 0
- 1
App.vue 查看文件

@@ -18,7 +18,6 @@
data() {
return {
StatusBar: Vue.prototype.StatusBar,
CustomBar: Vue.prototype.CustomBar,
windowHeight: Vue.prototype.windowHeight,
LOADING: false


+ 79
- 65
pages/index/consumer/index.vue 查看文件

@@ -9,8 +9,15 @@
<view class="search-text">输入客户姓名/手机号</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 class="boxtittab">
@@ -71,10 +78,10 @@
</view>
<view class="content-sec-lab">
<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 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 class="content-sec-lab">
@@ -270,7 +277,7 @@
<u-select v-model="selectshow" :list="freeList" @confirm="actionSelectCallback"></u-select>
<!-- 自定义时间 -->
<u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar>
<!-- 选择接待时间 -->
<!-- 选择接待时间 -->
<u-popup v-model="timeshow" mode="bottom">
<view class="timeview" :style="{ color: activeTotal == 5 ? '#2B6EFF' : '#333333' }"
@click="tabtimetap(5, '接待时间')">
@@ -290,7 +297,7 @@
<view class="timeview" :style="{ color: activeTotal == 4 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(4)">
自定义</view>
</u-popup>
<!-- 排序 -->
<!-- 排序 -->
<u-popup v-model="soltishow" mode="bottom">
<view class="soltishow" @tap.stop @touchmove.stop>
<block v-for="(item, index) in orderBylist" :key="index">
@@ -344,11 +351,11 @@
data() {
return {
keywordsIds: [], // 画像标签
sourceList: [],//客户来源
sourceList: [], //客户来源
templateList: [], // 销讲业务
showTemplate: true, // 展示销讲业务
agentIdtext: '接待顾问',
phaseList: [],// 客户阶段
phaseList: [], // 客户阶段
huaxiangShow: false,
wajueArrow: true,
jieduanArrow: true,
@@ -544,6 +551,11 @@
}
},

computed: {
showFilterOption() {
return this.sortFilter !== '排序' || this.arriveFilter !== '接待时间' || this.agentIdtext !== '接待顾问'
}
},

onLoad(options) {
this.LOADING = true
@@ -573,7 +585,7 @@
onShow() {
this.buildingID = uni.getStorageSync('buildingID').id;
this.updatebuildingID = uni.getStorageSync('updatebuildingID')
if (this.isnorefresh != 'refresh'||this.updatebuildingID=='updatebuildingID') {
if (this.isnorefresh != 'refresh' || this.updatebuildingID == 'updatebuildingID') {
this.nextPage = 1;
this.recordList = []
this.getMyCustom()
@@ -665,7 +677,7 @@
if (res > 0) {
uni.setTabBarBadge({ //显示数字
index: 4, //tabbar下标
text: `${res}`//数字
text: `${res}` //数字
})
} else {
uni.removeTabBarBadge({
@@ -732,7 +744,7 @@
this.arriveFilter = this.screen.staTime + '-' + this.screen.endTime
this.getMyCustom();
},
choice(item) {
item.isShow = !item.isShow;
},
@@ -813,7 +825,7 @@
}
})
parames.query.marketingBusiness = ars.join(',')
this.$u.post("/customer/customerManagement", parames)
.then((data) => {
this.LOADING = false;
@@ -945,20 +957,20 @@
this.huaxiangList = res;
});
},
//选择顾问
actionSelectCallback(e) {
console.log(e)
if(e[0].label=='全部'){
if (e[0].label == '全部') {
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;
}
},
//重置
//重置
reset() {
this.screen = {
agentId: "",
@@ -1083,67 +1095,68 @@
background: #F8F8F8;
display: flex;
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;
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;
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 {
flex-grow: 1;
@@ -1205,6 +1218,7 @@
justify-content: center;
}
}

.count {
width: 100%;
height: 82rpx;


二進制
static/images/iconFilter.png 查看文件

Before After
Width: 80  |  Height: 80  |  Size: 2.9 KiB

Loading…
取消
儲存