1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/work"],{"4ada":function(e,n,t){"use strict";t.r(n);var o=t("ac50"),i=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=i.a},"6a72":function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){return o}));var o={uNavbar:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-navbar/u-navbar")]).then(t.bind(null,"f893"))},"u-Input":function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u--input/u--input")]).then(t.bind(null,"2603"))},uDatetimePicker:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-datetime-picker/u-datetime-picker")]).then(t.bind(null,"fad6"))}},i=function(){var e=this,n=e.$createElement,t=(e._self._c,2==e.radiovalue1&&e.job_experience3.length>0);e._isMounted||(e.e0=function(n){e.entryShow=!0},e.e1=function(n){e.dimissionShow=!0},e.e2=function(n){e.entryShow=!0},e.e3=function(n){e.dimissionShow=!0},e.e4=function(n){e.entryShow=!1},e.e5=function(n){e.dimissionShow=!1}),e.$mp.data=Object.assign({},{$root:{g0:t}})},r=[]},7821:function(e,n,t){"use strict";t.r(n);var o=t("6a72"),i=t("4ada");for(var r in i)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(r);t("f545");var a=t("f0c5"),u=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=u.exports},ac50:function(e,n,t){"use strict";(function(e){var o=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o(t("2eee")),r=o(t("c973")),a=(t("2e9d"),{data:function(){return{entryShow:!1,dimissionShow:!1,industryShow:!1,minDate:"",radiovalue1:"",minDate1:"",job_experience3:[],job_experience:{industry_name:"",industry_id:"",company_name:"",start_time:"",end_time:"",department:"",job_name:"",level_reason:"",work_content:""}}},onLoad:function(){this.minDate=Number(new Date("2000-01-01")),this.minDate1=Number(new Date("1980-01-01")),e.getStorageSync("job_experience1")&&(this.job_experience=e.getStorageSync("job_experience1")),e.getStorageSync("job_experience3")&&(this.job_experience3=e.getStorageSync("job_experience3")),e.getStorageSync("radiovalue1")&&(this.radiovalue1=e.getStorageSync("radiovalue1"))},methods:{getdata:function(e){console.log(e)},toworktion:function(n){var t=this;2==this.radiovalue1?e.navigateTo({url:"../pagesA/worktion?concent="+this.job_experience[n].work_content,events:{todcp:function(e){t.job_experience[n].work_content=e}}}):e.navigateTo({url:"../pagesA/worktion?concent="+this.job_experience.work_content,events:{todcp:function(e){t.job_experience.work_content=e}}})},tohangye:function(n){var t=this;e.navigateTo({url:"../pagesA/change-hangye1",events:{changehangye:function(e){t.job_experience.industry_id=e[1].id,t.job_experience.industry_name=e[1].name,2==t.radiovalue1&&(t.job_experience3[n].industry_name=e[1].name)}}})},entryConfirm:function(n){var t=this;return(0,r.default)(i.default.mark((function o(){var r,a;return i.default.wrap((function(o){while(1)switch(o.prev=o.next){case 0:return r=e.$u.timeFormat,console.log(n.value),o.next=4,r(n.value,"yyyy-mm");case 4:a=o.sent,t.job_experience.start_time=a,t.entryShow=!1;case 7:case"end":return o.stop()}}),o)})))()},dimissionConfirm:function(n){var t=this;return(0,r.default)(i.default.mark((function o(){var r,a;return i.default.wrap((function(o){while(1)switch(o.prev=o.next){case 0:return r=e.$u.timeFormat,o.next=3,r(n.value,"yyyy-mm");case 3:a=o.sent,t.job_experience.end_time=a,t.dimissionShow=!1;case 6:case"end":return o.stop()}}),o)})))()},return1:function(){e.navigateBack()},next:function(){var n=this;if(2==this.radiovalue1){var t=!0;this.job_experience3.forEach((function(e){for(var o in console.log("导入",e),e){if(console.log("key",o),console.log("key",e[o]),"company_name"==o&&""==e[o])return n.$u.toast("请填写公司名称"),void(t=!1);if("industry_name"==o&&!e[o])return t=!1,void n.$u.toast("请选择您的公司行业");if("department"==o&&""==e[o])return t=!1,void n.$u.toast("请填写您的所属部门");if("job_name"==o&&""==e[o])return t=!1,void n.$u.toast("请填写您的职业名称");if("start_time"==o&&""==e[o])return t=!1,void n.$u.toast("请选择入职时间");if("end_time"==o&&""==e[o])return t=!1,void n.$u.toast("请选择离职时间");if("level_reason"==o&&""==e[o])return t=!1,void n.$u.toast("请填写离职原因");if("work_content"==o&&""==e[o])return t=!1,void n.$u.toast("请填写工作内容")}})),t&&e.navigateTo({url:"/pagesA/Project "})}else{if(!this.job_experience.company_name)return void this.$u.toast("请填写公司名称");if(!this.job_experience.industry_name)return void this.$u.toast("请选择您的公司行业");if(!this.job_experience.department)return void this.$u.toast("请填写您的所属部门");if(!this.job_experience.job_name)return void this.$u.toast("请填写您的职业名称");if(!this.job_experience.start_time)return void this.$u.toast("请选择入职时间");if(!this.job_experience.end_time)return void this.$u.toast("请选择离职时间");if(!this.job_experience.level_reason)return void this.$u.toast("请填写离职原因");if(!this.job_experience.work_content)return void this.$u.toast("请填写工作内容");e.navigateTo({url:"/pagesA/Project "})}var o=Object.keys(this.job_experience).reduce((function(e,t){return e["".concat("job_experience",".").concat(t)]=n.job_experience[t],e}),{});e.setStorageSync("job_experience",o),e.setStorageSync("job_experience1",this.job_experience),e.setStorageSync("job_experience3",this.job_experience3)}}});n.default=a}).call(this,t("543d")["default"])},cdcb:function(e,n,t){"use strict";(function(e,n){var o=t("4ea4");t("9f7d");o(t("66fd"));var i=o(t("7821"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(i.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},f545:function(e,n,t){"use strict";var o=t("fb9b"),i=t.n(o);i.a},fb9b:function(e,n,t){}},[["cdcb","common/runtime","common/vendor"]]]);
|