eval(function(p,a,c,k,e,r){e=function(c){return 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'[2-79a-w]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('define(3(4){2 $=4(\'k\');4(\'uriTemplate\')($);4(\'validation\')($);2 IFA=4(\'util\');4(\'dialog\')($);4("../../styles/cim/k-ui-1.8.14.custom.css");$(document).ready(3(){$(\'#saveRole\').l(\'m\',n);$("#d").validate({rules:{6:{o:7,},alias:{o:7,p:[1,20]},remark:{p:[0,200]}}});$(\'#cancelRole\').l(\'m\',9);$.validator.addMethod("checkName",3(q,element,param){2 6=q.trim();2 a=7;2 r=$(\'#checkNameUrl\').s();2 t=u $.Template(r);2 v={"6":6};2 5=t.expand(v);$.w({5:5+".e",addidvalue:f,async:f,dataType:"e",g:3(b){h(b.a==7){a=f}}});return a},\'System.Role.Code.InUse\')});3 n(){h($("#d").valid()){2 5="department/u.e";$.w({type:"post",contentType:"application/x-www-form-urlencoded;charset=utf-8",5:5,data:$("#d").serialize(),g:3(b){h(b.c=="g"){$.c.i(\'提示信息\',\'创建成功\',9)}},error:3(){$.c.i(\'提示信息\',\'系统出错\',9)}})}else{$.c.i(\'提示信息\',\'信息填写有误！\')}}3 9(){2 j=$("#j").s();location.replace(j+"/departmentIndex.do")}});',[],33,'||var|function|require|url|name|true||index|flag|response|msg|resultForm|json|false|success|if|alert|contextPath|jquery|bind|click|save|required|rangelength|value|hiddenUrl|val|urlStr|new|urlParam|ajax'.split('|'),0,{}))