qxzy.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. $("#queding").live("click",function(){
  24. var qxyy = $("#qxyy").val();
  25. $.ajax({
  26. type: 'post',
  27. url: '../../whsqbpcontroller/doQxzy.do',
  28. data:{id:getQueryString("value"),
  29. qxyy:qxyy
  30. },
  31. dataType: 'json',
  32. success: function(data){
  33. if(data!=null&&data!=""){
  34. showmessage("取消成功")
  35. setTimeout(function(){
  36. // location.href="index.html"
  37. history.back("-1")
  38. }, 1000);
  39. }else{
  40. showmessage("取消失败")
  41. //location.href="index.html"
  42. }
  43. }});
  44. })
  45. $("#quxiao").live("click",function(){
  46. history.back(-1);
  47. })
  48. })
  49. </script>
  50. <style>
  51. *{margin: 0px;padding: 0px}
  52. .header {
  53. width:100%;
  54. height:45px;
  55. line-height:45px;
  56. padding:0;
  57. color:#eee;
  58. font-size:22px;
  59. text-align:center;
  60. color:white;
  61. background: #2196f3;
  62. position: fixed;
  63. top: 0px;
  64. }
  65. .header a{color: white;}
  66. .mui-content-padded {
  67. margin: 0px;
  68. margin-top:30px;
  69. margin-bottom: 5px;
  70. color: black;
  71. font-size: 20px;
  72. }
  73. .mui-select{
  74. border: 1px solid rgba(0,0,0,.2);
  75. border-radius: 3px;
  76. margin-bottom: 0px;
  77. }
  78. .wubiankuang{border: 0px;}
  79. .red{color: red;}
  80. #container {
  81. width: 400px;
  82. display: table
  83. }
  84. .left, .mid {
  85. display: table-cell;
  86. }
  87. .mid {
  88. width: 100%;
  89. }
  90. .mui-btn-positive{margin-top: 20px;}
  91. .left{
  92. white-space:nowrap;
  93. }
  94. </style>
  95. <body >
  96. <header class="header">
  97. <a href="#">危货作业申报</a>
  98. </header>
  99. <div class="mui-content" style="padding-left: 10px;padding-right: 10px;background: white;margin-top: 70px;padding-bottom: 30px">
  100. <h5 class="mui-content-padded red">取消原因</h5>
  101. <div class="mui-input-row mui-text">
  102. <textarea id="qxyy" style="height: 100px;" placeholder="请输入取消原因"></textarea>
  103. </div>
  104. <div style="margin-top: 30px;text-align: center;">
  105. <button class="mui-btn mui-btn-positive" type="button" style="width: 40%;background: #2196f3;border: 0px;height: 40px;" id="queding">确定</button>&nbsp;&nbsp;&nbsp;&nbsp;
  106. <button class="mui-btn mui-btn-positive" type="button" style="width: 40%;background: #2196f3;border: 0px;height: 40px;" id="quxiao">取消</button>
  107. </div>
  108. </div>
  109. </body>
  110. </html>