1$(function () { 2 var pageSize = $("#infotable").attr("row"); 3 BindGrid("","","","","","","",0,pageSize); 4 $("#btnShowConsult").css("cursor", "pointer").click(function () { 5 var subject = $("#subject").val(); 6 var postname = $("#postname").val(); 7 var content = $("#content").val(); 8 var replycontent = $("#replycontent").val(); 9 var starttime = $("#starttime").val(); 10 var endtime = $("#endtime").val(); 11 BindGrid(subject, postname,replycontent,content,starttime,endtime,"", 0, pageSize); 12 }); 13}); 14 15 16 17function BindGrid(subject, postName, replyContent, content,startTime,endTime,group, pageIndex, pageSize) { 18 webbuilder.getLetterListByCondition(subject, postName, replyContent, content,startTime,endTime,group, pageIndex, pageSize, function (msg) { 19 for(var i=0;i<msg.data.length;i++){ 20 /*var date = new Date('2017-6-16'); 21 var pdate = new Date(msg.data[i].handleDate);*/ 22 if(msg.data[i].handleDate){ 23 msg.data[i].handleDate = msg.data[i].handleDate.split(" ")[0]; 24 } 25 if(msg.data[i].status=='äºå®¡'||msg.data[i].status=='ç´æ¥åå¤'||msg.data[i].status=='å·²åç»'){ 26 msg.data[i].status = 'å·²åç»'; 27 msg.data[i].style = 'ewb-state-end'; 28 }else{ 29 msg.data[i].status = 'å¤çä¸'; 30 msg.data[i].style = 'ewb-state-in'; 31 } 32 } 33 var html = Mustache.render($('#info-template').html(), msg); 34 $("#infotable").empty().html(html); 35 // if ($("#page").pagination()) { 36 // $("#page").pagination('destroy'); 37 // } 38 // $("#page").pagination({ 39 // pageIndex: pageIndex, 40 // pageSize: pageSize, 41 // total: msg.total, 42 // debug: true, 43 // showInfo: true, 44 // showJump: true, 45 // showPageSizes: true, 46 // pageElementSort: ['$page', '$jump'], 47 // }); 48 // $("#page").on("pageClicked", function (event, data) { 49 // BindGrid(subject, postName, replyContent, content,startTime,endTime,group, data.pageIndex, data.pageSize,groupGuid); 50 // }).on('jumpClicked', function (event, data) { 51 // BindGrid(subject, postName, replyContent, content,startTime,endTime,group,data.pageIndex, data.pageSize,groupGuid); 52 // }); 53 }) 54} 55
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.