eval(function(p,a,c,k,e,r){e=function(c){return(c<62?'':e(parseInt(c/62)))+((c=c%62)>35?String.fromCharCode(c+29):c.toString(36))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'([34679b-df-hj-wzA-XZ]|1\\w)'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('define(3(7){4 $=7(\'R\');4 z=$("#z").g();7(\'S\')($);4 IFA=7(\'util\');7(\'uriTemplate\')($);7(\'dialog\')($);7(\'T\')($);7(\'dateTimePicker\')($);7("../../A/r/R-ui-1.8.14.custom.s");7(\'../../A/r/r-S.s\');7(\'../../A/r/validation.s\');7(\'../../A/r/autoComplete.s\');7(\'../../js/plugins/U/R.ui.U.js\')($);$(3(){1m();setTimeout(3(){h()},300);$("#search").B("C",h);$("#j").B("C",1n);$("#V").B("C",V);$("#W :1o:not(#1p,#1q)").B("keydown",3(e){4 e=e?e:window.1r;if(e.keyCode==13){h()}});X()});3 1m(){4 Z=$.T("Z");4 11=$.T("11");$("#1q").g(Z);$("#districtId").g(11)}3 X(){$("#16").c({D:15,E:t,F:3(6){4 6=6.G("-").H("/");$("#17").c("I","1t",j J(6))}});$("#17").c({D:15,E:t,F:3(6){4 6=6.G("-").H("/");$("#16").c("I","1u",j J(6))}});$("#18").c({D:15,E:t,F:3(6){4 6=6.G("-").H("/");$("#19").c("I","1t",j J(6))}});$("#19").c({D:15,E:t,F:3(6){4 6=6.G("-").H("/");$("#18").c("I","1u",j J(6))}})}3 1n(){1v=$("#z").g();d=1v+"/departmentMgmt.do";1a.K=d}3 V(){$("#W :1o").g("");$("#16").c("L");$("#18").c("L");$("#17").c("L");$("#19").c("L");X()}3 h(){4 d="departmentQuery.1b";$("#h").S({d:d,root:"departmentList",isREST:t,pageTheme:\'Theme1\',pageSize:10,method:"1w",defaultParams:$("#W").serialize(),fields:[{k:"部门名称",9:"k",M:{u:"12%"},render:3(b){l $("<a K=\'#\'/>").html(b.k).C(3(){N(b.9)})}},{k:"级别",9:"level",M:{u:"27%"}},{k:"创建时间",M:{u:"32%"}},{k:"操作",operation:[{1c:"详细",1d:1e,1f:3(b){N(b.9)}},{1c:"编辑",1d:1e,1f:3(b){N(b.9)}},{1c:\'删除\',confirm:\'确认删除？\',m:\'sws\',1d:3(){l 1e},1f:3(b){4 9=b.9;4 1x=z+"/departmentDelete.1b";4 n={"9":9,\'_method\':\'DELETE\'};$.1y({1z:"1w",d:1x,b:n,dataType:"1b",timeout:5000,1A:3(v){$.msg.alert(\'提示信息\',\'删除成功\',3(){h()})},error:3(v){l v}})}}]}],callback:3(b){1B()}})}3 1B(){$($("#h").find("table")[0]).s("u","1200px").wrap("<1C M=\'1D-x:scroll;1D-y:auto;\' ></1C>")}3 N(9){4 O=$("#detailUrl").g().1E();4 P=j $.1F(O);4 n={"9":9};4 d=P.1G(n);1a.K=d}3 showCustomerDetail(1H,1g){4 O=$("#detailUrl1").g().1E();4 P=j $.1F(O);4 n={"9":1H,"1g":1g};4 d=P.1G(n);1a.K=d}3 hotKeyProduct(){$.1y({1z:"get",d:"",1A:3(v){4 1I=v.servicingProduct;$("#1p").U(1I,{1J:"&o;&o;p.w.1J",1K:"&o;,p.districtHotKey.1K",1L:"&o;&o;p.w.1L:&o; ",u:200,1h:5,formatItem:3(f,i,1h){4 m="";if(f.isRestrictive==\'Y\'){4 1M=Math.floor(f.fullUsageHrs/f.avgTransactionActual);m="p.w.title0.&#13;p.w.title1:"+1M}else{m="p.w.title2"}l\'<q m="{2}"><q 1N="ac_code" >{0}</q><q 1N="ac_Name" >{1}</q></q>\'.1i(f.Q,f.1j,m)},formatMatch:3(f,i,1h){l"{0} {1}".1i(f.Q,f.1j)},formatResult:3(f){l"{0}".1i(f.1j)}}).result(3(1r,b,formatted){$("#Q").g(b.Q)})}})}});',[],112,'|||function|var||date|require||id||data|datetimepicker|url||row|val|searchResult||new|name|return|title|urlParam|nbsp|JS|span|cim|css|false|width|response|productHotKey|||contextPath|styles|bind|click|stepMinute|showSecond|onSelect|split|join|option|Date|href|destroy|style|showDetail|urlTemplate|urlString|serviceId|jquery|grid|cookie|autocomplete|reset|dispatcherSearchForm|initializehDate||defaultDistrictName||defaultDistrictId|||||pickupDateStart|pickupDateEnd|returnDateStart|returnDateEnd|location|json|text|display|true|action|phonenumber|max|patchContent|serviceDescription|||initializeDefaultDistrict|departmentNew|input|serviceHokKey|districtHokKey|event||minDate|maxDate|path|POST|urlVal|ajax|type|success|addScrollBar|div|overflow|trim|Template|expand|personId|acdata|caption|findCaption|noFindCaption|maxService|class'.split('|'),0,{}))