分布式调度框架。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
18 KiB

webpackJsonp([27],{1083:function(t,e,n){"use strict";e.__esModule=!0;var s=r(n(1224)),i=r(n(654)),a=r(n(650));function r(t){return t&&t.__esModule?t:{default:t}}e.default={name:"password-index",components:{mSecondaryMenu:i.default,mListConstruction:a.default,mInfo:s.default}}},1084:function(t,e,n){"use strict";e.__esModule=!0;var s=r(n(36)),i=n(123);n(668);var a=r(n(224));function r(t){return t&&t.__esModule?t:{default:t}}e.default={name:"password-info",data:function(){return{spinnerLoading:!1,userPassword:"",oldUserPassword:""}},props:{},methods:Object.assign({},(0,i.mapActions)("user",["signOut"]),(0,i.mapActions)("security",["updateUser"]),{_edit:function(){var t=this;if(this._verification()){var e={id:this.userInfo.id,userName:this.userInfo.userName,userPassword:this.userPassword,tenantId:this.userInfo.tenantId,email:this.userInfo.email,phone:this.userInfo.phone};this.spinnerLoading=!0,this.updateUser(e).then(function(e){t.$message.success(e.msg),setTimeout(function(){t.spinnerLoading=!1,t.signOut()},1500)}).catch(function(e){t.$message.error(e.msg||"")})}},_verification:function(){var t=new RegExp("[\\u4E00-\\u9FFF]+","g");return t.test(this.userPassword)?(this.$message.warning(""+s.default.$t("密码不能为中文")),!1):this.userPassword?this.userPassword.length<6||this.userPassword.length>22?(this.$message.warning(""+s.default.$t("请输入密码(6-22)字符密码")),!1):t.test(this.oldUserPassword)?(this.$message.warning(""+s.default.$t("确认密码不能为中文")),!1):this.oldUserPassword?this.oldUserPassword.length<6||this.oldUserPassword.length>22?(this.$message.warning(""+s.default.$t("请输入确认密码(6-22)字符密码")),!1):this.userPassword===this.oldUserPassword||(this.$message.warning(""+s.default.$t("密码与确认密码不一致,请重新确认")),!1):(this.$message.warning(""+s.default.$t("请输入确认密码(6-22)字符密码")),!1):(this.$message.warning(""+s.default.$t("请输入密码(6-22)字符密码")),!1)}}),computed:Object.assign({},(0,i.mapState)("user",["userInfo"])),components:{mListBoxF:a.default}}},1224:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=n(1084),i=n.n(s);for(var a in s)"default"!==a&&function(t){n.d(e,t,function(){return s[t]})}(a);var r=n(1227);var o=function(t){n(1225)},u=n(27)(i.a,r.a,!1,o,null,null);e.default=u.exports},1225:function(t,e,n){var s=n(1226);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);n(35)("6b0da815",s,!0,{})},1226:function(t,e,n){(t.exports=n(34)(!1)).push([t.i,".password-model .list-box-f{margin-bottom:30px}",""])},1227:function(t,e,n){"use strict";var s={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"user-info-model password-model"},[n("m-list-box-f",[n("template",{slot:"name"},[t._v(t._s(t.$t("用户名称")))]),t._v(" "),n("template",{slot:"content"},[n("span",{staticClass:"sp1"},[t._v(t._s(t.userInfo.userName))])])],2),t._v(" "),n("m-list-box-f",[n("template",{slot:"name"},[t._v(t._s(t.$t("密码")))]),t._v(" "),n("template",{slot:"content"},[n("x-input",{staticStyle:{width:"320px"},attrs:{type:"password",placeholder:t.$t("请输入密码")},model:{value:t.userPassword,callback:function(e){t.userPassword=e},expression:"userPassword"}})],1)],2),t._v(" "),n("m-list-box-f",[n("template",{slot:"name"},[t._v(t._s(t.$t("确认密码")))]),t._v(" "),n("template",{slot:"content"},[n("x-input",{staticStyle:{width:"320px"},attrs:{type:"password",placeholder:t.$t("请输入确认密码")},model:{value:t.oldUserPassword,callback:function(e){t.oldUserPassword=e},expression:"oldUserPassword"}})],1)],2),t._v(" "),n("m-list-box-f",[n("template",{slot:"name"},[t._v(" ")]),t._v(" "),n("template",{slot:"content"},[n("x-button",{attrs:{type:"primary",shape:"circle",loading:t.spinnerLoading},on:{click:function(e){return t._edit()}}},[t._v(t._s(t.spinnerLoading?"Loading...":"修改"))])],1)],2)],1)},staticRenderFns:[]};e.a=s},1228:function(t,e,n){"use strict";var s={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticCla
//# sourceMappingURL=27.4405da8.js.map