chlInfo.home.jsp 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. <html>
  2. <head>
  3. <title>${sessionScope.projectUrlDesc}</title>
  4. <%-- 先去掉,应该没用到。Lin
  5. <wd:write type="skin" t="dialog" />
  6. <wd:write type="skin" t="menu" />
  7. --%>
  8. <skin.ss file="/ss/gate"/>
  9. <js.ss file="/ss/appauthority.js"/>
  10. <js.ss file="/ss/qrcode/qrcode.js"/>
  11. <js.ss file="/ss/qrcode/jquery.qrcode.js"/>
  12. </head>
  13. <style>
  14. * {
  15. margin: 0px;
  16. padding: 0px;
  17. }
  18. body {
  19. width: 100%;
  20. height: 100%;
  21. }
  22. #ascrail2000 {
  23. display: none !important;
  24. }
  25. #ascrail2009 {
  26. display: none !important;
  27. }
  28. video {
  29. position: fixed;
  30. max-width: 100%;
  31. min-height: 100%;
  32. height: auto;
  33. width: 100%;
  34. object-fit: fill;
  35. z-index: -999;
  36. }
  37. .login-pageBackground {
  38. background: none !important;
  39. }
  40. input::-webkit-input-placeholder {
  41. color: #fff !important;
  42. }
  43. .content-largeText td {
  44. width: 410px;
  45. padding-left: 60px;
  46. }
  47. .selectedStyle {
  48. width: 388px;
  49. margin: 1px 0px 0px 1px;
  50. font-family: Microsoft YaHei;
  51. padding: 0px 0 0 5px;
  52. line-height: 40px;
  53. height: 50px;
  54. border: 2px solid #cccccc;
  55. border-radius: 2px;
  56. appearance: none;
  57. font-size: 36px;
  58. -moz-appearance: none;
  59. -webkit-appearance: none;
  60. background: url("/skin/easy/image/dialog-select-icon.png")
  61. no-repeat 360px 18px;
  62. overflow: auto !important;
  63. }
  64. .selectedStyle option {
  65. font-size: 30px !important;
  66. }
  67. select::-webkit-scrollbar {
  68. cursor: url(/skin/easy/image/cur.ico), default !important; /* ($@{sessionScope["XMMC"]}/theme/EasyUses/image/cur.ico),。Lin */
  69. width: 8px;
  70. }
  71. select::-webkit-scrollbar-track {
  72. background-color: none;
  73. border-radius: 5px;
  74. cursor: url(/skin/easy/image/cur.ico), default !important; /* ($@{sessionScope["XMMC"]}/theme/EasyUses/image/cur.ico),。Lin */
  75. }
  76. select::-webkit-scrollbar-thumb {
  77. background: #b7b7b7;
  78. cursor: url(/skin/easy/image/cur.ico), default !important; /* ($@{sessionScope["XMMC"]}/theme/EasyUses/image/cur.ico),。Lin */
  79. border-radius: 5px;
  80. }
  81. </style>
  82. <equal.ss val="${empty MSG}" val2="true">
  83. <body id="body" style="margin:32% 0px ;padding:0px;text-align: center;background-color:#e6e6e6;">
  84. <div>
  85. <%-- 去掉,不送到闸机。Lin
  86. <input type="hidden" name="ryid" value="${ryid}" class="input-text input-number"/>
  87. --%>
  88. <img id="zjz"
  89. src="<serv.ss name='dlByHttp' parm='{path:"${info.zjzwj}"}'/>" <%-- :"getData",。Lin --%>
  90. onerror="this.src='/skin/easy/image/default-photo.png'" style="width:435px;height:588px;border: 1px solid #FFF;border-radius: 10px;"></img> <%-- ='$@{sessionScope["XMMC"]}/theme/EasyUses/image/default-photo.png'"。Lin --%>
  91. </div>
  92. <div class='xm content-largeText' style="color:#000;font-size:60px;line-height:90px;margin-top:72px;;">
  93. <p id="xm" style="font-family: Microsoft YaHei;">${info.xm}</p>
  94. <equal.ss val="${empty info.bjmc}" val2="false">
  95. <p id="bj" style="font-family: Microsoft YaHei;">${info.bjmc}</p>
  96. </equal.ss>
  97. <equal.ss val="${empty info.ryh}" val2="false">
  98. <p id="xh" style="font-family: Microsoft YaHei;">${info.ryh}</p>
  99. </equal.ss>
  100. <equal.ss val='${info.outOpenNumber==1}' val2="false">
  101. <p id="lxlb" class="content-largeWarningText" style="vertical-align: top;font-size:60px;<wd:equal leftValue='${info.lxlb != "无原由"}' rightValue='true'>color:black</wd:equal>">${info.lxlb}</p>
  102. </equal.ss>
  103. <equal.ss val='${info.outOpenNumber==1}' val2="true">
  104. <p>
  105. <span id="lxlb" class="content-largeWarningText" style="vertical-align: top;font-size:60px;">
  106. 次数已超出(${info.ylkcs})
  107. </span>
  108. <span id="lxlbts" class="content-largeWarningText" style="vertical-align: top;">
  109. <img style=" width: 60px;height: 60px;top: -2px;position: relative; "
  110. src="/skin/easy/image/warning.gif"/> <%-- ="${sessionScope['XMMC']}/theme/EasyUses/image/warning.gif"。Lin --%>
  111. </span>
  112. </p>
  113. </equal.ss>
  114. <%--可开门--%>
  115. <%-- 先去掉,改为独立发开门指令了。Lin
  116. add_jcjl_jt() > add_jcjl_jt_callback("${jcjlid}"),不知干啥用???
  117. <wd:equal leftValue='${info.sfkz==1}' rightValue="true">
  118. <script type="text/javascript">
  119. gate_result_callback = function(){
  120. open_Gate_door1();
  121. add_jcjl_jt();
  122. }
  123. </script>
  124. </wd:equal>
  125. --%>
  126. <%--不可开门--%>
  127. <%-- 先去掉,改为独立发开门指令了。Lin
  128. Gate_Exception(${empty info.gateException?-1:info.gateException}) 不知干啥用???
  129. add_jcjl_jt() > add_jcjl_jt_callback("${jcjlid}"),不知干啥用???
  130. <wd:equal leftValue='${info.sfkz==1}' rightValue="false">
  131. <script type="text/javascript">
  132. gate_result_callback = function(){
  133. Gate_Exception(${empty info.gateException?-1:info.gateException});
  134. add_jcjl_jt();
  135. }
  136. </script>
  137. </wd:equal>
  138. --%>
  139. <%--
  140. <wd:equal leftValue='${info.lxlb == "请假" && info.ylkcs >= info.zdlkcs}' rightValue="false">
  141. <p id="lxlb" class="content-largeWarningText" style="vertical-align: top;font-size:60px;<wd:equal leftValue='${info.lxlb != "无原由"}' rightValue='true'>color:black</wd:equal>">${info.lxlb}</p>
  142. <wd:equal leftValue='${info.lxlb == "请假"}' rightValue="true">
  143. <wd:equal leftValue='${not empty t && t >= 37.3}' rightValue="true">
  144. <script type="text/javascript">
  145. gate_result_callback = function(){
  146. //open_Gate_door1();
  147. Gate_Exception(1);
  148. add_jcjl_jt();
  149. }
  150. </script>
  151. </wd:equal>
  152. <wd:equal leftValue='${not empty t && t >= 37.3}' rightValue="false">
  153. <script type="text/javascript">
  154. gate_result_callback = function(){
  155. open_Gate_door1();
  156. //Gate_Exception(0);
  157. add_jcjl_jt();
  158. }
  159. </script>
  160. </wd:equal>
  161. </wd:equal>
  162. <wd:equal leftValue='${info.lxlb == "请假"}' rightValue="false">
  163. <script type="text/javascript">
  164. gate_result_callback = function(){
  165. //暂时开门,尤老师测试开门用
  166. //open_Gate_door1();
  167. Gate_Exception(-1);
  168. add_jcjl_jt();
  169. }
  170. </script>
  171. </wd:equal>
  172. </wd:equal>
  173. <wd:equal leftValue='${info.lxlb == "请假" && info.ylkcs >= info.zdlkcs}' rightValue="true">
  174. <p>
  175. <span id="lxlb" class="content-largeWarningText"
  176. style="vertical-align: top;font-size:60px;">次数已超出(${info.ylkcs})</span>
  177. <span id="lxlbts" class="content-largeWarningText"
  178. style="vertical-align: top;"> <img
  179. src="${sessionScope['XMMC']}/theme/EasyUses/image/warning.gif"
  180. style=" width: 60px;height: 60px;top: -2px;position: relative; " />
  181. </span>
  182. </p>
  183. <wd:equal leftValue='${not empty t && t >= 37.3}' rightValue="true">
  184. <script type="text/javascript">
  185. gate_result_callback = function(){
  186. //open_Gate_door1();
  187. Gate_Exception(1);
  188. add_jcjl_jt();
  189. }
  190. </script>
  191. </wd:equal>
  192. <wd:equal leftValue='${not empty t && t >= 37.3}' rightValue="false">
  193. <script type="text/javascript">
  194. gate_result_callback = function(){
  195. open_Gate_door1();
  196. //Gate_Exception(0);
  197. add_jcjl_jt();
  198. }
  199. </script>
  200. </wd:equal>
  201. </wd:equal>
  202. --%>
  203. <%--体温异常--%>
  204. <equal.ss val='${info.hyperthermia}' val2="true"> <%-- ='${info.hyperthermia==1}'。改为 boolean 了。Lin --%>
  205. <p>
  206. <span class="content-largeWarningText" style="color:red;font-size:60px;">
  207. ${t}℃ <%-- GateS 没有写 request."t"。Lin --%>
  208. </span>
  209. </p>
  210. </equal.ss>
  211. <%--体温OK--%>
  212. <equal.ss val='${info.hyperthermia}' val2="false"> <%-- ='${info.hyperthermia==1}'。改为 boolean 了。Lin --%>
  213. <p>
  214. <span class="content-largeWarningText" style="color:black;font-size:60px;">
  215. ${t}℃ <%-- GateS 没有写 request."t"。Lin --%>
  216. </span>
  217. </p>
  218. </equal.ss>
  219. <equal.ss val='${empty OPENMSG}' val2="false">
  220. <p class="content-largeWarningText" style="font-size:60px;">${OPENMSG}</p>
  221. </equal.ss>
  222. </div>
  223. <%-- 先去掉,没用到了。Lin
  224. <script type="text/javascript">
  225. function add_jcjl_jt(){
  226. add_jcjl_jt_callback("${jcjlid}");
  227. }
  228. </script>
  229. --%>
  230. </body>
  231. </equal.ss>
  232. <equal.ss val="${empty MSG}" val2="false">
  233. <body style="align-items: center;justify-content: center; display: flex;background-color:#e6e6e6;">
  234. <div>
  235. <div style="text-align: center;">
  236. <img style="width:342px;height:287px;"
  237. src="/skin/easy/image/largeWarning.png"/> <%-- ="${sessionScope['XMMC']}/theme/EasyUses/image/largeWarning.png"。Lin --%>
  238. </div>
  239. <div class='xm content-largeText' style="font-family: Microsoft YaHei;color:#000;font-size:60px;line-height:90px;margin-top:72px;text-align: center;">
  240. <p id="xm" style="font-family: Microsoft YaHei;">${info.xm}</p>
  241. <equal.ss val="${empty info.bjmc}" val2="false">
  242. <p id="bj" style="font-family: Microsoft YaHei;">${info.bjmc}</p>
  243. </equal.ss>
  244. <equal.ss val="${empty info.ryh}" val2="false">
  245. <p id="xh" style="font-family: Microsoft YaHei;">${info.ryh}</p>
  246. </equal.ss>
  247. <p class="content-largeWarningText" style="font-size:60px;">${MSG}</p>
  248. </div>
  249. </div>
  250. <%-- 先去掉,改为独立发开门指令了。Lin
  251. Gate_Exception( 不知干啥用???
  252. <script type="text/javascript">
  253. gate_result_callback = function(){
  254. Gate_Exception(-1);
  255. }
  256. </script>
  257. --%>
  258. </body>
  259. </equal.ss>
  260. </html>