qxzysh.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>湖北智慧水运</title>
  5. <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  6. <meta http-equiv="description" content="this is my page">
  7. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
  9. <link href="../css/base.min.css" rel="stylesheet">
  10. <link rel="stylesheet" type="text/css" href="../css/mui.min.css" />
  11. <link rel="stylesheet" type="text/css" href="../css/shenpi.css" />
  12. <script type="text/javascript" src="../js/zepto.min.js"></script>
  13. </head>
  14. <script>
  15. $(function(){
  16. $("#isokchuandui").live("click",function(){
  17. if($(this).attr("checked")){
  18. $("#chuandui").removeClass("mui-hidden")
  19. }else{
  20. $("#chuandui").addClass("mui-hidden")
  21. }
  22. })
  23. $.ajax({
  24. type: 'post',
  25. url: '../../whsqbpcontroller/getById.do',
  26. data:{id:getQueryString("value")},
  27. dataType: 'json',
  28. success: function(data){
  29. console.log(data)
  30. $("#qxyy").val(data.byzd1)
  31. }})
  32. })
  33. function quxiao(){
  34. history.back(-1);
  35. }
  36. function isok(a){
  37. $.ajax({
  38. type: 'post',
  39. url: '../../whsqbpcontroller/qxAudit.do',
  40. data:{id:getQueryString("value"),
  41. yj:a,
  42. shyj:""
  43. },
  44. dataType: 'json',
  45. success: function(data){
  46. if(data!=null&&data!=""){
  47. showmessage("审批成功")
  48. setTimeout(function(){
  49. // location.href="index.html"
  50. history.back("-1")
  51. }, 1000);
  52. }else{
  53. showmessage("审批失败")
  54. // location.href="index.html"
  55. }
  56. }})
  57. }
  58. </script>
  59. <style>
  60. *{margin: 0px;padding: 0px}
  61. .header {
  62. width:100%;
  63. height:45px;
  64. line-height:45px;
  65. padding:0;
  66. color:#eee;
  67. font-size:22px;
  68. text-align:center;
  69. color:white;
  70. background: #2196f3;
  71. position: fixed;
  72. top: 0px;
  73. }
  74. .header a{color: white;}
  75. .mui-content-padded {
  76. margin: 0px;
  77. margin-top:30px;
  78. margin-bottom: 5px;
  79. color: black;
  80. font-size: 20px;
  81. }
  82. .mui-select{
  83. border: 1px solid rgba(0,0,0,.2);
  84. border-radius: 3px;
  85. margin-bottom: 0px;
  86. }
  87. .wubiankuang{border: 0px;}
  88. .red{color: red;}
  89. #container {
  90. width: 400px;
  91. display: table
  92. }
  93. .left, .mid {
  94. display: table-cell;
  95. }
  96. .mid {
  97. width: 100%;
  98. }
  99. .mui-btn-positive{margin-top: 20px;}
  100. .left{
  101. white-space:nowrap;
  102. }
  103. </style>
  104. <body >
  105. <header class="header">
  106. <a href="#">取消作业审核</a>
  107. </header>
  108. <div class="mui-content" style="padding-left: 10px;padding-right: 10px;background: white;margin-top: 70px;padding-bottom: 30px">
  109. <h5 class="mui-content-padded red">取消原因</h5>
  110. <div class="mui-input-row mui-text">
  111. <textarea readonly="readonly" id="qxyy" style="height: 100px;" placeholder=""></textarea>
  112. </div>
  113. <div style="margin-top: 30px;text-align: center;">
  114. <button class="mui-btn mui-btn-positive" type="button" style="width: 30%;background: #2196f3;border: 0px;height: 40px;" onclick="isok('tongguo')">通过</button>&nbsp;&nbsp;&nbsp;&nbsp;
  115. <button class="mui-btn mui-btn-positive" type="button" style="width: 30%;background: #2196f3;border: 0px;height: 40px;" onclick="isok('butongguo')">不通过</button>&nbsp;&nbsp;&nbsp;&nbsp;
  116. <button class="mui-btn mui-btn-positive" type="button" style="width: 30%;background: #2196f3;border: 0px;height: 40px;" onclick="quxiao()">取消</button>&nbsp;&nbsp;&nbsp;&nbsp;
  117. </div>
  118. </div>
  119. </body>
  120. </html>