|  |  | 
 |  |  |                                 json.data = selectList; | 
 |  |  |                                 console.log(json); | 
 |  |  |  | 
 |  |  |                                 if ( tp == 2 || tp == ''){ | 
 |  |  |                                 if ( tp == 3 || tp == ''){ | 
 |  |  |                                     $.ajax({ | 
 |  |  |                                         url: baseUrl+"/orderCheck/create/auth", | 
 |  |  |                                         headers: {'token': localStorage.getItem('token')}, | 
 |  |  | 
 |  |  |                                         method: 'POST', | 
 |  |  |                                         async: false, | 
 |  |  |                                         success: function (res) { | 
 |  |  |                                             xxDataList = [] | 
 |  |  |                                             if (res.code === 200){ | 
 |  |  |                                                 for (var i =0;i<res.data.length;i++){ | 
 |  |  |                                                     xxDataList.push(res.data[i]); | 
 |  |  | 
 |  |  |                                             } | 
 |  |  |                                         } | 
 |  |  |                                     }) | 
 |  |  |                                 }else if (tp == 3){ | 
 |  |  |                                 }else if (tp == 2){ | 
 |  |  |                                     $.ajax({ | 
 |  |  |                                         url: baseUrl+"/orderCheck/create/loc/auth", | 
 |  |  |                                         headers: {'token': localStorage.getItem('token')}, | 
 |  |  | 
 |  |  |            // window.open("http://localhost:8082/stwms/orderCheck/printExport/auth?orderNo="+data.orderNo); | 
 |  |  |             layer.closeAll(); | 
 |  |  |             layer.load(1, {shade: [0.1,'#fff']}); | 
 |  |  |             location.href = "http://localhost:8082/stwms/orderCheck/printExport/auth?orderNo="+data.orderNo; | 
 |  |  |            // location.href = "http://192.168.4.121:8082/stwms/orderCheck/printExport/auth?orderNo="+data.orderNo; | 
 |  |  |             location.href = baseUrl+"/orderCheck/printExport/auth?orderNo="+data.orderNo; | 
 |  |  |             layer.closeAll('loading'); | 
 |  |  |         }); | 
 |  |  |     } |