(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/login/add"],{"0fd6":function(t,e,n){"use strict";(function(t,e){var o=n("47a9");n("e92e");o(n("3240"));var i=o(n("42de"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"20e6":function(t,e,n){"use strict";(function(t){var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n("7ca3")),s=n("8f59");function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var c={data:function(){var t;return{sexItem:["男","女"],source:"",sourceName:"",content:(t={sex:"",name:""},(0,i.default)(t,"name",""),(0,i.default)(t,"avatar",""),(0,i.default)(t,"avatarurl",""),(0,i.default)(t,"source",""),(0,i.default)(t,"birthday",""),(0,i.default)(t,"industryid",""),(0,i.default)(t,"industryname",""),(0,i.default)(t,"comName",""),(0,i.default)(t,"comPos",""),(0,i.default)(t,"provide",""),(0,i.default)(t,"demand",""),(0,i.default)(t,"license",""),(0,i.default)(t,"licenseurl",""),t)}},computed:r(r({},(0,s.mapState)(["HomeContent"])),{},{endDate:function(){return this.$tools.getDate("start")},industrylist:function(){return this.HomeContent.industrylist}}),methods:{confirmInfo:function(){var e=this;this.content.industryname?this.content.name?this.content.phone?this.content.avatarurl?this.content.sex?this.content.birthday?this.content.comName?this.content.comPos?"介绍人"!=this.source||this.sourceName?(this.content.source=this.sourceName?this.sourceName:this.source,console.log("content",this.content),e.$model.getApplyfor(this.content).then((function(n){0==n.code?(t.showToast({title:"提交成功",duration:2e3}),setTimeout((function(){t.switchTab({url:"/pages/index/index"})}),2e3)):e.$tools.msg(n.message)}))):this.$tools.msg("请输入介绍人姓名"):this.$tools.msg("请输入公司职位"):this.$tools.msg("请输入公司全称"):this.$tools.msg("请选择出生日期"):this.$tools.msg("请选择性别"):this.$tools.msg("请上传个人照片"):this.$tools.msg("请输入手机号"):this.$tools.msg("请输入姓名"):this.$tools.msg("请选择所属行业")},handleimage:function(e){var n=this;t.chooseImage({count:1,sourceType:["album","camera"],success:function(o){t.showLoading({title:"识别中..."}),n.$model.getUpLoadimg({uploadpath:o.tempFilePaths[0]}).then((function(o){t.hideLoading(),0==o.code?1==e?(n.content.avatar=o.data.path,n.content.avatarurl=o.data.url):(n.content.license=o.data.path,n.content.licenseurl=o.data.url):n.$tools.msg("不支持该图像")}))}})},bindDateChange:function(t){this.content.birthday=t.target.value},onsexArr:function(t){this.content.sex="男"==this.sexItem[t.target.value]?1:2},changeIndustry:function(t){this.content.industryname=this.HomeContent.industrylist[t.target.value].name,this.content.industryid=this.HomeContent.industrylist[t.target.value].id},radioChange:function(t){this.source=this.source==t?"":t,this.sourceName="介绍人"==this.source?this.sourceName:""},checkboxChange:function(t){this.content.demand=t.detail.value.join(",")}},onLoad:function(t){}};e.default=c}).call(this,n("df3c")["default"])},"42de":function(t,e,n){"use strict";n.r(e);var o=n("7f74"),i=n("9671");for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);n("7bbd");var a=n("828b"),r=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,"752900ef",null,!1,o["a"],void 0);e["default"]=r.exports},"7bbd":function(t,e,n){"use strict";var o=n("b02d"),i=n.n(o);i.a},"7f74":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return o}));var o={uniIcons:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(n.bind(null,"b80a"))}},i=function(){var t=this,e=t.$createElement;t._self._c;t._isMounted||(t.e0=function(e){t.content.avatarurl="",t.content.avatar=""},t.e1=function(e){t.content.licenseurl="",t.content.license=""})},s=[]},9671:function(t,e,n){"use strict";n.r(e);var o=n("20e6"),i=n.n(o);for(var s in o)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(s);e["default"]=i.a},b02d:function(t,e,n){}},[["0fd6","common/runtime","common/vendor"]]]);