| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210 | <!DOCTYPE html><html lang="en">	<head>		<meta charset="UTF-8">		<meta content="IE=edge" http-equiv="X-UA-Compatible">		<meta content="initial-scale=1.0, width=device-width" name="viewport">		<title>湖北智慧水运</title>		<!-- css -->		<link href="../css/base.min.css" rel="stylesheet">		   <link rel="stylesheet" type="text/css" href="../css/shenpi.css" />		<script type="text/javascript" src="../js/zepto.min.js"></script>				<script>		$(function(){			$("#wanchengyijian").live("click",function(){								location.href="whzysbtx.html"; 							})			$("#chaxun").live("click",function(){								location.href="whzycx.html"; 							})																					 $.ajax({	         type: 'post',	         url: '../../aqusercontroller/getByCode.do',	         data:{count:"10",code:getQueryString("code")},	         dataType: 'json',	         success: function(data){	        	 	        	 	        	if(data.sfjyr=="Y"){	        		$("#jingyingren").show()	        	}else if(data.sfjyr=="N"){	        		$("#xingzhengren").show()	        	}	        	 	        	 	         }});																																										 $.ajax({	         type: 'post',	         url: '../../whsqbpcontroller/getZysqbpListByJyr.do',	         data:{count:"10",code:getQueryString("code")},	         dataType: 'json',	         success: function(data){	        	 console.log(data) 	        	 if(data.length==0)	        	 {	        		 layer.open({		      			    shade:false,		 					    content: '没有相关数据',		 					    style: 'background-color:rgba(0,0,0,0.5); color:white; border:none;font-size:20px;text-align:center',		 					    time:1		 					});	        		 $('.lists').html('');	        		 return;	        	 }	        	 	        	 for(var i=0;i<data.length;i++){	        		 	        		 var aa = data[i];	        		 var color = "";	        		 	        	//	 if((aa.recordStatus==2 || aa.recordStatus==10) && aa.kgzt=="N" ) {	        	//		 color = "red";	        	//	 }	        	//	 if(aa.recordStatus==3) {	        	//		 color = "blue";	        	//	 }	        		 	        		 	        		 	        		 var json = {	        				 "1":"(未提交)",	        				 "4":"",	        				 "9":"",	        				 "2":"(已完成)",	        				 "3":"(审核中)",	        				 "8":"(已作废)",	        				 "5":"(取消作业)",	        				 "6":"(取消完成)",	        				 "7":"(变更作业)",	        				 "10":"(变更已完成)"	        		 }	        		 	        		 var jsoncolor = {"3":"red","5":"red","7":"red",}	        		 	        		 	        		 var kwcolor ="";	        		 if((data[i].recordStatus=="2"||data[i].recordStatus=="10")&&!(data[i].kgzt=="Y"&&data[i].wgzt=="Y")){	        			 	        			 kwcolor="blue";	        		 }       		 	        		 	        		 $("#content").append('<tr class="'+jsoncolor[data[i].recordStatus]+' '+kwcolor+'" value="'+data[i].id+'" onclick="tiaohzuan('+data[i].id+')" ><td class="titlered2" >'+datetoyue(data[i].bgsj)+','+data[i].wxhwmcbh+'('+data[i].cm+')('+data[i].zydw.aqbmfzr+')'+json[data[i].recordStatus]+'</td></tr>');	        	 }	        	 	         }})	         $(".tiaozhuan").live("click",function(){	        	 var value = $(this).attr("value");	        	 location.href = "dcttl3.html?value="+value;	         })	         	        		})		 function tiaohzuan(value){				location.href = "dcttl3.html?value="+value;			}		</script>				<link rel="stylesheet" type="text/css" href="../css/mui.min.css">		<style>			.container{				padding-left:0px;				padding-right:0px;			}			.mui-input-group:after {			  position: absolute;			  right: 0;			  bottom: 0;			  left: 0;			  height: 0px;			  content: '';			  background-color: #c8c7cc;			  -webkit-transform: scaleY(.5);			  transform: scaleY(.5);			}						.red{color: red}			 .header-logo{				width:50%;				text-align:right;			} 			.layermmain .section {  vertical-align: middle;}			.icback{				font-size: 22px;			}			.nav{position: fixed;}			 .header {				width:100%;				height:45px;				line-height:45px;				padding:0;								color:#eee;				font-size:22px;				text-align:center;				color:white;			    background: #2196f3;			}		.blue{color: blue;}		</style>	</head>	<body class="page-blue">	<div id="divdiplay">		<header class="header">			<a class="" href="#" id="headername">危货作业申报</a>		</header>		<div class="content" style="margin-top: 45px;margin-bottom: 10px;">			<div class="content-inner">				<div class="container">					<div class="table-responsive">						<table class="table" title="Default Tabl" style="width: 90%;text-align: center;" align="center">							<tbody id="content">															</tbody>						</table>					</div>				</div>			</div>		</div>	</div>	<nav id="jingyingren" style="width: 100%;display:none;height: 50px;position: fixed;bottom: 0px;background: white;">		<button class="mui-btn mui-btn-positive" type="button" style="width: 40%;background: #2196f3;border: 0px;margin-left: 9%;height: 40px;" id="wanchengyijian">申报申请</button>  		<button class="mui-btn mui-btn-positive" type="button" style="width: 40%;background: #2196f3;border: 0px;height: 40px;" id="chaxun">查询</button>	</nav>			<nav id="xingzhengren" style="width: 100%;height: 50px;display:none;position: fixed;bottom: 0px;background: white;">		<button class="mui-btn mui-btn-positive" type="button" style="width: 80%;margin-left: 9%;background: #2196f3;border: 0px;height: 40px;" id="chaxun">查询</button>	</nav>						</body></html>
 |