|
|
@@ -1253,12 +1253,12 @@
|
|
|
//处理会话时间大于两分钟显示会话时间并且储存本次会话时间
|
|
|
if (this.machineAndAtl == 100) {
|
|
|
let num = this.customerTime;
|
|
|
- console.log(this.customerSviceChat[num]);
|
|
|
+ // console.log(this.customerSviceChat[num]);
|
|
|
if (this.customerSviceChat[num].type == "user") {
|
|
|
if (this.webTime) {
|
|
|
let newTime = redata.data.webTime.split(":");
|
|
|
let oldTime = this.webTime.split(":");
|
|
|
- console.log(newTime[1] - oldTime[1] >= 2 , newTime[0]> oldTime[0])
|
|
|
+ // console.log(newTime[1] - oldTime[1] >= 2 , newTime[0]> oldTime[0])
|
|
|
// console.log(newTime[1] - oldTime[1] >= 2 , newTime[0]> oldTime[0])
|
|
|
if (newTime[1] - oldTime[1] >= 2 || newTime[0]> oldTime[0]) {
|
|
|
this.$set(this.customerSviceChat[num], 'time', redata.data.webTime);
|