7.b451c3f8.chunk.js 54 KB

12
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[7],{103:function(e,t,a){"use strict";a.d(t,"c",function(){return n}),a.d(t,"f",function(){return r}),a.d(t,"d",function(){return o}),a.d(t,"a",function(){return s}),a.d(t,"b",function(){return i}),a.d(t,"e",function(){return c});var n=["\u793e\u4f1a\u4eba\u58eb-\u5728\u804c","\u793e\u4f1a\u4eba\u58eb-\u79bb\u804c","\u5b66\u751f"],r=["\u515a\u5458","\u6c11\u4e3b\u6d3e\u4eba\u58eb","\u7fa4\u4f17"],o=["\u672a\u5a5a","\u5df2\u5a5a","\u79bb\u5f02","\u4e27\u5076"],s=["\u57ce\u9547","\u519c\u6751"],i=["\u535a\u58eb\u53ca\u4ee5\u4e0a","\u7855\u58eb","\u672c\u79d1","\u5927\u4e13","\u9ad8\u4e2d","\u804c\u9ad8","\u4e2d\u4e13","\u6280\u6821","\u521d\u4e2d","\u5c0f\u5b66"],c=["\u6c49\u65cf","\u963f\u660c\u65cf","\u767d\u65cf","\u5e03\u6717\u65cf","\u4fdd\u5b89\u65cf","\u5e03\u4f9d\u65cf","\u671d\u9c9c\u65cf","\u50a3\u65cf","\u5fb7\u6602\u65cf","\u4f97\u65cf","\u72ec\u9f99\u65cf","\u8fbe\u65a1\u5c14\u65cf","\u4e1c\u4e61\u65cf","\u9102\u6e29\u514b\u65cf","\u4eac\u65cf","\u4ee1\u4f6c\u65cf","\u9ad8\u5c71\u65cf","\u56de\u65cf","\u8d6b\u54f2\u65cf","\u57fa\u8bfa\u65cf","\u666f\u9887\u65cf","\u67ef\u5c14\u514b\u5b5c\u65cf","\u54c8\u8428\u514b\u65cf","\u73de\u5df4\u65cf","\u62c9\u795c\u65cf","\u9ece\u65cf","\u5088\u50f3\u65cf","\u6ee1\u65cf","\u95e8\u5df4\u65cf","\u8499\u53e4\u65cf","\u82d7\u65cf","\u4eeb\u4f6c\u65cf","\u6bdb\u5357\u65cf","\u6012\u65cf","\u7eb3\u897f\u65cf","\u9102\u4f26\u6625\u65cf","\u666e\u7c73\u65cf","\u7f8c\u65cf","\u4fc4\u7f57\u65af\u65cf","\u7572\u65cf","\u6492\u62c9\u65cf","\u6c34\u65cf","\u5854\u5409\u514b\u65cf","\u571f\u5bb6\u65cf","\u5854\u5854\u5c14\u65cf","\u571f\u65cf","\u7ef4\u543e\u5c14\u65cf","\u4e4c\u5b5c\u522b\u514b\u65cf","\u4f64\u65cf","\u9521\u4f2f\u65cf","\u7476\u65cf","\u88d5\u56fa\u65cf","\u5f5d\u65cf","\u85cf\u65cf","\u58ee\u65cf","\u7a7f\u9752\u4eba\u65cf","\u54c8\u5c3c\u65cf"]},107:function(e,t,a){"use strict";t.a={Reg_Require:/\S+/,Reg_Int:/[1-9]\d*/,Reg_Phone:/^1(3|4|5|7|8)\d{9}$/,Reg_Email:/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/,Reg_Code:/^\d{6}$/,Reg_Identity:/(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}$)/}},117:function(e,t,a){"use strict";t.a={name:"\u59d3\u540d",department:"\u5e94\u8058\u5c97\u4f4d",sallary:"\u671f\u671b\u85aa\u8d44",sex:"\u6027\u522b",nation:"\u6c11\u65cf",height:"\u8eab\u9ad8",nativePlace:"\u7c4d\u8d2f",identity:"\u8eab\u4efd\u8bc1\u53f7",belief:"\u5b97\u6559\u4fe1\u4ef0",dateOfBirth:"\u51fa\u751f\u65e5\u671f",politics:"\u653f\u6cbb\u9762\u8c8c",healthy:"\u5065\u5eb7\u72b6\u51b5",diseases:"\u91cd\u5927\u75be\u75c5\u53f2",marriage:"\u5a5a\u59fb\u72b6\u51b5",registration:"\u6237\u53e3\u6240\u5728\u5730",accountCharacter:"\u6237\u53e3\u6027\u8d28",address:"\u5bb6\u5ead\u8be6\u7ec6\u4f4f\u5740",email:"\u4e2a\u4eba\u90ae\u7bb1",phone:"\u624b\u673a\u53f7\u7801",urgentPhone:"\u7d27\u6025\u8054\u7cfb\u4eba",foreign:"\u5916\u8bed\u53ca\u7a0b\u5ea6",skillCertificate:"\u6280\u80fd\u8bc1\u4e66",skillType:"\u804c\u79f0\u53ca\u7c7b\u522b",fristWork:"\u9996\u6b21\u53c2\u52a0\u5de5\u4f5c\u65f6\u95f4",plan:"\u4e09\u5e74\u5185\u804c\u4e1a\u89c4\u5212",curStatus:"\u662f\u5426\u4e0e\u5176\u4ed6\u5355\u4f4d\u5b58\u5728\u52b3\u52a8\u5173\u7cfb",eduExperience:"\u6559\u80b2\u7ecf\u5386",workExperience:"\u5de5\u4f5c\u7ecf\u5386",description:"\u81ea\u6211\u8bc4\u4ef7",startDate:"\u5f00\u59cb\u65f6\u95f4",endDate:"\u7ed3\u675f\u65f6\u95f4",school:"\u6bd5\u4e1a\u5b66\u6821",education:"\u5b66\u5386",major:"\u4e13\u4e1a\u540d\u79f0",educationBg:"\u6bd5\u4e1a\u65f6\u95f4/\u5b66\u5236",idPhoto:"\u8bc1\u4ef6\u7167",lifePhoto:"\u751f\u6d3b\u7167"}},139:function(e,t,a){"use strict";var n=a(5),r=a(6),o=a(107),s=a(73),i=a(117),c=function(){function e(t){Object(n.a)(this,e),this.params=t,this.error=""}return Object(r.a)(e,[{key:"checkParams",value:function(){var e=this.params;for(var t in e)if(!this._validate(t,e[t]))return!1;return!0}},{key:"_validate",value:function(e,t){for(var a=1;a<t.length;a++)if(!this._validateType(e,t[0],t[a]))return!1;return!0}},{key:"_validateType",value:function(e,t,a){return"require"===a?this._execRequire(e,t):Object(s.e)(a)?a(t):Object(s.f)(a)?this._execReg(e,t,a):this._execLength(e,t,a)}},{key:"_execRequire",value:function(e,t){var a=o.a.Reg_Require.test(t);return a||(this.error="".concat(i.a[e]||e,"\u4e0d\u80fd\u4e3a\u7a7a")),a}},{key:"_execReg",value:function(e,t,a){var n=a.test(t);return n||(this.error="".concat(i.a[e]||e,"\u683c\u5f0f\u4e0d\u5bf9")),n}},{key:"_execLength",value:function(e,t,a){var n=a.replace("length_","").split("-");return t.length>=n[0]&&t.length<=n[1]||(this.error="".concat(i.a[e]||e,"\u957f\u5ea6\u5728").concat(n[0],"-").concat(n[1],"\u4e4b\u95f4"),!1)}}]),e}();t.a=c},266:function(e,t,a){},268:function(e,t,a){},269:function(e,t,a){},270:function(e,t,a){},272:function(e,t,a){},301:function(e,t,a){},304:function(e,t,a){},305:function(e,t,a){},310:function(e,t,a){"use strict";a.r(t);a(109);var n=a(120),r=(a(146),a(171)),o=(a(85),a(91)),s=a(19),i=a.n(s),c=a(25),l=a(265),p=a(5),u=a(6),h=a(10),f=a(9),m=a(11),d=a(0),E=a.n(d),g=(a(266),a(81),a(83)),b=(a(90),a(92)),v=(a(268),function(e){function t(){return Object(p.a)(this,t),Object(h.a)(this,Object(f.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(u.a)(t,[{key:"render",value:function(){return E.a.createElement("div",{className:"mod-card"},this.props.children)}}]),t}(d.Component)),y=(a(269),function(e){function t(){return Object(p.a)(this,t),Object(h.a)(this,Object(f.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(u.a)(t,[{key:"render",value:function(){return E.a.createElement("header",{className:"info-header"},this.props.title,this.props.tip&&E.a.createElement("span",{className:"hd-tip"},this.props.tip))}}]),t}(d.Component)),k=(a(270),function(e){function t(){return Object(p.a)(this,t),Object(h.a)(this,Object(f.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(u.a)(t,[{key:"render",value:function(){return E.a.createElement("p",{className:"input-label"},this.props.children)}}]),t}(d.Component)),j=(a(141),a(75)),O=a(73),w=(a(272),function(e){function t(){var e,a;Object(p.a)(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(a=Object(h.a)(this,(e=Object(f.a)(t)).call.apply(e,[this].concat(r)))).state={loading:!1},a}return Object(m.a)(t,e),Object(u.a)(t,[{key:"checkFile",value:function(e){if(!e)return!1;var t="image/jpeg"===e.type;t||o.a.error("\u4f60\u53ea\u80fd\u4e0a\u4f20JPG\u683c\u5f0f\u7684\u56fe\u7247\u54e6");var a=e.size/1024/1024<2;return a||o.a.error("\u4e0a\u4f20\u56fe\u7247\u5927\u5c0f\u5fc5\u987b\u5c0f\u4e8e2M"),t&&a}},{key:"handleChange",value:function(e){var t=this,a=e[0];this.checkFile(a)&&Object(O.c)(a,function(){var e=Object(c.a)(i.a.mark(function e(a){return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t.props.changeFile(t.props.imageKey,a);case 1:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}())}},{key:"render",value:function(){var e=this,t=E.a.createElement("div",null,E.a.createElement(j.a,{type:this.state.loading?"loading":"plus"}),E.a.createElement("div",{className:"ant-upload-text"},"Upload")),a=this.props.imageUrl;return E.a.createElement("div",{className:"upload-wrap"},E.a.createElement("div",{className:"upload-select"},E.a.createElement("input",{type:"file",onChange:function(t){e.handleChange(t.target.files)}}),a?E.a.createElement("img",{src:a,alt:"avatar"}):t))}}]),t}(d.Component)),x=function(e){function t(){var e,a;Object(p.a)(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(a=Object(h.a)(this,(e=Object(f.a)(t)).call.apply(e,[this].concat(r)))).state={loading:!1},a}return Object(m.a)(t,e),Object(u.a)(t,[{key:"changeFile",value:function(e,t){this.props&&this.props.transferMsg&&this.props.transferMsg(e,t)}},{key:"render",value:function(){return E.a.createElement("div",{className:"photo-info"},E.a.createElement(y,{title:"\u8bc1\u4ef6\u7167\u4e0e\u751f\u6d3b\u7167",tip:"(\u6bcf\u5f20\u56fe\u7247\u5927\u5c0f\u4e0d\u8d85\u8fc72M)"}),E.a.createElement(v,null,E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u8bc1\u4ef6\u7167\uff08\u4e00\u5bf8\u5f69\u8272\u514d\u51a0\u8bc1\u4ef6\u7167\uff09"),E.a.createElement(w,{changeFile:this.changeFile.bind(this),imageKey:"idPhoto",imageUrl:this.props.info.idPhoto})),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement("p",{className:"input-label not-must"},"\u751f\u6d3b\u7167\uff08\u4e2a\u4eba\u8fd1\u534a\u5e74\u7ad9\u7acb\u534a\u8eab\u7167\uff09"),E.a.createElement(w,{changeFile:this.changeFile.bind(this),imageKey:"lifePhoto",imageUrl:this.props.info.lifePhoto})))))}}]),t}(d.Component),C=(a(84),a(95)),I=(a(145),a(143)),P=a(103),M=a(96),R=I.a.Option,D=function(e){function t(){var e;return Object(p.a)(this,t),(e=Object(h.a)(this,Object(f.a)(t).call(this))).state={departmentList:[]},e.getDepartmentList(),e}return Object(m.a)(t,e),Object(u.a)(t,[{key:"getDepartmentList",value:function(){var e=Object(c.a)(i.a.mark(function e(){var t,a;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,M.a.base.getDepartmentList();case 2:t=e.sent,a=t.data,this.setState({departmentList:a});case 5:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){return E.a.createElement("div",{className:"employment-info"},E.a.createElement(y,{title:"\u5e94\u8058\u4fe1\u606f"}),E.a.createElement(v,null,E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u5e94\u8058\u5c97\u4f4d"),E.a.createElement(I.a,{placeholder:"\u8bf7\u9009\u62e9\u5c97\u4f4d",style:{width:"100%"},value:this.props.info.department||this.state.departmentList[0]&&this.state.departmentList[0].name,onChange:Object(O.g)("department",!0).bind(this)},this.state.departmentList.map(function(e){return E.a.createElement(R,{key:e.name},e.name)}))),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement(k,null,"\u671f\u671b\u85aa\u8d44\uff08\u8bf7\u8f93\u5165\u6b63\u6574\u6570\uff09"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u671f\u671b\u85aa\u8d44",value:this.props.info.sallary,onChange:Object(O.g)("sallary",!0).bind(this)}))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u76ee\u524d\u72b6\u6001"),E.a.createElement(I.a,{placeholder:"\u8bf7\u9009\u62e9\u76ee\u524d\u72b6\u6001",style:{width:"100%"},value:this.props.info.personalInfo&&P.c[this.props.info.personalInfo.curStatus],onChange:Object(O.h)("personalInfo","curStatus",!0).bind(this)},P.c.map(function(e,t){return E.a.createElement(R,{value:t,key:t},e)}))))))}}]),t}(d.Component),N=(a(144),a(142)),S=(a(293),a(307)),Y={"\u5317\u4eac\u5e02":["\u5317\u4eac\u5e02"],"\u5929\u6d25\u5e02":["\u5929\u6d25\u5e02"],"\u6cb3\u5317\u7701":["\u77f3\u5bb6\u5e84\u5e02","\u5510\u5c71\u5e02","\u79e6\u7687\u5c9b\u5e02","\u90af\u90f8\u5e02","\u90a2\u53f0\u5e02","\u4fdd\u5b9a\u5e02","\u5f20\u5bb6\u53e3\u5e02","\u627f\u5fb7\u5e02","\u6ca7\u5dde\u5e02","\u5eca\u574a\u5e02","\u8861\u6c34\u5e02"],"\u5c71\u897f\u7701":["\u592a\u539f\u5e02","\u5927\u540c\u5e02","\u9633\u6cc9\u5e02","\u957f\u6cbb\u5e02","\u664b\u57ce\u5e02","\u6714\u5dde\u5e02","\u664b\u4e2d\u5e02","\u8fd0\u57ce\u5e02","\u5ffb\u5dde\u5e02","\u4e34\u6c7e\u5e02","\u5415\u6881\u5e02"],"\u5185\u8499\u53e4\u81ea\u6cbb\u533a":["\u547c\u548c\u6d69\u7279\u5e02","\u5305\u5934\u5e02","\u4e4c\u6d77\u5e02","\u8d64\u5cf0\u5e02","\u901a\u8fbd\u5e02","\u9102\u5c14\u591a\u65af\u5e02","\u547c\u4f26\u8d1d\u5c14\u5e02","\u5df4\u5f66\u6dd6\u5c14\u5e02","\u4e4c\u5170\u5bdf\u5e03\u5e02","\u5174\u5b89\u76df","\u9521\u6797\u90ed\u52d2\u76df","\u963f\u62c9\u5584\u76df"],"\u8fbd\u5b81\u7701":["\u6c88\u9633\u5e02","\u5927\u8fde\u5e02","\u978d\u5c71\u5e02","\u629a\u987a\u5e02","\u672c\u6eaa\u5e02","\u4e39\u4e1c\u5e02","\u9526\u5dde\u5e02","\u8425\u53e3\u5e02","\u961c\u65b0\u5e02","\u8fbd\u9633\u5e02","\u76d8\u9526\u5e02","\u94c1\u5cad\u5e02","\u671d\u9633\u5e02","\u846b\u82a6\u5c9b\u5e02"],"\u5409\u6797\u7701":["\u957f\u6625\u5e02","\u5409\u6797\u5e02","\u56db\u5e73\u5e02","\u8fbd\u6e90\u5e02","\u901a\u5316\u5e02","\u767d\u5c71\u5e02","\u677e\u539f\u5e02","\u767d\u57ce\u5e02","\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde"],"\u9ed1\u9f99\u6c5f\u7701":["\u54c8\u5c14\u6ee8\u5e02","\u9f50\u9f50\u54c8\u5c14\u5e02","\u9e21\u897f\u5e02","\u9e64\u5c97\u5e02","\u53cc\u9e2d\u5c71\u5e02","\u5927\u5e86\u5e02","\u4f0a\u6625\u5e02","\u4f73\u6728\u65af\u5e02","\u4e03\u53f0\u6cb3\u5e02","\u7261\u4e39\u6c5f\u5e02","\u9ed1\u6cb3\u5e02","\u7ee5\u5316\u5e02","\u5927\u5174\u5b89\u5cad\u5730\u533a"],"\u4e0a\u6d77\u5e02":["\u4e0a\u6d77\u5e02"],"\u6c5f\u82cf\u7701":["\u5357\u4eac\u5e02","\u65e0\u9521\u5e02","\u5f90\u5dde\u5e02","\u5e38\u5dde\u5e02","\u82cf\u5dde\u5e02","\u5357\u901a\u5e02","\u8fde\u4e91\u6e2f\u5e02","\u6dee\u5b89\u5e02","\u76d0\u57ce\u5e02","\u626c\u5dde\u5e02","\u9547\u6c5f\u5e02","\u6cf0\u5dde\u5e02","\u5bbf\u8fc1\u5e02"],"\u6d59\u6c5f\u7701":["\u676d\u5dde\u5e02","\u5b81\u6ce2\u5e02","\u6e29\u5dde\u5e02","\u5609\u5174\u5e02","\u6e56\u5dde\u5e02","\u7ecd\u5174\u5e02","\u91d1\u534e\u5e02","\u8862\u5dde\u5e02","\u821f\u5c71\u5e02","\u53f0\u5dde\u5e02","\u4e3d\u6c34\u5e02"],"\u5b89\u5fbd\u7701":["\u5408\u80a5\u5e02","\u829c\u6e56\u5e02","\u868c\u57e0\u5e02","\u6dee\u5357\u5e02","\u9a6c\u978d\u5c71\u5e02","\u6dee\u5317\u5e02","\u94dc\u9675\u5e02","\u5b89\u5e86\u5e02","\u9ec4\u5c71\u5e02","\u6ec1\u5dde\u5e02","\u961c\u9633\u5e02","\u5bbf\u5dde\u5e02","\u516d\u5b89\u5e02","\u4eb3\u5dde\u5e02","\u6c60\u5dde\u5e02","\u5ba3\u57ce\u5e02"],"\u798f\u5efa\u7701":["\u798f\u5dde\u5e02","\u53a6\u95e8\u5e02","\u8386\u7530\u5e02","\u4e09\u660e\u5e02","\u6cc9\u5dde\u5e02","\u6f33\u5dde\u5e02","\u5357\u5e73\u5e02","\u9f99\u5ca9\u5e02","\u5b81\u5fb7\u5e02"],"\u6c5f\u897f\u7701":["\u5357\u660c\u5e02","\u666f\u5fb7\u9547\u5e02","\u840d\u4e61\u5e02","\u4e5d\u6c5f\u5e02","\u65b0\u4f59\u5e02","\u9e70\u6f6d\u5e02","\u8d63\u5dde\u5e02","\u5409\u5b89\u5e02","\u5b9c\u6625\u5e02","\u629a\u5dde\u5e02","\u4e0a\u9976\u5e02"],"\u5c71\u4e1c\u7701":["\u6d4e\u5357\u5e02","\u9752\u5c9b\u5e02","\u6dc4\u535a\u5e02","\u67a3\u5e84\u5e02","\u4e1c\u8425\u5e02","\u70df\u53f0\u5e02","\u6f4d\u574a\u5e02","\u6d4e\u5b81\u5e02","\u6cf0\u5b89\u5e02","\u5a01\u6d77\u5e02","\u65e5\u7167\u5e02","\u83b1\u829c\u5e02","\u4e34\u6c82\u5e02","\u5fb7\u5dde\u5e02","\u804a\u57ce\u5e02","\u6ee8\u5dde\u5e02","\u83cf\u6cfd\u5e02"],"\u6cb3\u5357\u7701":["\u90d1\u5dde\u5e02","\u5f00\u5c01\u5e02","\u6d1b\u9633\u5e02","\u5e73\u9876\u5c71\u5e02","\u5b89\u9633\u5e02","\u9e64\u58c1\u5e02","\u65b0\u4e61\u5e02","\u7126\u4f5c\u5e02","\u6fee\u9633\u5e02","\u8bb8\u660c\u5e02","\u6f2f\u6cb3\u5e02","\u4e09\u95e8\u5ce1\u5e02","\u5357\u9633\u5e02","\u5546\u4e18\u5e02","\u4fe1\u9633\u5e02","\u5468\u53e3\u5e02","\u9a7b\u9a6c\u5e97\u5e02"],"\u6e56\u5317\u7701":["\u6b66\u6c49\u5e02","\u9ec4\u77f3\u5e02","\u5341\u5830\u5e02","\u5b9c\u660c\u5e02","\u8944\u9633\u5e02","\u9102\u5dde\u5e02","\u8346\u95e8\u5e02","\u5b5d\u611f\u5e02","\u8346\u5dde\u5e02","\u9ec4\u5188\u5e02","\u54b8\u5b81\u5e02","\u968f\u5dde\u5e02","\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde"],"\u6e56\u5357\u7701":["\u957f\u6c99\u5e02","\u682a\u6d32\u5e02","\u6e58\u6f6d\u5e02","\u8861\u9633\u5e02","\u90b5\u9633\u5e02","\u5cb3\u9633\u5e02","\u5e38\u5fb7\u5e02","\u5f20\u5bb6\u754c\u5e02","\u76ca\u9633\u5e02","\u90f4\u5dde\u5e02","\u6c38\u5dde\u5e02","\u6000\u5316\u5e02","\u5a04\u5e95\u5e02","\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde"],"\u5e7f\u4e1c\u7701":["\u5e7f\u5dde\u5e02","\u97f6\u5173\u5e02","\u6df1\u5733\u5e02","\u73e0\u6d77\u5e02","\u6c55\u5934\u5e02","\u4f5b\u5c71\u5e02","\u6c5f\u95e8\u5e02","\u6e5b\u6c5f\u5e02","\u8302\u540d\u5e02","\u8087\u5e86\u5e02","\u60e0\u5dde\u5e02","\u6885\u5dde\u5e02","\u6c55\u5c3e\u5e02","\u6cb3\u6e90\u5e02","\u9633\u6c5f\u5e02","\u6e05\u8fdc\u5e02","\u4e1c\u839e\u5e02","\u4e2d\u5c71\u5e02","\u6f6e\u5dde\u5e02","\u63ed\u9633\u5e02","\u4e91\u6d6e\u5e02"],"\u5e7f\u897f\u58ee\u65cf\u81ea\u6cbb\u533a":["\u5357\u5b81\u5e02","\u67f3\u5dde\u5e02","\u6842\u6797\u5e02","\u68a7\u5dde\u5e02","\u5317\u6d77\u5e02","\u9632\u57ce\u6e2f\u5e02","\u94a6\u5dde\u5e02","\u8d35\u6e2f\u5e02","\u7389\u6797\u5e02","\u767e\u8272\u5e02","\u8d3a\u5dde\u5e02","\u6cb3\u6c60\u5e02","\u6765\u5bbe\u5e02","\u5d07\u5de6\u5e02"],"\u6d77\u5357\u7701":["\u6d77\u53e3\u5e02","\u4e09\u4e9a\u5e02","\u4e09\u6c99\u5e02","\u510b\u5dde\u5e02"],"\u91cd\u5e86\u5e02":["\u91cd\u5e86\u5e02"],"\u56db\u5ddd\u7701":["\u6210\u90fd\u5e02","\u81ea\u8d21\u5e02","\u6500\u679d\u82b1\u5e02","\u6cf8\u5dde\u5e02","\u5fb7\u9633\u5e02","\u7ef5\u9633\u5e02","\u5e7f\u5143\u5e02","\u9042\u5b81\u5e02","\u5185\u6c5f\u5e02","\u4e50\u5c71\u5e02","\u5357\u5145\u5e02","\u7709\u5c71\u5e02","\u5b9c\u5bbe\u5e02","\u5e7f\u5b89\u5e02","\u8fbe\u5dde\u5e02","\u96c5\u5b89\u5e02","\u5df4\u4e2d\u5e02","\u8d44\u9633\u5e02","\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde","\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde","\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde"],"\u8d35\u5dde\u7701":["\u8d35\u9633\u5e02","\u516d\u76d8\u6c34\u5e02","\u9075\u4e49\u5e02","\u5b89\u987a\u5e02","\u6bd5\u8282\u5e02","\u94dc\u4ec1\u5e02","\u9ed4\u897f\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde","\u9ed4\u4e1c\u5357\u82d7\u65cf\u4f97\u65cf\u81ea\u6cbb\u5dde","\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde"],"\u4e91\u5357\u7701":["\u6606\u660e\u5e02","\u66f2\u9756\u5e02","\u7389\u6eaa\u5e02","\u4fdd\u5c71\u5e02","\u662d\u901a\u5e02","\u4e3d\u6c5f\u5e02","\u666e\u6d31\u5e02","\u4e34\u6ca7\u5e02","\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde","\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde","\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde","\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde","\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde","\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde","\u6012\u6c5f\u5088\u50f3\u65cf\u81ea\u6cbb\u5dde","\u8fea\u5e86\u85cf\u65cf\u81ea\u6cbb\u5dde"],"\u897f\u85cf\u81ea\u6cbb\u533a":["\u62c9\u8428\u5e02","\u65e5\u5580\u5219\u5e02","\u660c\u90fd\u5e02","\u6797\u829d\u5e02","\u5c71\u5357\u5e02","\u90a3\u66f2\u5730\u533a","\u963f\u91cc\u5730\u533a"],"\u9655\u897f\u7701":["\u897f\u5b89\u5e02","\u94dc\u5ddd\u5e02","\u5b9d\u9e21\u5e02","\u54b8\u9633\u5e02","\u6e2d\u5357\u5e02","\u5ef6\u5b89\u5e02","\u6c49\u4e2d\u5e02","\u6986\u6797\u5e02","\u5b89\u5eb7\u5e02","\u5546\u6d1b\u5e02"],"\u7518\u8083\u7701":["\u5170\u5dde\u5e02","\u5609\u5cea\u5173\u5e02","\u91d1\u660c\u5e02","\u767d\u94f6\u5e02","\u5929\u6c34\u5e02","\u6b66\u5a01\u5e02","\u5f20\u6396\u5e02","\u5e73\u51c9\u5e02","\u9152\u6cc9\u5e02","\u5e86\u9633\u5e02","\u5b9a\u897f\u5e02","\u9647\u5357\u5e02","\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde","\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde"],"\u9752\u6d77\u7701":["\u897f\u5b81\u5e02","\u6d77\u4e1c\u5e02","\u6d77\u5317\u85cf\u65cf\u81ea\u6cbb\u5dde","\u9ec4\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde","\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde","\u679c\u6d1b\u85cf\u65cf\u81ea\u6cbb\u5dde","\u7389\u6811\u85cf\u65cf\u81ea\u6cbb\u5dde","\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde"],"\u5b81\u590f\u56de\u65cf\u81ea\u6cbb\u533a":["\u94f6\u5ddd\u5e02","\u77f3\u5634\u5c71\u5e02","\u5434\u5fe0\u5e02","\u56fa\u539f\u5e02","\u4e2d\u536b\u5e02"],"\u65b0\u7586\u7ef4\u543e\u5c14\u81ea\u6cbb\u533a":["\u4e4c\u9c81\u6728\u9f50\u5e02","\u514b\u62c9\u739b\u4f9d\u5e02","\u5410\u9c81\u756a\u5e02","\u54c8\u5bc6\u5e02","\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde","\u535a\u5c14\u5854\u62c9\u8499\u53e4\u81ea\u6cbb\u5dde","\u5df4\u97f3\u90ed\u695e\u8499\u53e4\u81ea\u6cbb\u5dde","\u963f\u514b\u82cf\u5730\u533a","\u514b\u5b5c\u52d2\u82cf\u67ef\u5c14\u514b\u5b5c\u81ea\u6cbb\u5dde","\u5580\u4ec0\u5730\u533a","\u548c\u7530\u5730\u533a","\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde","\u5854\u57ce\u5730\u533a","\u963f\u52d2\u6cf0\u5730\u533a"],"\u53f0\u6e7e\u7701":[],"\u9999\u6e2f\u7279\u522b\u884c\u653f\u533a":[],"\u6fb3\u95e8\u7279\u522b\u884c\u653f\u533a":[]},_=a(8),L=a.n(_),F=Object.keys(Y),q=Y[F[0]],A=I.a.Option,B=S.a.Group,T=function(e){function t(){return Object(p.a)(this,t),Object(h.a)(this,Object(f.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(u.a)(t,[{key:"onProvinceChange",value:function(e){q=Y[e]||[],this.props&&this.props.transferMsg&&(this.props.transferMsg("npProvince",e),this.props.transferMsg("npCity",q[0]))}},{key:"render",value:function(){return E.a.createElement("div",{className:"personal-info"},E.a.createElement(y,{title:"\u57fa\u672c\u4fe1\u606f"}),E.a.createElement(v,null,E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u59d3\u540d"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u59d3\u540d",value:this.props.info.name,onChange:Object(O.g)("name",!0).bind(this)})),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement(k,null,"\u6027\u522b"),E.a.createElement(B,{onChange:Object(O.h)("personalInfo","sex",!0).bind(this),value:parseInt(this.props.info.personalInfo&&this.props.info.personalInfo.sex)},E.a.createElement(S.a,{value:1},"\u7537"),E.a.createElement(S.a,{value:0},"\u5973")))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u6c11\u65cf"),E.a.createElement(I.a,{onChange:Object(O.h)("personalInfo","nation").bind(this),placeholder:"\u8bf7\u9009\u62e9\u6c11\u65cf",style:{width:"100%"},value:P.e[this.props.info.personalInfo&&this.props.info.personalInfo.nation]},P.e.map(function(e,t){return E.a.createElement(A,{key:t,value:t},e)}))),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement("p",{className:"input-label not-must"},"\u5b97\u6559\u4fe1\u4ef0"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u5b97\u6559\u4fe1\u4ef0",onChange:Object(O.h)("personalInfo","belief",!0).bind(this),value:this.props.info.personalInfo&&this.props.info.personalInfo.belief}))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u5065\u5eb7\u72b6\u51b5"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u5065\u5eb7\u72b6\u51b5",onChange:Object(O.h)("personalInfo","healthy",!0).bind(this),value:this.props.info.personalInfo&&this.props.info.personalInfo.healthy})),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement(k,null,"\u91cd\u5927\u75be\u75c5\u53f2"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u91cd\u5927\u75be\u75c5\u53f2",value:this.props.info.personalInfo&&this.props.info.personalInfo.diseases,onChange:Object(O.h)("personalInfo","diseases",!0).bind(this)}))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u7c4d\u8d2f\u7701\u5e02"),E.a.createElement(b.a,{span:10},E.a.createElement(I.a,{onChange:this.onProvinceChange.bind(this),placeholder:"\u8bf7\u9009\u62e9\u7701",style:{width:"100%"},value:this.props.info.npProvince},F.map(function(e,t){return E.a.createElement(A,{key:t,value:e},e)}))),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement(I.a,{onChange:Object(O.g)("npCity",!0).bind(this),placeholder:"\u8bf7\u9009\u62e9\u5e02",style:{width:"100%"},value:this.props.info.npCity},Y[this.props.info.npProvince].map(function(e){return E.a.createElement(A,{key:e},e)})))),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement(k,null,"\u653f\u6cbb\u9762\u8c8c"),E.a.createElement(B,{onChange:Object(O.h)("personalInfo","politics",!0).bind(this),value:parseInt(this.props.info.personalInfo&&this.props.info.personalInfo.politics)},P.f.map(function(e,t){return E.a.createElement(S.a,{key:t,value:t},e)})))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u8eab\u4efd\u8bc1\u53f7"),E.a.createElement(C.a,{onChange:Object(O.g)("identity",!0).bind(this),placeholder:"\u8bf7\u8f93\u5165\u8eab\u4efd\u8bc1\u53f7",value:this.props.info.identity})),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement(k,null,"\u5a5a\u59fb\u72b6\u51b5"),E.a.createElement(B,{onChange:Object(O.h)("personalInfo","marriage",!0).bind(this),value:parseInt(this.props.info.personalInfo&&this.props.info.personalInfo.marriage)},P.d.map(function(e,t){return E.a.createElement(S.a,{key:t,value:t},e)})))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u6237\u53e3\u6240\u5728\u5730"),E.a.createElement(C.a,{onChange:Object(O.h)("personalInfo","registration",!0).bind(this),placeholder:"\u8bf7\u8f93\u5165\u6237\u53e3\u6240\u5728\u5730",value:this.props.info.personalInfo&&this.props.info.personalInfo.registration})),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement(k,null,"\u6237\u53e3\u6027\u8d28"),E.a.createElement(B,{onChange:Object(O.h)("personalInfo","accountCharacter",!0).bind(this),value:parseInt(this.props.info.personalInfo&&this.props.info.personalInfo.accountCharacter)},P.a.map(function(e,t){return E.a.createElement(S.a,{key:t,value:t},e)})))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u5bb6\u5ead\u8be6\u7ec6\u4f4f\u5740"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u5bb6\u5ead\u8be6\u7ec6\u4f4f\u5740",onChange:Object(O.h)("personalInfo","address",!0).bind(this),value:this.props.info.personalInfo&&this.props.info.personalInfo.address})),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement("p",{className:"input-label not-must"},"\u51fa\u751f\u65e5\u671f"),E.a.createElement(N.a,{onChange:Object(O.h)("personalInfo","dateOfBirth").bind(this),format:"YYYY/MM/DD",placeholder:"\u8bf7\u8f93\u5165\u51fa\u751f\u65e5\u671f",style:{width:"100%"},value:this.props.info.personalInfo&&this.props.info.personalInfo.dateOfBirth&&L()(this.props.info.personalInfo&&this.props.info.personalInfo.dateOfBirth,"YYYY-MM-DD")}))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement("p",{className:"input-label not-must"},"\u8eab\u9ad8"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u8eab\u9ad8",value:this.props.info.personalInfo&&this.props.info.personalInfo.height,onChange:Object(O.h)("personalInfo","height",!0).bind(this)})),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement("p",{className:"input-label not-must"},"\u5916\u8bed\u53ca\u7a0b\u5ea6"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u5916\u8bed\u53ca\u7a0b\u5ea6",value:this.props.info.personalInfo&&this.props.info.personalInfo.foreign,onChange:Object(O.h)("personalInfo","foreign",!0).bind(this)}))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement("p",{className:"input-label not-must"},"\u6280\u80fd\u8bc1\u4e66"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u6280\u80fd\u8bc1\u4e66",value:this.props.info.personalInfo&&this.props.info.personalInfo.skillCertificate,onChange:Object(O.h)("personalInfo","skillCertificate",!0).bind(this)})),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement("p",{className:"input-label not-must"},"\u804c\u79f0\u53ca\u7c7b\u522b"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u804c\u79f0\u53ca\u7c7b\u522b",value:this.props.info.personalInfo&&this.props.info.personalInfo.skillType,onChange:Object(O.h)("personalInfo","skillType",!0).bind(this)}))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement("p",{className:"input-label not-must"},"\u9996\u6b21\u53c2\u52a0\u5de5\u4f5c\u65f6\u95f4"),E.a.createElement(N.a,{onChange:Object(O.h)("personalInfo","fristWork").bind(this),format:"YYYY/MM/DD",placeholder:"\u8bf7\u8f93\u5165\u9996\u6b21\u53c2\u52a0\u5de5\u4f5c\u65f6\u95f4",style:{width:"100%"},value:this.props.info.personalInfo&&this.props.info.personalInfo.fristWork&&L()(this.props.info.personalInfo&&this.props.info.personalInfo.fristWork,"YYYY-MM-DD")})))))}}]),t}(d.Component),z=function(e){function t(){return Object(p.a)(this,t),Object(h.a)(this,Object(f.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(u.a)(t,[{key:"render",value:function(){return E.a.createElement("div",{className:"communication-info"},E.a.createElement(y,{title:"\u901a\u8baf\u4fe1\u606f"}),E.a.createElement(v,null,E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u624b\u673a\u53f7\u7801"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u624b\u673a\u53f7\u7801",onChange:Object(O.g)("phone",!0).bind(this),value:this.props.info.phone})),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement("p",{className:"input-label not-must"},"\u5176\u4ed6\u8054\u7cfb\u4eba\u53f7\u7801/\u5173\u7cfb"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u7d27\u6025\u8054\u7cfb\u4eba(\u683c\u5f0f\uff1a\u59d3\u540d_\u624b\u673a\u53f7)",onChange:Object(O.g)("urgentPhone",!0).bind(this),value:this.props.info.urgentPhone}))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u4e2a\u4eba\u90ae\u7bb1"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u4e2a\u4eba\u90ae\u7bb1",onChange:Object(O.g)("email",!0).bind(this),value:this.props.info.email})))))}}]),t}(d.Component),U=(a(301),function(e){function t(){return Object(p.a)(this,t),Object(h.a)(this,Object(f.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(u.a)(t,[{key:"render",value:function(){return E.a.createElement("div",{className:"btn-add",onClick:this.props.onClick},E.a.createElement(j.a,{type:"plus-circle",theme:"twoTone"}),E.a.createElement("span",{className:"btn-text"},this.props.text))}}]),t}(d.Component)),W=I.a.Option,$=function(e){function t(){var e,a;Object(p.a)(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(a=Object(h.a)(this,(e=Object(f.a)(t)).call.apply(e,[this].concat(r)))).state={},a}return Object(m.a)(t,e),Object(u.a)(t,[{key:"onButtonAdd",value:function(){var e=this.props.info.eduExperience;e.push({education:0}),this.props&&this.props.transferMsg&&this.props.transferMsg("eduExperience",e)}},{key:"onButtonDel",value:function(e){return function(){var t=this.props.info.eduExperience;t.length>1?(t.splice(e,1),this.props&&this.props.transferMsg&&this.props.transferMsg("eduExperience",t)):o.a.error("\u81f3\u5c11\u586b\u5199\u4e00\u6bb5\u6559\u80b2\u7ecf\u5386")}}},{key:"onExpChange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(n,r){var o=Object(O.b)(n,r,t),s=this.props.info.eduExperience;s[a][e]=o,this.props&&this.props.transferMsg&&this.props.transferMsg("eduExperience",s)}}},{key:"render",value:function(){var e=this;return E.a.createElement("div",{className:"education-info"},E.a.createElement(y,{title:"\u6559\u80b2\u7ecf\u5386",tip:"\uff08\u6309\u6700\u8fd1\u6559\u80b2\u7ecf\u5386\u5012\u5e8f\u586b\u5199\uff09"}),this.props.info.eduExperience.map(function(t,a){return E.a.createElement(v,{key:a},E.a.createElement(j.a,{type:"close-circle",theme:"twoTone",style:{fontSize:"24px",position:"absolute",right:"10px",top:"10px"},twoToneColor:"#ff0000",onClick:e.onButtonDel(a).bind(e)}),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u8d77\u6b62\u65e5\u671f"),E.a.createElement(b.a,{span:11},E.a.createElement(N.a,{placeholder:"\u5f00\u59cb\u65e5\u671f",value:t.startDate&&L()(t.startDate,"YYYY-MM-DD"),onChange:e.onExpChange("startDate",!0,a).bind(e)})),E.a.createElement(b.a,{span:2,style:{textAlign:"center",fontSize:"16px"}},"-"),E.a.createElement(b.a,{span:11},E.a.createElement(N.a,{placeholder:"\u7ed3\u675f\u65e5\u671f",value:t.endDate&&L()(t.endDate,"YYYY-MM-DD"),onChange:e.onExpChange("endDate",!0,a).bind(e)}))),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement(k,null,"\u6bd5\u4e1a\u5b66\u6821"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u6bd5\u4e1a\u5b66\u6821",style:{width:"100%"},onChange:e.onExpChange("school",!0,a).bind(e),value:t.school}))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u5b66\u5386"),E.a.createElement(I.a,{placeholder:"\u8bf7\u9009\u62e9\u5b66\u5386",style:{width:"100%"},onChange:e.onExpChange("education",!0,a).bind(e),value:P.b[t.education]},P.b.map(function(e,t){return E.a.createElement(W,{value:e,key:t},e)}))),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement(k,null,"\u4e13\u4e1a\u540d\u79f0"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u4e13\u4e1a\u540d\u79f0",style:{width:"100%"},onChange:e.onExpChange("major",!0,a).bind(e),value:t.major}))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u6bd5\u4e1a\u65f6\u95f4/\u5b66\u5236"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u4e13\u4e1a\u540d\u79f0",style:{width:"100%"},onChange:e.onExpChange("educationBg",!0,a).bind(e),value:t.educationBg}))))}),E.a.createElement(g.a,null,E.a.createElement(U,{text:"\u65b0\u589e\u6559\u80b2\u7ecf\u5386",onClick:this.onButtonAdd.bind(this)})))}}]),t}(d.Component),J=function(e){function t(){var e,a;Object(p.a)(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(a=Object(h.a)(this,(e=Object(f.a)(t)).call.apply(e,[this].concat(r)))).state={},a}return Object(m.a)(t,e),Object(u.a)(t,[{key:"render",value:function(){return E.a.createElement("div",{className:"work-info"},E.a.createElement(y,{title:"\u5de5\u4f5c\u7ecf\u5386",tip:"\uff08\u586b\u5199\u6700\u8fd1\u5de5\u4f5c\u7ecf\u5386,\u6ca1\u6709\u53ef\u7559\u7a7a\uff09"}),E.a.createElement(v,null,E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u8d77\u6b62\u65e5\u671f"),E.a.createElement(b.a,{span:11},E.a.createElement(N.a,{placeholder:"\u5f00\u59cb\u65e5\u671f",value:this.props.info.workExperience.startDate&&L()(this.props.info.workExperience.startDate,"YYYY-MM-DD"),onChange:Object(O.h)("workExperience","startDate",!0).bind(this)})),E.a.createElement(b.a,{span:2,style:{textAlign:"center",fontSize:"16px"}},"-"),E.a.createElement(b.a,{span:11},E.a.createElement(N.a,{placeholder:"\u7ed3\u675f\u65e5\u671f",value:this.props.info.workExperience.endDate&&L()(this.props.info.workExperience.endDate,"YYYY-MM-DD"),onChange:Object(O.h)("workExperience","endDate",!0).bind(this)}))),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement(k,null,"\u4efb\u804c\u516c\u53f8"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u4efb\u804c\u516c\u53f8",style:{width:"100%"},value:this.props.info.workExperience&&this.props.info.workExperience.company,onChange:Object(O.h)("workExperience","company",!0).bind(this)}))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u804c\u4f4d"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u804c\u4f4d",style:{width:"100%"},value:this.props.info.workExperience&&this.props.info.workExperience.position,onChange:Object(O.h)("workExperience","position",!0).bind(this)})),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement(k,null,"\u7a0e\u524d\u6708\u85aa"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u7a0e\u524d\u6708\u85aa",style:{width:"100%"},value:this.props.info.workExperience&&this.props.info.workExperience.sally,onChange:Object(O.h)("workExperience","sally",!0).bind(this)}))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:10},E.a.createElement(k,null,"\u79bb\u804c\u539f\u56e0"),E.a.createElement(C.a,{placeholder:"\u8bf7\u8f93\u5165\u79bb\u804c\u539f\u56e0",style:{width:"100%"},value:this.props.info.workExperience&&this.props.info.workExperience.reason,onChange:Object(O.h)("workExperience","reason",!0).bind(this)})),E.a.createElement(b.a,{span:10,offset:4},E.a.createElement(k,null,"\u8bc1\u660e\u4eba\u53ca\u7535\u8bdd"),E.a.createElement(b.a,{span:8},E.a.createElement(C.a,{placeholder:"\u8bc1\u660e\u4eba",value:this.props.info.workExperience&&this.props.info.workExperience.witness,onChange:Object(O.h)("workExperience","witness",!0).bind(this)})),E.a.createElement(b.a,{span:14,offset:2},E.a.createElement(C.a,{placeholder:"\u7535\u8bdd",value:this.props.info.workExperience&&this.props.info.workExperience.witnessPhone,onChange:Object(O.h)("workExperience","witnessPhone",!0).bind(this)}))))))}}]),t}(d.Component),K=C.a.TextArea,G=function(e){function t(){return Object(p.a)(this,t),Object(h.a)(this,Object(f.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(u.a)(t,[{key:"render",value:function(){return E.a.createElement("div",{className:"self-description-info"},E.a.createElement(y,{title:"\u81ea\u6211\u63cf\u8ff0"}),E.a.createElement(v,null,E.a.createElement(g.a,null,E.a.createElement(b.a,{span:24},E.a.createElement(k,null,"\u4e09\u5e74\u5185\u804c\u4e1a\u89c4\u5212"),E.a.createElement(K,{placeholder:"\u4e09\u5e74\u5185\u804c\u4e1a\u89c4\u5212",autosize:{minRows:8,maxRows:8},style:{width:"100%",resize:"none"},onChange:Object(O.g)("plan",!0).bind(this),value:this.props.info.plan}))),E.a.createElement(g.a,null,E.a.createElement(b.a,{span:24},E.a.createElement(k,null,"\u5de5\u4f5c\u4e1a\u7ee9\u4e0e\u81ea\u6211\u8bc4\u4ef7"),E.a.createElement(K,{placeholder:"\u5de5\u4f5c\u4e1a\u7ee9\u4e0e\u81ea\u6211\u8bc4\u4ef7",autosize:{minRows:8,maxRows:8},style:{width:"100%",resize:"none"},onChange:Object(O.g)("description",!0).bind(this),value:this.props.info.description})))))}}]),t}(d.Component),V=(a(302),a(308)),X=(a(304),function(e){function t(){return Object(p.a)(this,t),Object(h.a)(this,Object(f.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(u.a)(t,[{key:"render",value:function(){return E.a.createElement(g.a,{className:"mod-agreement"},E.a.createElement("dl",null,E.a.createElement("dt",null,"\u672c\u4eba\u90d1\u91cd\u58f0\u660e\uff1a"),E.a.createElement("dt",null,"1.\u5e26*\u5fc5\u586b\uff0c\u8bf7\u5982\u5b9e\u586b\u5199\uff0c\u6ca1\u6709\u5185\u5bb9\u7684\u8bf7\u5199\u65e0\uff1b"),E.a.createElement("dt",null,"2.\u5982\u53d1\u73b0\u672c\u8d44\u6599\u865a\u5047\uff0c\u672c\u516c\u53f8\u6709\u8c03\u67e5\u6838\u5b9e\u672c\u8d44\u6599\u771f\u5b9e\u6027\u7684\u6743\u5229\u53ca\u76f8\u5173\u5904\u7406\u3002")),E.a.createElement("p",null,E.a.createElement(V.a,{style:{fontSize:"16px"},checked:this.props.info.agree,onChange:Object(O.g)("agree",!0).bind(this)},"\u672c\u4eba\u540c\u610f\u4ee5\u4e0a\u8bf4\u660e")))}}]),t}(d.Component)),H={"\u671f\u671b\u804c\u4f4d":"department","\u6c42\u804c\u610f\u5411":"department","\u59d3\u540d":"name","\u671f\u671b\u85aa\u8d44":"sallary","\u8bc1\u4ef6\u7167":"idPhoto","\u751f\u6d3b\u7167":"lifePhoto","\u8eab\u4efd\u8bc1\u53f7":"identity","\u7535\u8bdd":"phone","\u624b\u673a\u53f7\u7801":"phone","\u4e2a\u4eba\u90ae\u7bb1":"email","\u804c\u4e1a\u89c4\u5212":"plan","\u81ea\u6211\u8bc4\u4ef7":"description","\u81ea\u6211\u63cf\u8ff0":"description","\u6559\u80b2\u80cc\u666f":"edu","\u6559\u80b2\u7ecf\u5386":"edu","\u90ae\u7f16":"","\u5de5\u4f5c\u7ecf\u9a8c":"work","\u4e13\u4e1a\u6280\u80fd":"","\u529e\u516c\u6280\u80fd":"","\u8f6f\u4ef6\u6280\u80fd":"","\u5b9e\u4e60\u7ecf\u9a8c":"","\u5b9e\u4e60\u7ecf\u5386":"","\u4e2a\u4eba\u4f18\u52bf":"","\u9879\u76ee\u7ecf\u5386":"","\u793e\u4ea4\u8d26\u53f7":""},Q={"\u76ee\u524d\u72b6\u6001":0,"\u6027\u522b":"sex","\u6c11\u65cf":"nation","\u5b97\u6559\u4fe1\u4ef0":"belief","\u5065\u5eb7\u72b6\u51b5":"healthy","\u91cd\u5927\u75be\u75c5\u53f2":"diseases","\u7c4d\u8d2f":"nativePlace","\u653f\u6cbb\u9762\u8c8c":"politics","\u5a5a\u59fb\u72b6\u51b5":"marriage","\u6240\u5728\u5730":"registration","\u6237\u53e3\u6240\u5728\u5730":"registration","\u6237\u53e3\u6027\u8d28":"accountCharacter","\u5bb6\u5ead\u8be6\u7ec6\u4f4f\u5740":"address","\u51fa\u751f\u65e5\u671f":"dateOfBirth","\u8eab\u9ad8":"height","\u5916\u8bed\u53ca\u7a0b\u5ea6":"foreign","\u8bed\u8a00\u6280\u80fd":"foreign","\u6280\u80fd\u8bc1\u4e66":"skillCertificate","\u804c\u79f0\u53ca\u7c7b\u522b":"skillType","\u9996\u6b21\u53c2\u52a0\u5de5\u4f5c\u65f6\u95f4":"fristWork"},Z=(a(305),a(18)),ee=function(e){function t(){var e,a;Object(p.a)(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(a=Object(h.a)(this,(e=Object(f.a)(t)).call.apply(e,[this].concat(r)))).state={fileName:""},a}return Object(m.a)(t,e),Object(u.a)(t,[{key:"getOptionsRegStr",value:function(e,t){return"("+e.reduce(function(e,a){return"department"===t?"".concat(e.name||e,"|").concat(a.name):"".concat(e,"|").concat(a)})+")+"}},{key:"getMatchRegs",value:function(){return{phone:/1(3|4|5|7|8)\d{9}/i,email:/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/i,department:this.getOptionsRegStr(Z.a.departmentList,"department"),education:this.getOptionsRegStr(P.b,"education"),time:/(\d)+((-|\u2014|\u81f3)(\d+))?/i,sex:/\u7537|\u5973/i,sallary:/(\d)+k(-(\d+)k)?/i,age:/(\d+)\u5c81/}}},{key:"enhanceMatch",value:function(e,t,a){this.matchBase(e,t,a),this.matchEdu(e,t,a)}},{key:"matchBase",value:function(e,t,a){for(var n=this.getMatchRegs(),r=["phone","email","department","sex","sallary","age"],o=0;o<r.length;o++){var s=r[o],i=e.match(n[s]);i&&("age"===s?a.dateOfBirth=(new Date).getFullYear()-i[0].replace("\u5c81",""):t[s]=i[0])}}},{key:"matchEdu",value:function(e,t,a){if(t.edu){for(var n=this.getMatchRegs(),r=["education","time"],o={},s=0;s<r.length;s++){var i=r[s],c=t.edu.match(n[i]);if(c)switch(i){case"education":o[i]=P.b.indexOf(c[0]);break;case"time":var l=c[0].split(/-|\u2014|\u81f3/);o.startDate=l[0],l[1]&&(o.endDate=l[1])}}var p=t.edu.split(/\u5b66\u9662|\u5b66\u6821/);if(o.school=p[0],p[1]){var u=p[1].split(/\u4e13\u4e1a|\u6280\u672f/);o.major=u[0]}t.eduExperience[0]=o}}},{key:"parseResume",value:function(e){e=e.replace(/\u21b5|\s/g,"");for(var t=Object.keys(H).join("|")+"|"+Object.keys(Q).join("|"),a=new RegExp("("+t+")+"),n=e.split(a),r={eduExperience:[{education:0}]},o={},s=0;s<n.length-1;s++){var i=n[s];i&&(Q[i]?!this.props.info.personalInfo[Q[i]]&&(o[Q[i]]=n[s+1]):H[i]&&!this.props.info[H[i]]&&(r[H[i]]=n[s+1]),i&&console.log(i))}this.enhanceMatch(e,r,o),r.personalInfo=o,this.props.transferMsgState(r),console.log("info",r,o)}},{key:"uploadResume",value:function(){var e=Object(c.a)(i.a.mark(function e(t){var a,n,r,s;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t[0],/\.(txt|docx|doc|pdf)$/.test(a.name)){e.next=4;break}return o.a.error("\u4ec5\u652f\u6301*.docx,.doc,txt,pdf\u683c\u5f0f\u6587\u4ef6\u4e0a\u4f20"),e.abrupt("return");case 4:return a.size/1024/1024<2||o.a.error("\u4e0a\u4f20\u7b80\u5386\u5927\u5c0f\u5fc5\u987b\u5c0f\u4e8e2M"),this.setState({fileName:a.name}),(n=new FormData).append("filedata",a),this.props.transferMsgState({resumeData:n}),e.prev=10,e.next=13,M.a.upload.upLoadResume(n);case 13:r=e.sent,s=r.data,console.log("upLoadResume data",s),this.parseResume(s),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(10),console.log(e.t0);case 22:case"end":return e.stop()}},e,this,[[10,19]])}));return function(t){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this;return E.a.createElement("div",{className:"upload-resume"},E.a.createElement("div",{className:"btn-upload"},E.a.createElement(n.a,{type:"primary",size:"small"},"\u7b80\u5386\u4e0a\u4f20"),E.a.createElement("input",{type:"file",onChange:function(t){e.uploadResume(t.target.files)}})),E.a.createElement("p",{className:"tip"},this.state.fileName&&"\uff08\u5df2\u9009\u62e9".concat(this.state.fileName,"\uff09")||this.props.info.resume&&E.a.createElement("span",null,"\uff08\u5df2\u4e0a\u4f20",E.a.createElement("a",{href:this.props.info.resume,target:"_blank"},"\u7b80\u5386"),"\uff09"),"\u652f\u6301*.docx,doc,txt,pdf\u683c\u5f0f"))}}]),t}(d.Component),te=a(139),ae=a(107),ne=a(117);a.d(t,"default",function(){return oe});var re={idPhoto:"",lifePhoto:""},oe=function(e){function t(){var e;return Object(p.a)(this,t),(e=Object(h.a)(this,Object(f.a)(t).call(this))).state={department:"",name:"",sallary:"",idPhoto:"",lifePhoto:"",personalInfo:{curStatus:0,sex:1,nation:0,belief:"",healthy:"",diseases:"",nativePlace:"",politics:0,marriage:0,registration:"",accountCharacter:0,address:"",dateOfBirth:null,height:null,foreign:"",skillCertificate:"",skillType:"",fristWork:null},identity:"",phone:"",urgentPhone:"",email:"",eduExperience:[{education:0}],workExperience:{},plan:"",description:"",agree:!0,npProvince:"\u5317\u4eac\u5e02",npCity:0,loading:!1,resume:"",resumeData:null},e.initState(),window.onbeforeunload=function(e){(e=window.event||e).returnValue="\u786e\u5b9a\u79bb\u5f00\u5f53\u524d\u9875\u9762\u5417\uff1f"},e}return Object(m.a)(t,e),Object(u.a)(t,[{key:"transferMsg",value:function(e,t){this.state.hasOwnProperty(e)&&this.setState(Object(l.a)({},e,t))}},{key:"transferMsgState",value:function(e){e.personalInfo&&(e.personalInfo=Object.assign(this.state.personalInfo,e.personalInfo)),this.setState(Object.assign(this.state,e))}},{key:"initState",value:function(){var e=Object(c.a)(i.a.mark(function e(){var t,a,n,r,o,s,c;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Z.a.userId){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,e.next=6,M.a.user.find({userId:t});case 6:a=e.sent,n=a.data,r={},e.t0=i.a.keys(n);case 10:if((e.t1=e.t0()).done){e.next=29;break}if(o=e.t1.value,!n[o]||!this.state.hasOwnProperty(o)){e.next=27;break}if("workExperience"!==o&&"eduExperience"!==o&&"personalInfo"!==o){e.next=25;break}e.prev=14,s=JSON.parse(n[o]),r[o]=s,"personalInfo"===o&&s.nativePlace&&(c=s.nativePlace.split("-"),r.npProvince=c[0],r.npCity=c[1]),e.next=23;break;case 20:return e.prev=20,e.t2=e.catch(14),e.abrupt("break",29);case 23:e.next=27;break;case 25:r[o]=n[o],"idPhoto"!==o&&"lifePhoto"!==o||(re[o]=n[o]);case 27:e.next=10;break;case 29:this.setState(Object.assign(this.state,r)),e.next=35;break;case 32:e.prev=32,e.t3=e.catch(3),console.log(e.t3);case 35:case"end":return e.stop()}},e,this,[[3,32],[14,20]])}));return function(){return e.apply(this,arguments)}}()},{key:"getFormRules",value:function(){var e=this.state;return{department:[e.department,"require"],sallary:[e.sallary,"require",ae.a.Reg_Int],idPhoto:[e.idPhoto,"require"],lifePhoto:[e.lifePhoto],name:[e.name,"require"],personalInfo:[e.personalInfo,this.checkPersonalInfo.bind(this)],identity:[e.identity,"require",ae.a.Reg_Identity],phone:[e.phone,"require",ae.a.Reg_Phone],email:[e.email,"require",ae.a.Reg_Email],urgentPhone:[e.urgentPhone],eduExperience:[e.eduExperience,this.checkEduExperience.bind(this)],workExperience:[e.workExperience],plan:[e.plan,"require","length_1-200"],description:[e.description,"require","length_1-200"],resume:[e.resume]}}},{key:"checkForm",value:function(){var e=Object(c.a)(i.a.mark(function e(){var t,a,n,r,o,s,c,p,u;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.state,a=this.state.personalInfo,!this.state.loading){e.next=4;break}return e.abrupt("return",Promise.reject(new Error("")));case 4:if(a.nativePlace="".concat(this.state.npProvince,"-").concat(this.state.npCity),this.setState({personalInfo:a}),n=this.getFormRules(),(r=new te.a(n)).checkParams()){e.next=10;break}return e.abrupt("return",Promise.reject(new Error(r.error)));case 10:if(t.agree){e.next=12;break}return e.abrupt("return",Promise.reject(new Error("\u63d0\u4ea4\u8d44\u6599\u8bf7\u540c\u610f\u4ee5\u4e0a\u58f0\u660e")));case 12:e.t0=i.a.keys(re);case 13:if((e.t1=e.t0()).done){e.next=36;break}if(o=e.t1.value,s=this.state[o],re[o]===s){e.next=34;break}return(c=new FormData).append("img",Object(O.a)(s)),e.prev=19,e.next=22,M.a.upload.upLoadImg(c);case 22:if(0!==(p=e.sent).data.code){e.next=28;break}re[o]=p.data.url,this.setState(Object(l.a)({},o,p.data.url)),e.next=29;break;case 28:return e.abrupt("return",Promise.reject(new Error(p.data.msg)));case 29:e.next=34;break;case 31:return e.prev=31,e.t2=e.catch(19),e.abrupt("return",Promise.reject(e.t2));case 34:e.next=13;break;case 36:if(null===this.state.resumeData){e.next=47;break}return e.prev=37,e.next=40,M.a.upload.upLoadFile(this.state.resumeData);case 40:u=e.sent,this.setState({resume:u.data.url}),e.next=47;break;case 44:return e.prev=44,e.t3=e.catch(37),e.abrupt("return",Promise.reject(e.t3));case 47:return e.abrupt("return",Promise.resolve(!0));case 48:case"end":return e.stop()}},e,this,[[19,31],[37,44]])}));return function(){return e.apply(this,arguments)}}()},{key:"submitForm",value:function(){var e=Object(c.a)(i.a.mark(function e(){var t,a,n,r;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.checkForm();case 3:e.next=10;break;case 5:return e.prev=5,e.t0=e.catch(0),this.setState({loading:!1}),e.t0.message&&o.a.error(e.t0.message),e.abrupt("return");case 10:for(r in t=this.getFormRules(),a=this.state,n={},t)"workExperience"!==r&&"eduExperience"!==r&&"personalInfo"!==r||!a[r]?n[r]=a[r]:n[r]=JSON.stringify(a[r]);return e.prev=14,this.setState({loading:!0}),e.next=18,M.a.user.create(n);case 18:o.a.success("\u63d0\u4ea4\u6210\u529f"),e.next=24;break;case 21:e.prev=21,e.t1=e.catch(14),o.a.error(e.t1.message);case 24:this.setState({loading:!1});case 25:case"end":return e.stop()}},e,this,[[0,5],[14,21]])}));return function(){return e.apply(this,arguments)}}()},{key:"checkPersonalInfo",value:function(){for(var e=this.state,t=["curStatus","sex","nation","healthy","diseases","nativePlace","politics","marriage","registration","accountCharacter","address"],a=0;a<t.length;a++){var n=t[a],r=void 0===e.personalInfo[n]?"":e.personalInfo[n];if(!ae.a.Reg_Require.test(r))return o.a.error("".concat(ne.a[n]||n,"\u4e0d\u80fd\u4e3a\u7a7a")),!1}return!0}},{key:"checkEduExperience",value:function(){for(var e=this.state,t=["startDate","endDate","school","education","major","educationBg"],a=0;a<e.eduExperience.length;a++)for(var n=0;n<t.length;n++){var r=t[n],s=void 0===e.eduExperience[a][r]?"":e.eduExperience[a][r];if(!ae.a.Reg_Require.test(s))return o.a.error("".concat(ne.a[r]||r,"\u4e0d\u80fd\u4e3a\u7a7a")),!1}return!0}},{key:"render",value:function(){var e=this;return E.a.createElement("div",{className:"mod-information"},E.a.createElement(ee,{transferMsgState:function(t){e.transferMsgState(t)},info:this.state}),E.a.createElement(D,{transferMsg:function(t,a){e.transferMsg(t,a)},info:this.state}),E.a.createElement(x,{transferMsg:function(t,a){e.transferMsg(t,a)},info:this.state}),E.a.createElement(T,{transferMsg:function(t,a){e.transferMsg(t,a)},info:this.state}),E.a.createElement(z,{transferMsg:function(t,a){e.transferMsg(t,a)},info:this.state}),E.a.createElement($,{transferMsg:function(t,a){e.transferMsg(t,a)},info:this.state}),E.a.createElement(J,{transferMsg:function(t,a){e.transferMsg(t,a)},info:this.state}),E.a.createElement(G,{transferMsg:function(t,a){e.transferMsg(t,a)},info:this.state}),E.a.createElement(X,{transferMsg:function(t,a){e.transferMsg(t,a)},info:this.state}),E.a.createElement(n.a,{className:"btn-submit",type:"primary",size:"large",onClick:this.submitForm.bind(this)},"\u63d0\u4ea4",this.state.loading&&E.a.createElement(r.a,null)))}}]),t}(d.Component)},73:function(e,t,a){"use strict";a.d(t,"b",function(){return r}),a.d(t,"g",function(){return o}),a.d(t,"h",function(){return s}),a.d(t,"i",function(){return i}),a.d(t,"e",function(){return c}),a.d(t,"f",function(){return l}),a.d(t,"c",function(){return p}),a.d(t,"a",function(){return u}),a.d(t,"d",function(){return h});a(85);var n=a(91);function r(e,t,a){return t&&t.props?t.key:t||(a?"checkbox"===e.target.type?e.target.checked:e.target.value:e)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(a,n){var o=r(a,n,t);this.props&&this.props.transferMsg&&this.props.transferMsg(e,o)}}function s(e,t){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(n,o){var s=r(n,o,a),i=this.props.info[e];i[t]=s,this.props&&this.props.transferMsg&&this.props.transferMsg(e,i)}}function i(e){n.a.error(e)}function c(e){return"[object Function]"===Object.prototype.toString.call(e)}function l(e){return"[object RegExp]"===Object.prototype.toString.call(e)}function p(e,t){var a=new FileReader;a.addEventListener("load",function(){return t(a.result)}),a.readAsDataURL(e)}function u(e){var t;t=e.split(",")[0].indexOf("base64")>=0?atob(e.split(",")[1]):unescape(e.split(",")[1]);for(var a=e.split(",")[0].split(":")[1].split(";")[0],n=new Uint8Array(t.length),r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return new Blob([n],{type:a})}function h(e){var t,a=new RegExp("(^| )"+e+"=([^;]*)(;|$)");return(t=document.cookie.match(a))?unescape(t[2]):null}},96:function(e,t,a){"use strict";var n=a(76),r=a.n(n),o=a(122),s=a.n(o),i=a(18),c=a(73),l="";l="3000"===window.location.port?"//localhost:1024/":window.location.host.match("test")?"//test-api-hr.duowan.com":"//api-hr.duowan.com";var p=r.a.create({baseURL:l,headers:{"Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(e,t){return e=s.a.stringify(e)}],transformResponse:[],withCredentials:!0});p.host=l,p.interceptors.request.use(function(e){var t="post"===e.method?e.data:e.params;if(t&&t.needAuth){if(!i.a.userId||!i.a.token)return Object(c.i)("\u767b\u5f55\u6001\u5931\u6548\uff0c\u8bf7\u91cd\u65b0\u767b\u5f55"),i.a.logout(),Promise.reject("\u8bf7\u5148\u767b\u5f55");i.a.userId&&(t.userId=i.a.userId),t.token=i.a.token,delete t.needAuth}return e},function(e){return Promise.reject(e)}),p.interceptors.response.use(function(e){return 0===e.data.code?Promise.resolve(e.data):-5!==e.data.code?Promise.reject(new Error(e.data.msg)):(Object(c.i)(e.data.msg),void i.a.logout())},function(e){return Promise.reject(e)});var u=p,h={getDepartmentList:function(e){return u.get("/department/list",{params:e})}},f={getCode:function(e){var t=e.phone;return u.get("/login/getCode",{params:{phone:t}})},checkCode:function(e){var t=e.phone,a=e.code;return u.get("/login/checkCode",{params:{phone:t,code:a}})},checkAdmin:function(e){var t=e.nodeId,a=e.userId;return r.a.post("//test.admin.duowan.com/open/checkRight2",{params:{nodeId:t,userId:a}})}},m={find:function(e){return Object.assign(e,{needAuth:!0}),u.get("/user/find",{params:e})},preview:function(e){return u.get("/user/preview",{params:e})},create:function(e){return Object.assign(e,{needAuth:!0}),u.post("/user/create",e)}},d="";d="3000"===window.location.port?"//localhost:1024/":window.location.host.match("test")?"//test-api-hr.duowan.com":"//api-hr.duowan.com";var E=r.a.create({baseURL:d,headers:{"Content-Type":"multipart/form-data"},transformRequest:[],transformResponse:[],withCredentials:!0});E.host=d,E.interceptors.request.use(),E.interceptors.response.use(function(e){return Promise.resolve(e.data)},function(e){return Promise.reject(e)});var g=E,b={upLoadImg:function(e){return r.a.post("//video.duowan.com/jsapi/imgUpload",e,{headers:{"Content-Type":"multipart/form-data"}})},upLoadFile:function(e){return console.log("params",e),r.a.post("https://ad.duowan.com/?r=test/otherUpload&hehe=1",e,{headers:{"Content-Type":"multipart/form-data"}})},upLoadResume:function(e){return g.post("/upload/resume",e)}};t.a={base:h,login:f,user:m,upload:b}}}]);
  2. //# sourceMappingURL=7.b451c3f8.chunk.js.map