<%if( type === ''){%> <% } else if(type === 'AppointmentRecordView') {%> <% if (regs.length === 0){%>
您最近没有相关记录
<% }else {%>
<% var statusMap = { 'PASS': '预约成功', 'UNPASS': '预约失败', 'CANCELLED': '已撤销', 'RETURNED': '未通过', 'APPOINTTING': '预约成功待确认挂号', 'EXPIRED':'已过期', }; for( var i=0;i< regs[0].regRecords.length;i++ ) { var item = regs[0].regRecords[i],recordStatus = '',color = ''; %>
<%=statusMap[item.status]%>
<%=item.regDate+' '+(item.regTime==='MORNING'?'上午':'下午')%>
<%if(item.promptMessage){%>
<%=item.promptMessage%>
<%}%>
查看详情
<% }%>
<% }%> <% } else if(type === 'GuahaoRecordView') {%> <% if (regs.length === 0){%>
您最近没有相关记录
<% }else {%>
<% var statusMap = { 'PASS': '挂号成功', 'UNPASS': '挂号失败', 'CANCELLED': '已撤销', 'RETURNED': '未通过', 'APPOINTTING': '预约成功待确认挂号', 'EXPIRED':'已过期', }; for( var i=0;i< regs[0].regRecords.length;i++ ) { var item = regs[0].regRecords[i],recordStatus = '',color = ''; %>
<%=statusMap[item.status]%>
<%=item.regDate+' '+(item.regTime==='MORNING'?'上午':'下午')%>
<%if(item.promptMessage){%>
<%=item.promptMessage%>
<%}%>
查看详情
<% }%>
<% }%> <% } else if( type === 'VisitDoctorRecordView') {%> <%if( regs.length === 0 && modal === 'index' ) {%>
您最近没有相关记录
<%} else {%>
<% var i, j; for(i=0;i
<%=mouth.deptName%>
<%=mouth.patientName%> <%if(mouth.cardNO){%> <%='(***' + mouth.cardNO.substring((mouth.cardNO.length - 4),mouth.cardNO.length) + ')'%> <%}%>
<%=mouth.medDate%> 查看详情
<%}%>
<%}%> <% } else if(type === 'CostRecordView') {%> <%if( regs.length === 0 && modal === 'index' ) {%>
您最近没有相关记录
<%} else {%> <%for( var i = 0;i < regs.length;i++ ) {%>
<%=' ¥' + regs[i].totalFee%>
<%=regs[i].feeDate.substring(0,10)%>
查看详情
<%}%> <% }%> <% } else if(type === 'UnFinishCostRecordView') {%> <% } else if( type === 'CheckupRecordView' || type === 'CheckInspectRecordView') {%> <%if( regs.length === 0 && modal === 'index' ) {%>
您最近没有相关记录
<%} else {%>
<% for( var i=0;i< regs.length;i++ ) { %>
<%=regs[i].itemName%>
<%=regs[i].reportDate%>
查看详情
<%}%>
<% }%> <% } else if(type === 'UnFinishCostRecordView') {%> <% } else if(type === 'ChuFangRecordView') {%> <%if( regs.length === 0 && modal === 'index' ) {%>
您最近没有相关记录
<%} else {%> <%for( var i = 0;i < regs.length;i++ ) {%>
<%=regs[i].monthName%>
<%var recordList = regs[i].items; for(var j = 0; j < recordList.length; j++){ var item = recordList[j];%>
<%=item.deptName%>
<%=item.presDate%>
查看详情 <%== (item.readType-0 === 0 ? '(未读)': '(已读)')%>
<%}%> <%}%> <% }%> <%}%>