var msSystemInfoFormVm=new Vue({el:"#msSystemInfoForm",data:function(){var n=this;return{msConfig:{},entity:{id:GetQueryString("id")||"",sysCode:"",sysName:"",sysDesc:"",sysDomain:"",rootPath:"",valid:"1",authType:"02",authCode:"",maxAppInstanceNum:99999},tempAuth:{authType:"",authCode:""},fieldDictTypeMap:{sysDomain:"ms_system_biz_domain",valid:"y_n",authType:"ms_sys_auth_type"},pageDictMap:{},editType:GetQueryString("editType"),rules:{sysCode:[{required:!0,message:"系统简称不能为空",trigger:"blur"},{max:50,message:"长度不能超过 50 个字符",trigger:"change"},{validator:function(e,t,i){-1!==t.indexOf(".")?i(new Error(e.name+'不能包含字符"."')):i()},name:"系统简称",trigger:"change"},{validator:function(e,t,i){t&&(n.entity.sysCode=t.toUpperCase());var a=n.urlPrefix+"/uniqueCodeValidator?id="+(n.entity.id||"-1")+"&systemCode="+n.entity.sysCode,r="校验系统简称是否重复";axios.get(a).then(function(e){"T"===getDataFromAxiosResponse(e,r).data?i():i(new Error("填写的系统简称已存在,请重新输入"))}).catch(function(e){axiosErrorTips(e,r+"异常")})},trigger:"blur"}],sysName:[{required:!0,message:"系统名称不能为空",trigger:"blur"},{max:100,message:"长度不能超过 100 个字符",trigger:"blur"}],sysDesc:[{max:1e3,message:"长度不能超过 1000 个字符",trigger:"blur"}],sysDomain:[{required:!0,message:"命名空间不能为空",trigger:"blur"},{max:100,message:"长度不能超过 100 个字符",trigger:"change"}],rootPath:[{required:!0,message:"根路径不能为空",trigger:"blur"},{validator:function(e,t,i){var a=new RegExp(/^\/(([a-z0-9-._~]|%[a-f0-9]|[!$&'()*+,;=:@])+\/)*([a-z0-9-._~]|%[a-f0-9]|[!$&'()*+,;=:@])+$/g);100