分布式调度框架。
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
5.5 KiB

webpackJsonp([35],{1143:function(t,s,e){"use strict";s.__esModule=!0;var n=r(e(1285)),a=r(e(697));function r(t){return t&&t.__esModule?t:{default:t}}s.default={name:"password-index",components:{mListConstruction:a.default,mInfo:n.default}}},1144:function(t,s,e){"use strict";s.__esModule=!0;var n=o(e(36)),a=e(123),r=o(e(224));function o(t){return t&&t.__esModule?t:{default:t}}s.default={name:"password-info",data:function(){return{spinnerLoading:!1,userPassword:"",oldUserPassword:""}},props:{},methods:Object.assign({},(0,a.mapActions)("user",["signOut"]),(0,a.mapActions)("security",["updateUser"]),{_edit:function(){var t=this;if(this._verification()){var s={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(s).then(function(s){t.$message.success(s.msg),setTimeout(function(){t.spinnerLoading=!1,t.signOut()},1500)}).catch(function(s){t.$message.error(s.msg||"")})}},_verification:function(){var t=new RegExp("[\\u4E00-\\u9FFF]+","g");return t.test(this.userPassword)?(this.$message.warning(""+n.default.$t("Password cannot be in Chinese")),!1):this.userPassword?this.userPassword.length<6||this.userPassword.length>22?(this.$message.warning(""+n.default.$t("Please enter a password (6-22) character password")),!1):t.test(this.oldUserPassword)?(this.$message.warning(""+n.default.$t("Confirmation password cannot be in Chinese")),!1):this.oldUserPassword?this.oldUserPassword.length<6||this.oldUserPassword.length>22?(this.$message.warning(""+n.default.$t("Please enter a confirmation password (6-22) character password")),!1):this.userPassword===this.oldUserPassword||(this.$message.warning(""+n.default.$t("The password is inconsistent with the confirmation password")),!1):(this.$message.warning(""+n.default.$t("Please enter a confirmation password (6-22) character password")),!1):(this.$message.warning(""+n.default.$t("Please enter a password (6-22) character password")),!1)}}),computed:Object.assign({},(0,a.mapState)("user",["userInfo"])),components:{mListBoxF:r.default}}},1285:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var n=e(1144),a=e.n(n);for(var r in n)"default"!==r&&function(t){e.d(s,t,function(){return n[t]})}(r);var o=e(1288);var i=function(t){e(1286)},u=e(29)(a.a,o.a,!1,i,null,null);s.default=u.exports},1286:function(t,s,e){var n=e(1287);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);e(35)("4ae3c66c",n,!0,{})},1287:function(t,s,e){(t.exports=e(34)(!1)).push([t.i,".password-model .list-box-f{margin-bottom:30px}",""])},1288:function(t,s,e){"use strict";var n={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"user-info-model password-model"},[e("m-list-box-f",[e("template",{slot:"name"},[t._v(t._s(t.$t("User Name")))]),t._v(" "),e("template",{slot:"content"},[e("span",{staticClass:"sp1"},[t._v(t._s(t.userInfo.userName))])])],2),t._v(" "),e("m-list-box-f",[e("template",{slot:"name"},[t._v(t._s(t.$t("Password")))]),t._v(" "),e("template",{slot:"content"},[e("x-input",{staticStyle:{width:"320px"},attrs:{type:"password",placeholder:t.$t("Please enter your password")},model:{value:t.userPassword,callback:function(s){t.userPassword=s},expression:"userPassword"}})],1)],2),t._v(" "),e("m-list-box-f",[e("template",{slot:"name"},[t._v(t._s(t.$t("Confirm Password")))]),t._v(" "),e("template",{slot:"content"},[e("x-input",{staticStyle:{width:"320px"},attrs:{type:"password",placeholder:t.$t("Please enter confirm password")},model:{value:t.oldUserPassword,callback:function(s){t.oldUserPassword=s},expression:"oldUserPassword"}})],1)],2),t._v(" "),e("m-list-box-f",[e("template",{slot:"name"},[t._v(" ")]),t._v(" "),e("template",{slot:"content"},[e("x-button",{attrs:{type:"primary",shape:"circle",loading:t.spinnerLoading},on:{click:function(s){return t._edit()}}},[t._v(t._s(t.spinnerLoading?"Loading...":"Edit"))])],1)],2)],1)},staticRenderFns:[]};s.a=n},1289:function(t,s,e){"use strict";var n={render:function(){var t=this.$createElement,s=this._self._c||t;return s("m-list-construction",{attrs:{title:this.$t("Edit Password")}},[s("template",{slot:"content"},[s("m-info")],1)],2)},staticRenderFns:[]};s.a=n},645:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var n=e(1143),a=e.n(n);for(var r in n)"default"!==r&&function(t){e.d(s,t,function(){return n[t]})}(r);var o=e(1289),i=e(29)(a.a,o.a,!1,null,null,null);s.default=i.exports},663:function(t,s,e){"use strict";s.__esModule=!0,s.default={name:"list-construction",data:function(){return{}},props:{title:String}}},697:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var n=e(663),a=e.n(n);for(var r in n)"default"!==r&&function(t){e.d(s,t,function(){return n[t]})}(r);var o=e(700);var i=function(t){e(698)},u=e(29)(a.a,o.a,!1,i,null,null);s.default=u.exports},698:function(t,s,e){var n=e(699);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);e(35)("70439c42",n,!0,{})},699:function(t,s,e){(t.exports=e(34)(!1)).push([t.i,"",""])},700:function(t,s,e){"use strict";var n={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"home-main list-construction-model"},[s("div",{staticClass:"content-title"},[s("span",[this._v(this._s(this.title))])]),this._v(" "),s("div",{staticClass:"conditions-box"},[this._t("conditions")],2),this._v(" "),s("div",{staticClass:"list-box"},[this._t("content")],2)])},staticRenderFns:[]};s.a=n}});
//# sourceMappingURL=35.39a1f26.js.map