|
@@ -251,6 +251,7 @@
|
|
|
<p @dblclick="get_ip_Info" class="get_ip" :data-clipboard-text="terminal_IP.ip">
|
|
<p @dblclick="get_ip_Info" class="get_ip" :data-clipboard-text="terminal_IP.ip">
|
|
|
IP地址:{{terminal_IP.ip}}</p>
|
|
IP地址:{{terminal_IP.ip}}</p>
|
|
|
<p>来源终端:{{terminal_IP.system}}</p>
|
|
<p>来源终端:{{terminal_IP.system}}</p>
|
|
|
|
|
+ <p>来源地区:{{terminal_IP.source}}</p>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div style="color:#666;font-weight:bold;font-size:14px; margin-top:30px;">用户信息</div>
|
|
<div style="color:#666;font-weight:bold;font-size:14px; margin-top:30px;">用户信息</div>
|
|
@@ -350,7 +351,7 @@
|
|
|
lineUp: [],//排队列表
|
|
lineUp: [],//排队列表
|
|
|
conversationId: '',//会话工单
|
|
conversationId: '',//会话工单
|
|
|
session_user_info: {},//当前会话用户信息
|
|
session_user_info: {},//当前会话用户信息
|
|
|
- img_http: 'http://kfadmin.bocai186.com',//图片路径域
|
|
|
|
|
|
|
+ img_http: 'http://manage.281570.com',//图片路径域
|
|
|
// img_http: 'http://192.168.2.187:8090',//图片路径域
|
|
// img_http: 'http://192.168.2.187:8090',//图片路径域
|
|
|
fit: 'scale-down',//图片渲染样式
|
|
fit: 'scale-down',//图片渲染样式
|
|
|
is_eva_btn: true,//
|
|
is_eva_btn: true,//
|
|
@@ -645,6 +646,11 @@
|
|
|
//console.log(12313);
|
|
//console.log(12313);
|
|
|
this.websocketsend(JSON.stringify({"type": "getkfonlines"}))
|
|
this.websocketsend(JSON.stringify({"type": "getkfonlines"}))
|
|
|
},
|
|
},
|
|
|
|
|
+ getPlatformCN(name){
|
|
|
|
|
+ let platforms={'android':'安卓','ios':'苹果','pc':'电脑'};
|
|
|
|
|
+
|
|
|
|
|
+ return platforms[name];
|
|
|
|
|
+ },
|
|
|
|
|
|
|
|
/*****************切换用户会话对象******************/
|
|
/*****************切换用户会话对象******************/
|
|
|
chooseDialogue(type, index) {
|
|
chooseDialogue(type, index) {
|
|
@@ -659,15 +665,17 @@
|
|
|
order_id = this.sessionList[index].id;
|
|
order_id = this.sessionList[index].id;
|
|
|
this.$set(this.sessionList[index], 'num', 0);
|
|
this.$set(this.sessionList[index], 'num', 0);
|
|
|
this.terminal_IP = {
|
|
this.terminal_IP = {
|
|
|
- system: this.sessionList[index].system + '-' + this.sessionList[index].browse,
|
|
|
|
|
- ip: this.sessionList[index].ip
|
|
|
|
|
|
|
+ system: this.getPlatformCN(this.sessionList[index].system) + '-' + this.sessionList[index].browse,
|
|
|
|
|
+ ip: this.sessionList[index].ip,
|
|
|
|
|
+ source:this.sessionList[index].ipinfo
|
|
|
}
|
|
}
|
|
|
} else if (type == 2) {
|
|
} else if (type == 2) {
|
|
|
data = this.offlineList[index].data;
|
|
data = this.offlineList[index].data;
|
|
|
order_id = this.offlineList[index].id;
|
|
order_id = this.offlineList[index].id;
|
|
|
this.terminal_IP = {
|
|
this.terminal_IP = {
|
|
|
- system: this.offlineList[index].system + '-' + this.offlineList[index].browse,
|
|
|
|
|
- ip: this.offlineList[index].ip
|
|
|
|
|
|
|
+ system: this.getPlatformCN(this.offlineList[index].system) + '-' + this.offlineList[index].browse,
|
|
|
|
|
+ ip: this.offlineList[index].ip,
|
|
|
|
|
+ source:this.offlineList[index].ipinfo
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
this.$store.dispatch("SET_CURRENT", data);//当前会话数据
|
|
this.$store.dispatch("SET_CURRENT", data);//当前会话数据
|
|
@@ -1134,8 +1142,10 @@
|
|
|
} else {
|
|
} else {
|
|
|
if (List) {
|
|
if (List) {
|
|
|
this.terminal_IP = {
|
|
this.terminal_IP = {
|
|
|
- system: List.system + '-' + List.browse,
|
|
|
|
|
- ip: List.ip
|
|
|
|
|
|
|
+ system: this.getPlatformCN(List.system) + '-' + List.browse,
|
|
|
|
|
+ ip: List.ip,
|
|
|
|
|
+ source:List.ipinfo
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
this.terminal_IP = {}
|
|
this.terminal_IP = {}
|
|
@@ -1145,8 +1155,9 @@
|
|
|
let List = this.offlineList[this.dataIndex];
|
|
let List = this.offlineList[this.dataIndex];
|
|
|
if (List) {
|
|
if (List) {
|
|
|
this.terminal_IP = {
|
|
this.terminal_IP = {
|
|
|
- system: List.system + '-' + List.browse,
|
|
|
|
|
- ip: List.ip
|
|
|
|
|
|
|
+ system: this.getPlatformCN(List.system) + '-' + List.browse,
|
|
|
|
|
+ ip: List.ip,
|
|
|
|
|
+ source:List.ipinfo
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
this.terminal_IP = {}
|
|
this.terminal_IP = {}
|