1/*Lz2018-11-21*/ 2/*就绪*/ 3$(function() { 4 5 //é¡¶é¨å¯¼èªå¨ç» 6 setAnim(".pcNav li", "tada", ".elves"); 7 //æ°é»å¯¼èªåæ¢å¨ç» 8 setAnim(".navTop li", "pulse", 0); 9 // setAnim(".btng1 a li", "bounce", ".elves"); 10 // setAnim(".botg li", "bounce", ".elves"); 11 //èµ°è¿ç±³æå¨ç» 12 setAnim(".zjmlL2 .col-md-3>span", "wobble", "0"); 13 //æ°é»å¯¼èªåæ¢ 14 changeNav(".navTop li", "active", "no"); 15 changeNav(".xsNav li", "active", "no"); 16 changeNav(".navTop2 li", "active1", "yes"); 17 setPlaceholder(); 18 19 //æ¶é´ 20 func1(); 21 //æ¶è 22 $(".shoucang").click(function() { 23 var title = $('meta[name="ColumnName"]'); 24 shoucang(title, window.location.href) 25 }); 26 //设为é¦é¡µ 27 $(".sheweisy").click(function() { 28 SetHome(window.location.href, window.location.href) 29 }); 30 //æç´¢ 31 $("#butsea").click(function() { 32 var str = $("#searchT").val(); 33 console.log(str); 34 if(str == "") { 35 alert("请è¾å ¥æ¨è¦æç´¢çå 容"); 36 return false 37 } else { 38 //window.open("http://so.lasa.gov.cn/?qt=" + str); 39 } 40 }); 41 //åæ é¾æ¥åæ¢ 42 $(".bxjt").mouseover(function() { 43 var id = $(this).index(); 44 if(id == 0) { 45 $(".boxmai .websetbox").eq(id).show(); 46 $(".boxmai .websetbox").eq(id).siblings().hide(); 47 } else if(id == 1) { 48 $(".boxmai .websetbox").eq(id).show(); 49 $(".boxmai .websetbox").eq(id).siblings().hide(); 50 } else if(id == 2) { 51 $(".boxmai .websetbox").eq(id).show(); 52 $(".boxmai .websetbox").eq(id).siblings().hide(); 53 } 54 }) 55 $(".boxmai .websetbox").mouseout(function() { 56 // $(".boxmai .websetbox").hide(); 57 }) 58 //æ¾ç¤ºæºæèè½ç¬æç 59 var url = window.location.href; 60 if(url.indexOf("/c101436/") >= 0) { //夿urlå°å䏿¯å¦å å«linkå符串 61 $(".tN").show(); 62 $(".jgznL").show(); 63 $(".zwgkRil").hide() 64 } 65 //æ¾ç¤ºä¿¡æ¯å ¬å¼æåç¬æ 66 if(url.indexOf("/c101431/") >= 0) { //夿urlå°å䏿¯å¦å å«linkå符串 67 $(".xxgkznMain .child").show(); 68 $(".xxgkznMain .zwgkRil").hide() 69 }; 70 func5(".pcNav li"); 71 func4(".zdsty .ul1 li"); 72 func4(".gkbzLLi.ul1 li") 73}) 74//ä¸çº§é¡µé¢å¯¼èªnavæ·»å active 75function func5(arg) { 76 var lmcode = $('meta[name="ColumnName"]').attr('content'); 77 $(arg).each(function() { 78 var lmmc = $(this).text().replace(/<\/?.+?>/g, "").replace(/[\r\n]/g, "").replace(/\s+/g, ""); 79 if(lmcode == lmmc) { 80 $(arg).removeClass('activepc'); 81 $(this).addClass('activepc'); 82 } 83 }); 84} 85//éä¸çº§é¡µé¢å¯¼èªnavæ·»å on 86function func4(arg) { 87 var lmcode = $.trim($('meta[name="ColumnName"]').attr('content')); 88 $(arg).each(function() { 89 var lmmc = $.trim($(this).text()); 90 if(lmcode.indexOf(lmmc) != -1) { 91 $(this).addClass('activeX').siblings().removeClass('activeX'); 92 } 93 }); 94} 95//è·åç³»ç»æ¶é´å¨å 96function func1() { 97 if(!document.getElementById('time')) return; 98 99 function showLeftTime() { 100 var now = new Date(), 101 year = now.getFullYear(), 102 month = now.getMonth() + 1, 103 day = now.getDate(), 104 myday = now.getDay(); 105 var weekday = new Array(7); 106 weekday[0] = "æ¥"; 107 weekday[1] = "ä¸"; 108 weekday[2] = "äº"; 109 weekday[3] = "ä¸"; 110 weekday[4] = "å"; 111 weekday[5] = "äº"; 112 weekday[6] = "å "; 113 document.getElementById('time').innerHTML = "" + year + "å¹´" + month + "æ" + day + "æ¥ " + "ææ" + weekday[myday] + ''; 114 } 115 showLeftTime(); 116 var timeID = setInterval(showLeftTime, 1000); //ä¸ç§å·æ°ä¸æ¬¡æ¾ç¤ºæ¶é´ 117} 118// 设置为主页 è°ç¨======>SetHome(this,window.location) 119function SetHome(obj, vrl) { 120 try { 121 obj.style.behavior = 'url(#default#homepage)'; 122 obj.setHomePage(vrl); 123 } catch(e) { 124 if(window.netscape) { 125 try { 126 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); 127 } catch(e) { 128 alert("æ¤æä½è¢«æµè§å¨æç»ï¼\nè¯·å¨æµè§å¨å°åæ è¾å ¥âabout:configâå¹¶å车\nç¶åå° [signed.applets.codebase_principal_support]çå¼è®¾ç½®ä¸º'true',åå»å³å¯ã"); 129 } 130 var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch); 131 prefs.setCharPref('browser.startup.homepage', vrl); 132 } else { 133 alert("æ¨çæµè§å¨ä¸æ¯æï¼è¯·æç §ä¸é¢æ¥éª¤æä½ï¼1.æå¼æµ
133è§å¨è®¾ç½®ã2.ç¹å»è®¾ç½®ç½é¡µã3.è¾å ¥ï¼" + vrl + "ç¹å»ç¡®å®ã"); 134 } 135 } 136} 137// å å ¥æ¶è å ¼å®¹360åIE6 è°ç¨=====>shoucang(document.title,window.location) 138function shoucang(sTitle, sURL) { 139 try { 140 window.external.addFavorite(sURL, sTitle); 141 } catch(e) { 142 try { 143 window.sidebar.addPanel(sTitle, sURL, ""); 144 } catch(e) { 145 alert("å å ¥æ¶è失败ï¼è¯·ä½¿ç¨Ctrl+Dè¿è¡æ·»å "); 146 } 147 } 148} 149/*æ ç®å¯¼èªæ¡åæ¢ 150 *var ele 导èªå ç´ 151 *var cla é宿 ·å¼ç±» 152 * */ 153function changeNav(ele, cla, last) { 154 $(ele).mouseover(function() { 155 var cuur = $(this).index(); 156 console.log(cuur); 157 var len = $(this).siblings().length; 158 if(last == "no" && cuur != len) { 159 $(this).addClass(cla).siblings().removeClass(cla); 160 } else if(last == "yes") { 161 $(this).addClass(cla).siblings().removeClass(cla); 162 } 163 if(len >= 2) { 164 $(this).parents(".listChoice").children().eq(cuur + 1).css("display", "block").siblings(":not(.navTop)").css("display", "none"); 165 $(this).siblings(".gd").find("a").eq(cuur).show(); 166 $(this).siblings(".gd").find("a").eq(cuur).siblings("a").hide() 167 } 168 }) 169 // if(ele==".navTop li") { 170 // console.log(111); 171 // $(".navTop li").click(function(event) { 172 // event.stopPropagation(); 173 // console.log(112); 174 // var id=$(this).index(); 175 // console.log(id); 176 // }) 177 // } 178 179} 180/*æç« 页åä½å¤§å°åæ¢*/ 181function setSizeFont(size) { 182 if(size == "l") { 183 $(".nDetail h3").removeClass().addClass("fontSize1"); 184 $(".nDetail .sH span").removeClass().addClass("fontSize3"); 185 $(".nDetail p").removeClass().addClass("fontSize5"); 186 } else if(size == "m") { 187 $(".nDetail h3").removeClass().addClass("fontSize2"); 188 $(".nDetail .sH span").removeClass().addClass("fontSize4"); 189 $(".nDetail p").removeClass().addClass("fontSize6"); 190 } else if(size == "s") { 191 $(".nDetail h3").removeClass().addClass("fontSize3"); 192 $(".nDetail .sH span").removeClass().addClass("fontSize5"); 193 $(".nDetail p").removeClass().addClass("fontSize7"); 194 } 195} 196/*å ¼å®¹ie Placeholder屿§*/ 197function setPlaceholder() { 198 function placeholder(target) { 199 $(target).val($(target).attr("datavalue")).addClass("inp"); 200 $(target).focus(function() { 201 if($(this).val() == $(this).attr("datavalue")) { 202 $(this).val("").removeClass("inp"); 203 } 204 }) 205 $(target).blur(function() { 206 if($(this).val() == "" || $(this).val() == $(this).attr("datavalue")) { 207 $(this).val($(target).attr("datavalue")).addClass("inp"); 208 } 209 }) 210 } 211 placeholder(".ipt") 212} 213/*å¨ç»åº*/ 214function setAnim(x, y, z) { 215 if(z == 0) { 216 $(x).mouseover(function() { 217 $(this).removeClass(y).addClass(y + ' animated').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function() { 218 $(this).removeClass(y); 219 }); 220 }); 221 } else { 222 $(x).mouseover(function() { 223 $(this).find(z).removeClass(y).addClass(y + ' animated').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function() { 224 $(this).removeClass(y); 225 }); 226 }); 227 } 228}; 229//æ¥å£åº 230 231//var url = "/hdjl-platform/openapi/mail/webpageMust"; 232// var pass = { 233// Authorization: "Bearer eyJhbGciOiJIUzUxMiJ9.eyJleHAiOjQxMDI0MTYwMDAsInN1YiI6ImFkbWluIiwiY3JlYXRlZCI6MTUyOTkzNTE0MjAwOH0.KQcVblqFZyxksg0wm2I4W_nJFgst3rH9IjZf2GDfpCl1MrdWmruXuzZyt96Ow8VanzoivslKrG_04G2tNIf4CQ" 234// } 235 236// $(function() { 237 238// //æ¥ä¿¡ç»è®¡ å ±åç å·²åç» ä»å¤©æ¶ä»¶ 239// $.ajax({ 240// url: "/hdjl-platform/openapi/mail/findTotalData", 241// data: { 242// appId: "lK2iGDCrkFM7JMggCeMuHNTNH68fUTNx" 243// }, 244// method: 'get', 245// headers: pass, 246// success: function(json) { 247// console.log(json); 248// $.each(json, function(index, menu) { 249// //å ±åç 250// $("#Accepted").html(menu.all); 251 252// //ä»å¤©æ¶ä»¶ 253// $("#today").html(menu.today); 254// }) 255// }, 256// error: function(xhr) { 257// console.log('error:' + JSON.stringify(xhr)); 258// } 259// }) 260 261// //ä¸çº§é¡µé¢åºé¿ä¿¡ç®± 262// $.ajax({ 263// url: "/hdjl-platform/openapi/mail/webpageMust", 264// data: { 265// pageSize: 3, 266// appId: "lK2iGDCrkFM7JMggCeMuHNTNH68fUTNx" 267// }, 268// headers: pass, 269// method: 'POST', 270// success: function(json) { 271// console.log("ä¿¡ç®±å表"); 272// console.log(json); 273// $.each(json.result.results, function(index, menu) { 274// var arry = ["åæ ", "æè¯", "举æ¥", "æ±å©", "表æ¬", "å¨è¯¢", "建议", "å ¶ä»"]; 275// var messagetype = arry[menu.mailboxType]; 276// var hstr = ''; 277// var url="/hdjl-platform/appTemplate/mail/detail
277s"; 278// //åå·²å¤çæªå¤çä¸¤ç§æ åµ 279// if(menu.istatus == "å¤çä¸") { 280// //å¤çä¸ 281// hstr = '<td class="t3-1">' + menu.istatus + '</td>' 282// } else if(menu.istatus == "å·²å¤ç") { 283// //å·²å¤ç 284// hstr = '<td class="t3-2">' + menu.istatus + '</td>' 285// } 286// var qzxx_list = '<tr><td class="t1"><a href="' + url + '/lK2iGDCrkFM7JMggCeMuHNTNH68fUTNx/' + menu.id + '" target="_blank" title="' + menu.title + '">' + (menu.title.length > 15 ? (menu.title.substring(0, 15) + "...") : menu.title) + '</a></td>' + 287// '<td class="td2 otows">' + messagetype + '</td>' + 288// hstr + 289// // '<td class="td3 otows statuCol1">' + menu.istatus + '</td>' + 290// '<td class="t4">' + menu.lettertime.substring(0, 10) + '</td></tr>'; 291// $("#jzxxList,.jzxxList").append(qzxx_list); 292 293// console.log(json.result.results); 294// }) 295// }, 296// error: function(xhr) { 297// console.log('error:' + JSON.stringify(xhr)); 298// } 299// }) 300 301// //æè§å¾élist 302// var yjzjurl = "/hdjl-platform/openapi/collection/list"; 303// var obj = { 304// pageNum:1, 305// pageSize: 1, 306// appId: "6ylHWHgavCQYiJsBqSWEGdwyDFbukYly" 307// }; 308// $.ajax({ 309// url: yjzjurl, 310// contentType: "application/json", 311// dataType: "json", 312// headers: pass, 313// data: JSON.stringify(obj), 314// method: 'POST', 315// success: function(json) { 316// $.each(json.result.results, function(index, menu) { 317// var yjzj_list = '<p class="fl">' + 318// '<a href="' +'/hdjl-platform/appTemplate/collection/info/6ylHWHgavCQYiJsBqSWEGdwyDFbukYly/' + menu.collectionid + '" target="_blank" class="fl" title="' + menu.collectiontitle + '">' + '<em>ã' + menu.statusDesc + 'ã</em>' + menu.collectiontitle + '</a>' + '<span class="fr">' + menu.friendlyStartTime.substring(0, 10) + '</span></p>'; 319// $("#yjzj_list").append(yjzj_list); 320// }) 321// }, 322// error: function(xhr) { 323// console.log('error:' + JSON.stringify(xhr)); 324// } 325// }) 326 327// //ç½ä¸è°æ¥list 328// var dcwjurl = "/hdjl-platform/openapi/survey/list/gTELLyEZnRK2OGVGI9mgOBv68l4X4HaR"; 329// var obj = { 330// pageSize: 2 331// }; 332// $.ajax({ 333// url: dcwjurl, 334// contentType: "application/json", 335// dataType: "json", 336// headers: pass, 337// data: JSON.stringify(obj), 338// method: 'POST', 339// success: function(json) { 340// $.each(json.result.results, function(index, menu) { 341// var status = menu.status; 342// if(status == 0) { 343// status = 'è稿'; 344// } else if(status == 1) { 345// status = 'è¿è¡ä¸'; 346// } else if(status == 2) { 347// status = 'å·²ç»æ'; 348// } 349// var dcwj_list = '<li><a href="' + '/hdjl-platform/appTemplate/survey?appId=gTELLyEZnRK2OGVGI9mgOBv68l4X4HaR&surveyId=' + menu.id + '" target="_blank" class="fl" title="' + menu.surveyName + '">' + '<em>ã' + status + 'ã</em>' + menu.surveyName + '</a>' + '<span class="newTime pull-right">' + menu.friendlyStartTime + '</span></p>'; 350// $("#dcwj_list").append(dcwj_list); 351 352// }) 353// }, 354// error: function(xhr) { 355// console.log('error:' + JSON.stringify(xhr)); 356// } 357// }) 358 359// }); 360 361$(document).ready(function(){ 362 363 var path = ''; 364 365 //å¾çæ¥å£è·¯å¾ 366 var imgUrl = '/communication/api-common/file/download?path='; 367 368 //ç»ä¸åçä¿¡ä»¶id 369 var emailId = '0725f52ee2444d948bcf26984c32d95a'; 370 371 //ååä½ç½ä¸è°æ¥ãæ°æå¾éãå¨çº¿è®¿è°id 372 var id = '0725f52ee2444d948bcf26984c32d95a'; 373 374 //ç«ç¹åç§°/ä¿¡ä»¶è¯¦æ æ ç®ä»£å· 375 var xjxq = '/mlx/c101557/'; 376 377 //ç«ç¹åç§°/è°æ¥è¯¦æ æ ç®ä»£å· 378 var dcxq = '/mlx/c101558/'; 379 380 //ç«ç¹åç§°/å¾éè¯¦æ æ ç®ä»£å· 381 var wyzj = '/mlx/c101559/'; 382 383 //ç«ç¹åç§°/访è°è¯¦æ æ ç®ä»£å· 384 var zxft = ''; 385 386 387 //仿¥æ¶ä»¶ æ»è®¡æ¶ä»¶ 388 389 frontMailNum(); 390 function frontMailNum(){ 391 var data = { 392 deptId: emailId 393 } 394 $.ajax({ 395 url: path + "/communication/api-mailbox/frontMail/selectMailHistoryByDept", 396 data: data, 397 type: 'get', 398 dataType: 'json', 399 contentType: "application/json", 400 success: function(json) { 401 console.log(json); 402 //仿¥æ¶ä»¶ 403 $("#today").html(json.data.toDay); 404 //å ±åç 405 $("#Accepted").html(json.data.total); 406 }, 407 error: function(xhr) { 408 console.log('error:' + JSON.stringify(xhr)); 409 } 410 }) 411 } 412 413 414 // ä¿¡ä»¶å表 415 etterlList(); 416 417 function etterlList() { 418 var data = { 419 pageNum: '1', 420 pageSize: '3', 421 sortMap: {}, 422 params: { 423 deptId: emailId 424 } 425 } 426 jQuery.support.cors = true; 427 $.ajax({ 428 url: path + "/communication/api-mailbox/frontMail/mailList", 429 data: JSON.stringify(data), 430 type: 'POST', 431 dataType: 'json', 432 contentType: "application/json", 433 success: function(json) { 434 console.log(json); 435 $.each(json.data.rows, function(index, item) { 436 437 var lxxd_list ='<tr><td class="t1">' 438 +'<a href="' + xjxq + 'hd_xjxq.shtml?id=' + item.id + '" target="_blank" title="' +item.title + '">' + (item.title.length > 15 ? (item.title.substring(0, 15) + "...") : item.title) + '</a></td>' + 439 '<td class="td2 otows">' + item.objectiveType + '</td>' + 440 '<td class="t3-2">' + item.status + '</td>'+ 441 '<td class="t4">' + item.createTime.substring(0, 10) + '</td></tr>'; 442 $("#jzxxList,.jzxxLis").append(lxxd_list); 443 }) 444 }, 445 error: function(xhr) { 446 console.log('error:' + JSON.stringify(xhr)); 447 } 448 }) 449 } 450 451 452 453 454 //ç½ä¸è°æ¥ 455 onlineSurvey(); 456 457 function onlineSurvey() { 458 var data = { 459 pageNum: '1', 460 pageSize: '2',
461 sortMap: {startTime1: "desc"}, 462 params: { 463 deptId: id 464 } 465 } 466 $.ajax({ 467 url: path + "/communication/api-question/frontquestionPaper/pageList1", 468 data: JSON.stringify(data), 469 type: 'POST', 470 dataType: 'json', 471 contentType: "application/json", 472 success: function(json) { 473 // console.log(json); 474 var wsdcUrl=''; 475 var _explain=''; 476 var dcurl=""; 477 $.each(json.data.rows, function(index, item) { 478 if(item.isSurvey==1){ 479 isSurvey="å·²ç»æ"; 480 wsdcUrl='hd_zxdc_result.shtml?id='; 481 }else{ 482 isSurvey="è¿è¡ä¸"; 483 wsdcUrl='hd_zxdc_details.shtml?id='; 484 } 485 // if(item.explain!=null){ 486 // _explain=item.explain.replace(re ,""); 487 // _explain=(_explain.length>90)?(_explain.substring(0, 90)+"..."):(_explain); 488 // }else{ 489 // _explain=''; 490 // } 491 492 if(item.collectType==0){ 493 dcurl= dcxq +wsdcUrl+ item.id 494 }else{ 495 dcurl=item.outJoin; 496 } 497 498 var wsdc_list ='<li><a href="'+dcurl+'" target="_blank" class="fl" title="' + item.title+ '">' + '<em>ã' + isSurvey + 'ã</em>' + item.title+ '</a>' 499 + '<span class="newTime pull-right">' + item.startTime.substring(0,10) + '</span></p>'; 500 501 502 $("#dcwj_list").append(wsdc_list); 503 }) 504 }, 505 error: function(xhr) { 506 console.log('error:' + JSON.stringify(xhr)); 507 } 508 }) 509 } 510 511 512 //æè§å¾é 513 opinionCollection(); 514 515 function opinionCollection() { 516 var data = { 517 pageNum: '1', 518 pageSize: '1', 519 sortMap: {startTime: "desc"}, 520 params: { 521 deptId: id 522 } 523 } 524 $.ajax({ 525 url: path + "/communication/api-collect/frontArticle/pageList", 526 data: JSON.stringify(data), 527 type: 'POST', 528 dataType: 'json', 529 contentType: "application/json", 530 success: function(json) { 531 console.log(json); 532 var _content=''; 533 var yjzjUrl=''; 534 var yjurl=""; 535 $.each(json.data.rows, function(index, item) { 536 if(item.isSurvey==1){ 537 isSurvey="å·²ç»æ"; 538 yjzjUrl='hd_myzj_details.shtml?id=' 539 }else{ 540 isSurvey="è¿è¡ä¸"; 541 yjzjUrl='hd_myzj_input.shtml?id=' 542 } 543 // if(item.content!=null){ 544 // _content=item.content.replace(re ,""); 545 // _content=(_content.length>35)?(_content.substring(0, 35)+"..."):(_content) 546 // }else{ 547 // _content=''; 548 // } 549 550 if(item.collectType==0){ 551 yjurl= wyzj +yjzjUrl+ item.id 552 }else{ 553 yjurl=item.outJoin; 554 } 555 var yjzj_list='<p class="fl">' 556 +'<a href="'+yjurl+'" target="_blank" class="fl" title="' + item.title + '">' + '<em>ã' + isSurvey + 'ã</em>' + item.title + '</a>' 557 + '<span class="fr">' + item.startTime.substring(0,10) + '</span></p>'; 558 $("#yjzj_list").append(yjzj_list); 559 }) 560 //$('.fir-zjnr').eq(1).css('border','none'); 561 562 563 }, 564 error: function(xhr) { 565 console.log('error:' + JSON.stringify(xhr)); 566 } 567 }) 568 } 569 570 571 //å¨çº¿è®¿è° 572 // onlineInterview(); 573 574 function onlineInterview() { 575 var data = { 576 pageNum: '1', 577 pageSize: '1', 578 sortMap: {}, 579 params: { 580 deptId: id 581 } 582 } 583 $.ajax({ 584 url: path + "/communication/api-inter/frontInterview/getInList", 585 data: JSON.stringify(data), 586 type: 'POST', 587 dataType: 'json', 588 contentType: "application/json", 589 success: function(json) { 590 console.log(json); 591 if(json.status == 'success') { 592 if(json.data.rows != '') { 593 $.each(json.data.rows, function(index, item) { 594 var zxft_list = '<a href="'+ zxft +'hd_zxft_details.shtml?id=' + item.id + '" target="_blank"><img src="' + imgUrl + '' + item.recordPic + '"></a>' 595 +'<div class="txt"><ul ><li class="ftzt"><span>访è°ä¸»é¢:</span>' 596 +'<p><a href="'+ zxft +'hd_zxft_details.shtml?id=' + item.id + '" target="_blank">' + item.title + '</a></p></li>' 597 +'<li class="ftsj"><span>è®¿è°æ¶é´:</span>' 598 +'<p>' + item.liveEndTime.substring(0, 10) + '</p></li>' 599 +'<li class="ftjb"><span>访è°å宾:</span>' 600 +'<p><span>' + item.guest + '</span></p></li>' 601 +'<li class="ftzy"><span>è®¿è°æè¦:</span>' 602 +'<p>' + ((item.introduction.length>60)?(item.introduction.substring(0, 60)+"..."):(item.introduction)) + '</p></li></ul></div>'; 603 $("#zxft_list").append(zxft_list); 604 }) 605 }else{ 606 $.ajax({ 607 url: path + "/communication/api-inter/frontInterview/getOverList", 608 data: JSON.stringify(data), 609 type: 'POST', 610 dataType: 'json', 611 contentType: "application/json", 612 success: function(json) { 613 console.log(json); 614 if(json.status == 'success') { 615 $.each(json.data.rows, function(index, item) { 616 var zxft_list = '<a href="'+ zxft +'hd_zxft_details.shtml?id=' + item.id + '" target="_blank"><img src="' + imgUrl + '' + item.recordPic + '"></a>' 617 +'<div class="txt"><ul ><li class="ftzt"><span>访è°ä¸»é¢:</span>' 618 +'<p><a href="'+ zxft +'hd_zxft_details.shtml?id=' + item.id + '" target="_blank">' + item.title + '</a></p></li>' 619 +'<li class="ftsj"><span>è®¿è°æ¶é´:</span>' 620 +'<p>' + item.liveEndTime.substring(0, 10) + '</p></li>' 621 +'<li class="ftjb"><span>访è°å宾:</span>' 622 +'<p><span>' + item.guest + '</span></p></li>' 623 +'<li class="ftzy"><span>è®¿è°æè¦:</span>' 624 +'<p>' + ((item.introduction.length>60)?(item.introduction.substring(0, 60)+"..."):(item.introduction)) + '</p></li></ul></div>'; 625 $("#zxft_list").append(zxft_list); 626 }) 627 628 } 629 }, 630 error: function(xhr) { 631 console.log('error:' + JSON.stringify(xhr)); 632 } 633 }) 634 } 635 } 636 }, 637 error: function(xhr) { 638 console.log('error:' + JSON.stringify(xhr)); 639 } 640 }) 641 } 642 643 644 645 646 }); 647$(function() { 648 //ä¿¡ç®±å表 649// $("#jzyx").attr("href", "/hdjl-platform/appTemplate/mail/list/lK2iGDCrkFM7JMggCeMuHNTNH68fUTNx"); 650 $("#jzyxl,.jzyxlcl").click(function() { 651 // console.log(123456); 652 window.open("/mlx/c101557/hd_mailbox.shtml") 653 }) 654 $("#jzyxl1").click(function() { 655 // console.log(123456); 656 window.open("/mlx/c101557/hd_mailbox.shtml") 657 }) 658 //æè¦åä¿¡ 659 // $("#wyxx").attr("href", "/hdjl-platform/appTemplate/mail/write/MGva0v8pH3fd2NGdqpr5eB0ndAWQdq9c"); 660 $("#wyxx,.wyxxcl").click(function() { 661 window.open("/mlx/c101557/hd_wyxx.shtml") 662 }) 663 //æ¥ä¿¡éç» 664 $("#lxdx").attr("href", "/mlx/c101557/hd_mailbox.shtml"); 665 666 //æ°æå¾é 667 $("#myzj").attr("href", "/mlx/c101559/hd_myzj.shtml"); 668 669 //ç½ä¸è°æ¥ 670 $("#wsdc").attr("href", "/mlx/c101558/hd_zxdc.shtml"); 671 672});
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.