Dynamicattempt1.jsp 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  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. oldstationId = document.getElementById("station").value;
  79. getcngdetail(oldstationId);
  80. }
  81. function getcng1(){
  82. getcngdetailre(oldstationId);
  83. }
  84. function getcngdetail(stationId){
  85. var v = "";
  86. var vv = "";
  87. var v0 = '<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>';
  88. var v00 = '</div><div style="width:100%;height:30px;"></div>';
  89. if(!stationId){}else{
  90. oldstationId = stationId;
  91. $.messager.progress({
  92. title: '请等待',
  93. msg: '正在加载数据...',
  94. text: '查询中.......'
  95. });
  96. $.ajax({
  97. type:"POST",
  98. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  99. url:"ajax/getstationdetailreset?stationId="+stationId,
  100. success:function (data){
  101. $.messager.progress('close');
  102. var obj=eval("(" + data + ")");
  103. document.getElementById("tableDiv").innerHTML ="";
  104. $.each(obj.rows, function(i,item){
  105. var vcar1="";
  106. var vcar2="";
  107. var vperson1 ="";
  108. var vperson2="";
  109. var vmachine="";
  110. var icar=1;
  111. var iperson=1;
  112. var idno1 ="";
  113. var idno2 ="";
  114. if(item.tmgundir==1){
  115. vmachine = '<div style="float:left;width:200px;">2号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>1号枪<br/>'+item.tmmanu+item.tmtype+'</div>';
  116. }else{
  117. vmachine = '<div style="float:left;width:200px;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.tmmanu+item.tmtype+'</div>';
  118. }
  119. $.each(item.tbcngstationdyn, function(i,item1){
  120. if(icar==1){
  121. if(item1.stop==0){
  122. vcar1 = '<div style="float:left;text-align:left;width:200px;"><img src="images/rzx/c'+item1.tsdapptype+'.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='+item1.tsdcarno+'" target="_blank">详细</a></div>车牌号:'+item1.tsdcarno+'<br/>类型:'+item1.tsdplatetypeString+'<br/>充装时间:<br/>'+item1.tsdopertime+'</div></div>';
  123. }else{
  124. vcar1 = '<div style="float:left;text-align:left;width:200px;"><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='+item1.tsdcarno+'" target="_blank">详细</a></div>车牌号:'+item1.tsdcarno+'<br/>类型:'+item1.tsdplatetypeString+'<br/>充装时间:<br/>'+item1.tsdopertime+'</div></div>';
  125. }
  126. icar++;
  127. }else if(icar==2){
  128. if(item1.stop==0){
  129. vcar2 = '<div style="float:left;text-align:left;width:200px;"><img src="images/rzx/c'+item1.tsdapptype+'.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='+item1.tsdcarno+'" target="_blank">详细</a></div>车牌号:'+item1.tsdcarno+'<br/>类型:'+item1.tsdplatetypeString+'<br/>充装时间:<br/>'+item1.tsdopertime+'</div></div>';
  130. }else{
  131. vcar2 = '<div style="float:left;text-align:left;width:200px;"><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='+item1.tsdcarno+'" target="_blank">详细</a></div>车牌号:'+item1.tsdcarno+'<br/>类型:'+item1.tsdplatetypeString+'<br/>充装时间:<br/>'+item1.tsdopertime+'</div></div>';
  132. }
  133. icar++;
  134. }
  135. $.each(item1.tbcngoperatorduty, function(i,item2){
  136. $.each(item2.tbcngoperator, function(i,item3){
  137. if(iperson==1){
  138. idno1 =item3.toidno;
  139. vperson1 ='<div style="float:left;text-align:left;width:200px;height:135px;"><img src="images/rzx/person'+item3.tosex+'.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('+item3.tooperatorno+')">'+item3.toname+'</a></div>上班时间:'+item2.todstarttime+'<br/>许可证号:<br/>'+item3.tolicence+'<br/>身份证号:<br/>'+item3.toidno+'</div></div>';
  140. iperson++;
  141. }else if(iperson>=2){
  142. idno2 = item3.toidno;
  143. if(idno2&&idno2!=idno1){
  144. vperson2 ='<div style="float:left;text-align:left;width:200px;height:135px;"><img src="images/rzx/person'+item3.tosex+'.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('+item3.tooperatorno+')">'+item3.toname+'</a></div>上班时间:'+item2.todstarttime+'<br/>许可证号:<br/>'+item3.tolicence+'<br/>身份证号:<br/>'+item3.toidno+'</div></div>';
  145. iperson++;
  146. }
  147. }
  148. });
  149. });
  150. });
  151. v = v0+vcar1+vperson1+vmachine+vperson2+vcar2+v00;
  152. document.getElementById("tableDiv").innerHTML += v;
  153. });
  154. setTimeout('getcng1()',2*60*1000);
  155. }
  156. });
  157. }
  158. }
  159. function getcngdetailre(stationId){
  160. var v = "";
  161. var vv = "";
  162. var v0 = '<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>';
  163. var v00 = '</div><div style="width:100%;height:30px;"></div>';
  164. if(!stationId){}else{
  165. oldstationId = stationId;
  166. $.ajax({
  167. type:"POST",
  168. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  169. url:"ajax/getstationdetailreset?stationId="+stationId,
  170. success:function (data){
  171. var obj=eval("(" + data + ")");
  172. document.getElementById("tableDiv").innerHTML ="";
  173. $.each(obj.rows, function(i,item){
  174. var vcar1="";
  175. var vcar2="";
  176. var vperson1 ="";
  177. var vperson2="";
  178. var vmachine="";
  179. var icar=1;
  180. var iperson=1;
  181. var idno1 ="";
  182. var idno2 ="";
  183. if(item.tmgundir==1){
  184. vmachine = '<div style="float:left;width:200px;">2号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>1号枪<br/>'+item.tmmanu+item.tmtype+'</div>';
  185. }else{
  186. vmachine = '<div style="float:left;width:200px;">1号枪<img src="images/rzx/machine.gif" style="height:120px;width:auto;"/>2号枪<br/>'+item.tmmanu+item.tmtype+'</div>';
  187. }
  188. $.each(item.tbcngstationdyn, function(i,item1){
  189. if(icar==1){
  190. if(item1.stop==0){
  191. vcar1 = '<div style="float:left;text-align:left;width:200px;"><img src="images/rzx/c'+item1.tsdapptype+'.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='+item1.tsdcarno+'" target="_blank">详细</a></div>车牌号:'+item1.tsdcarno+'<br/>类型:'+item1.tsdplatetypeString+'<br/>充装时间:<br/>'+item1.tsdopertime+'</div></div>';
  192. }else{
  193. vcar1 = '<div style="float:left;text-align:left;width:200px;"><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='+item1.tsdcarno+'" target="_blank">详细</a></div>车牌号:'+item1.tsdcarno+'<br/>类型:'+item1.tsdplatetypeString+'<br/>充装时间:<br/>'+item1.tsdopertime+'</div></div>';
  194. }
  195. icar++;
  196. }else if(icar==2){
  197. if(item1.stop==0){
  198. vcar2 = '<div style="float:left;text-align:left;width:200px;"><img src="images/rzx/c'+item1.tsdapptype+'.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='+item1.tsdcarno+'" target="_blank">详细</a></div>车牌号:'+item1.tsdcarno+'<br/>类型:'+item1.tsdplatetypeString+'<br/>充装时间:<br/>'+item1.tsdopertime+'</div></div>';
  199. }else{
  200. vcar2 = '<div style="float:left;text-align:left;width:200px;"><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='+item1.tsdcarno+'" target="_blank">详细</a></div>车牌号:'+item1.tsdcarno+'<br/>类型:'+item1.tsdplatetypeString+'<br/>充装时间:<br/>'+item1.tsdopertime+'</div></div>';
  201. }
  202. icar++;
  203. }
  204. $.each(item1.tbcngoperatorduty, function(i,item2){
  205. $.each(item2.tbcngoperator, function(i,item3){
  206. if(iperson==1){
  207. idno1 =item3.toidno;
  208. vperson1 ='<div style="float:left;text-align:left;width:200px;height:135px;"><img src="images/rzx/person'+item3.tosex+'.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('+item3.tooperatorno+')">'+item3.toname+'</a></div>上班时间:'+item2.todstarttime+'<br/>许可证号:<br/>'+item3.tolicence+'<br/>身份证号:<br/>'+item3.toidno+'</div></div>';
  209. iperson++;
  210. }else if(iperson>=2){
  211. idno2 = item3.toidno;
  212. if(idno2&&idno2!=idno1){
  213. vperson2 ='<div style="float:left;text-align:left;width:200px;height:135px;"><img src="images/rzx/person'+item3.tosex+'.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('+item3.tooperatorno+')">'+item3.toname+'</a></div>上班时间:'+item2.todstarttime+'<br/>许可证号:<br/>'+item3.tolicence+'<br/>身份证号:<br/>'+item3.toidno+'</div></div>';
  214. iperson++;
  215. }
  216. }
  217. });
  218. });
  219. });
  220. v = v0+vcar1+vperson1+vmachine+vperson2+vcar2+v00;
  221. document.getElementById("tableDiv").innerHTML += v;
  222. });
  223. setTimeout('getcng1()',2*60*1000);
  224. }
  225. });
  226. }
  227. }
  228. function operatorDetail(operatorNo){
  229. $.messager.progress({
  230. title: '请等待',
  231. msg: '正在加载数据...',
  232. text: '查询中.......'
  233. });
  234. $.ajax({
  235. type:"POST",
  236. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  237. url:"ajax/operatorDetail?operatorno="+operatorNo,
  238. success:function (data){
  239. $.messager.progress('close');
  240. var obj=eval("(" + data + ")");
  241. $.each(obj.rows, function(i,item){
  242. document.getElementById("opname").value = item.name;
  243. if(item.sex==1){
  244. document.getElementById("opsex").value = "女";
  245. }else if(item.sex==0){
  246. document.getElementById("opsex").value = "男";
  247. }else{
  248. document.getElementById("opsex").value = "未知性别";
  249. }
  250. document.getElementById("opidno").value = item.idNo;
  251. document.getElementById("oplicence").value = item.licence;
  252. document.getElementById("oplicenceorg").value = item.licenceOrg;
  253. if(!item.licenceDate||item.licenceDate=="null"){
  254. item.licenceDate="";
  255. }else if(item.licenceDate.length>9){
  256. item.licenceDate = item.licenceDate.substring(0,10);
  257. }
  258. if(!item.validity||item.validity=="null"){
  259. item.validity="";
  260. }else if(item.validity.length>9){
  261. item.validity = item.validity.substring(0,10);
  262. }
  263. document.getElementById("oplicenceDate").value = item.licenceDate;
  264. document.getElementById("opvalidity").value = item.validity;
  265. });
  266. $('#operatorwindows').window('open');
  267. }
  268. });
  269. }
  270. function machineDetail(stationNo,machineNo){
  271. $.messager.progress({
  272. title: '请等待',
  273. msg: '正在加载数据...',
  274. text: '查询中.......'
  275. });
  276. $.ajax({
  277. type:"POST",
  278. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  279. url:"ajax/machineDetail?stationNo="+stationNo+"&machineNo="+machineNo,
  280. success:function (data){
  281. $.messager.progress('close');
  282. var obj=eval("(" + data + ")");
  283. $.each(obj.rows, function(i,item){
  284. document.getElementById("maendTime").value = item.endTime;
  285. document.getElementById("macarNo").value = item.carNo;
  286. document.getElementById("maappType").value = item.appType;
  287. document.getElementById("malicence").value = item.licence;
  288. document.getElementById("malicenceorg").value = item.licenceOrg;
  289. document.getElementById("malicenceDate").value = item.licenceDate;
  290. document.getElementById("mavalidity").value = item.validity;
  291. });
  292. $('#machinewindows').window('open');
  293. }
  294. });
  295. }
  296. function selectCountry(){
  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. selectStation();
  315. }
  316. function selectCountry11(){
  317. var id=document.getElementById("city").value;
  318. //document.getElementById("hiddenCity").value=id;
  319. var select = document.getElementById("country");
  320. for(var i=select.options.length-1;i>=0;i--) {
  321. select.options.remove(i);
  322. }
  323. $.ajax({
  324. type:"POST",
  325. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  326. url:"ajax/hiddenCity?cityId="+id,
  327. success:function (data){
  328. var obj=eval("(" + data + ")");
  329. if(obj.rows.length==1){
  330. select.options.add(new Option("请选择县", ""));
  331. }
  332. $.each(obj.rows, function(i,item){
  333. select.options.add(new Option(item.name, item.id));
  334. });
  335. }
  336. });
  337. }
  338. function selectStation(){
  339. var id=document.getElementById("city").value;
  340. var id1=document.getElementById("country").value;
  341. //document.getElementById("hiddenCity").value=id;
  342. var select = document.getElementById("station");
  343. for(var i=select.options.length-1;i>=0;i--) {
  344. select.options.remove(i);
  345. }
  346. var i=0;
  347. $.ajax({
  348. type:"POST",
  349. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  350. url:"ajax/hiddenCountry?countryId="+id1+"&cityId="+id+"&type=2",
  351. success:function (data){
  352. var obj=eval("(" + data + ")");
  353. select.options.add(new Option("请选择一个站点", ""));
  354. $.each(obj.rows, function(i,item){
  355. select.options.add(new Option(item.name, item.id));
  356. });
  357. }
  358. });
  359. }
  360. </script>
  361. </head>
  362. <body>
  363. <!-- 查询结果:数据表格 -->
  364. <table id="tt" cellspacing="0" cellpadding="0" >
  365. </table>
  366. <div id="toolbar" style="padding-top: 0px;height: auto;">
  367. <span class="easyui-linkbutton" style="cursor: default;margin-bottom: 5px;"><span class="hzbspan" style="color: #f08300;font-size: 16px;" >省:</span></span>&nbsp;&nbsp;
  368. <select name="province" style="width: auto;height: 24px;min-width: 100px;" class="hzbspan">
  369. <%for(AuthorityRegionPlace arp:arplist){
  370. cplist = arp.getCityPlace();
  371. %>
  372. <option value="<%=arp.getId() %>">
  373. <%=arp.getName() %>
  374. </option>
  375. <%} %>
  376. </select>&nbsp;&nbsp;
  377. <span class="easyui-linkbutton" style="cursor: default;margin-bottom: 5px;"><span class="hzbspan" style="color: #f08300;font-size: 16px;" >市:</span></span>&nbsp;&nbsp;
  378. <select name="city" id="city" style="width: auto;height: 24px;min-width: 100px;" class="hzbspan" onchange="selectCountry()">
  379. <%
  380. for(CityPlace cp:cplist){
  381. cyplist = cp.getSubPlaceList();
  382. %>
  383. <option value="<%=cp.getId() %>">
  384. <%=cp.getName() %>
  385. </option>
  386. <%} %>
  387. </select>&nbsp;&nbsp;
  388. <span class="easyui-linkbutton" style="cursor: default;margin-bottom: 5px;"><span class="hzbspan" style="color: #f08300;font-size: 16px;" >县:</span></span>&nbsp;&nbsp;
  389. <select name="country" id = "country" style="width: auto;height: 24px;min-width: 100px;" class="hzbspan" onchange="selectStation()">
  390. </select>&nbsp;&nbsp;
  391. <br/>
  392. <span class="easyui-linkbutton" style="cursor: default;margin-bottom: 5px;"><span class="hzbspan" style="color: #f08300;font-size: 16px;" >加气站:</span></span>&nbsp;&nbsp;
  393. <select onchange="getcng()" name="station" id="station" style="width: auto;height: 24px;min-width: 100px;" class="hzbspan" >
  394. </select>&nbsp;&nbsp;
  395. <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>
  396. </div>
  397. <div id="tableDiv" style="width: 100%;height: auto;border: 1px solid #4682B4;"></div>
  398. <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;" >
  399. <div class="easyui-layout" fit="true">
  400. <div region="center" id="pnamecenter" border="false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
  401. <table>
  402. <tr>
  403. <td>
  404. <span class="hzbspan">姓名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><input type="text" id="opname" style="width: 200px;border: none;" readonly="readonly"/>
  405. </td><td>
  406. <span class="hzbspan">性别:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><input type="text" id="opsex" style="width: 200px;border: none;" readonly="readonly"/>
  407. </td><td>
  408. <span class="hzbspan">身份证号:</span><input type="text" id="opidno" style="width: 200px;border: none;" readonly="readonly"/>
  409. </td>
  410. </tr>
  411. <tr>
  412. <td>
  413. <span class="hzbspan">许可证号:</span><input type="text" id="oplicence" style="width: 200px;border: none;" readonly="readonly"/>
  414. </td><td>
  415. <span class="hzbspan">发证机构:</span><input type="text" id="oplicenceorg" style="width: 200px;border: none;" readonly="readonly"/>
  416. </td><td>
  417. <span class="hzbspan">发证时间:</span><input type="text" id="oplicenceDate" style="width: 200px;border: none;" readonly="readonly"/>
  418. </td></tr>
  419. <tr><td colspan="3">
  420. <span class="hzbspan">有效期:&nbsp;&nbsp;&nbsp;</span><input type="text" id="opvalidity" style="width: 200px;border: none;" readonly="readonly"/>
  421. </td></tr>
  422. </table>
  423. </div>
  424. <div region="south" border="false" style="text-align: right; height: 30px; line-height: 30px;">
  425. <a id="infoaddstreetcancel" class="easyui-linkbutton" icon="icon-cancel" onclick="$('#operatorwindows').window('close');">返回</a>
  426. </div>
  427. </div>
  428. </div>
  429. <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;" >
  430. <div class="easyui-layout" fit="true">
  431. <div region="center" id="pnamecenter" border="false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
  432. <span class="hzbspan">姓名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><input type="text" id="maendTime" style="width: 200px;" readonly="readonly"/>
  433. <span class="hzbspan">性别:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><input type="text" id="macarNo" style="width: 200px;" readonly="readonly"/>
  434. <span class="hzbspan">应用类型:</span><input type="text" id="maappType" style="width: 200px;" readonly="readonly"/>
  435. <br/><br/>
  436. <span class="hzbspan">充装时间:</span><input type="text" id="maendTime" style="width: 200px;" readonly="readonly"/>
  437. <span class="hzbspan">发证机构:</span><input type="text" id="malicenceorg" style="width: 200px;" readonly="readonly"/>
  438. <span class="hzbspan">发证时间:</span><input type="text" id="malicenceDate" style="width: 200px;" readonly="readonly"/>
  439. <br/><br/>
  440. <span class="hzbspan">车牌号:&nbsp;&nbsp;&nbsp;</span><input type="text" id="macarNo" style="width: 200px;" readonly="readonly"/>
  441. </div>
  442. <div region="south" border="false" style="text-align: right; height: 30px; line-height: 30px;">
  443. <a id="infoaddstreetcancel" class="easyui-linkbutton" icon="icon-cancel" onclick="$('#machinewindows').window('close');">返回</a>
  444. </div>
  445. </div>
  446. </div>
  447. </body>
  448. </html>