Selaa lähdekoodia

修改bug

test
jyt 2 vuotta sitten
vanhempi
commit
bcef87c99e
8 muutettua tiedostoa jossa 50 lisäystä ja 34 poistoa
  1. +10
    -5
      pages/center/consumer/consumerDetail.vue
  2. +1
    -1
      pages/center/consumer/index.vue
  3. +1
    -1
      pages/center/prohibited/index.vue
  4. +5
    -4
      pages/center/records/index.vue
  5. +6
    -5
      pages/index/consumer/index.vue
  6. +13
    -4
      pages/index/customer.vue
  7. +12
    -12
      pages/index/index.vue
  8. +2
    -2
      pages/index/learning.vue

+ 10
- 5
pages/center/consumer/consumerDetail.vue Näytä tiedosto

@@ -1,7 +1,7 @@
<template>
<view class="box">
<view class="content">
<view class="content-tips" @click="goedit()">
<view class="content-tips">
<view class="content-first">
<view class="left">
<view v-if="customerInfo.level.length==0"></view>
@@ -12,7 +12,7 @@
<view class="test">{{customerInfo.name || '--'}}</view>
<view class="edit">
<view class="edit" @click="goedit()" v-if="isHavePermission">
<image class="screen-sel-img" src="../../../static/images/edit.png" mode=""></image>
</view>
</view>
@@ -209,7 +209,7 @@
</view>
<view class="pon-foot" v-if="buttonisshow">
<view class="foot-tab" @click="goRemind">添加提醒</view>
<!-- <view class="foot-tab" @click="goRemind">添加提醒</view> -->
<!-- <view class="foot-tab">拨打电话</view> -->
<view class="foot-tab" @click="followRecordAdd()">写跟进</view>
</view>
@@ -245,7 +245,8 @@
ratelist:[],
fllowList:[],
userInfo:{},
buttonisshow:false
buttonisshow:false,
isHavePermission:false
}
},
onLoad(options) {
@@ -260,6 +261,10 @@
}
this.getCustomerInfo()
this.tabtimetap(0)
let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
if(newmenulist.khgl_bj==true || newmenulist.khgl_gj==true){
this.isHavePermission = true
}
},
methods:{
// 获取到访记录
@@ -379,7 +384,7 @@
// 去编辑
goedit(){
let newmenulist= uni.getStorageSync('weapp_session_Menu_data');
if(newmenulist.khgl_bj==true){
if(newmenulist.khgl_bj==true || newmenulist.khgl_gj){
uni.navigateTo({
url:`/pages/center/consumer/edit?id=${this.customerId}`
})


+ 1
- 1
pages/center/consumer/index.vue Näytä tiedosto

@@ -195,7 +195,7 @@
data(){
return{
orderBylist:[
{label:'全部',value:'0'},
// {label:'全部',value:'0'},
{label:'创建时间倒序',value:'1'},
{label:'创建时间正序',value:'2'},
{label:'接待时间倒序',value:'3'},


+ 1
- 1
pages/center/prohibited/index.vue Näytä tiedosto

@@ -68,7 +68,7 @@
data(){
return{
orderBylist:[
{label:'全部',value:'0'},
// {label:'全部',value:'0'},
{label:'创建时间倒序',value:'1'},
{label:'创建时间正序',value:'2'},
{label:'接待时间倒序',value:'3'},


+ 5
- 4
pages/center/records/index.vue Näytä tiedosto

@@ -211,10 +211,11 @@
export default {
data() {
return {
orderBylist: [{
label: '全部',
value: '0'
},
orderBylist: [
// {
// label: '全部',
// value: '0'
// },
{
label: '创建时间倒序',
value: '1'


+ 6
- 5
pages/index/consumer/index.vue Näytä tiedosto

@@ -239,10 +239,11 @@
current: 1,
tabbarList: tabbarList,
//--- end --- tabbar配置项
orderBylist: [{
orderBylist: [
/*{
label: '全部',
value: '0'
},
},*/
{
label: '创建时间倒序',
value: '1'
@@ -317,7 +318,6 @@
},
onLoad(options) {
this.isnorefresh = 'refresh';

},
onShow() {
let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
@@ -327,11 +327,12 @@
this.buildingID = uni.getStorageSync('buildingID').id;
this.nextPage = 1;
this.recordList = []
this.getMyCustom()
// this.getMyCustom()
this.getFreeList()
this.getfindKeywordsList()
this.getFromSource();
this.isnorefresh = '';
// this.isnorefresh = '';
this.getMyCustom()
}
},
onReachBottom() {


+ 13
- 4
pages/index/customer.vue Näytä tiedosto

@@ -63,16 +63,19 @@
<view class="title">
<view class="zuo">
<view class="zuoimg">顾</view>
<view class="zuoname">{{item.agentName}}</view>
<view class="zuoname">{{item.agentName || '--'}}</view>
</view>
<view class="cen">
自动结束 <u-count-down :timestamp="timestamp(item.createTime)" color="#E7483C"></u-count-down>
<view class="cen" v-if="timestamp(item.createTime)<30">
<view v-if="item.status!=0">
自动结束 <u-count-down :timestamp="timestamp(item.createTime)" color="#E7483C"></u-count-down>
</view>
</view>
<view class="you">
<!-- <view class="youimg1" v-if="item.status!=0"></view>
<view class="youimg1-1" v-if="item.status==0"></view>
<view class="youtext">{{item.status==0?"排队中":item.status==1?"接待中":"已完成"}}</view> -->
<view class="" v-if="item.status!=0" style="display: flex;">
<block v-if="item.imei!=null || item.imei==''">
<!-- 接待中 -->
<view class="">
<!-- 工牌标示 -->
@@ -104,6 +107,7 @@
src="../../static/images/cus4.png" mode=""></image>
</view>
</view>
</block>
</view>
<view class="youtext" v-else>
<!--排队中 -->
@@ -111,7 +115,7 @@
</view>
</view>
</view>
<view class="centerbox" v-if="item.status!=0">
<view class="centerbox">
<view class="content-sec">
<view class="left">
<view class="adviser">客</view>
@@ -190,6 +194,11 @@
return totalTime - nowTime
}
}
// judgeHalfAnHour(){
// return (e)=>{
// }
// }
},
onShow() {
this.buildingID = uni.getStorageSync('buildingID').id;


+ 12
- 12
pages/index/index.vue Näytä tiedosto

@@ -114,6 +114,10 @@
<view class="title" v-if="permissions.shishinum">今日工作</view>
<view class="real-timebox" v-if="permissions.shishinum">
<view class="timebox">
<view class="real" @click="tapjumpreception('1')">
<view class="realnum">{{realtimeobj.fraction || 0}}%</view>
<view class="realtext">平均执行率</view>
</view>
<view class="real" @click="tapjumpreception('1')">
<view class="realnum">{{realtimeobj.receptionCount || 0}}</view>
<view class="realtext">接待量</view>
@@ -126,20 +130,16 @@
<view class="realnum">{{realtimeobj.activeCustomer|| 0}}</view>
<view class="realtext">有效接待</view>
</view>
<view class="real" @click="tapjumpreception('1')">
<view class="realnum">{{realtimeobj.fraction || 0}}%</view>
<view class="realtext">平均执行率</view>
</view>
</view>
<view class="timebox">
<view class="real" @click="tapjumpreception('4')">
<view class="realnum">{{realtimeobj.tagCustomer || 0}}</view>
<view class="realtext">未标顾问</view>
</view>
<view class="real" @click="tapjumpreception('1')">
<view class="realnum">{{realtimeobj.avgDuration|| 0}}</view>
<view class="realtext">平均接待时长</view>
</view>
<view class="real" @click="tapjumpreception('4')">
<view class="realnum">{{realtimeobj.tagCustomer || 0}}</view>
<view class="realtext">未标顾问</view>
</view>
<view class="real">
<view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realnum" style="color: red;">
{{realtimeobj.prohibitedCustomer || 0}}</view>
@@ -171,6 +171,10 @@
</view>
<view class="real-timebox" v-if="permissions.jileinum">
<view class="timebox">
<view class="real" @click="tapjumpreception('3')">
<view class="realnum">{{Thisweekobj.fraction || 0}}%</view>
<view class="realtext">平均执行率</view>
</view>
<view class="real" @click="tapjumpreception('3')">
<view class="realnum">{{Thisweekobj.receptionCount || 0}}</view>
<view class="realtext">接待量</view>
@@ -179,10 +183,6 @@
<view class="realnum">{{Thisweekobj.activeCustomer|| 0}}</view>
<view class="realtext">有效接待</view>
</view>
<view class="real" @click="tapjumpreception('3')">
<view class="realnum">{{Thisweekobj.fraction || 0}}%</view>
<view class="realtext">平均执行率</view>
</view>
</view>
<view class="timebox">
<view class="real" @click="tapjumpreception('3')">


+ 2
- 2
pages/index/learning.vue Näytä tiedosto

@@ -102,13 +102,13 @@
<image class="Piabodata-img1" src="../../static/images/img/message.png"
mode=""></image>
<!-- 热度 -->
{{item.commentNum || 0 }}
{{item.commentCount || 0 }}
</view>
<view class="icon">
<image class="Piabodata-img1" src="../../static/images/img/hand.png"
mode=""></image>
<!-- 点赞数 -->
{{item.likeNum || 0 }}
{{item.likeCount || 0 }}
</view>
</view>
</view>


Ladataan…
Peruuta
Tallenna