|
@@ -37,55 +37,64 @@
|
|
|
<input type="hidden" name="qrCode" value="${qrCode}" id="qrCode">
|
|
|
<input type="hidden" id="visitorQrCode" value="${visitorQrCode}" />
|
|
|
<input type="hidden" id="passType" value="${passType}" />
|
|
|
-
|
|
|
+ <input type="hidden" name="orgId" id="orgId" value="${organization.id}" />
|
|
|
<div class="bottomView" style="background:transparent;box-shadow: none;">
|
|
|
- <c:if test="${fn:contains(passType,'0')}">
|
|
|
- <div class="clearfix">
|
|
|
- <p class="title" style="">
|
|
|
- <c:if test="${visitorInfo.visitorAccount==0 }">
|
|
|
- <c:if test="${empty visitorInfo.imageUrL }">
|
|
|
- 请使用密码进入
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
- <c:if test="${visitorInfo.visitorAccount==0 }">
|
|
|
- <c:if test="${not empty visitorInfo.imageUrL }">
|
|
|
- 直接刷脸进入,无需排队
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
- <c:if test="${visitorInfo.visitorAccount==1 }">
|
|
|
- <c:if test="${empty visitorInfo.imageUrL }">
|
|
|
- 添加头像, 直接刷脸进入,无需排队
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
- </p>
|
|
|
- <p class="reservationCode" style="">预约码</p>
|
|
|
- <p class="reservationCodeNum" style="">${visitorInfo.visitorPassword }</p>
|
|
|
- <p class="titles" style="">通行卡兑换凭证</p>
|
|
|
- <p class="reservationCodeTime" style="">有效时间:${dateweek } ${visitorInfo.week }
|
|
|
- ${visitorInfo.toDate }</p>
|
|
|
- </div>
|
|
|
- </c:if>
|
|
|
- <c:if test="${fn:contains(passType,'2')}">
|
|
|
- <div class="qrcode_wrap" style="font-size: 18px;color: #007BFF;background: #ffffff;border-bottom-right-radius: 10px;border-bottom-left-radius:10px">
|
|
|
- <p class="qrcode_title" style="padding-bottom:10px">通行码</p>
|
|
|
- <p style="font-size: 15px;color: #333333;text-align:center;padding-bottom:10px">可在闸机二维码读头设备处扫码通行</p>
|
|
|
- <div class="qrcode_img_wrap">
|
|
|
- <div id="visitorCode"></div>
|
|
|
- </div>
|
|
|
- <p class="qrcode_tip ">二维码当日有效,截止当日时间23:59:59</p>
|
|
|
- </div>
|
|
|
- </c:if>
|
|
|
- <c:if test="${fn:contains(passType,'3')}">
|
|
|
- <div class="qrcode_wrap" style="margin-top: 20px;font-size: 18px;color: #007BFF;background: #ffffff;border-radius: 10px;">
|
|
|
- <p class="qrcode_title">请在客服处扫码打印访客单</p>
|
|
|
- <div class="qrcode_img_wrap">
|
|
|
- <div id="code"></div>
|
|
|
- </div>
|
|
|
- <p class="qrcode_tip ">二维码当日有效,截止当日时间23:59:59</p>
|
|
|
+ <c:if test="${organization.id != 615&&organization.id != 969&&organization.id != 1247}">
|
|
|
+ <div>
|
|
|
+ <c:if test="${fn:contains(passType,'0')}">
|
|
|
+ <div class="clearfix">
|
|
|
+ <p class="title" style="">
|
|
|
+ <c:if test="${visitorInfo.visitorAccount==0 }">
|
|
|
+ <c:if test="${empty visitorInfo.imageUrL }">
|
|
|
+ 请使用密码进入
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${visitorInfo.visitorAccount==0 }">
|
|
|
+ <c:if test="${not empty visitorInfo.imageUrL }">
|
|
|
+ 直接刷脸进入,无需排队
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${visitorInfo.visitorAccount==1 }">
|
|
|
+ <c:if test="${empty visitorInfo.imageUrL }">
|
|
|
+ 添加头像, 直接刷脸进入,无需排队
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ </p>
|
|
|
+ <p class="reservationCode" style="">预约码</p>
|
|
|
+ <p class="reservationCodeNum" style="">${visitorInfo.visitorPassword }</p>
|
|
|
+ <p class="titles" style="">通行卡兑换凭证</p>
|
|
|
+ <p class="reservationCodeTime" style="">有效时间:${dateweek } ${visitorInfo.week }
|
|
|
+ ${visitorInfo.toDate }</p>
|
|
|
+ </div>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${fn:contains(passType,'2')}">
|
|
|
+ <div class="qrcode_wrap" style="font-size: 18px;color: #007BFF;background: #ffffff;border-bottom-right-radius: 10px;border-bottom-left-radius:10px">
|
|
|
+ <p class="qrcode_title" style="padding-bottom:10px">通行码</p>
|
|
|
+ <p style="font-size: 15px;color: #333333;text-align:center;padding-bottom:10px">可在闸机二维码读头设备处扫码通行</p>
|
|
|
+ <div class="qrcode_img_wrap">
|
|
|
+ <div id="visitorCode"></div>
|
|
|
+ </div>
|
|
|
+ <p class="qrcode_tip ">二维码当日有效,截止当日时间23:59:59</p>
|
|
|
+ </div>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${fn:contains(passType,'3')}">
|
|
|
+ <div class="qrcode_wrap" style="margin-top: 20px;font-size: 18px;color: #007BFF;background: #ffffff;border-radius: 10px;">
|
|
|
+ <p class="qrcode_title">请在客服处扫码打印访客单</p>
|
|
|
+ <div class="qrcode_img_wrap">
|
|
|
+ <div id="code"></div>
|
|
|
+ </div>
|
|
|
+ <p class="qrcode_tip ">二维码当日有效,截止当日时间23:59:59</p>
|
|
|
+ </div>
|
|
|
+ </c:if>
|
|
|
</div>
|
|
|
</c:if>
|
|
|
- <div class="net" style="padding-top: 20px;border-top-right-radius: 10px;border-top-left-radius:10px">
|
|
|
- <p class="welcomeSty" style="font-size: 30px;">欢迎到访</p>
|
|
|
+ <div class="net" id="headradius" style="padding-top: 20px;border-top-right-radius: 10px;border-top-left-radius:10px;">
|
|
|
+ <c:if test="${organization.id == 615||organization.id == 969||organization.id == 1247}">
|
|
|
+ <img id="headimg" type="hidden" style="margin-left: 15px;width: calc(100% - 30px);" src="https://superdesk.avic-s.com/super_cloud/attachment/visitorImg/visitor_image.png" />
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${organization.id != 615&&organization.id != 969&&organization.id != 1247}">
|
|
|
+ <p id="headtext" type="hidden" class="welcomeSty" style="font-size: 30px;">欢迎到访</p>
|
|
|
+ </c:if>
|
|
|
<div class="headTime" style="font-size: 15px;">
|
|
|
<span class="netCircle"></span>
|
|
|
${visitorInfo.toDate } ${visitorInfo.week } 共${visitorInfo.count}位同行
|
|
@@ -96,7 +105,7 @@
|
|
|
</p>
|
|
|
<p class="company" style="font-size: 15px;">${visitorInfo.visitorCompanyName }</p>
|
|
|
<c:if test="${not empty visitorInfo.clientUserName}">
|
|
|
- <button class="details" type="button">详情 </button>
|
|
|
+ <button id="detailsbtn" class="details" type="button">详情 </button>
|
|
|
<div class="openOrColse">
|
|
|
<p class="openOrColsePeople">被访人:<span style="font-size: 26px;">${visitorInfo.clientUserName }</span> <a
|
|
|
href="tel:${visitorInfo.clientPhone}"
|
|
@@ -187,20 +196,27 @@
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
$(document).ready(function () {
|
|
|
+ console.log('orgId == ', $('#orgId').val())
|
|
|
$(window).resize(infinite);
|
|
|
infinite();
|
|
|
- $('#code').qrcode({
|
|
|
- width: 138,
|
|
|
- height: 138,
|
|
|
- text: $('#qrCode').val()
|
|
|
- })
|
|
|
- $('#visitorCode').qrcode({
|
|
|
- width: 138,
|
|
|
- height: 138,
|
|
|
- text: $('#visitorQrCode').val()
|
|
|
- })
|
|
|
+ if ($('#orgId').val() != 615&&$('#orgId').val() != 969&&$('#orgId').val() != 1247) {
|
|
|
+ $('#code').qrcode({
|
|
|
+ width: 138,
|
|
|
+ height: 138,
|
|
|
+ text: $('#qrCode').val()
|
|
|
+ })
|
|
|
+ $('#visitorCode').qrcode({
|
|
|
+ width: 138,
|
|
|
+ height: 138,
|
|
|
+ text: $('#visitorQrCode').val()
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ $('#headradius').attr("style", "padding-top: 20px;border-radius: 10px");
|
|
|
+ }
|
|
|
|
|
|
- $(".details").click(function () {
|
|
|
+ console.log('显示详情')
|
|
|
+ $("#detailsbtn").click(function () {
|
|
|
+ console.log('显示详情111');
|
|
|
var _this = $(this);
|
|
|
$(".openOrColse").slideToggle("slow");
|
|
|
if (!_this.hasClass("detailsup")) {
|