|  |  | 
 |  |  |     var cols = [ | 
 |  |  |         {field: 'wrkNo', align: 'center',title: '工作号'} | 
 |  |  |         ,{field: 'ioTime$', align: 'center',title: '工作时间', width: 160} | 
 |  |  |         ,{field: 'wrkSts$', align: 'center',title: '任务状态'} | 
 |  |  |         ,{field: 'ioType$', align: 'center',title: '任务类型'} | 
 |  |  |     ]; | 
 |  |  |     cols.push.apply(cols, detlCols); | 
 |  |  |     cols.push({field: 'modiUser$', align: 'center',title: '修改人员', hide:true} | 
 |  |  | 
 |  |  |                     res.data[_index][data.value] = 'N'; | 
 |  |  |                 } | 
 |  |  |             }); | 
 |  |  |             getOutBound(); | 
 |  |  |         } | 
 |  |  |     }); | 
 |  |  |  | 
 |  |  | 
 |  |  |         ,type: 'datetime' | 
 |  |  |         ,range: true | 
 |  |  |     }); | 
 |  |  |     // 获取拥有者表数据 | 
 |  |  |     function getOutBound(){ | 
 |  |  |         $.ajax({ | 
 |  |  |             url: baseUrl+"/owner/auto/site", | 
 |  |  |             headers: {'token': localStorage.getItem('token')}, | 
 |  |  |             method: 'POST', | 
 |  |  |             async: false, | 
 |  |  |             success: function (res) { | 
 |  |  |                 if (res.code === 200){ | 
 |  |  |                     var tpl = $("#takeSiteSelectTemplate").html(); | 
 |  |  |                     var template = Handlebars.compile(tpl); | 
 |  |  |                     var html = template(res); | 
 |  |  |                     $('#ownerSelect').append(html); | 
 |  |  |                     form.render('select'); | 
 |  |  |                 } else if (res.code === 403){ | 
 |  |  |                     top.location.href = baseUrl+"/"; | 
 |  |  |                 }else { | 
 |  |  |                     layer.msg(res.msg) | 
 |  |  |                 } | 
 |  |  |             } | 
 |  |  |         }) | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  | }); | 
 |  |  |  |