<% var data = store.getMyInfo(); var order_div_size = "zjf-home-order-div-large";//订单审批 var noorder_size = "zjf-home-noorder-large";//无订单 var noflight_size = "zjf-home-noflight-large";//无订单间距 var logo_size = isAmex ? "zjf-home-amex-logo-large":"zjf-home-logo-large";//logo padding var planehotel_size = ""; var home_order_first_padding = "zjf-home-order-first-padding-large";//有行程间距 var logo_default_short = ""; if(windowHeight <= 480){//用于屏幕尺寸小的手机 order_div_size = "zjf-home-order-div-small"; noorder_size = "zjf-home-noorder-small"; logo_size = isAmex ? "zjf-home-amex-logo-small" : "zjf-home-logo-small";//amex-logo高度比其他高10px var theme = store.getTheme(); if(_.isEmpty(theme) || theme == 'blue' || theme == 'green'){//默认主题logo标志宽度变窄处理 logo_default_short = "zjf-home-logo-short"; } planehotel_size = "zjf-home-planehotel-small"; noflight_size = "zjf-home-noflight-small"; home_order_first_padding = "zjf-home-order-first-padding-small"; } var title_logo = 'zjf-icon-logo'; if(isAmex){ title_logo = 'zjf-icon-amex-logo';//amex-logo图标高度比其他logo高度要高10px } %>
<%if(!_.isEmpty(appConfig)&& !_.isEmpty(appConfig.privateJourney) && _.isEqual(appConfig.privateJourney,"Y")){%>
<%= lang.business_trip %><%= lang.personal_trip2 %>
<% } %> <% var flag = utils.isHotelAndPlaneNeed(store); var appConfig = store.getAppConfig(); var swiperClass = ""; var flagTotal = 0; if(flag.planeFlag){//有机票预订 flagTotal ++; } if(flag.hotelFlag){//有酒店预订 flagTotal ++; } if(appConfig){ if(!_.isEmpty(appConfig.bookTrain) && appConfig.bookTrain == 'Y'){//有火车预订 flagTotal ++; } if(!utils.ifEmpty(appConfig.bookTaxi) && appConfig.bookTaxi == 'Y'){//有租车预订 flagTotal ++; } } if(flagTotal > 2){ swiperClass = "swiper_ul"; } %>
<%if(homeSwiperData && homeSwiperData != null && !utils.ifArrEmpty(homeSwiperData)){ %> <%for (var i=0; i
<%if(homeSwiperData.dataFrom != 1){%>
<%}else{%>
<%}%>
<%if(homeSwiperData[i].trainNo != null){%> <%}else{%> <%}%>
<%}%> <% } //酒店行程 else if(journeyData && journeyData.hotelOrderNo && null != journeyData.hotelOrderNo && journeyData.hotelOrderNo != ""){ var fixClass1=''; var fixClass2=''; if(noorder_size=="zjf-home-noorder-small"){ fixClass1='sqw-home-hotel-address'; fixClass2='sqw-home-hotel-date'; } %>

<%=utils.killNull(journeyData.hotelName)%>

<%=utils.killNull(journeyData.hotelAddress)%>

<% var checkInDateMill=journeyData.hotelCheckInDate?journeyData.hotelCheckInDate:0; var checkOutDateMill=journeyData.hotelCheckOutDate?journeyData.hotelCheckOutDate:0; var checkInDate=checkInDateMill?new Date(checkInDateMill):''; var checkOutDate=checkOutDateMill?new Date(checkOutDateMill):''; var checkInDateShow=typeof checkInDate==='object'?utils.formatEnChShortDate(checkInDate,"mm-dd",store):checkInDate; var checkOutDateShow=typeof checkOutDate==='object'?utils.formatEnChShortDate(checkOutDate,"mm-dd",store):checkOutDate; %>

<%= lang.check_in+lang.colon %>  <%= lang.check_out+lang.colon %>

<%} else {%> <% if(data.agentId == 1 || data.agentId == 3 || utils.ifArrEmpty(customerServicePhoneCollection)){ %>

<% if(store.getLang() != 'en-us') { %>
<% } %>
<% } %> <% } %> <% if(data.agentId != 1 && data.agentId != 3 && !utils.ifArrEmpty(customerServicePhoneCollection)){ %>
<% if(customerServicePhoneCollection.length > 1){ %>
<% var phoneTextSize = 18 + (4 - customerServicePhoneCollection.length) * 2; var sgPaddingTop = customerServicePhoneCollection.length > 2 ? "1em" : "0.5em"; %> <%for (var i = 0; i < customerServicePhoneCollection.length; i++){ %> <%= customerServicePhoneCollection[i].phoneNumberDisplay + customerServicePhoneCollection[i].ext%> <% } %>

<%= lang.home_service_group %>
<%} else {%>
  <%= lang.home_service_group %>
<%for (var i = 0; i < customerServicePhoneCollection.length; i++){ %> <%= customerServicePhoneCollection[i].phoneNumberDisplay + customerServicePhoneCollection[i].ext%> <% } %>
<%}%>
<% } %>
<% var orderReviewDisplay = "none"; var onlyOrderDisplay = "none"; if(data.approvalType == 1 || params.home.canApprove){//有审批权限 orderReviewDisplay = ''; } else { onlyOrderDisplay = ''; } %>


<% var review_display = "none"; if(reviewData > 0){ review_display = ''; } %>

<%= reviewData %>