| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 | <!DOCTYPE html><html>  <head>    <title>湖北智慧水运</title>	    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">    <meta http-equiv="description" content="this is my page">    <meta http-equiv="content-type" content="text/html; charset=UTF-8">    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />    <link href="../css/base.min.css" rel="stylesheet">    <link rel="stylesheet" type="text/css" href="../css/mui.min.css" />       <link rel="stylesheet" type="text/css" href="../css/shenpi.css" />    <script type="text/javascript" src="../js/zepto.min.js"></script></head><script>	$(function(){		$("#isokchuandui").live("click",function(){				if($(this).attr("checked")){					$("#chuandui").removeClass("mui-hidden")				}else{											$("#chuandui").addClass("mui-hidden")				}					})										$("#quxiao").live("click",function(){								history.back(-1); 							})				$("input[name='yijian']").live("click",function(){			$("#yijianname").val($(this).val())		})		 $.ajax({	         type: 'post',	         url: '../../aqusercontroller/getByCode.do',	         data:{count:"10"},	         dataType: 'json',	         success: function(dataa){	        	 $("#spr").val(dataa.name)	        	 $("#spsj").val(nedateutil().date+" "+nedateutil().time);	         }})									})	function queding(){		var spyj = $("#yijianname").val();		if(spyj==""){			showmessage("请输入意见")			return;		}		var yj = "";		if($('input[name="yijian"]:checked').val()=="同意作业"){						yj = "tongguo"		}				if($('input[name="yijian"]:checked').val()=="不同意作业"){						yj = "butongguo"		}				if(yj==""){			showmessage("请输入意见")			return;		}								 $.ajax({	         type: 'post',	         url: '../../whsqbpcontroller/aduit.do',	         data:{id:getQueryString("value"),	        	 yj:yj,	        	 shyj:spyj	         },	         dataType: 'json',	         success: function(data){						        	 	        	 if(data!=null&&data!=""){	        		 showmessage("审批成功")	        		 setTimeout(function(){	        			 // location.href="index.html"	        			 	        			 history.back("-1")			        	 }, 1000);	        	 }else{	        		 showmessage("审批失败") 	        		// location.href="index.html"	        	 }	        	 	        	 	         }})																//							}</script><style>*{margin: 0px;padding: 0px}	 .header {				width:100%;				height:45px;				line-height:45px;				padding:0;								color:#eee;  				font-size:22px;				text-align:center;				color:white;			    background: #2196f3;			    position: fixed;			    top: 0px;			}	.header a{color: white;}	.mui-content-padded {  margin: 0px;  margin-top:30px;  margin-bottom: 5px;  color: black;  font-size: 20px;}.mui-select{	  border: 1px solid rgba(0,0,0,.2);  border-radius: 3px;  margin-bottom: 0px;}.wubiankuang{border: 0px;}.red{color: red;}#container {    width: 400px;    display: table}.left, .mid {    display: table-cell;}.mid {    width: 100%;    }.mui-btn-positive{margin-top: 20px;}.left{    white-space:nowrap;}</style>  <body >  		<header class="header">		<a  href="#">危货作业申报</a>	</header>	<div class="mui-content" style="padding-left: 10px;padding-right: 10px;background: white;margin-top: 70px;padding-bottom: 30px">	<div class="mui-input-row mui-text" style="text-align: center;">		<span style="margin-right: 100px;"><input  name="yijian" id="tongguo" value="同意作业" type="radio" checked="checked" />通过</span><span><input id="butongguo" value="不同意作业" name="yijian" type="radio" />不通过</span>	</div>	<h5 class="mui-content-padded red">审批意见</h5>	<div class="mui-input-row mui-text" style="">		<div style="position: absolute;right: 8px;z-index: 999;top: 4px">		</div>   		<input type="text" id="yijianname"  value="同意作业"     class="mui-input-clear"  >	</div>		<h5 class="mui-content-padded red">审批人</h5>	<div class="mui-input-row mui-text" style="">		<div style="position: absolute;right: 8px;z-index: 999;top: 4px">		</div>   		<input type="text" id="spr"   style="border: 0px;" readonly="readonly" placeholder="" class="mui-input-clear"  >	</div>		<h5 class="mui-content-padded red">审批时间</h5>	<div class="mui-input-row mui-text" style="">		<div style="position: absolute;right: 8px;z-index: 999;top: 4px">		</div>   		<input type="text" id="spsj"  style="border: 0px;" readonly="readonly" placeholder="" class="mui-input-clear"  >	</div>			 			<div style="margin-top: 30px;text-align: center;">			<button class="mui-btn mui-btn-positive" type="button" style="width: 40%;background: #2196f3;border: 0px;height: 40px;" id="queding" onclick="queding()">确定</button>    			<button class="mui-btn mui-btn-positive" type="button" style="width: 40%;background: #2196f3;border: 0px;height: 40px;" id="quxiao">取消</button>		</div>		</div>  </body></html>
 |