{"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","console","log","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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V,EAAA,KAAQC,MAAMlC,EAAIC,GAAG,oBAnCQ,4CAAxB,sDA0CV,SAASiB,IACPwB,EAAA,KAAOC,KAAK,KAEd,MAAO,CACLvC,aACAQ,UACAC,OACAuB,QACAD,UACApC,UACAW,OACAF,QACAU,UACAlB,U,UCvHN,EAAO4C,OAAS,EAChB,EAAOC,UAAY,kBAEJ","file":"js/chunk-06828374.1b4f37ee.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\";","\n\n\n","\nimport { checksmscode, checkuser, editpassword, sendsms } from '@/api';\nimport router from '@/router';\nimport { useI18n } from '@/utils/i18n';\nimport { message } from 'ant-design-vue';\nimport { defineComponent, ref, toRaw } from \"vue\";\nexport default defineComponent({\n name: \"Sign\",\n components: {},\n setup() {\n const lan: any = useI18n();\n const formLayout = {\n labelCol: 4,\n wrapperCol: 14,\n };\n const uinfo=ref({\n phone:\"\",\n code:\"\",\n quhao:\"\",\n password:\"\",\n repassword:\"\",\n checkcodequhao:\"\",\n memberid:0\n })\n const time = ref(60); //倒计时初始值\n /**\n * 点击获取验证码 触发60S倒计时\n */\n let lock=false\n const getcode: () => void = () => {\n console.log(11111);\n if (lock) {\n console.log(\"lock\")\n return;\n }\n if (uinfo.value.phone == \"\") {\n message.error(lan.$t('shoujihaoweikong'));\n return;\n }\n lock = true;\n sendsms(uinfo.value.quhao, uinfo.value.phone);\n const timestep = setInterval(() => {\n console.log(11112);\n time.value = time.value - 1;\n if (time.value > 0) {\n console.log();\n } else {\n time.value = 60;\n clearInterval(timestep);\n }\n }, 1000);\n };\n const ifagree = ref(true); //是否同意用户协议\n\n /**\n * 用户协议前面 radio的点击效果\n */\n const agree: () => void = () => {\n ifagree.value = ifagree.value == true ? false : true;\n console.log(ifagree.value, 600);\n };\n\n const stepnow = ref(1); //步骤条初始值 默认到某一步\n\n \n /**\n * @param e 跳转到步骤条的某一步\n * 步骤条的当前值切换\n */\n const next: (e: number) => void = async (e: number) => {\n if(e==2){\n console.log(uinfo)\n const res: any = await checkuser(toRaw(uinfo.value))\n // console.log(res.data)\n if(res.data){\n // stepnow.value = e;\n uinfo.value.quhao = res.data.code.toString() \n uinfo.value.memberid=res.data.memberid\n console.log(uinfo)\n stepnow.value=e\n }else{\n message.error(lan.$t('yonghubucunzai'))\n }\n\n \n }else if(e==3){\n if(uinfo.value.phone==\"\"|| uinfo.value.code==\"\"|| uinfo.value.password==\"\"|| uinfo.value.repassword==\"\"){\n message.error(lan.$t('wanshanxinxi'))\n return\n }else if(uinfo.value.password!=uinfo.value.repassword){\n message.error(lan.$t('mimabuyizhi'))\n return \n } \n\n const checkcode=await checksmscode(uinfo.value.quhao+uinfo.value.phone,uinfo.value.code)\n console.log(checkcode,\"checked\")\n if(checkcode){\n console.log(uinfo.value)\n const res= await editpassword(toRaw(uinfo.value))\n if(res.code==0){\n stepnow.value=e\n router.push(\"/\")\n }\n }else{\n message.error(lan.$t(\"yanzhengmayouwu\"))\n }\n\n }\n \n };\n\n function tologin (){\n router.push(\"/\")\n }\n return {\n formLayout,\n getcode,\n time,\n agree,\n ifagree,\n stepnow,\n next,\n uinfo,\n tologin,\n lan\n };\n },\n});\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":""}