check.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. <script type="text/javascript" src="/js/lib/sonic.js?__inline"></script>
  2. <div class="container-fluid ">
  3. <div class="row">
  4. <form class="form-horizontal">
  5. <div class="form-group" style="margin-bottom: 5px;">
  6. <div class="form-group col-sm-7" style="margin-bottom: 0px;">
  7. <label class="col-sm-7" style="text-align:left">名称:<span id="taskName" class="label" style="vertical-align:baseline"></span></label>
  8. <label class="col-sm-5">时间:<span id="check_time" class="label" style="vertical-align:baseline"></span></label>
  9. </div>
  10. <div class="form-group col-sm-5" style="margin-bottom: 0px;">
  11. <label class="col-sm-3">考核对象:</label>
  12. <div class="col-sm-9" style="bottom:-5px">
  13. <label id="checked_area"></label> (次数:
  14. <a href="javascript:void(0)" onclick="showCheckDetailCount()"><span class="label label-primary" id="checked_count">-</span></a>)
  15. </div>
  16. </div>
  17. </div>
  18. </form>
  19. </div>
  20. <div class="row">
  21. <div class="col-sm-6">
  22. <div id="dashboard" class="dashboard dashboard-draggable" data-height="300">
  23. <section class="row">
  24. <div class="col-md-12">
  25. <div class="panel" data-id="1">
  26. <div class="panel-body" style="padding:0 0 5px 0">
  27. <div id="video_content">
  28. <div class="tab-content" id="tabcontent" style="height:400px;text-align: center;background:black;" ondblclick="dbclick()">
  29. <div class="video" style="width:100%;height:100%;"></div>
  30. <!-- <video id="example_video_1" class="video-js vjs-default-skin vjs-big-play-centered" preload="auto"> -->
  31. <!-- <source src="http://yun.it7090.com/video/XHLaunchAd/video01.mp4" type='video/mp4' /> -->
  32. <!-- </video> -->
  33. </div>
  34. <!-- <div class="row" class="col-md-12" style="padding:5px 10px 25px 10px;text-align:center;margin:0px">
  35. <input id="ex1" class="col-md-12" type="text" data-slider-min="0" data-slider-max="100" data-slider-step="1" data-slider-value="0" />
  36. <br/>
  37. <span id="ex1_span" style="position: absolute;left: 25px;">23:00:00</span>
  38. </div> -->
  39. <div class="row" style="padding:10px 5px 0px 5px;text-align:center;margin:0px">
  40. <div class="col-md-4 " style="padding-left:0">
  41. <!-- <div class="input-group" style="padding-left:0">
  42. <input type="text" id="video_pos" style="height:42px" class="form-control" placeholder="时间偏移值">
  43. <span class="input-group-btn">
  44. <button class="btn btn-default" style="height:42px" onclick="setVideoPos()" type="button">校正</button>
  45. </span> -->
  46. <!-- </div> -->
  47. </div>
  48. <div class="btn-group1" style="float:right;">
  49. <!-- <button type="button" class="btn btn-info1" style="width:41px;height:41px" onclick="doAction('start')"><i class="icon icon-play-circle icon-2x"></i></button>
  50. <button type="button" class="btn btn-info1" style="width:41px;height:41px" onclick="doAction('stop')"><i class="icon icon-pause icon-2x"></i></button>
  51. <button type="button" class="btn btn-info1" style="width:41px;height:41px" onclick="doAction('fast')"><i class="icon icon-forward icon-2x"></i><span id="fast_info"></span></button>
  52. <button type="button" class="btn btn-info1" style="width:41px;height:41px" onclick="doAction('slow')"><span id="slow_info"></span><i class="icon icon-backward icon-2x"></i></button> -->
  53. <button type="button" class="btn btn-info1 " style="width:41px;height:41px" id="video_btn_start" onclick="videorecordstart('video_start')"><img id="video_btn_start_img" style="width:30px" src="/images/video.png"></img></button>
  54. <button type="button" class="btn btn-info1 hidden" style="width:41px;height:41px" id="video_btn_stop" onclick="videorecordstart('video_stop')"><i class="icon icon-stop icon-2x"></i></button>
  55. <button type="button" class="btn btn-info1" style="width:41px;height:41px" onclick="videorecordstart('screenshot')"><i class="icon icon-camera icon-2x"></i></button>
  56. </div>
  57. </div>
  58. <!--<hr>-->
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </section>
  64. </div>
  65. </div>
  66. <div class="col-sm-6">
  67. <div id="score_datatable" style="height:250px;overflow:auto;" data-checkable="true" data-sortable="true"></div>
  68. <div class="row">
  69. <div id="dashboard" class="dashboard dashboard-draggable" data-height="300">
  70. <div class="row" class="col-sm-11" style="margin:5px;">
  71. <button class="btn btn-info2" type="button" onclick="clearAllImg()" style="margin-right:10px;">清空</button>
  72. <button class="btn btn-info3" type="button" onclick="showScore()" style="margin-right:10px;">评分</button>
  73. <button id="saveEditBtn" class="btn btn-warning" type="button" onclick="saveEdit()" style="margin-right:10px;display:none;">保存修改</button>
  74. <form id="form1" runat="server" method="post" enctype="multipart/form-data" style="float:left;margin-right:10px;">
  75. <div>
  76. <button id="box" class="btn btn-info2" type="button" onclick="boxclick()">上传</button>
  77. <div style="display:none;">
  78. <input type="file" name="_f" id="_f" />
  79. </div>
  80. </div>
  81. </form>
  82. </div>
  83. <div class="panel" style="margin-bottom:10px;">
  84. <div class="panel-body" style="padding:5px;" class="col-sm-12">
  85. <div id="img_container" class="cards cards-borderless col-sm-12" style="height:100px;overflow:auto;">
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. <div class="row" style="margin-top:0px;">
  92. <div class="col-sm-10" id="btn_task">
  93. <button class="btn btn-info2" type="button" onclick="submitCheck()">直接提交</button>
  94. <button class="btn btn-info2" type="button" onclick="showPre()">预览提交</button>
  95. <button class="btn btn-info3" type="button" onclick="showInvalid()">申请无效</button>
  96. <!--<button class="btn btn-primary" type="button" data-toggle="modal" data-target="#refuseApplyWin">拒绝申请</button>
  97. <button class="btn btn-primary" type="button" onclick="agreeApply()">同意申请</button>-->
  98. </div>
  99. <div class="col-sm-10" id="btn_appeal_task">
  100. <button class="btn btn-info2" type="button" onclick="submitCheck4AppealDirect()">直接提交</button>
  101. <button class="btn btn-info2" type="button" onclick="showPre4Appeal()">预览提交</button>
  102. <button class="btn btn-info3" type="button" onclick="appeal_showInvalid()">申请无效</button>
  103. <!--<button class="btn btn-primary" type="button" data-toggle="modal" data-target="#refuseApplyWin">拒绝申请</button>
  104. <button class="btn btn-primary" type="button" onclick="agreeApply()">同意申请</button>-->
  105. </div>
  106. </div>
  107. </div>
  108. </div>
  109. </div>
  110. <div id="appeal_div" style="display:none;">
  111. <link rel="import" href="/view/mytask/appealDetail.html?__inline">
  112. </div>
  113. <!-- 考核项 -->
  114. <div id="items-div" style="display:none;text-align:center;">
  115. <ul id="items_tree" class="ztree"></ul>
  116. </div>
  117. <!-- 修改扣分 -->
  118. <div id="score-detail-div" style="display:none;text-align:center;">
  119. <link rel="import" href="/qzd/view/task/scoreDetail.html?__inline">
  120. </div>
  121. <!-- 无效任务 -->
  122. <div class="modal fade" id="validSubmitWin">
  123. <div class="modal-dialog">
  124. <div class="modal-content">
  125. <div class="modal-header">
  126. <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button>
  127. <h4 class="modal-title">无效申请</h4>
  128. </div>
  129. <div class="modal-body">
  130. <form class="form-horizontal">
  131. <label for="exampleInputAccount1" class="col-sm-2">无效原因</label>
  132. <div class="form-group">
  133. <input class="col-sm-3" type="text" id="valid-reason" class="form-control" placeholder="原因">
  134. </div>
  135. </form>
  136. </div>
  137. <div class="modal-footer">
  138. <button type="button" class="btn btn-primary" onclick="saveValidReason()">保存</button>
  139. </div>
  140. </div>
  141. </div>
  142. </div>
  143. <!-- 无效原因 -->
  144. <div id="invalid_div" style="display:none;text-align:center;">
  145. <div class="container-fluid" style="overflow: hidden">
  146. <div class="cards">
  147. <div class="form-group">
  148. <div class="col-md-6 col-sm-10">
  149. <input type="text" name="tags" class="form-control" id="apply_reason" placeholder="">
  150. </div>
  151. </div>
  152. <br>
  153. <div class="row" style="clear:both;height:100%;">
  154. </div>
  155. <div class="row" id="top_reason_div" style="padding:15px;">
  156. </div>
  157. </div>
  158. </div>
  159. </div>
  160. <!-- 已稽查任务 -->
  161. <div id="checked_task_list_div" style="display:none;text-align:center;">
  162. <div class="datatable" id="checked_user_task_datatable"></div>
  163. </div>
  164. <!-- 申诉详情 -->
  165. <div id="hide_div" style="display:none;text-align:center;">
  166. </div>
  167. <script>
  168. $(document).ready(function() {
  169. $("#video_btn_start").mouseover(function() {
  170. $("#video_btn_start_img").attr("src", "/images/movie.png");
  171. });
  172. $("#video_btn_start").mouseout(function() {
  173. $("#video_btn_start_img").attr("src", "/images/video.png");
  174. });
  175. // if ($.checkTask.checked_location_type == 1) {
  176. // $("li.tab_lane").hide();
  177. // $("li.tab_not_lane").show();
  178. // $("li.tab_not_lane:first").addClass("active");
  179. // } else {
  180. // $("li.tab_lane").show();
  181. // $("li.tab_not_lane").hide();
  182. // $("li.tab_lane:first").addClass("active");
  183. // }
  184. initCheck();
  185. });
  186. $(".vjs-control-bar").change(function() {
  187. alert(1);
  188. });
  189. function boxclick() {
  190. $("#_f").click();
  191. }
  192. //文件上传
  193. // $("#box").click(function() {
  194. // alert(111);
  195. // $("#_f").click();
  196. // });
  197. $("#_f").change(function() {
  198. UpladFile();
  199. });
  200. //文件上传 不变
  201. function UpladFile() {
  202. var fileObj = document.getElementById("_f").files[0]; // 获取文件对象
  203. // var FileController = base_image_server_url +'fileServer/file/upload';// 接收上传文件的后台地址
  204. // FormData 对象
  205. // var form = new FormData();
  206. // form.append("name", "hooyes"); // 可以增加表单数据
  207. // form.append("file", fileObj); // 文件对象
  208. uploadFile(fileObj, "file", function(data) {
  209. addPic(base_image_server_url + data.path);
  210. }, function(error) {
  211. console.log(error)
  212. }, "task");
  213. }
  214. // var player = videojs('example-video', {
  215. // "poster": "",
  216. // "controls": "true"
  217. // }, function() {
  218. // this.on('play', function() {
  219. // console.log('正在播放');
  220. // });
  221. // //暂停--播放完毕后也会暂停
  222. // this.on('pause', function() {
  223. // console.log("暂停中")
  224. // });
  225. // // 结束
  226. // this.on('ended', function() {
  227. // console.log('结束');
  228. // })
  229. // });
  230. </script>