talkdo.html 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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 submitData(tState){
  64. $('#form-front').attr('action','${ctx}/myconsole/talk/talkDoData');
  65. $('#tstate').val(tState);
  66. $('#form-front').ajaxSubmit(resultHandle);
  67. }
  68. //处理信息提交后的返回结果,成功则关闭本页面刷新列表
  69. function resultHandle(data){
  70. var res=eval('(' + data + ')');
  71. if(res.flag){
  72. layer.alert(res.message, {
  73. skin: 'layui-layer-molv' //样式类名
  74. ,closeBtn: 1
  75. },
  76. function(){
  77. //先刷新
  78. parent.refJQ();
  79. //再关闭
  80. var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  81. parent.layer.close(index); //再执行关闭
  82. });
  83. }else{
  84. if(res.flag == false)
  85. {
  86. layer.alert(res.message, {
  87. skin: 'layui-layer-molv' //样式类名
  88. ,closeBtn: 0
  89. }, function(){parent.window.close();});
  90. }
  91. }
  92. }
  93. </script>
  94. <!--/请在上方写此页面业务相关的脚本-->
  95. <title>在线访谈状态设置</title>
  96. <meta name="keywords" content="">
  97. <meta name="description" content="">
  98. </head>
  99. <body style="line-height:1;">
  100. <div class="container-fluid" style="margin-top:0px;">
  101. <div >
  102. <form id="form-front" method="post">
  103. <div style="display: none">
  104. <input type="hidden" id="keyid" name="keyid" value="${Talk.keyid!''}"/>
  105. <input type="hidden" id="tstate" name="tstate" value="" />
  106. </div>
  107. <div class="col-md-9">
  108.   <div >
  109.   <div class="row cl">
  110. <div class="formControls col-md-9" data-role="fieldcontain">
  111. <table>
  112. <tr>
  113. <td style="width:70px"><label class="form-label" for="web.title">访谈主题</label></td>
  114. <td>${Talk.title!''}</td>
  115. </tr>
  116. <tr>
  117. <td style="width:70px"><label class="form-label" for="web.title">访谈介绍</label></td>
  118. <td>${Talk.talksummary!''}</td>
  119. </tr>
  120. <tr>
  121. <td style="width:70px"><label class="form-label" for="web.title">访谈时间</label></td>
  122. <td>${Talk.talktime!''}</td>
  123. </tr>
  124. </table>
  125. </div>
  126. </div>
  127.  </div>
  128.  
  129. <div >
  130. <div class="row cl">
  131. <div class="formControls col-md-9">
  132. <a class="btn btn-success btn-release r" style="border-color:#ffffff;" type="button" onclick="submitData('访谈中')" href="javascript:;"><i class="Hui-iconfont">&#xe603;</i> 开始访谈</a>
  133. <a class="btn btn-success btn-release r" style="border-color:#ffffff;" type="button" onclick="submitData('已结束')" href="javascript:;"><i class="Hui-iconfont">&#xe603;</i> 结束访谈</a>
  134. <a class="btn btn-success btn-release r" style="border-color:#ffffff;" type="button" onclick="submitData('暂停中')" href="javascript:;"><i class="Hui-iconfont">&#xe603;</i> 暂停访谈</a>
  135. </div>
  136. </div>
  137.  </div>
  138. </div>
  139.  
  140.  
  141. </form>
  142.  </div> <!--整个行结束 -->
  143. </div> <!--容器结束 -->
  144. </body>
  145. </html>