<ul class="layui-nav layui-nav-tree" lay-filter="setting">
<#if user?? && (user.roleAuthMap["A08_A01"]?? || user.admin) >
	<li class="layui-nav-item layui-nav-itemed">
		<a class="layui-nav-title" href="javascript:;">会话信息</a>
		<dl class="layui-nav-child">
			<#if user?? && (user.roleAuthMap["A08_A01_A01"]?? || user.admin) >
				<dd <#if subtype?? && subtype == 'history'>class="layui-this"</#if>>
					<a href="/service/history/index.html">历史会话</a>
				</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A08_A01_A02"]?? || user.admin) >
				<dd <#if subtype?? && subtype == 'current'>class="layui-this"</#if>>
					<a href="/service/current/index.html">当前会话</a>
				</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A08_A01_A03"]?? || user.admin) >
				<dd <#if subtype?? && subtype == 'filter'>class="layui-this"</#if>>
					<a href="/service/quene/index.html">排队队列</a>
				</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A08_A01_A04"]?? || user.admin) >
				<dd <#if subtype?? && subtype == 'leavemsg'>class="layui-this"</#if>>
					<a href="/service/leavemsg/index.html">访客留言</a>
				</dd>
			</#if>
		</dl>
		
	</li>
</#if>
<#if user?? && (user.roleAuthMap["A08_A02"]?? || user.admin) >
	<li class="layui-nav-item layui-nav-itemed">
		<a class="layui-nav-title" href="javascript:;">统计功能</a>
		<dl class="layui-nav-child">
			<#if user?? && (user.roleAuthMap["A08_A02_A01"]?? || user.admin) >
				<dd <#if subtype?? && subtype == 'statcoment'>class="layui-this"</#if>>
					<a href="/service/stats/coment.html">满意度统计</a>
				</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A08_A02_A02"]?? || user.admin) >
				<dd <#if subtype?? && subtype == 'statagent'>class="layui-this"</#if>>
					<a href="/service/stats/agent.html">客服坐席</a>
				</dd>
			</#if>
		</dl>
	</li>
</#if>
<#if user?? && (user.roleAuthMap["A08_A03"]?? || user.admin) >
	<li class="layui-nav-item layui-nav-itemed">
		<a class="layui-nav-title" href="javascript:;">服务小结</a>
		<dl class="layui-nav-child">
			<#if user?? && (user.roleAuthMap["A08_A03_A01"]?? || user.admin) >
				<dd <#if subtype?? && subtype == 'agentsummary'>class="layui-this"</#if>>
					<a href="/apps/agent/summary/index.html">多媒体客服</a>
				</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A08_A03_A02"]?? || user.admin) >
				<dd <#if subtype?? && subtype == 'processed'>class="layui-this"</#if>>
					<a href="/apps/agent/processed/index.html">已处理多媒体客服</a>
				</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A08_A03_A03"]?? || user.admin) >
				<#if models?seq_contains("callcenter")>
				<dd <#if subtype?? && subtype == 'summary'>class="layui-this"</#if>>
					<a href="/apps/callcenter/summary/index.html">呼叫中心</a>
				</dd>
				</#if>
			
			</#if>
			<#if models?seq_contains("callcenter")>
				<#if user?? && (user.roleAuthMap["A08_A03_A04"]?? || user.admin) >
				<dd <#if subtype?? && subtype == 'callcenterprocessed'>class="layui-this"</#if>>
					<a href="/apps/callcenter/processed/index.html">已处理呼叫中心</a>
				</dd>
				</#if>
			</#if>
			
		</dl>
	</li>
</#if>
<#if user?? && (user.roleAuthMap["A08_A01_A05"]?? || user.admin) >
	<li class="layui-nav-item layui-nav-itemed">
		<a class="layui-nav-title" href="javascript:;">满意度评价</a>
		<dl class="layui-nav-child">
				<dd <#if subtype?? && subtype == 'comment'>class="layui-this"</#if>>
					<a href="/service/comment/index.html">在线客服</a>
				</dd>
			<#if models?seq_contains("callcenter")>
				<dd <#if subtype?? && subtype == 'callentercomment'>class="layui-this"</#if>>
					<a href="/apps/callcenter/comment/index.html">语音通话</a>
				</dd>
			</#if>
		</dl>
	</li>
</#if>
<#if user?? && (user.roleAuthMap["A08_A04"]?? || user.admin) >
	<li class="layui-nav-item layui-nav-itemed">
		<a class="layui-nav-title" href="javascript:;">坐席信息</a>
		<dl class="layui-nav-child">
			<#if user?? && (user.roleAuthMap["A08_A04_A01"]?? || user.admin) >
			<dd <#if subtype?? && subtype == 'onlineagent'>class="layui-this"</#if>>
				
				<a href="/service/agent/index.html">在线坐席</a>
			</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A08_A04_A02"]?? || user.admin) >
			<dd <#if subtype?? && subtype == 'userlist'>class="layui-this"</#if>>
				<a href="/service/user/index.html">全部坐席</a>
			</dd>
			</#if>
		</dl>
	</li>
</#if>
</ul>
