{"version":3,"sources":["webpack:///./src/views/login/Reset.vue?daa1","webpack:///./src/static/images/success.png","webpack:///./src/views/login/Reset.vue","webpack:///./src/views/login/Reset.vue?4c13","webpack:///./src/views/login/Reset.vue?f0b8"],"names":["module","exports","class","style","src","alt","stepnow","lan","$t","to","layout","formLayout","label","placeholder","value","uinfo","phone","next","compact","getcode","time","code","type","password","repassword","tologin","name","components","setup","labelCol","wrapperCol","quhao","checkcodequhao","memberid","lock","timestep","setInterval","clearInterval","message","error","ifagree","agree","e","res","data","toString","checkcode","router","push","render","__scopeId"],"mappings":"kHAAA,W,qBCAAA,EAAOC,QAAU,IAA0B,4B,qQCCpCC,MAAM,S,GACJA,MAAM,O,GAEFA,MAAM,S,GACJA,MAAM,W,aAINA,MAAM,U,GAEHA,MAAM,U,aAaTA,MAAM,U,GAEHA,MAAM,U,GAGPA,MAAM,Y,GACJC,MAAA,kB,EAWH,yBAAwB,OAAnBD,MAAM,QAAM,S,GAOhBC,MAAA,kB,GAYAD,MAAM,W,aAKRA,MAAM,U,EACX,yBAA8D,OAAzDE,IAAA,IAAkCC,IAAI,GAAGH,MAAM,W,YAKjDA,MAAM,S,GACJA,MAAM,Q,EAIX,yBAA4B,OAAvBA,MAAM,YAAU,S,GAChBA,MAAM,Q,EAOX,yBAA4B,OAAvBA,MAAM,YAAU,S,GAChBA,MAAM,Q,SAKRA,MAAM,S,EACT,yBAA4D,OAAvDE,IAAA,IAAiCC,IAAI,GAAGH,MAAM,Q,WACnD,yBAA2D,OAAtDE,IAAA,IAAgCC,IAAI,GAAGH,MAAM,Q,WAClD,yBAA8D,OAAzDE,IAAA,IAAmCC,IAAI,GAAGH,MAAM,Q,0UA5F7D,yBAgGM,MAhGN,EAgGM,CA/FJ,yBA8FM,MA9FN,EA8FM,CA7FJ,yBAkEM,OAlEAA,MAAc,GAAP,EAAAI,QAAO,qB,CAClB,yBAEM,MAFN,EAEM,CADL,yBAAkD,OAAlD,EAAkD,6BAA1B,EAAAC,IAAIC,GAA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js/chunk-06828374.309dae79.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Reset.vue?vue&type=style&index=0&id=d41f3ac8&lang=scss&scoped=true\"","module.exports = __webpack_public_path__ + \"img/success.77170588.png\";","\r\n\r\n\r\n","\r\nimport { checksmscode, checkuser, editpassword, sendsms } from '@/api';\r\nimport router from '@/router';\r\nimport { useI18n } from '@/utils/i18n';\r\nimport { message } from 'ant-design-vue';\r\nimport { defineComponent, ref, toRaw } from \"vue\";\r\nexport default defineComponent({\r\n name: \"Sign\",\r\n components: {},\r\n setup() {\r\n const lan: any = useI18n();\r\n const formLayout = {\r\n labelCol: 4,\r\n wrapperCol: 14,\r\n };\r\n const uinfo=ref({\r\n phone:\"\",\r\n code:\"\",\r\n quhao:\"\",\r\n password:\"\",\r\n repassword:\"\",\r\n checkcodequhao:\"\",\r\n memberid:0\r\n })\r\n const time = ref(60); //倒计时初始值\r\n /**\r\n * 点击获取验证码 触发60S倒计时\r\n */\r\n let lock=false\r\n const getcode: () => void = () => {\r\n console.log(11111);\r\n if (lock) {\r\n console.log(\"lock\")\r\n return;\r\n }\r\n if (uinfo.value.phone == \"\") {\r\n message.error(lan.$t('shoujihaoweikong'));\r\n return;\r\n }\r\n lock = true;\r\n sendsms(uinfo.value.quhao, uinfo.value.phone);\r\n const timestep = setInterval(() => {\r\n console.log(11112);\r\n time.value = time.value - 1;\r\n if (time.value > 0) {\r\n console.log();\r\n } else {\r\n time.value = 60;\r\n clearInterval(timestep);\r\n }\r\n }, 1000);\r\n };\r\n const ifagree = ref(true); //是否同意用户协议\r\n\r\n /**\r\n * 用户协议前面 radio的点击效果\r\n */\r\n const agree: () => void = () => {\r\n ifagree.value = ifagree.value == true ? false : true;\r\n console.log(ifagree.value, 600);\r\n };\r\n\r\n const stepnow = ref(1); //步骤条初始值 默认到某一步\r\n\r\n \r\n /**\r\n * @param e 跳转到步骤条的某一步\r\n * 步骤条的当前值切换\r\n */\r\n const next: (e: number) => void = async (e: number) => {\r\n if(e==2){\r\n console.log(uinfo)\r\n const res: any = await checkuser(toRaw(uinfo.value))\r\n // console.log(res.data)\r\n if(res.data){\r\n // stepnow.value = e;\r\n uinfo.value.quhao = res.data.code.toString() \r\n uinfo.value.memberid=res.data.memberid\r\n console.log(uinfo)\r\n stepnow.value=e\r\n }else{\r\n message.error(lan.$t('yonghubucunzai'))\r\n }\r\n\r\n \r\n }else if(e==3){\r\n if(uinfo.value.phone==\"\"|| uinfo.value.code==\"\"|| uinfo.value.password==\"\"|| uinfo.value.repassword==\"\"){\r\n message.error(lan.$t('wanshanxinxi'))\r\n return\r\n }else if(uinfo.value.password!=uinfo.value.repassword){\r\n message.error(lan.$t('mimabuyizhi'))\r\n return \r\n } \r\n\r\n const checkcode=await checksmscode(uinfo.value.quhao+uinfo.value.phone,uinfo.value.code)\r\n console.log(checkcode,\"checked\")\r\n if(checkcode){\r\n console.log(uinfo.value)\r\n const res= await editpassword(toRaw(uinfo.value))\r\n if(res.code==0){\r\n stepnow.value=e\r\n router.push(\"/\")\r\n }\r\n }else{\r\n message.error(lan.$t(\"yanzhengmayouwu\"))\r\n }\r\n\r\n }\r\n \r\n };\r\n\r\n function tologin (){\r\n router.push(\"/\")\r\n }\r\n return {\r\n formLayout,\r\n getcode,\r\n time,\r\n agree,\r\n ifagree,\r\n stepnow,\r\n next,\r\n uinfo,\r\n tologin,\r\n lan\r\n };\r\n },\r\n});\r\n","import { render } from \"./Reset.vue?vue&type=template&id=d41f3ac8&scoped=true&bindings={}\"\nimport script from \"./Reset.vue?vue&type=script&lang=ts\"\nexport * from \"./Reset.vue?vue&type=script&lang=ts\"\n\nimport \"./Reset.vue?vue&type=style&index=0&id=d41f3ac8&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-d41f3ac8\"\n\nexport default script"],"sourceRoot":""}