(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/login/add"],{"02cb":function(t,e,n){"use strict";(function(t,e){var o=n("4ea4");n("eaf2");o(n("66fd"));var i=o(n("32d7"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"0d2a":function(t,e,n){},"32d7":function(t,e,n){"use strict";n.r(e);var o=n("7d92"),i=n("3716");for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);n("f4d2");var s=n("f0c5"),c=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,"ef106c5c",null,!1,o["a"],void 0);e["default"]=c.exports},"34d7":function(t,e,n){"use strict";(function(t){var o=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n("9523")),a=n("26cb");function s(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 c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var r={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:c(c({},(0,a.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=r}).call(this,n("543d")["default"])},3716:function(t,e,n){"use strict";n.r(e);var o=n("34d7"),i=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=i.a},"7d92":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),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,"c6b6"))}},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=""})},a=[]},f4d2:function(t,e,n){"use strict";var o=n("0d2a"),i=n.n(o);i.a}},[["02cb","common/runtime","common/vendor"]]]);