123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <!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")
- }
-
- })
- $.ajax({
- type: 'post',
- url: '../../whsqbpcontroller/getById.do',
- data:{id:getQueryString("value")},
- dataType: 'json',
- success: function(data){
-
-
- console.log(data)
- $("#qxyy").val(data.byzd1)
- }})
- })
- function quxiao(){
- history.back(-1);
- }
- function isok(a){
-
- $.ajax({
- type: 'post',
- url: '../../whsqbpcontroller/qxAudit.do',
- data:{id:getQueryString("value"),
- yj:a,
- shyj:""
- },
- 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">
-
-
- <h5 class="mui-content-padded red">取消原因</h5>
- <div class="mui-input-row mui-text">
-
- <textarea readonly="readonly" id="qxyy" style="height: 100px;" placeholder=""></textarea>
- </div>
-
-
-
-
- <div style="margin-top: 30px;text-align: center;">
- <button class="mui-btn mui-btn-positive" type="button" style="width: 30%;background: #2196f3;border: 0px;height: 40px;" onclick="isok('tongguo')">通过</button>
- <button class="mui-btn mui-btn-positive" type="button" style="width: 30%;background: #2196f3;border: 0px;height: 40px;" onclick="isok('butongguo')">不通过</button>
- <button class="mui-btn mui-btn-positive" type="button" style="width: 30%;background: #2196f3;border: 0px;height: 40px;" onclick="quxiao()">取消</button>
- </div>
-
- </div>
- </body>
- </html>
|