<%include('pageHeader',header)%>
<%=param.doctor.name%>
<%=param.depart?param.depart.name: ''%> <%if (param.depart && param.depart.name) {%>       <%}%> <%=(param.doctor && param.doctor.titleDesc) ? param.doctor.titleDesc : ''%>
<%if (pageName === 'ExpertIndexView') {%>
医生排班
医生详情
<%}%>
医生简介
<%=param.doctor.introduction ? param.doctor.introduction : '暂无'%>
医生擅长
<%=param.doctor.speciality ? param.doctor.speciality : '暂无'%>
门诊地点
<%=param.doctor.location ? param.doctor.location : '暂无'%>
门诊时间
<%=param.doctor.expertTimePrice ? param.doctor.expertTimePrice : '暂无'%>
<%if (pageName !== 'ExpertIndexView') {%>
快速挂号
快速预约
<%}%> <%if (pageName === 'ExpertIndexView') {%> <%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++) { var schedule = scheduleList[i], times = schedule.times;%> <%if(schedule.regDate !== nowDate){%>
<%=scheduleList[i].regDate + ' '%><%=scheduleList[i].weekDay%><%=scheduleList[i].regTime%>
<%for(var j = 0;j
<%=time.timeline%>
<%='¥'+scheduleList[i].price%>
<%if(time.leftNum-0 !== 0){%>
<%if(regType==='REAL_TIME'){%>去挂号<%}else{%>去预约<%}%>
<%} else{%>
<%=time.remark%>
<%}%>
<%}%> <%}else{%>
<%=scheduleList[i].regDate + ' '%><%=scheduleList[i].weekDay%>
<%=scheduleList[i].regTime%>
<%='¥'+scheduleList[i].price%>
<%if(scheduleList[i].leftNum-0 !== 0){%>
<%if(regType==='REAL_TIME'){%>去挂号<%}else{%>去预约<%}%>
<%} else{%>
<%=scheduleList[i].remark%>
<%}%>
<%}%> <%}%>
<%} else {%>
<% for (var i = 0; i < scheduleList.length; i++) {%>
<%=scheduleList[i].regDate%>
<%=scheduleList[i].weekDay%><%=scheduleList[i].regTime === 'MORNING' ? '上午' : '下午'%>
<%='¥'+scheduleList[i].price%>
<%if(scheduleList[i].leftNum && scheduleList[i].leftNum*1 !== 0){%>
<%if(regType==='REAL_TIME'){%>去挂号<%}else{%>去预约<%}%>
<%} else{%>
<%=scheduleList[i].remark%>
<%}%>
<%}%>
<%}%> <%} else {%>
没有专家排班
<%}%> <%}%>