1// æ¥å£å°ååå(éæ´æ¹) 2var path = '', /* fylxg - å为letï¼æ¹ä¸ºvarï¼é¿å ä¸yhzx.jsä¸var pathéå¤å£°ææ¥é */ 3 // é¨é¨ID(éæ´æ¹) 4 deptId = '707118c455614593ae9d042b7c28109c', 5 column = $('meta[name="ColumnName"]').attr('content'); 6 var _ylWyxx='/xinyuan/c113979/hd_mail_wyxx.shtml'; 7 var _sourceId='f68052f733ad47b38f7f28201956afcb'; 8 // if(column=='书记信箱'){ 9 // _ylWyxx='/xinyuan/c113978/hd_mail_wyxx.shtml'; 10 // _sourceId='272e9ef88ee7456aa56e562302e5d39d'; 11 // }else if(column=="å¿é¿ä¿¡ç®±"){ 12 // _ylWyxx='/xinyuan/c113979/hd_mail_wyxx.shtml'; 13 // _sourceId='f68052f733ad47b38f7f28201956afcb'; 14 // } 15 // äºå¨-ä¿¡ä»¶ 16 hd_mail = { 17 // 信件详æ é¢è§å°å(éä¿®æ¹) 18 ylDetail: '/xinyuan/c113978/hd_mail_result.shtml', 19 // æè¦åä¿¡é¢è§å°å(éä¿®æ¹) 20 ylWyxx: _ylWyxx, 21 // ä¿¡ä»¶å表æ¥å£ 22 urlList: path + '/communication/api-mailbox/frontMail/mailList', 23 // æ¥è¯¢ä¿¡ä»¶æ¥å£ 24 urlSearch: path + '/communication/api-mailbox/frontMail/detailByPhoneAndSearchCode', 25 // ä¿¡ä»¶è¯¦æ æ¥å£ 26 urlDetail: path + '/communication/api-mailbox/frontMail/detail', 27 // ä¿¡ä»¶æä½æµç¨æ¥å£ 28 urlCzlc: path + '/communication/api-mailbox/rest/1.0/tpiLaShaMailLogList', 29 // æè¦åä¿¡æ¥å£ 30 urlWyxx: path + '/communication/api-mailbox/frontMail/save', 31 // é¨é¨å表æ¥å£ 32 utlBmlb: path + '/communication/api-base/department/deptTree', 33 // é®é¢ç±»å«ãå å®¹ç±»å«æ¥å£ 34 urlWtlb: path + '/communication/api-base/dict/findLi', 35 }, 36 // äºå¨-å¾é 37 hd_zj = { 38 // ç»æå¾éé¢è§å°å(éä¿®æ¹) 39 ylDetail: '/hdjltest/c100334/hd_zj_result.shtml', 40 // æè¦å¾éé¢è§å°å(éä¿®æ¹) 41 ylWyzz: '/hdjltest/c100334/hd_zj_wyzj.shtml', 42 // å¾éå表æ¥å£ 43 urlList: path + '/communication/api-collect/frontArticle/pageList', 44 // å¾éè¯¦æ æ¥å£ 45 urlDetail: path + '/communication/api-collect/frontArticle/detailsPage', 46 // æè¦å¾éæ¥å£ 47 urlWyzj: path + '/communication/api-collect/frontArticle/frontInsert', 48 // å¾éè¯è®ºæ¥å£ 49 urlZjpl: path + '/communication/api-collect/frontArticle/opinionPageList', 50 // å¾éè¯è®ºå馿¥å£ 51 urlZjFk: path + '/communication/api-collect/frontArticle/feedback', 52 // å¾é详æ éä»¶æ¥å£ 53 urlZjFile: path + '/communication//api-collect/frontArticle/fileLoad', 54 // å¾éåé¦éä»¶æ¥å£ 55 urlZjfeedbackFile: path + "/communication/api-collect/frontArticle/feedbackFileLoad" 56 }, 57 // äºå¨-è°æ¥ 58 hd_dc = { 59 // ç»æè°æ¥é¢è§å°å(éä¿®æ¹) 60 ylDetail: '/xjylz/c112870/hd_dc_result.shtml', 61 // æè¦è°æ¥é¢è§å°å(éä¿®æ¹) 62 ylWydc: '/xjylz/c112870/hd_dc_wydc.shtml', 63 // è°æ¥å表æ¥å£ 64 urlList: path + '/communication/api-question/frontquestionPaper/pageList1', 65 // è°æ¥ä¸»é¢æ¥å£ 66 urlTheme: path + '/communication/api-question/frontquestionPaper/detailsPage', 67 // è°æ¥ç»æåä¸äººæ°ç»è®¡æ¥å£ 68 urlPeopleTotal: path + '/communication/api-question/frontquestionPaper/peopleNumber', 69 // è°æ¥ç»æå表ç»è®¡æ¥å£ 70 urlListTotal: path + '/communication/api-question/frontquestionPaper/statisticalDetails', 71 // è°æ¥ç»æææ¬ç»è®¡æ¥å£ 72 urlStrTotal: path + '/communication/api-question/frontquestionPaper/answerDetails', 73 // æè¦è°æ¥æäº¤æ¥å£ 74 urlWydc: path + '/communication/api-question/frontItem/optionsCount', 75 // æè¦è°æ¥é项å表æ¥å£ 76 urlOption: path + '/communication/api-question/frontItem/selectItem', 77 }, 78 // äºå¨-è®¿è° 79 hd_ft = { 80 // 访è°è¯¦æ é¢è§å°å(éä¿®æ¹) 81 ylDetail: '/xjylz/c112871/hd_ft_result.shtml', 82 // 访è°è¯¦æ å¾çæ¼æ¥å°å 83 imgStr: '/communication/api-common/file/download?path=', 84 // 访è°è¯¦æ è§é¢æ¼æ¥å°å 85 videoStr: '/communication/api-common/file/source/', 86 // é¢å访è°å表æ¥å£ 87 urlBeforeList: path + '/communication/api-inter/frontInterview/getBeforeList', 88 // æ£å¨è®¿è°å表æ¥å£ 89 urlInList: path + '/communication/api-inter/frontInterview/getInList', 90 // å¾æè®¿è°å表æ¥å£ 91 urlOverList: path + '/communication/api-inter/frontInterview/getOverList', 92 // 访è°è¯¦æ æ¥å£ 93 urlDetail: path + '/communication/api-inter/frontInterview/getDetail', 94 // 访è°å®å½å表æ¥å£ 95 urlRecordlist: path + '/communication/api-inter/frontInterview/listRecord', 96 // ç½åçè¨æ¥å£ 97 urlWyly: path + '/communication/api-inter/frontInterview/addComment', 98 // çè¨é¦éå表æ¥å£ 99 urlLyjj: path + '/communication/api-inter/frontInterview/listComment', 100 } 101// è·åå°åæ åæ° 102function getUrlParam(name, url) { 103 url = url || window.location.search 104 // æé ä¸ä¸ªå«æç®æ åæ°çæ£å表达å¼å¯¹è±¡ 105 var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)') 106 // å¹é ç®æ åæ° 107 var r = url.substr(1).match(reg) 108 if (r != null) return unescape(r[2]) 109 // è¿ååæ°å¼ 110 return null 111} 112// æ ¼å¼åå符串 113function formatStr(str, num, fillStr) { 114 if (str && arguments.length == 3 && str.length > num) { 115 str = str.substr(0, num) + fillStr 116 } 117 return str ? str : '--' 118} 119// æ ¼å¼åæ ç¾æ°æ® 120function removeLabel(str) { 121 // return str.replace(/(<|<).*?(>|>)/ig, ""); 122 return str.replace(/(<|<)(?!\/?br\/?.+?>|\/?img.+?>)[^<>]*(>
122|>)/gi, '') 123} 124 125function Select() { 126 this.determaine = true 127 // ç¹å»è·å䏿å表 128 this.selList = function (arg1, arg2) { 129 let that = this 130 if ($(arg1).length > 0 && $(arg2).length > 0) { 131 $(arg1).click(function () { 132 $('.select > ul').hide() 133 // $(arg2).is(":hidden") ? (that.determaine = true) : (that.determaine = false); 134 if ($(arg2).is(':hidden')) { 135 that.determaine = true 136 } 137 if (that.determaine) { 138 $(arg2).show() 139 that.determaine = false 140 } else { 141 $(arg2).hide() 142 that.determaine = true 143 } 144 }) 145 } 146 } 147 // 䏿å表èµå¼ 148 this.getSel = function (arg1, arg2, arg3) { 149 let that = this 150 if ($(arg1).length > 0 && $(arg2).length > 0) { 151 $(arg1).click(function () { 152 let txt = $(this).text(), 153 dataId = $(this).attr('data-id') 154 $(arg2).text(txt) 155 $(arg2).attr('data-id', dataId) 156 that.determaine = true 157 $(arg3).hide() 158 }) 159 } 160 } 161} 162 163$(function () { 164 // æ·»å æè¦åä¿¡é¾æ¥ 165 $('#hd-wyxx').attr({ 166 href: hd_mail.ylWyxx, 167 // href:' http://www.xinjiang.gov.cn/xinjiang/wyxx/hd_wyxx.shtml', 168 target: '_blank', 169 }) 170})
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.