Răsfoiți Sursa

取消放空

MSI\liwei 7 ani în urmă
părinte
comite
e1d93a8d75

+ 4 - 4
VisualInspection/qzd/js/task/add.js

@@ -506,9 +506,9 @@ function reloadtableData() {
                     var t = r.task;
                     //未生成任务
                     if (t == null) {
-                        if(r.isApply == 1){
-                            temphtml += '<button data-toggle="button" class="btc noAppy" style="margin:10px;background:#FFDEAD;border-color:#FFDEAD;color:#fff"  type="button" id="' + user.id + '_' + i + '_' + r.id + '">' + moment(r.received_time).format("HH:mm") + "放空任务" + '</button>';
-                        }else{
+                        // if(r.isApply == 1){
+                        //     temphtml += '<button data-toggle="button" class="btc noAppy" style="margin:10px;background:#FFDEAD;border-color:#FFDEAD;color:#fff"  type="button" id="' + user.id + '_' + i + '_' + r.id + '">' + moment(r.received_time).format("HH:mm") + "放空任务" + '</button>';
+                        // }else{
                             if (r.videos == null || r.videos == undefined || r.videos == "") {
                                 if(r.pics == null || r.pics == undefined || r.pics == ""){
                                     temphtml += '<button data-toggle="button" class="btc novideoc" style="margin:10px;background:#fff;border-color:#fff;color:#03b8cf"  type="button" id="' + user.id + '_' + i + '_' + r.id + '">' + moment(r.received_time).format("HH:mm") + "~" + moment(r.back_time).format("HH:mm") + '</button>';
@@ -519,7 +519,7 @@ function reloadtableData() {
                                 temphtml += '<div class="btn-group normal" style="margin:10px;" data-toggle="buttons" id="btn_u_' + user.id + '_r_' + r.id + '"> <label class="btn btn-info2 "> <input type="checkbox"  onchange="selectedTask(this)" id="' + user.id + '_' + i + '_' + r.id + '">' + moment(r.received_time).format("HH:mm") + "~" + moment(r.back_time).format("HH:mm") + '</label></div>';
                                 //temphtml += '<button data-toggle="button" class="btc normal" style="margin:10px" onclick="selectedTask(this)" type="button" id="' + user.id + '_' + i + '_' + r.id + '">' + moment(r.received_time).format("HH:mm") + "~" + moment(r.back_time).format("HH:mm") + '</button>';
                             } 
-                        }
+                      //  }
                        
                     } else
                     if (t.check_status == 2 || t.check_status == 7) {

+ 2 - 2
VisualInspection/qzd/view/task/add.html

@@ -149,9 +149,9 @@
         <div class="col-xs-2">
             <div class="divstyle" style="background-color: #ed980f"></div><span style="float: left;">&nbsp;&nbsp;无效</span>
         </div>
-        <div class="col-xs-2">
+        <!-- <div class="col-xs-2">
             <div class="divstyle" style="background-color:#FFDEAD"></div><span style="float: left;">&nbsp;&nbsp;放空</span>
-        </div>
+        </div> -->
     </div>
 
     <div class="row">