Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

p__Talent__Forget__index.1182db77.async.js 8.3KB

1
  1. "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4194],{27178:function(F,f,o){o.r(f);var n=o(15009),e=o.n(n),t=o(99289),_=o.n(t),r=o(5574),m=o.n(r),u=o(67294),v=o(86250),P=o(42075),l=o(68872),E=o(71230),y=o(15746),b=o(29104),R=o(97269),L=o(5966),j=o(97462),T=o(16434),g=o(89627),D=o(82900),U=o(70489),B=o(75891),a=o(85893),K=function(){var x=(0,u.useRef)(),G=(0,u.useState)(""),h=m()(G,2),W=h[0],I=h[1],$=(0,u.useState)(""),A=m()($,2),Z=A[0],O=A[1];return(0,u.useEffect)(function(){(0,D.cC)().then(function(c){I(c.data.img),O(c.data.capt_id)})},[]),(0,a.jsx)("div",{style:{background:"#ffffff"},children:(0,a.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"60px 0"},children:(0,a.jsxs)(R.A,{submitter:{searchConfig:{submitText:"\u786E\u8BA4\u4FEE\u6539"},render:function(i,d){return(0,a.jsxs)(v.Z,{justify:"flex-end",children:[" ",(0,a.jsx)(P.Z,{children:d})]})}},onFinish:function(){var c=_()(e()().mark(function i(d){var s;return e()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return d.sms_code=Number(d.sms_code),p.next=3,(0,U.un)(d);case 3:s=p.sent,l.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55"),(0,D.U)().then(function(M){localStorage.clear(),B.history.push("/login")});case 6:case"end":return p.stop()}},i)}));return function(i){return c.apply(this,arguments)}}(),children:[(0,a.jsx)(L.Z,{name:"mobile",label:"\u624B\u673A\u53F7",placeholder:"\u624B\u673A\u53F7",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7"},function(){return{validator:function(i,d){var s=(0,g.Zj)(d);return typeof s=="boolean"?Promise.resolve():Promise.reject(new Error(s))}}}]}),(0,a.jsx)(R.A,{formRef:x,submitter:{render:function(){return null}},children:(0,a.jsxs)(E.Z,{gutter:10,children:[(0,a.jsx)(y.Z,{span:14,children:(0,a.jsx)(L.Z,{label:"\u56FE\u5F62\u9A8C\u8BC1\u7801",name:"captcha",placeholder:"\u8BF7\u8F93\u5165\u56FE\u5F62\u9A8C\u8BC1\u7801",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u5F62\u9A8C\u8BC1\u7801"}]})}),(0,a.jsx)(y.Z,{span:10,children:(0,a.jsx)(b.Z,{src:W,width:"100%",height:32,preview:!1,style:{borderRadius:"8px",marginTop:"30px"},onClick:_()(e()().mark(function c(){var i;return e()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,D.cC)();case 2:i=s.sent,I(i.data.img),O(i.data.capt_id);case 5:case"end":return s.stop()}},c)}))})})]})}),(0,a.jsx)(j.Z,{name:["mobile"],children:function(i){var d=i.mobile;return(0,a.jsx)(T.Z,{label:"\u77ED\u4FE1\u9A8C\u8BC1\u7801",placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",captchaTextRender:function(C,p){return C?"".concat(p," ","s"):"\u83B7\u53D6\u9A8C\u8BC1\u7801"},name:"sms_code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801\uFF01"}],onGetCaptcha:_()(e()().mark(function s(){var C,p,M;return e()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return p=(C=x.current)===null||C===void 0?void 0:C.getFieldsValue().captcha,w.next=3,(0,D.UK)({mobile:d,captcha:p,capt_id:Z});case 3:M=w.sent,l.ZP.success("\u53D1\u9001\u9A8C\u8BC1\u7801\u6210\u529F\uFF0C\u9A8C\u8BC1\u7801\u6709\u6548\u671F\u4E3A\u4E00\u5206\u949F");case 5:case"end":return w.stop()}},s)}))})}}),(0,a.jsx)(L.Z.Password,{name:"new_pwd",label:"\u91CD\u7F6E\u5BC6\u7801",placeholder:"\u8BF7\u8F93\u5165\u91CD\u7F6E\u5BC6\u7801",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u91CD\u7F6E\u5BC6\u7801"}]})]})})})};f.default=K},70489:function(F,f,o){o.d(f,{lu:function(){return i},UE:function(){return R},L:function(){return u},Mm:function(){return _},Gc:function(){return I},vN:function(){return m},Cg:function(){return g},DH:function(){return r},Zq:function(){return j},mX:function(){return L},Os:function(){return M},du:function(){return s},EZ:function(){return T},Qt:function(){return a},xP:function(){return D},s4:function(){return h},Mt:function(){return Z},Jm:function(){return O},Ld:function(){return E},aY:function(){return y},T7:function(){return b},XE:function(){return v},Cl:function(){return A},su:function(){return x},z0:function(){return W},Dz:function(){return G},NJ:function(){return l},cL:function(){return P},Og:function(){return S},Px:function(){return K},h9:function(){return p},FI:function(){return U},mj:function(){return B},un:function(){return C}});var n=o(75334),e=o(55375),t={CompanyFamousList:e.xw+"/company/famous_list",CompanyProbationList:e.xw+"/company/probation_list",CompanyInfo:e.xw+"/company/info",CompanyDetailInfo:e.xw+"/company/detail_info",CompanyEdit:e.xw+"/company/edit",CompanyPhotoUpload:e.xw+"/company/photo_upload",CompanyLicenseUpload:e.xw+"/company/license_upload",CompanyDepartmentAdd:e.xw+"/company/department_add",CompanyDepartmentDel:e.xw+"/company/department_del",CompanyDepartmentEdit:e.xw+"/company/department_edit",CompanyDepartmentList:e.xw+"/company/department_list",CompanyRecommentResume:e.xw+"/company/recomment_resume",CompanyProfile:e.xw+"/company/profile",CompanyResumeList:e.xw+"/company/resume_list",CompanyInterviewList:e.xw+"/company/interview_list",CompanyTalentPoolList:e.xw+"/company/talent_pool_list",CompanyTalentPoolAdd:e.xw+"/company/talent_pool_add",CompanyTalentPoolDel:e.xw+"/company/talent_pool_del",CompanyResumeRecycleList:e.xw+"/company/resume_recycle_list",CompanyResumeRecycle:e.xw+"/company/resume_recycle",CompanyResumeRecover:e.xw+"/company/resume_recover",CompanyInterviewAdd:e.xw+"/company/interview_add",CompanyInterviewDel:e.xw+"/company/interview_del",CompanyViewedContactList:e.xw+"/company/viewed_contact_list",CompanyInterviewAdmission:e.xw+"/company/interview_admission",CompanyFee:e.xw+"/company/fee",CompanyPwdEdit:e.xw+"/company/pwd_edit",CompanyEmailEdit:e.xw+"/company/email_edit",CompanyCustomerCodeAdd:e.xw+"/companycustomercode/add",CompanyCustomerCodeDel:e.xw+"/companycustomercode/del",CompanyCustomerCodeUpdate:e.xw+"/companycustomercode/update",CompanyCustomerCodeList:e.xw+"/companycustomercode/list",CompanyCustomerCodeDetail:e.xw+"/companycustomercode/detail",CompanyRecruiters:e.xw+"/company/recruiters",JobseekerResetPwd:e.xw+"/jobseeker/resetpwd",CompanySearch:e.xw+"/company/search",CompanyRecrBookList:e.xw+"/company/recr_book_list"},_=(0,n.y)(t.CompanyFamousList),r=(0,n.y)(t.CompanyProbationList),m=(0,n.y)(t.CompanyInfo),u=(0,n.y)(t.CompanyDetailInfo),v=(0,n.L)(t.CompanyEdit),P=(0,n.L)(t.CompanyPhotoUpload),l=(0,n.L)(t.CompanyLicenseUpload),E=(0,n.L)(t.CompanyDepartmentAdd),y=(0,n.L)(t.CompanyDepartmentDel),b=(0,n.L)(t.CompanyDepartmentEdit),R=(0,n.y)(t.CompanyDepartmentList),L=(0,n.y)(t.CompanyRecommentResume),j=(0,n.y)(t.CompanyProfile),T=(0,n.y)(t.CompanyResumeList),g=(0,n.y)(t.CompanyInterviewList),D=(0,n.y)(t.CompanyTalentPoolList),U=(0,n.L)(t.CompanyTalentPoolAdd),B=(0,n.L)(t.CompanyTalentPoolDel),a=(0,n.y)(t.CompanyResumeRecycleList),K=(0,n.L)(t.CompanyResumeRecycle),S=(0,n.L)(t.CompanyResumeRecover),x=(0,n.L)(t.CompanyInterviewAdd),G=(0,n.L)(t.CompanyInterviewDel),h=(0,n.y)(t.CompanyViewedContactList),W=(0,n.L)(t.CompanyInterviewAdmission),I=(0,n.y)(t.CompanyFee),$=(0,n.L)(t.CompanyPwdEdit),A=(0,n.L)(t.CompanyEmailEdit),Z=(0,n.L)(t.CompanyCustomerCodeAdd),O=(0,n.L)(t.CompanyCustomerCodeDel),c=(0,n.L)(t.CompanyCustomerCodeUpdate),i=(0,n.y)(t.CompanyCustomerCodeList),d=(0,n.y)(t.CompanyCustomerCodeDetail),s=(0,n.y)(t.CompanyRecruiters),C=(0,n.L)(t.JobseekerResetPwd),p=(0,n.L)(t.CompanySearch),M=(0,n.y)(t.CompanyRecrBookList)},89627:function(F,f,o){o.d(f,{P4:function(){return e},Zj:function(){return t},z1:function(){return n}});var n=function(r){if(r.length===18){var m=r.charAt(17),u;return m==="X"||m=="x"?u=10:u=parseInt(m,10),u%2===0?"\u5973":"\u7537"}else if(r.length===15){var v=parseInt(r.substring(13,15),10);return v%2===0?"\u5973":"\u7537"}else return"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801"},e=function(r){var m=/^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/;if(m.test(r))if(r.length==18){for(var u=new Array(7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2),v=new Array(1,0,10,9,8,7,6,5,4,3,2),P=0,l=0;l<17;l++)P+=r.substring(l,l+1)*u[l];var E=P%11,y=r.substring(17);return E==2?y=="X"||y=="x"?!0:"\u8EAB\u4EFD\u8BC1\u53F7\u7801\u9519\u8BEF":y==v[E]?!0:"\u8EAB\u4EFD\u8BC1\u53F7\u7801\u9519\u8BEF"}else return!0;else return"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801"},t=function(r){var m=/^(\+)?(0|86|17951)?1(3\d|4[579]|5\d|6\d|7\d|8\d|9\d)\d{8}$/;return m.test(r)?!0:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"}}}]);