|
@@ -10,54 +10,6 @@ |
|
|
<view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view> |
|
|
<view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<!-- <view class="customer" v-if="waitCustomList.length!=0" v-for="(item,index) in waitCustomList" :key='index' |
|
|
|
|
|
@click="tapThevisiting(item)"> |
|
|
|
|
|
<view class="title"> |
|
|
|
|
|
<view class="zuo"> |
|
|
|
|
|
<view class="zuoimg">A</view> |
|
|
|
|
|
<view class="zuoname">{{item.name}}</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> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="centerbox" v-if="item.status!=0"> |
|
|
|
|
|
<view class="centerbox-che">手机号码:<text class="shizai">{{item.phone || "--"}}</text></view> |
|
|
|
|
|
<view class="centerbox-che">开始时间:<text class="shizai">{{item.createTime}}</text></view> |
|
|
|
|
|
<view class="centerbox-che">顾问姓名:<text class="shizai" style="color: #333333;">{{item.agentName}}</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="centerbox-che2" v-if="item.status==1"> |
|
|
|
|
|
<view class="Workcard" v-if="item.status==1&&item.zkEquipmentState.onLine==0">设备状态:<text |
|
|
|
|
|
class="shizai" style="color: red;">离线</text></view> |
|
|
|
|
|
<view class="Workcard" v-if="item.status==1&&item.zkEquipmentState.onLine!=0">工牌电量:<text |
|
|
|
|
|
class="shizai" style="color: #333333;">{{item.zkEquipmentState.electricity}}%</text></view> |
|
|
|
|
|
<view class="Workcard" v-if="item.status==1&&item.zkEquipmentState.onLine==1">录音状态: |
|
|
|
|
|
<text v-if="item.zkEquipmentState.simAudioStatus=='true'" class="shizai" |
|
|
|
|
|
style="color: #333333;">使用中</text> |
|
|
|
|
|
<text v-if="item.zkEquipmentState.simAudioStatus=='false'" class="shizai" |
|
|
|
|
|
style="color: #333333;">未使用</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="footer-button" v-if="item.status!=0"> |
|
|
|
|
|
<view v-if="permissions.commonly3" class="footer1" @click.stop="addTime(item)">接待延时</view> |
|
|
|
|
|
<view v-if="permissions.commonly4" class="footer1" @click.stop="assign(item)">重新指派</view> |
|
|
|
|
|
<view v-if="permissions.commonly5" class="footer3" @click.stop="changeEnd(item.id)">结束接待</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="centerbox" v-if="item.status==0"> |
|
|
|
|
|
<view class="centerbox-che">手机号码:<text class="shizai">{{item.phone || "--"}}</text></view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="footer-button" v-if="item.status==0"> |
|
|
|
|
|
<view class="footer3" @click.stop="assign(item)">指派顾问</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
|
|
<view class="customer" v-if="waitCustomList.length!=0" v-for="(item,index) in waitCustomList" :key='index' |
|
|
<view class="customer" v-if="waitCustomList.length!=0" v-for="(item,index) in waitCustomList" :key='index' |
|
|
@click="tapThevisiting(item)"> |
|
|
@click="tapThevisiting(item)"> |
|
@@ -72,9 +24,6 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="you"> |
|
|
<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;"> |
|
|
<view class="" v-if="item.status!=0" style="display: flex;"> |
|
|
<block v-if="item.imei!=null"> |
|
|
<block v-if="item.imei!=null"> |
|
|
<!-- 接待中 --> |
|
|
<!-- 接待中 --> |
|
@@ -129,10 +78,6 @@ |
|
|
<image src="../../static/images/time.png" class="c-items-img" mode=""></image> |
|
|
<image src="../../static/images/time.png" class="c-items-img" mode=""></image> |
|
|
{{ item.createTime }} |
|
|
{{ item.createTime }} |
|
|
</view> |
|
|
</view> |
|
|
<!-- <view class="c-items"> |
|
|
|
|
|
<image src="../../static/images/voice.png" class="c-items-img" mode=""></image> |
|
|
|
|
|
{{ item.mm || '0' }}min |
|
|
|
|
|
</view> --> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="footer-button" v-if="item.status!=0"> |
|
|
<view class="footer-button" v-if="item.status!=0"> |
|
@@ -208,12 +153,14 @@ |
|
|
if (!res) { |
|
|
if (!res) { |
|
|
this.init() |
|
|
this.init() |
|
|
} |
|
|
} |
|
|
|
|
|
this.getTabBarBadge() |
|
|
}).catch(e => { |
|
|
}).catch(e => { |
|
|
console.log(e) |
|
|
console.log(e) |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '网络异常,请稍后重试~', |
|
|
title: '网络异常,请稍后重试~', |
|
|
icon: 'none' |
|
|
icon: 'none' |
|
|
}); |
|
|
}); |
|
|
|
|
|
this.getTabBarBadge() |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@@ -343,6 +290,7 @@ |
|
|
title: "操作成功" |
|
|
title: "操作成功" |
|
|
}) |
|
|
}) |
|
|
this.init(); |
|
|
this.init(); |
|
|
|
|
|
this.getTabBarBadge() |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|