<%
var regTimeMap = {
MORNING: '上午',
AFTERNOON: '下午',
EVENING: '夜间'
};
for (var i = 0; i < callNumList.length; ++i) {
var callNumInfo = callNumList[i], regTime = regTimeMap[callNumInfo.regTime],
bottomClass = 'dept-bottom';
if (callNumInfo.waitNum === -1) {
bottomClass = 'guohao-bottom';
} else if (callNumInfo.expertName) {
bottomClass = 'expert-bottom';
}
%>
<%if (callNumInfo.waitNum === -1) {%>
<%=callNumInfo.currentList%>
<%} else {
if (!callNumInfo.expertId){%>
<%=callNumInfo.currentList%>
<%} else {%>
<%=callNumInfo.currentList%>
<%}%>
<%}%>
<%=callNumInfo.dept%>
<% if (callNumInfo.expertName) { %>
<%=callNumInfo.expertName%>
<%}%>
<%=callNumInfo.patientName%>
<% if (callNumInfo.expertId) { %>
<%=regTime%>
专家号
<%} else {%>
普通号
<%}%>
我的序号
<%=callNumInfo.visitNo%>