<%include('pageHeader',header)%>
科室简介 <%if(param.dept.introduction && param.dept.introduction.length> 100){%>
<%}%>
<% 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 %>
<%if (pageName === 'DepartIndexView'){%> <%if(scheduleList && scheduleList.length > 0){ var regMap = { 'MORNING': '上午', 'AFTERNOON': '下午' } %> <%if(!scheduleList[0].times||(scheduleList[0].times&&scheduleList[0].times.length==0)){%>
<% for (var i = 0; i < scheduleList.length; i++) {%>
<%=scheduleList[i].regDate%>
<%=scheduleList[i].weekDay%><%=regMap[scheduleList[i].regTime]%>
<%='¥'+scheduleList[i].price%>
<%="剩余:" + scheduleList[i].leftNum%>
<%if(scheduleList[i].leftNum !== 0){%>
<%= param.regType === 'RESERVATION'? '去预约': '去挂号'%>
<%}else {%>
<%=scheduleList[i].remark%>
<%}%>
<%}%>
<%}else if(scheduleList[0].times && scheduleList[0].times.length>0){%> <% 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
<%=time.timeline%>
<%='¥'+scheduleList[i].price%>
<%if(time.leftNum-0 !== 0){%>
<%= param.regType === 'RESERVATION'? '去预约': '去挂号'%>
<%} else{%>
<%=time.remark%>
<%}%>
<%}%> <%}%> <%}%> <%}else{%>
没有排班
<%}%> <%}%>
<%if(pageName !== 'DepartIndexView') {%>
专家介绍
<%}%>