@@ -388,12 +388,14 @@ | |||
line-height: 92rpx; | |||
color: #666666; | |||
font-size: 28rpx; | |||
font-weight: 400; | |||
display: flex; | |||
justify-content: center; | |||
.activecllasscet { | |||
width: 96rpx; | |||
color: #2671E2; | |||
font-weight: 600; | |||
border-bottom: 4rpx solid #2671E2; | |||
} | |||
} | |||
@@ -574,8 +574,8 @@ | |||
}, | |||
"debug": false, | |||
"tabBar": { | |||
"color": "#8E8E8E", | |||
"selectedColor": "#1296db", | |||
"color": "#666", | |||
"selectedColor": "#2671E2", | |||
"borderStyle": "white", | |||
"list": [{ | |||
"pagePath": "pages/index/customer", | |||
@@ -34,8 +34,8 @@ | |||
</view> | |||
</view> | |||
<view class="jindu" style="margin-top: 20rpx;height: 360rpx;overflow: auto;"> | |||
<view v-if="newlisttabinfo1.result.length!=0" class="jindu-box" v-for="(item,index) in newlisttabinfo1.result" :key="index"> | |||
<view class="jindu" style="margin-top: 20rpx;min-height: 300rpx;"> | |||
<view v-if="newlisttabinfo1.result.length" class="jindu-box" v-for="(item,index) in newlisttabinfo1.result" :key="index"> | |||
<view class="jindu-boxche"> | |||
<view class="jindu-name u-flex" style='width: 170rpx' v-if="item.name"> | |||
<image v-if="index==0" class="sort-img" src="/static/images/top1.png" mode="" /> | |||
@@ -61,7 +61,7 @@ | |||
<view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view> | |||
<view class="single"> | |||
<view class="title"> | |||
<view class="title1" style="flex: 1;">销讲执行率排行(TOP10)</view> | |||
<view class="title1" style="flex: 1;">平均执行率排行(TOP10)</view> | |||
</view> | |||
<view class="hejisan"> | |||
<view class="sanbox1" style="width: 40%;"> | |||
@@ -73,12 +73,24 @@ | |||
<view class="text1-1">人均执行率</view> | |||
</view> | |||
</view> | |||
<view class="jindu" style="height: 360rpx;overflow: auto;"> | |||
<view v-if="newlisttabinfo3.result.length!=0" class="jindu-box" v-for="(item,index) in newlisttabinfo3.result" :key="index"> | |||
<view class="jindu" style="margin-top: 20rpx;min-height: 300rpx;"> | |||
<view v-if="newlisttabinfo3.result.length" class="jindu-box" v-for="(item,index) in newlisttabinfo3.result" :key="index"> | |||
<view class="jindu-boxche"> | |||
<view class="jindu-name" v-if="item.name">{{item.name.substring(0,4)}}</view> | |||
<view class="progress-cus"> | |||
<view class="jindu-name u-flex" style='width: 170rpx' v-if="item.name"> | |||
<image v-if="index==0" class="sort-img" src="/static/images/top1.png" mode="" /> | |||
<image v-if="index==1" class="sort-img" src="/static/images/top2.png" mode="" /> | |||
<image v-if="index==2" class="sort-img" src="/static/images/top3.png" mode="" /> | |||
<view class="sort-number" v-if="index>2">{{index+1}}</view> | |||
{{item.name.substring(0,4)}}</view> | |||
<!-- <view class="jindu-name" v-if="item.name">{{item.name.substring(0,4)}}</view> --> | |||
<!-- <view class="progress-cus"> | |||
<view class="color" :style="'width:'+ item.zxl||0 + '%'" ></view> | |||
</view> --> | |||
<view class="progress-cus"> | |||
<view class="color1" v-if="index==0" :style="'width:'+ item.zxl||0 + '%'" ></view> | |||
<view class="color2" v-if="index==1" :style="'width:'+ item.zxl||0 + '%'" ></view> | |||
<view class="color3" v-if="index==2" :style="'width:'+ item.zxl||0 + '%'" ></view> | |||
<view class="color4" v-if="index>2" :style="'width:'+ item.zxl||0 + '%'" ></view> | |||
</view> | |||
<view class="jindu-zxl">{{item.zxl==null?0:item.zxl}}%</view> | |||
</view> | |||
@@ -107,13 +119,25 @@ | |||
<view class="text1-1">人均录音时长/分钟</view> | |||
</view> | |||
</view> | |||
<view class="jindu" style="height: 360rpx;overflow: auto;"> | |||
<view v-if="newlisttabinfo2.result.length!=0" class="jindu-box" v-for="(item,index) in newlisttabinfo2.result" :key="index"> | |||
<view class="jindu" style="margin-top: 20rpx;min-height: 300rpx;"> | |||
<view v-if="newlisttabinfo2.result.length" class="jindu-box" v-for="(item,index) in newlisttabinfo2.result" :key="index"> | |||
<view class="jindu-boxche"> | |||
<view class="jindu-name" v-if="item.name">{{item.name.substring(0,4)}}</view> | |||
<view class="jindu-name u-flex" style='width: 170rpx' v-if="item.name"> | |||
<image v-if="index==0" class="sort-img" src="/static/images/top1.png" mode="" /> | |||
<image v-if="index==1" class="sort-img" src="/static/images/top2.png" mode="" /> | |||
<image v-if="index==2" class="sort-img" src="/static/images/top3.png" mode="" /> | |||
<view class="sort-number" v-if="index>2">{{index+1}}</view> | |||
{{item.name.substring(0,4)}}</view> | |||
<view class="progress-cus"> | |||
<view class="color" :style="'width:'+ item.zxl||0 + '%'" ></view> | |||
<view class="color1" v-if="index==0" :style="'width:'+ item.zxl||0 + '%'" ></view> | |||
<view class="color2" v-if="index==1" :style="'width:'+ item.zxl||0 + '%'" ></view> | |||
<view class="color3" v-if="index==2" :style="'width:'+ item.zxl||0 + '%'" ></view> | |||
<view class="color4" v-if="index>2" :style="'width:'+ item.zxl||0 + '%'" ></view> | |||
</view> | |||
<!-- <view class="jindu-name" v-if="item.name">{{item.name.substring(0,4)}}</view> | |||
<view class="progress-cus"> | |||
<view class="color" :style="'width:'+ item.zxl||0 + '%'" ></view> | |||
</view> --> | |||
<view class="jindu-zxl u-line-1">{{item.zxl==null?0:item.zxl}}分钟</view> | |||
</view> | |||
</view> | |||
@@ -142,7 +166,7 @@ | |||
<view class="text1-1">人均违禁次数</view> | |||
</view> | |||
</view> | |||
<view class="jindu" style="height: 360rpx;overflow: auto;"> | |||
<view class="jindu" style="margin-top: 20rpx;min-height: 300rpx"> | |||
<view v-if="newlisttabinfo4.result.length" class="jindu-box" v-for="(item,index) in newlisttabinfo4.result" :key="index"> | |||
<view class="jindu-boxche"> | |||
<view class="jindu-name u-flex" style='width: 170rpx' v-if="item.name"> | |||
@@ -55,7 +55,7 @@ | |||
<view class="num" v-else-if="item.name==='平均接待时长'">{{item.num}}分</view> | |||
<view class="num" v-else>{{item.num||0}}</view> | |||
<view class="comparesize" v-if="compareFlag&&timepickpickisshow"> | |||
<text style="margin-right: 50rpx;">对比:{{index==1?item.num1+'%':item.num1}}</text> | |||
<text style="margin-right: 50rpx;">对比:{{item.name==='平均执行率'?item.num1+'%':item.num1}}</text> | |||
<text :style="{color:item.num2*1>0?'red':'green'}">{{item.num2+'%'}}{{(item.num2*1) > 0 ? '↑' : '↓'}}</text> | |||
</view> | |||
</view> | |||
@@ -97,6 +97,12 @@ | |||
<view class="tabbox"> | |||
<view :class="{ activecllasscet2: newactiveTotal == 4 }" @click="tabxuanxiangtap(4)">销讲二级</view> | |||
</view> | |||
<view class="tabbox"> | |||
<view :class="{ activecllasscet2: newactiveTotal == 4 }" @click="tabxuanxiangtap(4)">销讲二级</view> | |||
</view> | |||
<view class="tabbox"> | |||
<view :class="{ activecllasscet2: newactiveTotal == 4 }" @click="tabxuanxiangtap(4)">销讲二级</view> | |||
</view> | |||
</view> | |||
@@ -1182,7 +1188,7 @@ | |||
</script> | |||
<style lang="scss" scoped> | |||
.uchaserbox { | |||
height: 50vh; | |||
height: 500rpx; | |||
} | |||
.title2-che { | |||
@@ -1246,7 +1252,8 @@ | |||
.activecllasscet2 { | |||
color: #2671E2; | |||
border-bottom: 2px solid #2671E2; | |||
font-weight: 600; | |||
border-bottom: 4rpx solid #2671E2; | |||
} | |||
.timeduibi { | |||
@@ -1303,6 +1310,7 @@ | |||
.activecllasscet { | |||
color: #2671E2; | |||
font-weight: 600; | |||
border-bottom: 4rpx solid #2671E2; | |||
} | |||
@@ -38,7 +38,7 @@ | |||
</view> | |||
<view class="swiper-box"> | |||
<u-tabs-swiper ref="tabs" font-size="30" :bold="true" swiper-width="600" :current="bocindex" | |||
@change="tapspagek2()" inactive-color="#b1b1b1" active-color="#008ef2" :list="newlistoj1" | |||
@change="tapspagek2()" inactive-color="#505050" active-color="#2671E2" :list="newlistoj1" | |||
:is-scroll="true"> | |||
</u-tabs-swiper> | |||
</view> | |||
@@ -141,8 +141,8 @@ | |||
<view class="title1">销讲指标执行率</view> | |||
</view> | |||
<view class="swiper-box"> | |||
<u-tabs-swiper ref="tabs" font-size="26" :bold="false" swiper-width="600" :current="bocindex1" | |||
@change="tapspagek3" inactive-color="#b1b1b1" active-color="#2671E2" :list="newlistoj" | |||
<u-tabs-swiper ref="tabs" font-size="26" :bold="true" swiper-width="600" :current="bocindex1" | |||
@change="tapspagek3" inactive-color="#505050" active-color="#2671E2" :list="newlistoj" | |||
:is-scroll="true"> | |||
</u-tabs-swiper> | |||
</view> | |||
@@ -31,14 +31,13 @@ | |||
<view class="content-sec-lab"> | |||
顾问姓名:<view class="content-sec-lab1">{{customerInfo.agentName}}</view> | |||
</view> | |||
<view class="content-sec-lab" @click.stop="tipupon"> | |||
<view class="content-sec-lab" > | |||
客户标签: | |||
<text v-if="!customerInfo.demand.cusSemanticWordsList">暂无</text> | |||
<view v-else class="content-sec-tips" | |||
v-for="(che,ind) in customerInfo.demand.cusSemanticWordsList" :key='ind'>{{che.name}}</view> | |||
<!-- <view class="conmsg-msg-lab-img" v-if="customerInfo.demand.cusSemanticWordsList.length>0"> | |||
<image class="screen-sel-img" src="../../../static/images/right.png" mode=""></image> | |||
</view> --> | |||
<view v-else class="content-sec-tips" v-show="ind<=1" | |||
v-for="(che,ind) in customerInfo.demand.cusSemanticWordsList" :key='ind'>{{che.name}} | |||
</view> | |||
<view @click.stop="tipshow=true" v-if="customerInfo.demand.cusSemanticWordsList.length>1" class="content-sec-tips" style="text-decoration: underline;background: #fff">查看全部</view> | |||
</view> | |||
<view class="content-sec-lab"> | |||
添加时间:<view class="content-sec-lab1">{{customerInfo.createTime}}</view> | |||
@@ -228,7 +227,7 @@ | |||
<u-popup v-model="tipshow" mode="center" width="500rpx" height="500rpx" closeable> | |||
<scroll-view scroll-y="true" style="height: 440rpx;"> | |||
<view style="margin-top: 60rpx; display: flex; flex-wrap: wrap; padding-left: 20rpx;"> | |||
<view class="upon-sec-tips" v-for="(item,index) in customerInfo.demand.cusSemanticWords" | |||
<view class="upon-sec-tips" v-for="(item,index) in customerInfo.demand.cusSemanticWordsList" | |||
:key="index"> | |||
{{item.name}} | |||
</view> | |||
@@ -421,7 +420,7 @@ | |||
} | |||
}, | |||
tipupon() { | |||
if (!this.customerInfo.demand.cusSemanticWordsList) return | |||
// if (!this.customerInfo.demand.cusSemanticWordsList) return | |||
this.tipshow = true | |||
}, | |||
changeshow(item, type) { | |||
@@ -906,7 +905,6 @@ | |||
line-height: 48rpx; | |||
text-align: center; | |||
margin-left: 16rpx; | |||
background: #E6625B; | |||
border-radius: 6rpx; | |||
font-size: 28rpx; | |||
font-family: PingFangSC-Regular, PingFang SC; | |||
@@ -926,17 +924,17 @@ | |||
} | |||
.clientStageName { | |||
height: 48rpx; | |||
line-height: 48rpx; | |||
background: #FFFFFF; | |||
border-radius: 4rpx; | |||
border: 1rpx solid #FF981E; | |||
box-sizing: border-box; | |||
font-size: 28rpx; | |||
font-family: PingFangSC-Regular, PingFang SC; | |||
font-weight: 400; | |||
color: #FF981E; | |||
margin-left: 16rpx; | |||
padding: 0 16rpx; | |||
color: #FF981E; | |||
line-height: 48rpx; | |||
} | |||
.edit { | |||
@@ -1316,14 +1314,14 @@ | |||
} | |||
.B { | |||
background: #F29819; | |||
background: #FF981E; | |||
} | |||
.C { | |||
background: #19AC09; | |||
background: #F6BD16; | |||
} | |||
.D { | |||
background: #1396F6; | |||
background: #E6625B; | |||
} | |||
</style> |
@@ -40,17 +40,13 @@ | |||
<view class="content-first"> | |||
<view class="left"> | |||
<view v-if="item.level.length==0"></view> | |||
<view class="img" v-else-if="item.level==1">A</view> | |||
<view class="img" v-else-if="item.level==2">B</view> | |||
<view class="img" v-else-if="item.level==3">C</view> | |||
<view class="img" v-else-if="item.level==4">D</view> | |||
<view class="img" style="background: #E6625B" v-else-if="item.level==1">A</view> | |||
<view class="img" style="background: #FF981E" v-else-if="item.level==2">B</view> | |||
<view class="img" style="background: #F6BD16" v-else-if="item.level==3">C</view> | |||
<view class="img" style="background: #E6625B" v-else-if="item.level==4">D</view> | |||
<view class="test">{{item.name}}</view> | |||
</view> | |||
<!-- <view class="right"> | |||
<view class="point"></view> | |||
<view class="test">定金</view> | |||
</view> --> | |||
</view> | |||
<view class="content-sec"> | |||
@@ -582,10 +578,9 @@ | |||
.left{ | |||
display: flex; | |||
.img{ | |||
// margin-top: 19rpx; | |||
width: 52rpx; | |||
height: 52rpx; | |||
border: 1px solid #E0E0E0; | |||
border: 1rpx solid #E0E0E0; | |||
border-radius: 50%; | |||
text-align: center; | |||
line-height: 50rpx; | |||
@@ -593,7 +588,6 @@ | |||
} | |||
.test{ | |||
margin-top: 11rpx; | |||
// margin-left: 20rpx; | |||
font-weight: 500; | |||
color: #333333; | |||
} | |||
@@ -614,10 +608,9 @@ | |||
} | |||
} | |||
.content-sec{ | |||
border-top: 1px solid #E0E0E0; | |||
border-top: 1rpx solid #E0E0E0; | |||
padding: 0 30rpx; | |||
padding-bottom: 30rpx; | |||
// height: 270rpx; | |||
position: relative; | |||
.content-sec-lab{ | |||
margin-top: 30rpx; | |||
@@ -663,8 +656,7 @@ | |||
} | |||
.content-last{ | |||
display: flex; | |||
border-top: 1px solid #E0E0E0; | |||
// padding: 0 30rpx; | |||
border-top: 1rpx solid #E0E0E0; | |||
height: 78rpx; | |||
.content-last-tab{ | |||
width: 33.4%; | |||
@@ -673,7 +665,7 @@ | |||
font-weight: 400; | |||
color: #333333; | |||
line-height: 78rpx; | |||
border-right: 1px solid #E0E0E0; | |||
border-right: 1rpx solid #E0E0E0; | |||
} | |||
} | |||
@@ -14,13 +14,13 @@ | |||
--> | |||
<!-- 选择器 --> | |||
<view class="boxtittab"> | |||
<view class="tabbox" @click="taptimeisshow"> | |||
<view class="tabbox" :class="{activeColor: startFilterTime!=='接待时间'}" @click="taptimeisshow"> | |||
{{ startFilterTime }}<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | |||
</view> | |||
<view class="tabbox" @click="taptimetuisshow"> | |||
<view class="tabbox" :class="{activeColor: receptionDuration!=='接待时长'}" @click="taptimetuisshow"> | |||
{{ receptionDuration }}<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | |||
</view> | |||
<view class="tabbox" @click="tapsoltishow"> | |||
<view class="tabbox" :class="{activeColor: sortText!=='排序'}" @click="tapsoltishow"> | |||
{{ sortText }}<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | |||
</view> | |||
<view class="tabbox" @click="screenshow"> | |||
@@ -317,20 +317,13 @@ | |||
}, | |||
onLoad(options) { | |||
this.isnorefresh = options.refresh; | |||
if (options.activeTotal) { | |||
this.activeTotal = options.activeTotal | |||
} | |||
if (options.markAdvisor) { | |||
this.screen.markAdvisor = options.markAdvisor | |||
} | |||
if (options.validInvalid) { | |||
this.screen.validInvalid = options.validInvalid | |||
} | |||
this.activeTotal = options.activeTotal | |||
this.screen.markAdvisor = options.markAdvisor | |||
this.screen.validInvalid = options.validInvalid | |||
if (options.staTime) { | |||
this.staTime = options.staTime; | |||
this.endtime = options.endtime; | |||
} | |||
}, | |||
onShow() { | |||
try { | |||
@@ -663,11 +656,11 @@ | |||
} | |||
.timeview { | |||
height: 80rpx; | |||
line-height: 80rpx; | |||
height: 90rpx; | |||
line-height: 90rpx; | |||
width: 100%; | |||
text-align: center; | |||
border-bottom: 1px solid #F8F8F8; | |||
border-bottom: 1rpx solid #F8F8F8; | |||
} | |||
//时间切换的样式 | |||
@@ -698,6 +691,10 @@ | |||
-webkit-box-orient: vertical; | |||
/* 设置或检索伸缩盒对象的子元素的排列方式 */ | |||
} | |||
.activeColor{ | |||
color: #2671E2; | |||
} | |||
} | |||
.search-box { | |||
@@ -8,21 +8,21 @@ | |||
</view> | |||
<view class="search-text">输入客户姓名/手机号</view> | |||
</view> | |||
<image @click="filterFun" class="filter" src="../../../static/images/filter.png" mode="" /> | |||
<!-- <image @click="filterFun" class="filter" src="../../../static/images/filter.png" mode="" /> --> | |||
</view> | |||
</view> | |||
<!-- 选择器 --> | |||
<view class="boxtittab"> | |||
<view class="tabbox" @click="tapsoltishow"> | |||
<view class="tabbox" :class="{activeColor: sortFilter!=='排序'}" @click="tapsoltishow"> | |||
{{ sortFilter }} | |||
<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | |||
</view> | |||
<view class="tabbox" @click="taptimeisshow"> | |||
<view class="tabbox" :class="{activeColor: arriveFilter!=='到访时间'}" @click="taptimeisshow"> | |||
{{ arriveFilter }} | |||
<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | |||
</view> | |||
<view class="tabbox" @click="taptimetuisshow"> | |||
<view class="tabbox" :class="{activeColor: receptionDuration!=='接待时长'}" @click="taptimetuisshow"> | |||
{{ receptionDuration }} | |||
<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | |||
</view> | |||
@@ -31,7 +31,6 @@ | |||
</view> | |||
</view> | |||
<!-- 筛选后的数量 --> | |||
<view class="count" v-if="recordList.length > 0"> | |||
筛选结果:<text>{{totalRecords}} </text>条 | |||
@@ -71,12 +70,12 @@ | |||
负责顾问:<view class="content-sec-lab1">{{item.agentName || ''}}</view> | |||
</view> | |||
<view class="content-sec-lab" style="line-height: 46rpx;"> | |||
<view class="content-sec-lab" style="line-height: 46rpx;"> | |||
客户意向: | |||
<text v-if="item.demand.cusSemanticWordsList==null">暂无</text> | |||
<template v-else> | |||
<block v-for="(che,ind) in item.demand.cusSemanticWordsList" :key='ind'> | |||
<view class="content-sec-tips">{{che.name}}</view> | |||
<view class="content-sec-tips" v-if="ind<=3">{{che.name}}</view> | |||
</block> | |||
</template> | |||
</view> | |||
@@ -246,7 +245,8 @@ | |||
<u-popup v-model="soltishow" mode="bottom"> | |||
<view class="soltishow" @tap.stop @touchmove.stop> | |||
<block v-for="(item, index) in orderBylist" :key="index"> | |||
<view class="soltishow-item" @click="selectCallback2(item)"> | |||
<view class="soltishow-item" | |||
:style="orderBy==item.value?'color: #2B6EFF':''" @click="selectCallback2(item)"> | |||
{{ item.label }} | |||
</view> | |||
</block> | |||
@@ -393,20 +393,20 @@ | |||
onLoad(options) { | |||
_this = this | |||
this.isnorefresh = 'refresh'; | |||
this.userInfo = uni.getStorageSync("weapp_session_userInfo_data") | |||
console.log(this.userInfo.showPhoneStatus) | |||
if (this.isnorefresh == 'refresh') { | |||
this.buildingID = uni.getStorageSync('buildingID').id; | |||
this.nextPage = 1; | |||
this.recordList = [] | |||
this.getFreeList() | |||
this.getfindKeywordsList() | |||
this.getFromSource(); | |||
this.isRefresh = false; | |||
this.getMyCustom() | |||
} | |||
// _this = this | |||
// this.isnorefresh = 'refresh'; | |||
// this.userInfo = uni.getStorageSync("weapp_session_userInfo_data") | |||
// console.log(this.userInfo.showPhoneStatus) | |||
// if (this.isnorefresh == 'refresh') { | |||
// this.buildingID = uni.getStorageSync('buildingID').id; | |||
// this.nextPage = 1; | |||
// this.recordList = [] | |||
// this.getFreeList() | |||
// this.getfindKeywordsList() | |||
// this.getFromSource(); | |||
// this.isRefresh = false; | |||
// this.getMyCustom() | |||
// } | |||
}, | |||
onPullDownRefresh() { | |||
@@ -428,7 +428,20 @@ | |||
let newmenulist = uni.getStorageSync('weapp_session_Menu_data'); | |||
this.permissions.commonly1 = newmenulist.khgl_ck; | |||
this.permissions.commonly2 = newmenulist.khgl_gj; | |||
_this = this | |||
this.isnorefresh = 'refresh'; | |||
this.userInfo = uni.getStorageSync("weapp_session_userInfo_data") | |||
console.log(this.userInfo.showPhoneStatus) | |||
if (this.isnorefresh == 'refresh') { | |||
this.buildingID = uni.getStorageSync('buildingID').id; | |||
this.nextPage = 1; | |||
this.recordList = [] | |||
this.getFreeList() | |||
this.getfindKeywordsList() | |||
this.getFromSource(); | |||
this.isRefresh = false; | |||
this.getMyCustom() | |||
} | |||
}, | |||
onReachBottom() { | |||
if (this.totalRecord == this.nextPage) { | |||
@@ -527,7 +540,7 @@ | |||
this.nextPage = 1; | |||
this.recordList = []; | |||
this.isRefresh = false; | |||
this.arriveFilter = this.staTime + '-' + this.endtime | |||
this.getMyCustom(); | |||
}, | |||
recordclick(i) { | |||
@@ -627,9 +640,9 @@ | |||
} | |||
this.$u.post("/customer/customerManagement", parames).then(data => { | |||
if (this.staTime && this.endtime) { | |||
this.receptionDuration = `${this.staTime}-${this.endtime}` | |||
} | |||
// if (this.staTime && this.endtime) { | |||
// this.receptionDuration = `${this.staTime}-${this.endtime}` | |||
// } | |||
var list = data.results || []; | |||
console.log(list) | |||
list.forEach(item => { | |||
@@ -792,11 +805,11 @@ | |||
} | |||
.timeview { | |||
height: 80rpx; | |||
line-height: 80rpx; | |||
height: 90rpx; | |||
line-height: 90rpx; | |||
width: 100%; | |||
text-align: center; | |||
border-bottom: 1px solid #F8F8F8; | |||
border-bottom: 1rpx solid #F8F8F8; | |||
} | |||
//时间切换的样式 | |||
@@ -827,6 +840,9 @@ | |||
-webkit-box-orient: vertical; | |||
/* 设置或检索伸缩盒对象的子元素的排列方式 */ | |||
} | |||
.activeColor{ | |||
color: #2671E2; | |||
} | |||
} | |||
.soltishow { | |||
@@ -960,6 +976,7 @@ | |||
background: #FFFFFF; | |||
border-radius: 4rpx; | |||
border: 1rpx solid #FF981E; | |||
box-sizing: border-box; | |||
} | |||
.A { | |||
@@ -967,15 +984,15 @@ | |||
} | |||
.B { | |||
background: #F29819; | |||
background: #FF981E; | |||
} | |||
.C { | |||
background: #19AC09; | |||
background: #F6BD16; | |||
} | |||
.D { | |||
background: #1396F6; | |||
background: #E6625B; | |||
} | |||
@@ -1066,9 +1083,11 @@ | |||
.content-last-tab { | |||
width: 214rpx; | |||
height: 70rpx; | |||
line-height: 70rpx; | |||
background: #FFFFFF; | |||
border-radius: 8rpx; | |||
border: 1rpx solid #2671E2; | |||
box-sizing: border-box; | |||
font-family: PingFangSC-Regular, PingFang SC; | |||
font-weight: 400; | |||
color: #2671E2; | |||
@@ -114,7 +114,7 @@ | |||
<view class="timebox"> | |||
<view class="real" @click="tapjumpreception('1')"> | |||
<view class="realnum u-flex" style="justify-content: center">{{realtimeobj.fraction || 0}}% | |||
<image class="qushi-icon" src="/static/images/excute.png" mode="" /> | |||
<!-- <image class="qushi-icon" src="/static/images/excute.png" mode="" /> --> | |||
</view> | |||
<view class="realtext">平均执行率</view> | |||
</view> | |||
@@ -167,7 +167,7 @@ | |||
<view class="timebox"> | |||
<view class="real" @click="tapjumpreception('3')"> | |||
<view class="realnum u-flex" style="justify-content: center">{{Thisweekobj.fraction || 0}}% | |||
<image class="qushi-icon" src="/static/images/qushi-up.png" mode="" /> | |||
<!-- <image class="qushi-icon" src="/static/images/qushi-up.png" mode="" /> --> | |||
</view> | |||
<view class="realtext">平均执行率</view> | |||
</view> | |||
@@ -290,7 +290,7 @@ | |||
<view class="timeview" :style="{ color: zhixingcenterindex == 7 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(7,'自定义')">自定义</view> | |||
</u-popup> | |||
<!-- 底部导航栏 --> | |||
<!-- <u-tabbar :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList"></u-tabbar> --> | |||
<!-- <u-tabbar :mid-button="false" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList"></u-tabbar> --> | |||
</view> | |||
</template> | |||
@@ -752,21 +752,20 @@ | |||
prohibitedtap(i) { | |||
if (i == 1) { | |||
uni.navigateTo({ | |||
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '0' | |||
url: '/pages/center/prohibited/index?refresh=refresh&activeTotal=0' | |||
}); | |||
} else { | |||
if (this.zhixingcenterindex == 2) { | |||
uni.navigateTo({ | |||
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '2' | |||
url: '/pages/center/prohibited/index?refresh=refresh&activeTotal=2' | |||
}); | |||
} else if (this.zhixingcenterindex == 6) { | |||
} else if (this.zhixingcenterindex == 6) {//近30天 | |||
uni.navigateTo({ | |||
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '3' | |||
url: '/pages/center/prohibited/index?refresh=refresh&activeTotal=3' | |||
}); | |||
} else { | |||
} else {// 自定义时间段 | |||
uni.navigateTo({ | |||
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '4' + | |||
'&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd | |||
url: '/pages/center/prohibited/index?refresh=refresh&activeTotal=4&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd | |||
}); | |||
} | |||
} | |||
@@ -775,55 +774,48 @@ | |||
if (this.permissions.commonly2 == true) { | |||
if (i == 1) { | |||
uni.navigateTo({ | |||
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '0' | |||
url: '/pages/center/records/index?refresh=refresh&activeTotal=0&validInvalid=0' | |||
}); | |||
} else if (i == 2) { | |||
uni.switchTab({ | |||
url: '/pages/index/customer' | |||
}); | |||
} else if (i == 3) { | |||
if (this.zhixingcenterindex == 2) { | |||
if (this.zhixingcenterindex == 2) {// 近7天 | |||
uni.navigateTo({ | |||
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '2' | |||
url: '/pages/center/records/index?refresh=refresh&activeTotal=2&validInvalid=0' | |||
}); | |||
} else if (this.zhixingcenterindex == 6) { | |||
} else if (this.zhixingcenterindex == 6) {//近30天 | |||
uni.navigateTo({ | |||
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '3' | |||
url: '/pages/center/records/index?refresh=refresh&activeTotal=3&validInvalid=0' | |||
}); | |||
} else { | |||
} else {// 自定义时间段 | |||
uni.navigateTo({ | |||
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '4' + | |||
'&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd | |||
url: '/pages/center/records/index?refresh=refresh&activeTotal=4&validInvalid=0&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd | |||
}); | |||
} | |||
} else if (i == 6) { | |||
uni.navigateTo({ | |||
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '0' + | |||
'&validInvalid=0' | |||
url: '/pages/center/records/index?refresh=refresh&activeTotal=0&validInvalid=0' | |||
}); | |||
} else if (i == 7) { | |||
if (this.zhixingcenterindex == 2) { | |||
uni.navigateTo({ | |||
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '2' + | |||
'&validInvalid=0' | |||
url: '/pages/center/records/index?refresh=refresh&activeTotal=2&validInvalid=0' | |||
}); | |||
} else if (this.zhixingcenterindex == 6) { | |||
uni.navigateTo({ | |||
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '3' + | |||
'&validInvalid=0' | |||
url: '/pages/center/records/index?refresh=refresh&activeTotal=3&validInvalid=0' | |||
}); | |||
} else { | |||
uni.navigateTo({ | |||
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '4' + | |||
'&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd + | |||
'&validInvalid=0' | |||
url: '/pages/center/records/index?refresh=refresh&activeTotal=4&validInvalid=0&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd | |||
}); | |||
} | |||
} else { | |||
uni.navigateTo({ | |||
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=0' + | |||
'&markAdvisor=0' | |||
url: '/pages/center/records/index?refresh=refresh&activeTotal=0&markAdvisor=0' | |||
}); | |||
} | |||
} | |||
@@ -879,7 +871,7 @@ | |||
}); | |||
} else if (item == '接待记录') { | |||
uni.navigateTo({ | |||
url: '/pages/center/records/index?refresh=' + 'refresh' | |||
url: '/pages/center/records/index?refresh=refresh' | |||
}); | |||
} else if (item == '值班顾问') { | |||
uni.navigateTo({ | |||
@@ -895,15 +887,15 @@ | |||
}); | |||
} else if (item == '违禁记录') { | |||
uni.navigateTo({ | |||
url: '/pages/center/prohibited/index?refresh=' + 'refresh' | |||
url: '/pages/center/prohibited/index?refresh=refresh' | |||
}); | |||
}else if (item == '日报') { | |||
uni.navigateTo({ | |||
url: '/pages/mine/daily/dailyList?refresh=' + 'refresh' | |||
url: '/pages/mine/daily/dailyList?refresh=refresh' | |||
}); | |||
} else { | |||
uni.navigateTo({ | |||
url: '/pages/center/consumer/index?refresh=' + 'refresh' | |||
url: '/pages/center/consumer/index?refresh=refresh' | |||
}); | |||
} | |||
@@ -1098,7 +1090,7 @@ | |||
width: 100%; | |||
color: #666666; | |||
text-align: center; | |||
margin-top: 24rpx; | |||
margin-top: 8rpx; | |||
height: 32rpx; | |||
font-size: 24rpx; | |||
font-family: PingFangSC-Regular, PingFang SC; | |||
@@ -1183,10 +1175,10 @@ | |||
} | |||
} | |||
.timeview{ | |||
height: 80rpx; | |||
line-height: 80rpx; | |||
height: 90rpx; | |||
line-height: 90rpx; | |||
width: 100%; | |||
text-align: center; | |||
border-bottom: 1px solid #F8F8F8; | |||
border-bottom: 1rpx solid #f8f8f8; | |||
} | |||
</style> |
@@ -178,8 +178,8 @@ | |||
height: 100vh; | |||
display: flex; | |||
flex-direction: column; | |||
// background: url('https://static.quhouse.com/f5e2422890044cd1a620abd078e63442.png') no-repeat; | |||
// background-size: 750rpx 540rpx; | |||
background: url('https://static.quhouse.com/f5e2422890044cd1a620abd078e63442.png') no-repeat; | |||
background-size: 750rpx 540rpx; | |||
} | |||
.header { | |||
@@ -190,6 +190,8 @@ | |||
background: url('https://static.quhouse.com/10fa8f6fe7fa4104a5c4149be4735311.png') no-repeat; | |||
background-size: 670rpx 248rpx; | |||
margin: 0 40rpx 60rpx; | |||
border-radius: 18rpx; | |||
box-shadow: 0 10rpx 20rpx #999; | |||
.header-zuo { | |||
width: 128rpx; | |||
height: 128rpx; | |||
@@ -9,7 +9,7 @@ | |||
您好, | |||
</view> | |||
<view class="text-2"> | |||
欢迎登录AI销管~ | |||
欢迎登录销讲助手~ | |||
</view> | |||
</view> | |||
<view class="cwjs-cells item-flex" style="margin-top: 80rpx;"> | |||
@@ -56,10 +56,10 @@ | |||
export default { | |||
data() { | |||
return { | |||
username: '',//用户名-测试 13388881113 1234567 | |||
password: '',//密码 | |||
// username: '13033782199',//用户名-生产 13033782199 654321 | |||
// password: '654321',//密码 | |||
// username: '13388881113',//用户名-测试 13388881113 1234567 | |||
// password: '1234567',//密码 | |||
username: '13033782199',//用户名-生产 13033782199 654321 | |||
password: '654321',//密码 | |||
passwordType: true, | |||
agreeChecked: true | |||
}; | |||
@@ -1833,9 +1833,9 @@ | |||
.bottombox { | |||
width: 100%; | |||
height: 170rpx; | |||
// min-height: 170rpx; | |||
border-top: 1rpx solid #E0E0E0; | |||
padding-bottom: 10rpx; | |||
padding-bottom: 60rpx; | |||
.bottomhead { | |||
width: 100%; | |||
@@ -2402,7 +2402,6 @@ | |||
margin: 30rpx; | |||
line-height: 80rpx; | |||
display: flex; | |||
align-items: center; | |||
} | |||
.scroll-Y .text[data-speaker="2"], | |||
@@ -2413,9 +2412,8 @@ | |||
.contentInfo { | |||
.info { | |||
color: #ccc; | |||
font-size: 18rpx; | |||
font-size: 30rpx; | |||
color: #666; | |||
font-size: 22rpx; | |||
padding: 0 28rpx; | |||
} | |||
@@ -2477,11 +2475,9 @@ | |||
text-align: center; | |||
background: #FFFFFF; | |||
border-radius: 8rpx; | |||
// border: 2rpx solid #E6625B; | |||
font-size: 30rpx; | |||
font-family: PingFangSC-Medium, PingFang SC; | |||
font-weight: 500; | |||
// color: #E6625B; | |||
box-sizing: border-box; | |||
} | |||
image{ | |||
@@ -2490,9 +2486,8 @@ | |||
} | |||
} | |||
.scroll-Y .text .contentInfo .info { | |||
color: #ccc; | |||
font-size: 18rpx; | |||
font-size: 30rpx; | |||
color: #666; | |||
font-size: 22rpx; | |||
padding: 0 28rpx; | |||
} | |||