commentinfo.html 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="renderer" content="webkit|ie-comp|ie-stand">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  8. <meta http-equiv="Cache-Control" content="no-siteapp" />
  9. <LINK rel="Bookmark" href="/favicon.ico" >
  10. <LINK rel="Shortcut Icon" href="/favicon.ico" />
  11. <!--[if lt IE 9]>
  12. <script type="text/javascript" src="${ctx}/assets/lib/html5.js"></script>
  13. <script type="text/javascript" src="${ctx}/assets/lib/respond.min.js"></script>
  14. <script type="text/javascript" src="${ctx}/assets/lib/PIE_IE678.js"></script>
  15. <![endif]-->
  16. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui/css/H-ui.min.css" />
  17. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/H-ui.admin.css" />
  18. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/Hui-iconfont/1.0.7/iconfont.css" />
  19. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/icheck/icheck.css" />
  20. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/skin/default/skin.css" id="skin" />
  21. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/style.css" />
  22. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/webuploader/0.1.5/webuploader.css" />
  23. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/jqueryui/jquery-ui.css" />
  24. <!--_footer 作为公共模版分离出去-->
  25. <script type="text/javascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.min.js"></script>
  26. <script type="text/javascript" src="${ctx}/assets/lib/layer/3.0.3/layer.js"></script>
  27. <script type="text/javascript" src="${ctx}/assets/lib/icheck/jquery.icheck.min.js"></script>
  28. <script type="text/javascript" src="${ctx}/assets/lib/jquery.validation/1.14.0/jquery.validate.min.js"></script>
  29. <script type="text/javascript" src="${ctx}/assets/lib/jquery.validation/1.14.0/validate-methods.js"></script>
  30. <script type="text/javascript" src="${ctx}/assets/lib/jquery.validation/1.14.0/messages_zh.min.js"></script>
  31. <script type="text/javascript" src="${ctx}/assets/static/h-ui/js/H-ui.js"></script>
  32. <script type="text/javascript" src="${ctx}/assets/static/h-ui.admin/js/H-ui.admin.js"></script>
  33. <script type="text/ecmascript" src="${ctx}/assets/lib/jqueryui/jquery-ui.js"></script>
  34. <!--/_footer /作为公共模版分离出去-->
  35. <!--请在下方写此页面业务相关的脚本-->
  36. <script type="text/javascript" src="${ctx}/assets/lib/My97DatePicker/WdatePicker.js"></script>
  37. <script type="text/javascript" src="${ctx}/assets/lib/webuploader/0.1.5/webuploader.min.js"></script>
  38. <script type="text/javascript" src="${ctx}/assets/lib/jquery.form/jquery.form.min.js"></script>
  39. <link href="${ctx}/assets/lib/jquery.sumoselect/sumoselect.css" rel="stylesheet" />
  40. <script type="text/javascript" src="${ctx}/assets/lib/jquery.sumoselect/jquery.sumoselect.min.js"></script>
  41. <script type="text/javascript" src="${ctx}/assets/js/base.js"></script>
  42. <!--[if IE 6]>
  43. <script type="text/javascript" src="${ctx}/assets/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
  44. <script>DD_belatedPNG.fix('*');</script>
  45. <![endif]-->
  46. <!--/meta 作为公共模版分离出去-->
  47. <script type="text/javascript">
  48. var contextPath="${ctx}";
  49. </script>
  50. <script type="text/javascript" src="${ctx}/assets/lib/ueditor/1.4.3/ueditor.config.js"></script>
  51. <script type="text/javascript" src="${ctx}/assets/lib/ueditor/1.4.3/ueditor.all.js"> </script>
  52. <script type="text/javascript" src="${ctx}/assets/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
  53. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/colorpicker/evol-colorpicker.css" />
  54. <link href="${ctx}/assets/lib/design/bootstrap.css" rel="stylesheet">
  55. <script type="text/javascript" src="${ctx}/assets/lib/design/bootstrap.min.js"></script>
  56. <script type="text/javascript" src="${ctx}/assets/lib/colorpicker/evol-colorpicker.js"></script>
  57. <style type="text/css">
  58. .margintop{margin-bottom:5px;}
  59. .placeholder{height:14px;}
  60. </style>
  61. <script type="text/javascript">
  62. //审核通过
  63. function commentData(tState){
  64. $('#tstate').val(tState);
  65. $('#form-article').attr('action','${ctx}/myconsole/commentwait/commentDataSumit');
  66. //$('#resourcesOptions',parent.document).val('成品箱');
  67. if($('#form-article').valid()){
  68. $('#form-article').ajaxSubmit(resultHandle);
  69. }
  70. }
  71. //处理信息提交后的返回结果,成功则关闭本页面刷新列表
  72. function resultHandle(data){
  73. var res=eval('(' + data + ')');
  74. if(res.flag){
  75. layer.alert(res.message, {
  76. skin: 'layui-layer-molv' //样式类名
  77. ,closeBtn: 1
  78. },
  79. function(){
  80. //先刷新
  81. parent.refJQ();
  82. //再关闭
  83. var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  84. parent.layer.close(index); //再执行关闭
  85. });
  86. }else{
  87. if(res.flag == false)
  88. {
  89. layer.alert(res.message, {
  90. skin: 'layui-layer-molv' //样式类名
  91. ,closeBtn: 0
  92. }, function(){parent.window.close();});
  93. }
  94. }
  95. }
  96. </script>
  97. <!--/请在上方写此页面业务相关的脚本-->
  98. <title>信息编辑</title>
  99. <meta name="keywords" content="">
  100. <meta name="description" content="">
  101. </head>
  102. <body style="line-height:1;">
  103. <div class="container-fluid" style="margin-top:0px;">
  104. <div >
  105. <form id="form-article" method="post">
  106. <div style="display: none">
  107. <input type="hidden" id="keyid" name="keyid" value="${keyid!''}"/>
  108. <input type="hidden" id="tstate" name="tstate" value="" />
  109. </div>
  110. <div class="col-md-9">
  111.   <div >
  112.   <div class="row cl">
  113. <div class="formControls col-md-9" data-role="fieldcontain">
  114. <table>
  115. <tr>
  116. <td style="width:70px"><label class="form-label" for="web.title">评论内容:</label></td>
  117. <td><textarea rows="8" cols="63" class="input-textarea" readonly >${commentcontent!''}</textarea></td>
  118. </tr>
  119. </table>
  120. </div>
  121. </div>
  122.  </div>
  123. <div >
  124.   <div class="row cl">
  125. <div class="formControls col-md-9" data-role="fieldcontain">
  126. <table>
  127. <tr>
  128. <td style="width:70px"><label class="form-label" for="web.title">审批意见:</label></td>
  129. <td>
  130. <select name="auditingtype" id="auditingtype" class="form-control">
  131. ${auditingtype!''}
  132. </select>
  133. </td>
  134. </tr>
  135. </table>
  136. </div>
  137. </div>
  138.  </div>
  139. <div >
  140. <div class="row cl">
  141. <div class="formControls col-md-9">
  142. <a class="btn btn-danger btn-no r" style="border-color:#ffffff;" type="button" onclick="commentData('未通过审核')" href="javascript:;"><i class="Hui-iconfont">&#xe6e2;</i> 拒绝</a>
  143. <a class="btn btn-success btn-release r" style="border-color:#ffffff;" type="button" onclick="commentData('发布')" href="javascript:;"><i class="Hui-iconfont">&#xe603;</i> 通过</a>
  144. </div>
  145. </div>
  146.  </div>
  147. </div>
  148.  
  149.  
  150. </div> <!--右边列结束 -->
  151. </form>
  152.  </div> <!--整个行结束 -->
  153. </div> <!--容器结束 -->
  154. </body>
  155. </html>