<%include('pageHeader',header)%>
科室简介
<% var introduction = '', theCalss= ''; if( !param.dept.introduction){ introduction = '暂无简介'; }else if(param.dept.introduction.length> 100){ introduction = param.dept.introduction.substring(0,100)+ '...'; theCalss = 'half'; }else { introduction = param.dept.introduction; } %>
<%=introduction %>
科室位置
<%=param.dept.location ? param.dept.location : '暂无' %>
<%if (pageName === 'DepartIndexView'){%> <%if(scheduleList && scheduleList.length > 0){%> <%if(!scheduleList[0].times || scheduleList[0].times.length === 0 ){%>
<% var regMap = { 'MORNING': '上午', 'AFTERNOON': '下午' } for (var i = 0; i < scheduleList.length; i++) {%>
<%=scheduleList[i].regDate%>
<%=scheduleList[i].weekDay%><%=scheduleList[i].regTime === 'AFTERNOON' ? '下午' : '上午'%>
¥<%=scheduleList[i].price%>
<%= param.regType === 'RESERVATION'? '去预约': '去挂号'%>
<%}%>
<%}else if(scheduleList[0].times && scheduleList[0].times.length>0){%> <%if(regType === 'REAL_TIME'){%>
<% var regMap = { 'MORNING': '上午', 'AFTERNOON': '下午' } for (var i = 0; i < scheduleList.length; i++) {%>
<%=scheduleList[i].regDate%>
<%=scheduleList[i].weekDay%><%=scheduleList[i].regTime%>
¥<%=scheduleList[i].price%>
<%= param.regType === 'RESERVATION'? '去预约': '去挂号'%>
<%}%>
<%}else{%> <% var regMap = { 'MORNING': '上午', 'AFTERNOON': '下午' } for (var i = 0; i < scheduleList.length; i++) { var schedule = scheduleList[i], times = schedule.times;%>
<%=scheduleList[i].regDate + ' '%><%=scheduleList[i].weekDay%><%=regMap[scheduleList[i].regTime]%>
<%for(var j = 0;j
<%=schedule.regTime%>
<%='¥'+scheduleList[i].price%>
<%if(time.leftNum-0 > 0){%>
<%= param.regType === 'RESERVATION'? '去预约': '去挂号'%>
<%} else{%>
<%=time.remark%>
<%}%>
<%}%> <%}%> <%}%> <%}%> <%}else{%>
没有排班
<%}%> <%}%>
<%if(pageName !== 'DepartIndexView') {%>
专家介绍
<%}%>