<%if(type){%>
<%include('pageHeader',header)%>
<%for (var i = 0; i < doctorList.length; i++) {%> <%if (doctorAction) {%>
<%} else {%>
<%}%>
<%=doctorList[i].name%>     <%=doctorList[i].title%>
<%=doctorList[i].speciality?doctorList[i].speciality:doctorList[i].introduction%>
<%if (i === doctorList.length - 1) {%>
<%} else {%>
<%}%>
<%}%> <%if(doctorList.length === 0){%>
暂无医生
<%}%>
5
<%}else{%>
<%include('pageHeader',header)%>
当前叫号
<%=param.dept.name%>
<%for (var i = 0; i < doctorList.length; i++) {%>
<%=doctorList[i].name%>     <%=doctorList[i].title%>
<%if(doctorList[i].currCallNum){%>
<%='当前叫号:' + doctorList[i].currCallNum%>
<%}%>
<%if (i === doctorList.length - 1) {%>
<%} else {%>
<%}%>
<%}%> <%if(doctorList.length === 0){%>
暂无医生
<%}%>
<%}%>