{"version":3,"sources":["webpack:///./src/webapp/user-manage/modify-length.vue?35c3","webpack:///./src/webapp/user-manage/code-button.vue?29ef","webpack:///./src/webapp/user-manage/modify.vue?8959","webpack:///./src/webapp/user-manage/apis.js","webpack:///./src/webapp/user-manage/modify.vue?eb88","webpack:///./src/webapp/user-manage/modify-length.vue?a3ab","webpack:///src/webapp/user-manage/modify-length.vue","webpack:///./src/webapp/user-manage/modify-length.vue?f0e0","webpack:///./src/webapp/user-manage/modify-length.vue","webpack:///./src/webapp/user-manage/code-button.vue?55f5","webpack:///src/webapp/user-manage/code-button.vue","webpack:///./src/webapp/user-manage/code-button.vue?2f63","webpack:///./src/webapp/user-manage/code-button.vue","webpack:///src/webapp/user-manage/modify.vue","webpack:///./src/webapp/user-manage/modify.vue?f48e","webpack:///./src/webapp/user-manage/modify.vue","webpack:///./src/apis/regExp.js","webpack:///./src/apis/index.js"],"names":["userInfo","window","global","$tools","auth","getCurrentUserInfo","Server","Api","getUserMessage","cb","err","this","$http","get","path","apiCrmOS","partnerId","employeeId","params","ownPort","0","1","2","currentType","then","res","error","putModifyUser","userId","put","apiCrmUs","checkPassword","opt","getUserId","findPassword","o","postPhoneCode","post","checkPhoneCode","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","active","_v","_m","on","$event","handleSwitch","_e","type","_b","ref","checkPass","handleCheckPass","handleCancel","phoneForm","phoneRules","_s","setPhone","account","onClearCodeInput","nativeOn","indexOf","_k","keyCode","key","phoneSubmit","model","value","callback","$$v","$set","trim","expression","staticStyle","onGetCode","slot","phoneloading","onSubmitPhoneForm","modifiedPass","countdown","staticRenderFns","style","index","colors","tips","props","Number","default","data","computed","component","isFirst","isCountdown","time","methods","$emit","countdowm","timer","setInterval","clearInterval","components","passwordStrength","codeButton","rule","self","checkCode","shouldCheckTotal","checkFormOfSubmit","Error","length","phoneCodeOk","phoneCodeMsg","oldPassword","code","errMsg","validator","trigger","read","bind","domProps","autocomplete","labelWidth","rules","$apis","userPasswd","isRight","catch","response","$message","label","prop","h","store","oldPasswdType","e","target","replace","click","$refs","$setValueField","required","validatorPass","userPasswdConfirm","$getValue","passwdType","blur","userPassShow","userPassStrength","name","passwdConfirmType","userPasswdConfirmShow","userPasswdConfirmStrength","handleSubmitPass","mounted","cookie","getCookieUtil","$axios","num","start","newNum","slice","repeat","pass","regs","total","i","test","zyxBandAccount","$nextTick","done","validateField","setCookieUtil","Date","now","setTimeout","clearValidate","phoneFormCode","focus","phone","validate","status","msg","finally","$validate","modifiedPassSuccess","form","loading","logout","headers","getToken","clearToken","sessionStorage","clear","location","href","encodeURIComponent","origin","email","apiMps","constructor","http","axios","allError","warning","isadd","resData","errors","map","item","message","join","obj","Array","forEach","push","clearAllNull","Object","assign","String","regExp","stack"],"mappings":"sHAAA,W,oCCAA,W,oCCAA,W,oCCAA,kDACA,MAAMA,EAAWC,OAAOC,OAAOC,OAAOC,KAAKC,qBAE5B,MAAMC,UAAeC,OAClCC,eAAgBC,EAAIC,GAClBC,KAAKC,MAAMC,IAAK,GAAEN,OAAIO,KAAKC,mBAAmBf,EAASgB,oBAAoBhB,EAASiB,aAAc,CAAEC,OAAQ,CAAEC,QAAS,CAAEC,EAAG,EAAGC,EAAG,EAAGC,EAAG,GAAItB,EAASuB,aAAcN,WAAYjB,EAASiB,cAAeO,KAAKC,IAC1MhB,EAAGgB,IACFd,KAAKe,MAAMhB,IAGhBiB,cAAeC,EAAQV,GACrB,OAAOP,KAAKC,MAAMiB,IAAK,GAAEtB,OAAIO,KAAKgB,gBAAgBF,aAAmBV,GAGvEa,cAAeC,GACb,OAAOrB,KAAKC,MAAMC,IAAK,GAAEN,OAAIO,KAAKgB,gBAAgB7B,OAAOC,OAAOC,OAAOC,KAAK6B,4BAA6B,CAAEf,OAAQc,IAGrHE,aAAcC,GACZ,OAAOxB,KAAKC,MAAMiB,IAAOtB,OAAIO,KAAKgB,SAAX,2BAA+CK,GAGxEC,cAAeD,GACb,OAAOxB,KAAKC,MAAMyB,KAAQ9B,OAAIO,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,EAASvC,KAAKsH,QAAU/E,EAASvC,KAAKsH,OAAOC,KAAI,SAAUC,GAChJ,OAAOA,EAAKC,WACXC,KAAK,OAAW,gBAQ3BlN,EAAOQ,KAAOA,EACCR","file":"js/user_manage_modify.b14b6ea2.js","sourcesContent":["export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./modify-length.vue?vue&type=style&index=0&id=3d224103&prod&lang=less&scoped=true\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./code-button.vue?vue&type=style&index=0&id=64332ada&prod&lang=less\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./modify.vue?vue&type=style&index=0&id=73b61304&prod&lang=less\"","import Api from '@/apis/index.js'\nconst userInfo = window.global.$tools.auth.getCurrentUserInfo()\n\nexport default class Server extends Api {\n getUserMessage (cb, err) {\n this.$http.get(`${Api.path.apiCrmOS}partner/${userInfo.partnerId}/employ/${userInfo.employeeId}`, { params: { ownPort: { 0: 2, 1: 1, 2: 0 }[userInfo.currentType], employeeId: userInfo.employeeId }}).then(res => {\n cb(res)\n }, this.error(err))\n }\n\n putModifyUser (userId, params) {\n return this.$http.put(`${Api.path.apiCrmUs}user/${userId}/password`, params)\n }\n\n checkPassword (opt) {\n return this.$http.get(`${Api.path.apiCrmUs}user/${window.global.$tools.auth.getUserId()}/checkPassword`, { params: opt })\n }\n // 修改密码\n findPassword (o) {\n return this.$http.put(`${Api.path.apiCrmUs}forget-pwd/user/password`, o)\n }\n // 发送短信验证码\n postPhoneCode (o) {\n return this.$http.post(`${Api.path.apiCrmUs}send/msg/verifi-code`, o)\n }\n // 校验短信验证码\n checkPhoneCode (o) {\n return this.$http.post(`${Api.path.apiCrmUs}proof/msg/verifi-code`, o)\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mod-password-modify\"},[_c('div',{staticClass:\"setting-container\"},[_c('el-steps',{attrs:{\"active\":_vm.active,\"align-center\":\"\"}},[_c('el-step',{attrs:{\"title\":\"验证身份\"}}),_c('el-step',{attrs:{\"title\":\"修改密码\"}}),_c('el-step',{attrs:{\"title\":\"完成\"}})],1),(_vm.active === -1)?_c('div',{staticClass:\"switch-type\"},[_c('h3',{staticClass:\"title\"},[_vm._v(\"为确认是你本人操作,请选择验证方式完成身份验证:\")]),_c('div',{staticClass:\"type-item\"},[_vm._m(0),_c('div',{staticClass:\"option\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.handleSwitch(0)}}},[_vm._v(\"立即修改\")])],1)]),_c('div',{staticClass:\"type-item\"},[_vm._m(1),_c('div',{staticClass:\"option\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.handleSwitch(1)}}},[_vm._v(\"立即修改\")])],1)])]):_vm._e(),(_vm.active === 0 && _vm.type === 1)?_c('div',{staticClass:\"check-old-pass\"},[_c('jw-form',_vm._b({ref:\"checkPass\"},'jw-form',_vm.checkPass,false)),_c('p',{staticClass:\"button-area\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.handleCheckPass}},[_vm._v(\"保存\")]),_c('el-button',{on:{\"click\":_vm.handleCancel}},[_vm._v(\"取消\")])],1),_vm._m(2)],1):_vm._e(),(_vm.active === 0 && _vm.type === 0)?_c('div',{staticClass:\"mobile-password\"},[_c('el-form',{ref:\"phoneForm\",attrs:{\"model\":_vm.phoneForm,\"rules\":_vm.phoneRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"prop\":\"account\",\"label\":\"手机号码\"}},[_c('span',[_vm._v(_vm._s(_vm.setPhone(_vm.phoneForm.account)))])]),_c('el-form-item',{attrs:{\"prop\":\"code\",\"label\":\"验证码\"}},[_c('el-input',{ref:\"phoneFormCode\",staticClass:\"input-code\",attrs:{\"placeholder\":\"请输入短信验证码\",\"maxlength\":\"6\"},on:{\"input\":_vm.onClearCodeInput},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.phoneSubmit($event)}},model:{value:(_vm.phoneForm.code),callback:function ($$v) {_vm.$set(_vm.phoneForm, \"code\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"phoneForm.code\"}},[_c('code-button',{staticStyle:{\"margin-right\":\"6px\"},attrs:{\"slot\":\"suffix\"},on:{\"change\":_vm.onGetCode},slot:\"suffix\"})],1)],1),_c('el-form-item',{staticClass:\"login-submit\"},[_c('el-button',{staticClass:\"login-btn\",attrs:{\"type\":\"primary\",\"loading\":_vm.phoneloading},on:{\"click\":_vm.onSubmitPhoneForm}},[_vm._v(_vm._s(_vm.phoneloading?'提交中':'确定'))]),_c('el-button',{on:{\"click\":_vm.handleCancel}},[_vm._v(\"取消\")])],1)],1),_vm._m(3)],1):_vm._e(),(_vm.active === 1)?_c('div',{staticClass:\"modified-pass\"},[_c('jw-form',_vm._b({ref:\"modifiedPass\"},'jw-form',_vm.modifiedPass,false))],1):_vm._e(),(_vm.active === 2)?_c('div',{staticClass:\"modified-success\"},[_c('i',{staticClass:\"el-icon-success success-icon\"}),_c('div',{staticClass:\"tips-area\"},[_c('h5',{staticClass:\"title\"},[_vm._v(\"修改成功,请记住新密码\")]),_c('p',{staticClass:\"text\"},[_c('span',{staticClass:\"count-down\"},[_vm._v(_vm._s(_vm.countdown)+\"s\")]),_vm._v(\"后自动退出,请重新登录…\")])])]):_vm._e()],1)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"info\"},[_c('h5',{staticClass:\"sub-title\"},[_vm._v(\"通过【手机验证码】\")]),_c('p',{staticClass:\"tips\"},[_vm._v(\"如忘记旧密码,且手机还在正常使用,请选择此方式\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"info\"},[_c('h5',{staticClass:\"sub-title\"},[_vm._v(\"通过【旧密码】\")]),_c('p',{staticClass:\"tips\"},[_vm._v(\"如仍记得旧密码,请选择此方式\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tips-area\"},[_c('h5',{staticClass:\"title\"},[_vm._v(\"原密码注意事项:\")]),_c('ul',{staticClass:\"text-area\"},[_c('li',[_vm._v(\"1、注意密码字母的大小写;\")]),_c('li',[_vm._v(\"2、注意密码的输入长度是否少于6位;\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tips-area\"},[_c('h5',{staticClass:\"title\"},[_vm._v(\"没收到短信验证码?\")]),_c('ul',{staticClass:\"text-area\"},[_c('li',[_vm._v(\"1、网络通讯异常可能会造成短信丢失,请重新获取或稍后再试。\")]),_c('li',[_vm._v(\"2、请核实手机是否已欠费停机,或者屏蔽了系统短信。\")]),_c('li',[_vm._v(\"3、如果手机已丢失或停用, 请选择其他验证方式 。\")]),_c('li',[_vm._v(\"4、您也可以尝试将SIM卡移动到另一部手机,然后重试。\")]),_c('li',[_vm._v(\"5、请检查输入的手机号码是否有误\")])])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mod-password-strength\"},[_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-outer\"},[_c('div',{staticClass:\"progress-inner\",style:({ 'background-color': _vm.index > 0 && _vm.index < 4 ? _vm.colors[_vm.index] : '' })})]),_c('div',{staticClass:\"progress-outer\"},[_c('div',{staticClass:\"progress-inner\",style:({ 'background-color': _vm.index > 1 && _vm.index < 4 ? _vm.colors[_vm.index] : '' })})]),_c('div',{staticClass:\"progress-outer\"},[_c('div',{staticClass:\"progress-inner\",style:({ 'background-color': _vm.index > 2 && _vm.index < 4 ? _vm.colors[_vm.index] : '' })})])]),_c('span',{staticClass:\"strength-tips\"},[_vm._v(_vm._s(_vm.tips[_vm.index] || ''))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./modify-length.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./modify-length.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./modify-length.vue?vue&type=template&id=3d224103&scoped=true\"\nimport script from \"./modify-length.vue?vue&type=script&lang=js\"\nexport * from \"./modify-length.vue?vue&type=script&lang=js\"\nimport style0 from \"./modify-length.vue?vue&type=style&index=0&id=3d224103&prod&lang=less&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3d224103\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mod-code-button\"},[(_vm.isFirst && !_vm.isCountdown)?_c('el-button',{attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.onGetCode(true)}}},[_vm._v(\"获取验证码\")]):_vm._e(),(_vm.isCountdown)?_c('span',[_vm._v(_vm._s(_vm.time)+\"s\")]):_vm._e(),(!_vm.isFirst && !_vm.isCountdown)?_c('el-button',{staticClass:\"get-again\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.onGetCode(false)}}},[_vm._v(\"重新获取\")]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./code-button.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./code-button.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./code-button.vue?vue&type=template&id=64332ada\"\nimport script from \"./code-button.vue?vue&type=script&lang=js\"\nexport * from \"./code-button.vue?vue&type=script&lang=js\"\nimport style0 from \"./code-button.vue?vue&type=style&index=0&id=64332ada&prod&lang=less\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./modify.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./modify.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./modify.vue?vue&type=template&id=73b61304\"\nimport script from \"./modify.vue?vue&type=script&lang=js\"\nexport * from \"./modify.vue?vue&type=script&lang=js\"\nimport style0 from \"./modify.vue?vue&type=style&index=0&id=73b61304&prod&lang=less\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export default {\n email: /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/\n}\n","import regExp from './regExp'\nimport axios from 'axios'\nconst path = {\n apiMps: '/saas-ability-mps/v1',\n apiCrmOS: '/paas-ability-os/v1/',\n apiCrmUs: '/paas-ability-us/v1/'\n}\n\nclass Server {\n constructor (http = axios, allError = window.global.$message.warning) {\n this.$http = http\n this.error = function (err, isadd, cb) {\n return function (res) {\n const { response } = res\n if (!(response && response.headers && response.headers['x-response-by'] && response.headers['x-response-by'] === 'gateway')) {\n if (err) {\n err(res.data)\n }\n if (isadd || !err) {\n const resData = res.response.data\n const msg = resData.errors && resData.errors.map(function (item) {\n return item.message || item.msg\n }).join(',')\n allError(msg || resData.message || resData.msg || '系统异常,请稍后再试!')\n }\n }\n cb && cb()\n }\n }\n }\n // 提供方法清空所有为空的字段\n static clearAllNull (obj) {\n let o\n if (obj instanceof Array) {\n o = []\n obj.forEach(function (item) {\n o.push(Server.clearAllNull(item))\n })\n } else if (obj instanceof Object) {\n o = Object.assign({}, obj)\n for (const key in o) {\n if (!o[key] && o[key] !== 0) {\n delete o[key]\n } else {\n o[key] = Server.clearAllNull(o[key])\n }\n }\n }\n return o || obj\n }\n // 提供方法清空一层为空的obj字段\n static clearNull (obj) {\n const o = Object.assign({}, obj)\n for (const key in o) {\n if (!o[key] && o[key] !== 0) {\n delete o[key]\n }\n }\n return o\n }\n static clearTrim (obj) {\n const o = Object.assign({}, obj)\n for (const key in o) {\n if (!o[key] && o[key] !== 0) {\n delete o[key]\n } else if (typeof (o[key]) === 'string' || o[key] instanceof String) {\n o[key] = o[key].trim()\n }\n }\n return o\n }\n // 验证集合\n static regExp (type) {\n return regExp[type]\n }\n\n static $message (self, response) {\n if (!(response && response.headers && response.headers['x-response-by'] && response.headers['x-response-by'] === 'gateway')) {\n self.$message({\n type: 'error',\n message: (response && response.data && (response.data.msg || response.data.message || (response.data.errors && response.data.errors.map(function (item) {\n return item.message\n }).join(',')))) || '网络异常,请稍后再试'\n })\n } else if (!response.headers) {\n self.$message(response && response.stack)\n }\n }\n}\n\nServer.path = path\nexport default Server\n"],"sourceRoot":""}