1var script = $('#'+authorizedReadUnitId); 2if (script.attr('queryData')) { 3 var url = script.attr('url'); 4 var scriptId = script.attr('id'); 5 var idRandom = 'authorizedRead_' + scriptId; 6 script.before('<div id="' + idRandom + '"></div>'); 7 var queryData = JSON.parse(script.attr('queryData').replace(/'/g, "\"")); 8 var bln = false; 9 var value = ''; 10 if ((typeof paramsMap) != 'undefined') { 11 for (i = 0; i < paramsMap.length; i++) { 12 if (paramsMap[i].key == queryData.tagId){ 13 bln = true; 14 value = paramsMap[i].value; 15 } 16 } 17 } 18 if (bln) { 19 var paramJson = { 20 pageNo: 99999, 21 pageSize: 99999, 22 search: JSON.stringify(value) 23 } 24 queryData.paramJson = JSON.stringify(paramJson); 25 } 26 getHtml(url, queryData, idRandom); 27} 28 29 30 31function getHtml(url, queryData, idRandom) { 32 $.ajax({ 33 url: url, 34 type: 'get', 35 data: queryData, 36 success: function(result) { 37 $('#' + idRandom).html(result.data.html); 38 }, 39 error: function(error) { 40 layer.msg('ç³»ç»é误'); 41 } 42 }) 43}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.