Dynamicattempt.jsp 71 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%@ page import="com.runzhixing.bean.CityPlace" %>
  3. <%@ page import="com.runzhixing.bean.CountryPlace" %>
  4. <%@ page import="com.runzhixing.bean.Station" %>
  5. <%@ page import="com.runzhixing.bean.AuthorityRegionPlace" %>
  6. <%@ page import="com.runzhixing.bean.User" %>
  7. <%@ page import="com.runzhixing.constant.Constant" %>
  8. <%@ page import="com.runzhixing.tool.Util" %>
  9. <%
  10. String path = request.getContextPath();
  11. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  12. User user = (User)session.getAttribute(Constant.userMark);
  13. List<AuthorityRegionPlace> arplist = user.getPrivilegePlaces1();
  14. List<CityPlace> cplist = new ArrayList<CityPlace>();
  15. List<CountryPlace> cyplist = new ArrayList<CountryPlace>();
  16. List<Station> slist = new ArrayList<Station>();
  17. %>
  18. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  19. <html>
  20. <head>
  21. <base href="<%=basePath%>">
  22. <title>动态视图</title>
  23. <meta http-equiv="pragma" content="no-cache">
  24. <meta http-equiv="cache-control" content="no-cache">
  25. <meta http-equiv="expires" content="0">
  26. <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  27. <meta http-equiv="description" content="This is my page">
  28. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  29. <meta http-equiv="X-UA-Compatible" content="IE=10"/>
  30. <link rel="stylesheet" type="text/css" href="css/easyui/themes/default/easyui.css">
  31. <link rel="stylesheet" type="text/css" href="css/easyui/themes/icon.css">
  32. <link rel="stylesheet" type="text/css" href="css/easyui/demo/demo.css">
  33. <script type="text/javascript" src="css/easyui/jquery.min.js"></script>
  34. <script type="text/javascript" src="css/easyui/jquery.easyui.min.js" charset="utf-8"></script>
  35. <script type="text/javascript" src="css/easyui/locale/easyui-lang-zh_CN.js" charset="utf-8"></script>
  36. <link rel="stylesheet" type="text/css" href="css/common/hzbstyle.css">
  37. <style type="text/css">
  38. .paiDiv a:HOVER{
  39. color: red;
  40. text-decoration: none;
  41. font-weight: bold;
  42. }
  43. .paiDiv a{
  44. color: #f08300;
  45. text-decoration: none;
  46. font-weight: bold;
  47. }
  48. .hzbspan{font-family:'Microsoft YaHei', Verdana, 'SimSun', 'Lucida Grande', 'Trebuchet MS', Helvetica, sans-serif;
  49. letter-spacing:normal;
  50. font-size: 14px;
  51. }
  52. .paiDiv font{
  53. font-weight: bold;
  54. color: red;
  55. }
  56. </style>
  57. <script type="text/javascript">
  58. var i = 1;//第几页
  59. var sum;//总条数
  60. var totalpage;//总页数
  61. var oldstationId;
  62. $(document).ready(function(){
  63. selectCountry11();
  64. selectStation();
  65. //getcng();
  66. });
  67. //点击查询按钮
  68. $('#btninfosearch').click(function(){
  69. var id=document.getElementById("station").value;
  70. i = 1;
  71. fLoadData(1,id);
  72. });
  73. function fLoadTable(){
  74. $('#tt').datagrid({
  75. });
  76. }
  77. function getcng(){
  78. var stationId = document.getElementById("station").value;
  79. getcngdetail(stationId);
  80. }
  81. function getcng1(){
  82. getcngdetail1(oldstationId);
  83. }
  84. function getcngdetail1(stationId){
  85. if(!stationId){}else{
  86. $.ajax({
  87. type:"POST",
  88. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  89. //url:"ajax/getstationdetail?stationId="+stationId,
  90. url:"ajax/getstationdetailreset?stationId="+stationId,
  91. success:function (data){
  92. $.messager.progress('close');
  93. var obj=eval("(" + data + ")");
  94. document.getElementById("tableDiv").innerHTML ="";
  95. $.each(obj.rows, function(i,item){
  96. if(!item.operatorName){
  97. item.operatorName = "未知";
  98. }
  99. if(!item.operatorName1){
  100. item.operatorName1 = "未知";
  101. }
  102. if(item.gunSum>=2){
  103. if((item.gunState==0)&&(item.gunState1==0)){
  104. if(item.ifyou==1){//加气机两个操作人员
  105. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/person'+item.sex1+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo1+')">'+item.operatorName1+'</a></div>上班时间:'+item.operTime1+'<br/>许可证号:<br/>'+item.licenceOrg1+'<br/>身份证号:<br/>'+item.idNo1+'</div></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty1+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  106. }else if(item.ifyou==0){
  107. if(item.gundir==0){
  108. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><div style="width:100%;height:3px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty1+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  109. }else{
  110. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">2号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>1号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><div style="width:100%;height:3px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty1+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  111. }
  112. //document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><div style="width:100%;height:3px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty1+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  113. }
  114. }else if((item.gunState!=0)&&(item.gunState1!=0)){
  115. if(item.ifyou==1){
  116. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #8B8386;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/person'+item.sex1+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo1+')">'+item.operatorName1+'</a></div>上班时间:'+item.operTime1+'<br/>许可证号:<br/>'+item.licenceOrg1+'<br/>身份证号:<br/>'+item.idNo1+'</div></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  117. }else if(item.ifyou==0){
  118. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #8B8386;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  119. }
  120. }else if((item.gunState!=0)&&(item.gunState1==0)){
  121. if(item.ifyou==1){
  122. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #8B8386;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/person'+item.sex1+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo1+')">'+item.operatorName1+'</a></div>上班时间:'+item.operTime1+'<br/>许可证号:<br/>'+item.licenceOrg1+'<br/>身份证号:<br/>'+item.idNo1+'</div></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  123. }else if(item.ifyou==0){
  124. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #8B8386;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  125. }
  126. }else if((item.gunState==0)&&(item.gunState1!=0)){
  127. if(item.ifyou==1){
  128. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #8B8386;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/person'+item.sex1+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo1+')">'+item.operatorName1+'</a></div>上班时间:'+item.operTime1+'<br/>许可证号:<br/>'+item.licenceOrg1+'<br/>身份证号:<br/>'+item.idNo1+'</div></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  129. }else if(item.ifyou==0){
  130. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #8B8386;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  131. }
  132. }
  133. }else if(item.gunSum==1){
  134. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/><br/>'+item.machinename+'</div></div>';
  135. }
  136. });
  137. //setInterval('getcng()',2*60*1000);
  138. setTimeout('getcng1()',1*60*1000);
  139. }
  140. });
  141. }
  142. }
  143. function getcngdetail(stationId){
  144. if(!stationId){}else{
  145. oldstationId = stationId;
  146. $.messager.progress({
  147. title: '请等待',
  148. msg: '正在加载数据...',
  149. text: '查询中.......'
  150. });
  151. $.ajax({
  152. type:"POST",
  153. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  154. url:"ajax/getstationdetail?stationId="+stationId,
  155. //url:"ajax/getstationdetailreset?stationId="+stationId,
  156. success:function (data){
  157. $.messager.progress('close');
  158. var obj=eval("(" + data + ")");
  159. document.getElementById("tableDiv").innerHTML ="";
  160. $.each(obj.rows, function(i,item){
  161. if(!item.operatorName){
  162. item.operatorName = "未知";
  163. }
  164. if(!item.operatorName1){
  165. item.operatorName1 = "未知";
  166. }
  167. if(item.gunSum>=2){
  168. if((item.gunState==0)&&(item.gunState1==0)){
  169. if(item.ifyou==1){//加气机两个操作人员
  170. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/person'+item.sex1+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo1+')">'+item.operatorName1+'</a></div>上班时间:'+item.operTime1+'<br/>许可证号:<br/>'+item.licenceOrg1+'<br/>身份证号:<br/>'+item.idNo1+'</div></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty1+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  171. }else if(item.ifyou==0){
  172. if(item.gundir==0){
  173. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><div style="width:100%;height:3px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty1+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  174. }else{
  175. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">2号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>1号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><div style="width:100%;height:3px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty1+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  176. }
  177. //document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><div style="width:100%;height:3px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty1+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  178. }
  179. }else if((item.gunState!=0)&&(item.gunState1!=0)){
  180. if(item.ifyou==1){
  181. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #8B8386;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/person'+item.sex1+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo1+')">'+item.operatorName1+'</a></div>上班时间:'+item.operTime1+'<br/>许可证号:<br/>'+item.licenceOrg1+'<br/>身份证号:<br/>'+item.idNo1+'</div></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  182. }else if(item.ifyou==0){
  183. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #8B8386;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  184. }
  185. }else if((item.gunState!=0)&&(item.gunState1==0)){
  186. if(item.ifyou==1){
  187. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #8B8386;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/person'+item.sex1+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo1+')">'+item.operatorName1+'</a></div>上班时间:'+item.operTime1+'<br/>许可证号:<br/>'+item.licenceOrg1+'<br/>身份证号:<br/>'+item.idNo1+'</div></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  188. }else if(item.ifyou==0){
  189. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #8B8386;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  190. }
  191. }else if((item.gunState==0)&&(item.gunState1!=0)){
  192. if(item.ifyou==1){
  193. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #8B8386;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/person'+item.sex1+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo1+')">'+item.operatorName1+'</a></div>上班时间:'+item.operTime1+'<br/>许可证号:<br/>'+item.licenceOrg1+'<br/>身份证号:<br/>'+item.idNo1+'</div></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  194. }else if(item.ifyou==0){
  195. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #8B8386;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.machinename+'</div><div style="float:left;text-align:left;width:20%;"><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/gunSuspended.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo1+'" target="_blank">详细</a></div>车牌号:'+item.carNo1+'<br/>类型:'+item.cartype1+'<br/>充装时间:<br/>'+item.endTime1+'</div></div></div><div style="width:100%;height:30px;"></div>';
  196. }
  197. }
  198. }else if(item.gunSum==1){
  199. document.getElementById("tableDiv").innerHTML += '<div class="paiDiv" style="border: 1px solid #63B8FF;text-align:center;width:100%;height:200px;border-top:none;"><div style="float:left;width:3%;height:200px;"></div><div style="float:left;text-align:left;width:20%;"><img src="images/rzx/c'+item.cty+'.gif" style="height:60px;width:auto;"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;float:left;width:50%;">车辆信息</div><div style="border-bottom:1px solid #63B8FF;float:left;width:45%;text-align:right;"><a style="cursor:pointer;" href="machineDetail?carNo='+item.carNo+'" target="_blank">详细</a></div>车牌号:'+item.carNo+'<br/>类型:'+item.cartype+'<br/>充装时间:<br/>'+item.endTime+'</div></div><div style="float:left;text-align:left;width:10%;height:135px;"><img src="images/rzx/person'+item.sex+'.gif"/><div style="width:100%;height:3px;"></div><div style="border:1px solid #63B8FF;border-radius: 5px;width:150px;"><div style="border-bottom:1px solid #63B8FF;width:50%;float:left;">工作人员信息</div><div style="border-bottom:1px solid #63B8FF;width:45%;float:left;text-align:right;"><a style="cursor:pointer;" onclick="operatorDetail('+item.operatorNo+')">'+item.operatorName+'</a></div>上班时间:'+item.operTime+'<br/>许可证号:<br/>'+item.licenceOrg+'<br/>身份证号:<br/>'+item.idNo+'</div></div> <div style="float:left;width:25%;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/><br/>'+item.machinename+'</div></div>';
  200. }
  201. });
  202. //setInterval('getcng()',2*60*1000);
  203. setTimeout('getcng1()',1*60*1000);
  204. }
  205. });
  206. }
  207. }
  208. function operatorDetail(operatorNo){
  209. $.messager.progress({
  210. title: '请等待',
  211. msg: '正在加载数据...',
  212. text: '查询中.......'
  213. });
  214. $.ajax({
  215. type:"POST",
  216. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  217. url:"ajax/operatorDetail?operatorno="+operatorNo,
  218. success:function (data){
  219. $.messager.progress('close');
  220. var obj=eval("(" + data + ")");
  221. $.each(obj.rows, function(i,item){
  222. document.getElementById("opname").value = item.name;
  223. if(item.sex==1){
  224. document.getElementById("opsex").value = "女";
  225. }else if(item.sex==0){
  226. document.getElementById("opsex").value = "男";
  227. }else{
  228. document.getElementById("opsex").value = "未知性别";
  229. }
  230. document.getElementById("opidno").value = item.idNo;
  231. document.getElementById("oplicence").value = item.licence;
  232. document.getElementById("oplicenceorg").value = item.licenceOrg;
  233. if(!item.licenceDate||item.licenceDate=="null"){
  234. item.licenceDate="";
  235. }else if(item.licenceDate.length>9){
  236. item.licenceDate = item.licenceDate.substring(0,10);
  237. }
  238. if(!item.validity||item.validity=="null"){
  239. item.validity="";
  240. }else if(item.validity.length>9){
  241. item.validity = item.validity.substring(0,10);
  242. }
  243. document.getElementById("oplicenceDate").value = item.licenceDate;
  244. document.getElementById("opvalidity").value = item.validity;
  245. });
  246. $('#operatorwindows').window('open');
  247. }
  248. });
  249. }
  250. function machineDetail(stationNo,machineNo){
  251. $.messager.progress({
  252. title: '请等待',
  253. msg: '正在加载数据...',
  254. text: '查询中.......'
  255. });
  256. $.ajax({
  257. type:"POST",
  258. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  259. url:"ajax/machineDetail?stationNo="+stationNo+"&machineNo="+machineNo,
  260. success:function (data){
  261. $.messager.progress('close');
  262. var obj=eval("(" + data + ")");
  263. $.each(obj.rows, function(i,item){
  264. document.getElementById("maendTime").value = item.endTime;
  265. document.getElementById("macarNo").value = item.carNo;
  266. document.getElementById("maappType").value = item.appType;
  267. document.getElementById("malicence").value = item.licence;
  268. document.getElementById("malicenceorg").value = item.licenceOrg;
  269. document.getElementById("malicenceDate").value = item.licenceDate;
  270. document.getElementById("mavalidity").value = item.validity;
  271. });
  272. $('#machinewindows').window('open');
  273. }
  274. });
  275. }
  276. function selectCountry(){
  277. var id=document.getElementById("city").value;
  278. //document.getElementById("hiddenCity").value=id;
  279. var select = document.getElementById("country");
  280. for(var i=select.options.length-1;i>=0;i--) {
  281. select.options.remove(i);
  282. }
  283. $.ajax({
  284. type:"POST",
  285. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  286. url:"ajax/hiddenCity?cityId="+id,
  287. success:function (data){
  288. var obj=eval("(" + data + ")");
  289. $.each(obj.rows, function(i,item){
  290. select.options.add(new Option(item.name, item.id));
  291. });
  292. }
  293. });
  294. selectStation();
  295. }
  296. function selectCountry11(){
  297. var id=document.getElementById("city").value;
  298. //document.getElementById("hiddenCity").value=id;
  299. var select = document.getElementById("country");
  300. for(var i=select.options.length-1;i>=0;i--) {
  301. select.options.remove(i);
  302. }
  303. $.ajax({
  304. type:"POST",
  305. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  306. url:"ajax/hiddenCity?cityId="+id,
  307. success:function (data){
  308. var obj=eval("(" + data + ")");
  309. $.each(obj.rows, function(i,item){
  310. select.options.add(new Option(item.name, item.id));
  311. });
  312. }
  313. });
  314. }
  315. function selectStation(){
  316. var id=document.getElementById("city").value;
  317. var id1=document.getElementById("country").value;
  318. //document.getElementById("hiddenCity").value=id;
  319. var select = document.getElementById("station");
  320. for(var i=select.options.length-1;i>=0;i--) {
  321. select.options.remove(i);
  322. }
  323. var i=0;
  324. $.ajax({
  325. type:"POST",
  326. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  327. url:"ajax/hiddenCountry?countryId="+id1+"&cityId="+id+"&type=2",
  328. success:function (data){
  329. var obj=eval("(" + data + ")");
  330. select.options.add(new Option("请选择一个站点", ""));
  331. $.each(obj.rows, function(i,item){
  332. select.options.add(new Option(item.name, item.id));
  333. });
  334. }
  335. });
  336. }
  337. </script>
  338. </head>
  339. <body>
  340. <!-- 查询结果:数据表格 -->
  341. <table id="tt" cellspacing="0" cellpadding="0" >
  342. </table>
  343. <div id="toolbar" style="padding-top: 10px;height: 30px;">
  344. <span class="easyui-linkbutton" style="cursor: default;margin-bottom: 5px;"><span class="hzbspan" style="color: #f08300;font-size: 16px;" >省:</span></span>&nbsp;&nbsp;
  345. <select name="province" style="width: auto;height: 24px;min-width: 100px;" class="hzbspan">
  346. <%for(AuthorityRegionPlace arp:arplist){
  347. cplist = arp.getCityPlace();
  348. %>
  349. <option value="<%=arp.getId() %>">
  350. <%=arp.getName() %>
  351. </option>
  352. <%} %>
  353. </select>&nbsp;&nbsp;
  354. <span class="easyui-linkbutton" style="cursor: default;margin-bottom: 5px;"><span class="hzbspan" style="color: #f08300;font-size: 16px;" >市:</span></span>&nbsp;&nbsp;
  355. <select name="city" id="city" style="width: auto;height: 24px;min-width: 100px;" class="hzbspan" onchange="selectCountry()">
  356. <%
  357. for(CityPlace cp:cplist){
  358. cyplist = cp.getSubPlaceList();
  359. %>
  360. <option value="<%=cp.getId() %>">
  361. <%=cp.getName() %>
  362. </option>
  363. <%} %>
  364. </select>&nbsp;&nbsp;
  365. <span class="easyui-linkbutton" style="cursor: default;margin-bottom: 5px;"><span class="hzbspan" style="color: #f08300;font-size: 16px;" >县:</span></span>&nbsp;&nbsp;
  366. <select name="country" id = "country" style="width: auto;height: 24px;min-width: 100px;" class="hzbspan" onchange="selectStation()">
  367. </select>&nbsp;&nbsp;
  368. <span class="easyui-linkbutton" style="cursor: default;margin-bottom: 5px;"><span class="hzbspan" style="color: #f08300;font-size: 16px;" >加气站:</span></span>&nbsp;&nbsp;
  369. <select onchange="getcng()" name="station" id="station" style="width: auto;height: 24px;min-width: 100px;" class="hzbspan" >
  370. </select>&nbsp;&nbsp;
  371. <a class="easyui-linkbutton" icon="icon-search" onclick="getcng()" style="margin-bottom: 5px;" ><span class="hzbspan" style="color: #f08300;font-size: 16px;">查&nbsp;&nbsp;询&nbsp;&nbsp;</span></a>
  372. </div>
  373. <div id="tableDiv" style="width: 100%;height: auto;border: 1px solid #4682B4;"></div>
  374. <div id="operatorwindows" modal="true" title="工作人员详细信息" class="easyui-window" closed="true" collapsible="false" minimizable="false" maximizable="false" icon="icon-add" style="width:900px;height: 200px;padding:5px;background:#fafafa;" >
  375. <div class="easyui-layout" fit="true">
  376. <div region="center" id="pnamecenter" border="false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
  377. <table>
  378. <tr>
  379. <td>
  380. <span class="hzbspan">姓名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><input type="text" id="opname" style="width: 200px;border: none;" readonly="readonly"/>
  381. </td><td>
  382. <span class="hzbspan">性别:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><input type="text" id="opsex" style="width: 200px;border: none;" readonly="readonly"/>
  383. </td><td>
  384. <span class="hzbspan">身份证号:</span><input type="text" id="opidno" style="width: 200px;border: none;" readonly="readonly"/>
  385. </td>
  386. </tr>
  387. <tr>
  388. <td>
  389. <span class="hzbspan">许可证号:</span><input type="text" id="oplicence" style="width: 200px;border: none;" readonly="readonly"/>
  390. </td><td>
  391. <span class="hzbspan">发证机构:</span><input type="text" id="oplicenceorg" style="width: 200px;border: none;" readonly="readonly"/>
  392. </td><td>
  393. <span class="hzbspan">发证时间:</span><input type="text" id="oplicenceDate" style="width: 200px;border: none;" readonly="readonly"/>
  394. </td></tr>
  395. <tr><td colspan="3">
  396. <span class="hzbspan">有效期:&nbsp;&nbsp;&nbsp;</span><input type="text" id="opvalidity" style="width: 200px;border: none;" readonly="readonly"/>
  397. </td></tr>
  398. </table>
  399. </div>
  400. <div region="south" border="false" style="text-align: right; height: 30px; line-height: 30px;">
  401. <a id="infoaddstreetcancel" class="easyui-linkbutton" icon="icon-cancel" onclick="$('#operatorwindows').window('close');">返回</a>
  402. </div>
  403. </div>
  404. </div>
  405. <div id="machinewindows" modal="true" title="车辆详细信息" class="easyui-window" closed="true" collapsible="false" minimizable="false" maximizable="false" icon="icon-add" style="width:900px;height: 500px;;padding:5px;background:#fafafa;" >
  406. <div class="easyui-layout" fit="true">
  407. <div region="center" id="pnamecenter" border="false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
  408. <span class="hzbspan">姓名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><input type="text" id="maendTime" style="width: 200px;" readonly="readonly"/>
  409. <span class="hzbspan">性别:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><input type="text" id="macarNo" style="width: 200px;" readonly="readonly"/>
  410. <span class="hzbspan">应用类型:</span><input type="text" id="maappType" style="width: 200px;" readonly="readonly"/>
  411. <br/><br/>
  412. <span class="hzbspan">充装时间:</span><input type="text" id="maendTime" style="width: 200px;" readonly="readonly"/>
  413. <span class="hzbspan">发证机构:</span><input type="text" id="malicenceorg" style="width: 200px;" readonly="readonly"/>
  414. <span class="hzbspan">发证时间:</span><input type="text" id="malicenceDate" style="width: 200px;" readonly="readonly"/>
  415. <br/><br/>
  416. <span class="hzbspan">车牌号:&nbsp;&nbsp;&nbsp;</span><input type="text" id="macarNo" style="width: 200px;" readonly="readonly"/>
  417. </div>
  418. <div region="south" border="false" style="text-align: right; height: 30px; line-height: 30px;">
  419. <a id="infoaddstreetcancel" class="easyui-linkbutton" icon="icon-cancel" onclick="$('#machinewindows').window('close');">返回</a>
  420. </div>
  421. </div>
  422. </div>
  423. </body>
  424. </html>