|  |  | 
 |  |  |     tableIns = table.render({ | 
 |  |  |         elem: '#wrkMast', | 
 |  |  |         headers: {token: localStorage.getItem('token')}, | 
 |  |  |         url: '/wrkMast/list/auth', | 
 |  |  |         url: baseUrl+'/wrkMast/list/auth', | 
 |  |  |         page: true, | 
 |  |  |         limit: 10, | 
 |  |  |         even: true, | 
 |  |  | 
 |  |  |                 } else { | 
 |  |  |                     layer.confirm('确定增加'+(list.length===1?'此':list.length)+'条数据的优先级吗', function(){ | 
 |  |  |                         $.ajax({ | 
 |  |  |                             url: "/wrkMast/add/pri/auth", | 
 |  |  |                             url: baseUrl+"/wrkMast/add/pri/auth", | 
 |  |  |                             headers: {'token': localStorage.getItem('token')}, | 
 |  |  |                             contentType:'application/json;charset=UTF-8', | 
 |  |  |                             data: JSON.stringify(list), | 
 |  |  | 
 |  |  |                 } else { | 
 |  |  |                     layer.confirm('确定降低'+(list.length===1?'此':list.length)+'条数据的优先级吗', function(){ | 
 |  |  |                         $.ajax({ | 
 |  |  |                             url: "/wrkMast/red/pri/auth", | 
 |  |  |                             url: baseUrl+"/wrkMast/red/pri/auth", | 
 |  |  |                             headers: {'token': localStorage.getItem('token')}, | 
 |  |  |                             contentType:'application/json;charset=UTF-8', | 
 |  |  |                             data: JSON.stringify(list), | 
 |  |  | 
 |  |  |                 } else { | 
 |  |  |                     layer.confirm('确定删除'+(data.length===1?'此':data.length)+'条数据吗', function(){ | 
 |  |  |                         $.ajax({ | 
 |  |  |                             url: "/wrkMast/delete/auth", | 
 |  |  |                             url: baseUrl+"/wrkMast/delete/auth", | 
 |  |  |                             headers: {'token': localStorage.getItem('token')}, | 
 |  |  |                             data: {param: JSON.stringify(data)}, | 
 |  |  |                             method: 'POST', | 
 |  |  | 
 |  |  |                         'fields': fields | 
 |  |  |                     }; | 
 |  |  |                     $.ajax({ | 
 |  |  |                         url: "/wrkMast/export/auth", | 
 |  |  |                         url: baseUrl+"/wrkMast/export/auth", | 
 |  |  |                         headers: {'token': localStorage.getItem('token')}, | 
 |  |  |                         data: JSON.stringify(param), | 
 |  |  |                         dataType:'json', | 
 |  |  | 
 |  |  |                        content: '../locMast/locMast_detail.html', | 
 |  |  |                        success: function(layero, index){ | 
 |  |  |                            $.ajax({ | 
 |  |  |                                url: "/locMast/"+ param +"/auth", | 
 |  |  |                                url: baseUrl+"/locMast/"+ param +"/auth", | 
 |  |  |                                headers: {'token': localStorage.getItem('token')}, | 
 |  |  |                                method: 'GET', | 
 |  |  |                                success: function (res) { | 
 |  |  | 
 |  |  |                        content: '../basDevp/basDevp_detail.html', | 
 |  |  |                        success: function(layero, index){ | 
 |  |  |                            $.ajax({ | 
 |  |  |                                url: "/basDevp/"+ param +"/auth", | 
 |  |  |                                url: baseUrl+"/basDevp/"+ param +"/auth", | 
 |  |  |                                headers: {'token': localStorage.getItem('token')}, | 
 |  |  |                                method: 'GET', | 
 |  |  |                                success: function (res) { | 
 |  |  | 
 |  |  |                        content: '../basDevp/basDevp_detail.html', | 
 |  |  |                        success: function(layero, index){ | 
 |  |  |                            $.ajax({ | 
 |  |  |                                url: "/basDevp/"+ param +"/auth", | 
 |  |  |                                url: baseUrl+"/basDevp/"+ param +"/auth", | 
 |  |  |                                headers: {'token': localStorage.getItem('token')}, | 
 |  |  |                                method: 'GET', | 
 |  |  |                                success: function (res) { | 
 |  |  | 
 |  |  |                        content: '../locMast/locMast_detail.html', | 
 |  |  |                        success: function(layero, index){ | 
 |  |  |                            $.ajax({ | 
 |  |  |                                url: "/locMast/"+ param +"/auth", | 
 |  |  |                                url: baseUrl+"/locMast/"+ param +"/auth", | 
 |  |  |                                headers: {'token': localStorage.getItem('token')}, | 
 |  |  |                                method: 'GET', | 
 |  |  |                                success: function (res) { | 
 |  |  | 
 |  |  |  | 
 |  |  |         }; | 
 |  |  |         $.ajax({ | 
 |  |  |             url: "/wrkMast/"+name+"/auth", | 
 |  |  |             url: baseUrl+"/wrkMast/"+name+"/auth", | 
 |  |  |             headers: {'token': localStorage.getItem('token')}, | 
 |  |  |             data: top.reObject(data), | 
 |  |  |             method: 'POST', | 
 |  |  | 
 |  |  |         tableIns1 = table.render({ | 
 |  |  |             elem: '#wrkDetlByMap', | 
 |  |  |             headers: {token: localStorage.getItem('token')}, | 
 |  |  |             url: '/wrkDetl/list/auth', | 
 |  |  |             url: baseUrl+'/wrkDetl/list/auth', | 
 |  |  |             where: {wrk_no: param}, | 
 |  |  |             page: true, | 
 |  |  |             limit: 16, |