(my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["pages/user/index"],{"00ad":function(e,t,n){"use strict";var o=n("f493"),i=n.n(o);i.a},"0bbe":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return o}));var o={uCell:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-cell/u-cell")]).then(n.bind(null,"9552"))}},i=function(){var e=this.$createElement;this._self._c},u=[]},1923:function(e,t,n){"use strict";n.r(t);var o=n("0bbe"),i=n("c511");for(var u in i)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(u);n("00ad");var a=n("828b"),c=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=c.exports},"1e91":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("3c6c"),i={data:function(){return{outBizNo:"",visible:!1}},onLoad:function(){this.$scope.onClose=this.onClose,this.$scope.onSuccess=this.onSuccess,this.$scope.onFailure=this.onFailure},methods:{generateOutBizNo:function(){var e=(new Date).getTime(),t=Math.floor(1e4*Math.random()).toString().padStart(4,"0");return"job_auth_".concat(e,"_").concat(t)},handleTap:function(){this.outBizNo=this.generateOutBizNo(),this.visible=!0},onFailure:function(e){var t=e.code,n=e.message;console.log(t,n),this.visible=!0},onClose:function(){this.visible=!1},onSuccess:function(t){var n=this;this.visible=!1,(0,o.getResume)(t,(function(){e.showToast({title:"登录成功",icon:"none"}),n.toResume()}))},toResume:function(){var t=e.getStorageSync("jy-recruit-token");t?e.navigateTo({url:"/pages/user/resume/index"}):this.handleTap()},toLicense:function(){e.navigateTo({url:"/pages/user/license"})},toDeliverLog:function(){var t=e.getStorageSync("jy-recruit-token");t?e.navigateTo({url:"/pages/user/deliverLog"}):this.handleTap()},toCollectLog:function(){var t=e.getStorageSync("jy-recruit-token");t?e.navigateTo({url:"/pages/user/collectLog"}):this.handleTap()},clean:function(){e.setStorageSync("jy-recruit-token",""),e.showToast({title:"清理成功",icon:"none"})}}};t.default=i}).call(this,n("6861")["default"])},"81d6":function(e,t,n){"use strict";(function(e){var t=n("47a9");n("9db3");t(n("3240"));var o=t(n("1923"));my.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("6861")["createPage"])},c511:function(e,t,n){"use strict";n.r(t);var o=n("1e91"),i=n.n(o);for(var u in o)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(u);t["default"]=i.a},f493:function(e,t,n){}},[["81d6","common/runtime","common/vendor"]]]);