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'[4-79a-wyzA-I]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('define(6(5){4 $=5(\'j\');4 k=$("#k").b();5(\'uriTemplate\')($);5(\'validation\')($);4 IFA=5(\'util\');5(\'dialog\')($);5("../../styles/cim/j-ui-1.8.14.custom.r");5("../../l/s/c/j.c-2.3.min.l")($);5("../../l/s/c/Skins/Default/jbox.r");$(document).ready(6(){$(\'#saveRole\').t(\'u\',v);$("#d").validate({rules:{e:{w:f,},alias:{w:f,y:[1,20]},remark:{y:[0,200]}}});$(\'#cancelRole\').t(\'u\',m);$.validator.addMethod("checkName",6(z,element,param){4 e=z.trim();4 g=f;4 A=$(\'#checkNameUrl\').b();4 B=C $.Template(A);4 D={"e":e};4 7=B.expand(D);$.E({7:7+".n",addidvalue:o,async:o,dataType:"n",p:6(h){9(h.g==f){g=o}}});return g},\'System.Role.Code.InUse\')});6 v(){9($("#d").F()){4 G=tree.getCheckedNodes();4 a=G.join(",");9(a!=""){9(a==0){$.i.q(\'提示信息\',\'角色必选\')}H{a=a.substring(2);$("#nodeIds").b(a);4 7="row/C.n";9($("#d").F()){$.E({type:"post",contentType:"application/x-www-form-urlencoded;charset=utf-8",7:7,data:$("#d").serialize(),p:6(h){9(h.i=="p"){$.c.tip(\'角色创建成功\')}},error:6(){$.i.q(\'提示信息\',\'系统出错\',m)}})}}}H{$.i.q(\'提示信息\',\'请选择角色\')}}}6 m(){I=$("#k").b();7=I+"/roleIndex.do";location.replace(7)}});',[],45,'||||var|require|function|url||if|ids|val|jBox|resultForm|name|true|flag|response|msg|jquery|contextPath|js|index|json|false|success|alert|css|plugins|bind|click|save|required||rangelength|value|hiddenUrl|urlStr|new|urlParam|ajax|valid|array|else|path'.split('|'),0,{}))