...
|
...
|
@@ -68,6 +68,7 @@ var chat = { |
|
|
unFinshMSGs: {}, // 没有发送出去消息
|
|
|
$ratingView: $('#chat-comment'),
|
|
|
canEvalute: true,
|
|
|
canManualService: true,
|
|
|
|
|
|
|
|
|
messageT: require('service/chat/msg.hbs'),
|
...
|
...
|
@@ -168,7 +169,7 @@ var chat = { |
|
|
self.orderListView.trigger('show.OderListView', [orderType]);
|
|
|
})
|
|
|
.on('click.chat.switchServer', '[data-action=change-human]', function() {
|
|
|
self.switchService('human');
|
|
|
self.canManualService && self.switchService('human');
|
|
|
})
|
|
|
.on('keydown.chat.sendText', '.text-in', function(event) {
|
|
|
if (event.which === 13) {
|
...
|
...
|
@@ -478,6 +479,8 @@ var chat = { |
|
|
// var uuid = rec.uuid;
|
|
|
var viewData;
|
|
|
|
|
|
this.canManualService = true;
|
|
|
|
|
|
// 服务状态: 离线
|
|
|
if (
|
|
|
recType === allTypes.OFFLINE ||
|
...
|
...
|
@@ -505,6 +508,7 @@ var chat = { |
|
|
|
|
|
case allTypes.CS_CHATTING:
|
|
|
if (chatMessage.type === 5) { // 重复登陆
|
|
|
this.canManualService = false;
|
|
|
this._sysInfo(chatMessage.newContent);
|
|
|
}
|
|
|
break;
|
...
|
...
|
|