|
|
@@ -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) {
|