<#if curagentuser??>${curagentuser.username!''}(${curagentuser.region!''}) <#else>  

<#if agentUserMessageList?? && agentUserMessageList.content??> <#list agentUserMessageList.content?reverse as chatmessage>
<#if chatmessage?? && chatmessage.chatype?? && chatmessage.chatype == 'aireply' && inviteData?? && inviteData.ainame??>${inviteData.ainame!'小E'}<#else>${chatmessage.username!''} ${chatmessage.createtime!''}
<#include "/apps/agent/media/message.html">
<#elseif curagentuser??> <#if curagentuser.status?? && curagentuser.status == "end">
用户“${curagentuser.username!''}”已经离开
<#else>
用户“${curagentuser.username!''}”开始对话
  • 访客
  • 快捷
  • 历史
  • <#if models?? && models["workorders"]?? && models["workorders"] == true>
  • 工单
  • <#if sessionConfig?? && sessionConfig.otherquickplay?? && sessionConfig.otherquickplay == true>
  • 知识库

访问信息

<#if curagentuser.channel?? && curagentuser.channel == "webim"> <#include "/apps/agent/channel/webim.html"> <#elseif curagentuser.channel?? && curagentuser.channel == "weixin"> <#include "/apps/agent/channel/weixin.html"> <#if curagentuser.name??>
  • 姓名: ${curagentuser.name!''}
  • <#if curagentuser.phone??>
  • 电话: ${curagentuser.phone!''}
  • <#if curagentuser.email??>
  • 邮件: ${curagentuser.email!''}
  • <#if curagentuser.resion??>
  • 来访原因: ${curagentuser.resion!''}
<#if curAgentService?? && curAgentService.trans?? && curAgentService.trans>
  • 转接:
  • <#if curAgentService.transtime??>
  • 转接时间: ${curAgentService.transtime?string("yyyy-MM-dd HH:mm:ss")}
  • <#if curAgentService.transmemo??>
  • 转接附言: ${curAgentService.transmemo!''}
<#if models?? && models["contacts"]?? && models["contacts"] == true>

联系人

<#include "/apps/agent/contacts.html">

快捷回复

<#include "/apps/agent/quicklist.html"/>
<#if models?? && models["workorders"]?? && models["workorders"] == true>
<#if workOrdersList?? && workOrdersList?size gt 0> <#include "/apps/agent/workorders.html">
<#if sessionConfig?? && sessionConfig.otherquickplay?? && sessionConfig.otherquickplay == true>

知识列表

<#include "/apps/agent/othertopic.html">