{"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.d411ceff.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":""}