|
|
@@ -1,268 +1,270 @@
|
|
|
-<script type="text/javascript" src="/js/lib/sonic.js?__inline"></script>
|
|
|
-<div class="container-fluid ">
|
|
|
- <div class="row">
|
|
|
- <form class="form-horizontal">
|
|
|
- <div class="form-group">
|
|
|
- <div class="form-group col-sm-3">
|
|
|
- <label for="exampleInputAccount1" class="col-sm-3">收费站</label>
|
|
|
- <div class="col-sm-9">
|
|
|
- <select class="form-control col-sm-7" id="fsList" disabled="disabled">
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group col-sm-1">
|
|
|
- <div class="col-sm-12">
|
|
|
- <!--<select class="form-control" id="lane" disabled="disabled"></select>-->
|
|
|
- <input type="text" class="form-control" id="lane" disabled="disabled" />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group col-sm-3">
|
|
|
- <label for="exampleInputAccount1" class="col-sm-3">时间</label>
|
|
|
- <div class="col-sm-9">
|
|
|
- <!--<select class="form-control" id="lane" disabled="disabled"></select>-->
|
|
|
- <input type="text" class="form-control" id="check_time" disabled="disabled" />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group col-sm-4">
|
|
|
- <label class="col-sm-3">考核人员</label>
|
|
|
- <div class="col-sm-9" id="user_img_container">
|
|
|
- <!-- 使用图片 -->
|
|
|
- <a id="person_img" href="../../images/img4.jpg" class="lightbox-toggle"><img src="../../images/img4.jpg" class="img-thumbnail" style="width:50px;height:50px;margin-top:-10px;"></a>
|
|
|
- <label id="checked_person"></label>
|
|
|
- <a href="javascript:void(0)" onclick="showCheckDetailCount()">次数<label id="checked_count"></label></a>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="col-sm-1">
|
|
|
- <button class="btn btn-primary " type="button" onclick="showChangeUser()">更改考核人员</button>
|
|
|
- </div>
|
|
|
-
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="row">
|
|
|
- <div class="col-sm-6">
|
|
|
- <div id="dashboard" class="dashboard dashboard-draggable" data-height="300">
|
|
|
- <section class="row">
|
|
|
- <div class="col-md-12">
|
|
|
- <div class="panel" data-id="1">
|
|
|
-
|
|
|
- <div class="panel-body" style="padding:5px;">
|
|
|
- <ul class="nav nav-secondary">
|
|
|
- <li class="tab_lane" class="active"><a data-tab href="#tabContent1" bbb="0">收费亭</a></li>
|
|
|
- <li class="tab_lane"><a data-tab href="#tabContent2" bbb="1">车道</a></li>
|
|
|
- <li class="tab_lane"><a data-tab href="#tabContent3" bbb="2">广场</a></li>
|
|
|
- <li class="tab_not_lane"><a data-tab href="#tabContent4" bbb="3">值机室</a></li>
|
|
|
- </ul>
|
|
|
-
|
|
|
-
|
|
|
- <div id="video_content">
|
|
|
- <div class="tab-content" id="tabcontent" style="height:400px;text-align: center;background:black;">
|
|
|
- <p style="padding-top:180px;font-size:20px">加载中...</p>
|
|
|
- <!--<i class="icon icon-spin icon-spinner icon-5x" style="margin-top:100px"></i>-->
|
|
|
- </div>
|
|
|
- <div class="row" class="col-md-12" style="padding:5px 10px 5px 10px;text-align:center;margin:0px">
|
|
|
- <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" />
|
|
|
- </div>
|
|
|
- <div class="row" style="padding:0px 5px 0px 5px;text-align:center;margin:0px">
|
|
|
- <select class="form-control" id="video_list" style="width:200px;float:left;display:none"></select>
|
|
|
- <div class="col-md-4 " style="padding-left:0">
|
|
|
- <div class="input-group" style="padding-left:0">
|
|
|
- <input type="text" id="video_pos" style="height:42px" class="form-control" placeholder="时间偏移值">
|
|
|
- <span class="input-group-btn">
|
|
|
- <button class="btn btn-default" style="height:42px" onclick="setVideoPos()" type="button">校正</button>
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="btn-group" style="float:right;">
|
|
|
- <button type="button" class="btn btn-info" style="width:51px;height:42px" onclick="doAction('start')"><i class="icon icon-play-circle icon-2x"></i></button>
|
|
|
- <button type="button" class="btn btn-info" style="width:51px;height:42px" onclick="doAction('stop')"><i class="icon icon-pause icon-2x"></i></button>
|
|
|
- <button type="button" class="btn btn-info" style="width:51px;height:42px" onclick="doAction('fast')"><i class="icon icon-forward icon-2x"></i><span id="fast_info"></span></button>
|
|
|
- <button type="button" class="btn btn-info" style="width:51px;height:42px" onclick="doAction('slow')"><span id="slow_info"></span><i class="icon icon-backward icon-2x"></i></button>
|
|
|
- <button type="button" class="btn btn-danger " style="width:51px;height:42px" id="video_btn_start" onclick="doAction('video_start')"><img style="width:30px" src="/images/movie.png"></img></i></button>
|
|
|
- <button type="button" class="btn btn-danger hidden" style="width:51px;height:42px" id="video_btn_stop" onclick="doAction('video_stop')"><i class="icon icon-stop icon-2x"></i></button>
|
|
|
- <button type="button" class="btn btn-success" style="width:51px;height:42px" onclick="doAction('screenshot')"><i class="icon icon-camera icon-2x"></i></button>
|
|
|
-
|
|
|
-
|
|
|
- </div>
|
|
|
-
|
|
|
- </div>
|
|
|
- <!--<hr>-->
|
|
|
-
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </section>
|
|
|
-
|
|
|
-
|
|
|
- </div>
|
|
|
-
|
|
|
- </div>
|
|
|
- <div class="col-sm-6">
|
|
|
- <div id="score_datatable" style="height:350px;" data-checkable="true" data-sortable="true"></div>
|
|
|
- <div class="row">
|
|
|
- <div id="dashboard" class="dashboard dashboard-draggable" data-height="300">
|
|
|
-
|
|
|
- <div class="row" class="col-sm-11" style="margin:5px;">
|
|
|
- <button class="btn btn-primary" type="button" onclick="clearAllImg()" style="margin-right:10px;">清空</button>
|
|
|
- <button class="btn btn-danger" type="button" onclick="showScore()" style="margin-right:10px;">评分</button>
|
|
|
- <button id="saveEditBtn" class="btn btn-warning" type="button" onclick="saveEdit()" style="margin-right:10px;display:none;">保存修改</button>
|
|
|
- <form id="form1" runat="server" method="post" enctype="multipart/form-data" style="float:left;margin-right:10px;">
|
|
|
- <div>
|
|
|
- <button id="box" class="btn btn-primary" type="button">上传</button>
|
|
|
- <div style="display:none;">
|
|
|
- <input type="file" name="_f" id="_f" />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- <div class="panel">
|
|
|
- <div class="panel-body" style="padding:5px;" class="col-sm-12">
|
|
|
- <div id="img_container" class="cards cards-borderless col-sm-12" style="height:100px;overflow:auto;">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- </div>
|
|
|
- <div class="row" style="margin-top:5px;">
|
|
|
- <div class="col-sm-10" id="btn_task">
|
|
|
- <button class="btn btn-primary" type="button" onclick="submitCheck()">直接提交</button>
|
|
|
- <button class="btn btn-primary" type="button" onclick="showPre()">预览提交</button>
|
|
|
- <button class="btn btn-danger" type="button" onclick="showInvalid()">申请无效</button>
|
|
|
- <!--<button class="btn btn-primary" type="button" data-toggle="modal" data-target="#refuseApplyWin">拒绝申请</button>
|
|
|
- <button class="btn btn-primary" type="button" onclick="agreeApply()">同意申请</button>-->
|
|
|
- </div>
|
|
|
- <div class="col-sm-10" id="btn_appeal_task">
|
|
|
- <button class="btn btn-primary" type="button" onclick="submitCheck4Appeal()">直接提交</button>
|
|
|
- <button class="btn btn-primary" type="button" onclick="showPre4Appeal()">预览提交</button>
|
|
|
- <!--<button class="btn btn-primary" type="button" data-toggle="modal" data-target="#refuseApplyWin">拒绝申请</button>
|
|
|
- <button class="btn btn-primary" type="button" onclick="agreeApply()">同意申请</button>-->
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-</div>
|
|
|
-<div id="appeal_div" style="display:none;">
|
|
|
- <link rel="import" href="/view/mytask/appealDetail.html?__inline">
|
|
|
-</div>
|
|
|
-<div id="form-div" style="display:none;text-align:center;">
|
|
|
- <link rel="import" href="/view/mytask/changePerson.html?__inline">
|
|
|
-</div>
|
|
|
-<div id="items-div" style="display:none;text-align:center;">
|
|
|
- <ul id="items_tree" class="ztree"></ul>
|
|
|
-</div>
|
|
|
-<div id="score-detail-div" style="display:none;text-align:center;">
|
|
|
- <link rel="import" href="/view/mytask/scoreDetail.html?__inline">
|
|
|
-</div>
|
|
|
-<!-- 对话框HTML -->
|
|
|
-<div class="modal fade" id="validSubmitWin">
|
|
|
- <div class="modal-dialog">
|
|
|
- <div class="modal-content">
|
|
|
- <div class="modal-header">
|
|
|
- <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button>
|
|
|
- <h4 class="modal-title">无效申请</h4>
|
|
|
- </div>
|
|
|
- <div class="modal-body">
|
|
|
- <form class="form-horizontal">
|
|
|
- <label for="exampleInputAccount1" class="col-sm-2">无效原因</label>
|
|
|
- <div class="form-group">
|
|
|
- <input class="col-sm-3" type="text" id="valid-reason" class="form-control" placeholder="原因">
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- <div class="modal-footer">
|
|
|
- <button type="button" class="btn btn-primary" onclick="saveValidReason()">保存</button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-</div>
|
|
|
-<!-- 对话框HTML -->
|
|
|
-<div id="invalid_div" style="display:none;text-align:center;">
|
|
|
- <div class="container-fluid" style="overflow: hidden">
|
|
|
- <div class="cards">
|
|
|
- <div class="form-group">
|
|
|
- <div class="col-md-6 col-sm-10">
|
|
|
- <input type="text" name="tags" class="form-control" id="apply_reason" placeholder="">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <br>
|
|
|
- <div class="row" style="clear:both;height:100%;">
|
|
|
- </div>
|
|
|
- <div class="row" id="top_reason_div" style="padding:15px;">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-</div>
|
|
|
-<div id="checked_task_list_div" style="display:none;text-align:center;">
|
|
|
- <div class="datatable" id="checked_user_task_datatable"></div>
|
|
|
-</div>
|
|
|
-<!-- 对话框HTML -->
|
|
|
-<div id="hide_div" style="display:none;text-align:center;">
|
|
|
-</div>
|
|
|
-<img id="userBigImg" style="display:none;margin-right:20px;" />
|
|
|
-<script>
|
|
|
- var curVideo;
|
|
|
- $(document).ready(function() {
|
|
|
- if ($.checkTask.checked_location_type == 1) {
|
|
|
- $("li.tab_lane").hide();
|
|
|
- $("li.tab_not_lane").show();
|
|
|
- $("li.tab_not_lane").addClass("active");
|
|
|
- } else {
|
|
|
- $("li.tab_lane").show();
|
|
|
- $("li.tab_not_lane").hide();
|
|
|
- $("li.tab_lane:first").addClass("active");
|
|
|
- }
|
|
|
- initCheck();
|
|
|
-
|
|
|
- $('[data-tab]').on('shown.zui.tab', function(e) {
|
|
|
- // console.log('当前被激活的标签页', $(e.target).attr('bbb'));
|
|
|
- // console.log('上一个标签页', e.relatedTarget);
|
|
|
- var i = $(e.target).attr('bbb');
|
|
|
- var showVideo;
|
|
|
- if (i == 3) {
|
|
|
- showVideo = $.checkTask.video_id;
|
|
|
- } else {
|
|
|
- var videos = $.checkTask.video_id.split(',');
|
|
|
- showVideo = videos[i];
|
|
|
- }
|
|
|
-
|
|
|
- if (showVideo != "" && showVideo && showVideo != "undefined") {
|
|
|
- curVideo = showVideo;
|
|
|
- queryVideoList();
|
|
|
- } else {
|
|
|
- callFunc("showvideoview", "false");
|
|
|
- layer.msg('暂无视屏!', {
|
|
|
- time: 2000, //20s后自动关闭
|
|
|
- });
|
|
|
- callFunc("stop", "");
|
|
|
- }
|
|
|
-
|
|
|
- });
|
|
|
-
|
|
|
-
|
|
|
- });
|
|
|
-
|
|
|
- $("#box").click(function() {
|
|
|
- return $("#_f").click();
|
|
|
- });
|
|
|
-
|
|
|
- $("#_f").change(function() {
|
|
|
- UpladFile();
|
|
|
- });
|
|
|
-
|
|
|
- function UpladFile() {
|
|
|
- var fileObj = document.getElementById("_f").files[0]; // 获取文件对象
|
|
|
- // var FileController = base_image_server_url +'fileServer/file/upload';// 接收上传文件的后台地址
|
|
|
- // FormData 对象
|
|
|
- // var form = new FormData();
|
|
|
- // form.append("name", "hooyes"); // 可以增加表单数据
|
|
|
- // form.append("file", fileObj); // 文件对象
|
|
|
- uploadFile(fileObj, "file", function(data) {
|
|
|
- addPic(base_image_server_url + data.path);
|
|
|
- }, function(error) {
|
|
|
- console.log(error)
|
|
|
- }, "task");
|
|
|
- }
|
|
|
+<script type="text/javascript" src="/js/lib/sonic.js?__inline"></script>
|
|
|
+<div class="container-fluid ">
|
|
|
+ <div class="row">
|
|
|
+ <form class="form-horizontal">
|
|
|
+ <div class="form-group">
|
|
|
+ <div class="form-group col-sm-3">
|
|
|
+ <label for="exampleInputAccount1" class="col-sm-3">收费站</label>
|
|
|
+ <div class="col-sm-9">
|
|
|
+ <select class="form-control col-sm-7" id="fsList" disabled="disabled">
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group col-sm-1">
|
|
|
+ <div class="col-sm-12">
|
|
|
+ <!--<select class="form-control" id="lane" disabled="disabled"></select>-->
|
|
|
+ <input type="text" class="form-control" id="lane" disabled="disabled" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group col-sm-3">
|
|
|
+ <label for="exampleInputAccount1" class="col-sm-3">时间</label>
|
|
|
+ <div class="col-sm-9">
|
|
|
+ <!--<select class="form-control" id="lane" disabled="disabled"></select>-->
|
|
|
+ <input type="text" class="form-control" id="check_time" disabled="disabled" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group col-sm-4">
|
|
|
+ <label class="col-sm-3">考核人员</label>
|
|
|
+ <div class="col-sm-9" id="user_img_container">
|
|
|
+ <!-- 使用图片 -->
|
|
|
+ <a id="person_img" href="../../images/img4.jpg" class="lightbox-toggle"><img src="../../images/img4.jpg" class="img-thumbnail" style="width:50px;height:50px;margin-top:-10px;"></a>
|
|
|
+ <label id="checked_person"></label>
|
|
|
+ <a href="javascript:void(0)" onclick="showCheckDetailCount()">次数<label id="checked_count"></label></a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col-sm-1">
|
|
|
+ <button class="btn btn-primary " type="button" onclick="showChangeUser()">更改考核人员</button>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-sm-6">
|
|
|
+ <div id="dashboard" class="dashboard dashboard-draggable" data-height="300">
|
|
|
+ <section class="row">
|
|
|
+ <div class="col-md-12">
|
|
|
+ <div class="panel" data-id="1">
|
|
|
+
|
|
|
+ <div class="panel-body" style="padding:5px;">
|
|
|
+ <ul class="nav nav-secondary">
|
|
|
+ <li class="tab_lane" class="active"><a data-tab href="#tabContent1" bbb="0">收费亭</a></li>
|
|
|
+ <li class="tab_lane"><a data-tab href="#tabContent2" bbb="1">车道</a></li>
|
|
|
+ <li class="tab_lane"><a data-tab href="#tabContent3" bbb="2">广场</a></li>
|
|
|
+ <li class="tab_not_lane"><a data-tab href="#tabContent4" bbb="3">值机室</a></li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+ <div id="video_content">
|
|
|
+ <div class="tab-content" id="tabcontent" style="height:400px;text-align: center;background:black;">
|
|
|
+ <p style="padding-top:180px;font-size:20px">加载中...</p>
|
|
|
+ <!--<i class="icon icon-spin icon-spinner icon-5x" style="margin-top:100px"></i>-->
|
|
|
+ </div>
|
|
|
+ <div class="row" class="col-md-12" style="padding:5px 10px 25px 10px;text-align:center;margin:0px">
|
|
|
+ <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" />
|
|
|
+
|
|
|
+ <span id="ex1_span" style="position: absolute;left: 25px;">2017-06-12 23:00:00</span>
|
|
|
+ </div>
|
|
|
+ <div class="row" style="padding:0px 5px 0px 5px;text-align:center;margin:0px">
|
|
|
+ <select class="form-control" id="video_list" style="width:200px;float:left;display:none"></select>
|
|
|
+ <div class="col-md-4 " style="padding-left:0">
|
|
|
+ <div class="input-group" style="padding-left:0">
|
|
|
+ <input type="text" id="video_pos" style="height:42px" class="form-control" placeholder="时间偏移值">
|
|
|
+ <span class="input-group-btn">
|
|
|
+ <button class="btn btn-default" style="height:42px" onclick="setVideoPos()" type="button">校正</button>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="btn-group" style="float:right;">
|
|
|
+ <button type="button" class="btn btn-info" style="width:51px;height:42px" onclick="doAction('start')"><i class="icon icon-play-circle icon-2x"></i></button>
|
|
|
+ <button type="button" class="btn btn-info" style="width:51px;height:42px" onclick="doAction('stop')"><i class="icon icon-pause icon-2x"></i></button>
|
|
|
+ <button type="button" class="btn btn-info" style="width:51px;height:42px" onclick="doAction('fast')"><i class="icon icon-forward icon-2x"></i><span id="fast_info"></span></button>
|
|
|
+ <button type="button" class="btn btn-info" style="width:51px;height:42px" onclick="doAction('slow')"><span id="slow_info"></span><i class="icon icon-backward icon-2x"></i></button>
|
|
|
+ <button type="button" class="btn btn-danger " style="width:51px;height:42px" id="video_btn_start" onclick="doAction('video_start')"><img style="width:30px" src="/images/movie.png"></img></i></button>
|
|
|
+ <button type="button" class="btn btn-danger hidden" style="width:51px;height:42px" id="video_btn_stop" onclick="doAction('video_stop')"><i class="icon icon-stop icon-2x"></i></button>
|
|
|
+ <button type="button" class="btn btn-success" style="width:51px;height:42px" onclick="doAction('screenshot')"><i class="icon icon-camera icon-2x"></i></button>
|
|
|
+
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <!--<hr>-->
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </section>
|
|
|
+
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="col-sm-6">
|
|
|
+ <div id="score_datatable" style="height:350px;" data-checkable="true" data-sortable="true"></div>
|
|
|
+ <div class="row">
|
|
|
+ <div id="dashboard" class="dashboard dashboard-draggable" data-height="300">
|
|
|
+
|
|
|
+ <div class="row" class="col-sm-11" style="margin:5px;">
|
|
|
+ <button class="btn btn-primary" type="button" onclick="clearAllImg()" style="margin-right:10px;">清空</button>
|
|
|
+ <button class="btn btn-danger" type="button" onclick="showScore()" style="margin-right:10px;">评分</button>
|
|
|
+ <button id="saveEditBtn" class="btn btn-warning" type="button" onclick="saveEdit()" style="margin-right:10px;display:none;">保存修改</button>
|
|
|
+ <form id="form1" runat="server" method="post" enctype="multipart/form-data" style="float:left;margin-right:10px;">
|
|
|
+ <div>
|
|
|
+ <button id="box" class="btn btn-primary" type="button">上传</button>
|
|
|
+ <div style="display:none;">
|
|
|
+ <input type="file" name="_f" id="_f" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ <div class="panel">
|
|
|
+ <div class="panel-body" style="padding:5px;" class="col-sm-12">
|
|
|
+ <div id="img_container" class="cards cards-borderless col-sm-12" style="height:100px;overflow:auto;">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="row" style="margin-top:5px;">
|
|
|
+ <div class="col-sm-10" id="btn_task">
|
|
|
+ <button class="btn btn-primary" type="button" onclick="submitCheck()">直接提交</button>
|
|
|
+ <button class="btn btn-primary" type="button" onclick="showPre()">预览提交</button>
|
|
|
+ <button class="btn btn-danger" type="button" onclick="showInvalid()">申请无效</button>
|
|
|
+ <!--<button class="btn btn-primary" type="button" data-toggle="modal" data-target="#refuseApplyWin">拒绝申请</button>
|
|
|
+ <button class="btn btn-primary" type="button" onclick="agreeApply()">同意申请</button>-->
|
|
|
+ </div>
|
|
|
+ <div class="col-sm-10" id="btn_appeal_task">
|
|
|
+ <button class="btn btn-primary" type="button" onclick="submitCheck4Appeal()">直接提交</button>
|
|
|
+ <button class="btn btn-primary" type="button" onclick="showPre4Appeal()">预览提交</button>
|
|
|
+ <!--<button class="btn btn-primary" type="button" data-toggle="modal" data-target="#refuseApplyWin">拒绝申请</button>
|
|
|
+ <button class="btn btn-primary" type="button" onclick="agreeApply()">同意申请</button>-->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+<div id="appeal_div" style="display:none;">
|
|
|
+ <link rel="import" href="/view/mytask/appealDetail.html?__inline">
|
|
|
+</div>
|
|
|
+<div id="form-div" style="display:none;text-align:center;">
|
|
|
+ <link rel="import" href="/view/mytask/changePerson.html?__inline">
|
|
|
+</div>
|
|
|
+<div id="items-div" style="display:none;text-align:center;">
|
|
|
+ <ul id="items_tree" class="ztree"></ul>
|
|
|
+</div>
|
|
|
+<div id="score-detail-div" style="display:none;text-align:center;">
|
|
|
+ <link rel="import" href="/view/mytask/scoreDetail.html?__inline">
|
|
|
+</div>
|
|
|
+<!-- 对话框HTML -->
|
|
|
+<div class="modal fade" id="validSubmitWin">
|
|
|
+ <div class="modal-dialog">
|
|
|
+ <div class="modal-content">
|
|
|
+ <div class="modal-header">
|
|
|
+ <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button>
|
|
|
+ <h4 class="modal-title">无效申请</h4>
|
|
|
+ </div>
|
|
|
+ <div class="modal-body">
|
|
|
+ <form class="form-horizontal">
|
|
|
+ <label for="exampleInputAccount1" class="col-sm-2">无效原因</label>
|
|
|
+ <div class="form-group">
|
|
|
+ <input class="col-sm-3" type="text" id="valid-reason" class="form-control" placeholder="原因">
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ <div class="modal-footer">
|
|
|
+ <button type="button" class="btn btn-primary" onclick="saveValidReason()">保存</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+<!-- 对话框HTML -->
|
|
|
+<div id="invalid_div" style="display:none;text-align:center;">
|
|
|
+ <div class="container-fluid" style="overflow: hidden">
|
|
|
+ <div class="cards">
|
|
|
+ <div class="form-group">
|
|
|
+ <div class="col-md-6 col-sm-10">
|
|
|
+ <input type="text" name="tags" class="form-control" id="apply_reason" placeholder="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <br>
|
|
|
+ <div class="row" style="clear:both;height:100%;">
|
|
|
+ </div>
|
|
|
+ <div class="row" id="top_reason_div" style="padding:15px;">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+<div id="checked_task_list_div" style="display:none;text-align:center;">
|
|
|
+ <div class="datatable" id="checked_user_task_datatable"></div>
|
|
|
+</div>
|
|
|
+<!-- 对话框HTML -->
|
|
|
+<div id="hide_div" style="display:none;text-align:center;">
|
|
|
+</div>
|
|
|
+<img id="userBigImg" style="display:none;margin-right:20px;" />
|
|
|
+<script>
|
|
|
+ var curVideo;
|
|
|
+ $(document).ready(function() {
|
|
|
+ if ($.checkTask.checked_location_type == 1) {
|
|
|
+ $("li.tab_lane").hide();
|
|
|
+ $("li.tab_not_lane").show();
|
|
|
+ $("li.tab_not_lane").addClass("active");
|
|
|
+ } else {
|
|
|
+ $("li.tab_lane").show();
|
|
|
+ $("li.tab_not_lane").hide();
|
|
|
+ $("li.tab_lane:first").addClass("active");
|
|
|
+ }
|
|
|
+ initCheck();
|
|
|
+
|
|
|
+ $('[data-tab]').on('shown.zui.tab', function(e) {
|
|
|
+ // console.log('当前被激活的标签页', $(e.target).attr('bbb'));
|
|
|
+ // console.log('上一个标签页', e.relatedTarget);
|
|
|
+ var i = $(e.target).attr('bbb');
|
|
|
+ var showVideo;
|
|
|
+ if (i == 3) {
|
|
|
+ showVideo = $.checkTask.video_id;
|
|
|
+ } else {
|
|
|
+ var videos = $.checkTask.video_id.split(',');
|
|
|
+ showVideo = videos[i];
|
|
|
+ }
|
|
|
+
|
|
|
+ if (showVideo != "" && showVideo && showVideo != "undefined") {
|
|
|
+ curVideo = showVideo;
|
|
|
+ queryVideoList();
|
|
|
+ } else {
|
|
|
+ callFunc("showvideoview", "false");
|
|
|
+ layer.msg('暂无视屏!', {
|
|
|
+ time: 2000, //20s后自动关闭
|
|
|
+ });
|
|
|
+ callFunc("stop", "");
|
|
|
+ }
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ $("#box").click(function() {
|
|
|
+ return $("#_f").click();
|
|
|
+ });
|
|
|
+
|
|
|
+ $("#_f").change(function() {
|
|
|
+ UpladFile();
|
|
|
+ });
|
|
|
+
|
|
|
+ function UpladFile() {
|
|
|
+ var fileObj = document.getElementById("_f").files[0]; // 获取文件对象
|
|
|
+ // var FileController = base_image_server_url +'fileServer/file/upload';// 接收上传文件的后台地址
|
|
|
+ // FormData 对象
|
|
|
+ // var form = new FormData();
|
|
|
+ // form.append("name", "hooyes"); // 可以增加表单数据
|
|
|
+ // form.append("file", fileObj); // 文件对象
|
|
|
+ uploadFile(fileObj, "file", function(data) {
|
|
|
+ addPic(base_image_server_url + data.path);
|
|
|
+ }, function(error) {
|
|
|
+ console.log(error)
|
|
|
+ }, "task");
|
|
|
+ }
|
|
|
</script>
|