(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pageA-pages-personal-jobs-action-job_status"],{"0b28":function(t,e,n){"use strict";n.r(e);var a=n("54e8"),i=n("9a84");for(var u in i)"default"!==u&&function(t){n.d(e,t,(function(){return i[t]}))}(u);n("5619");var s,o=n("f0c5"),r=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"7e6ff7a2",null,!1,a["a"],s);e["default"]=r.exports},"0e86":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.footer-fixed-placeholder[data-v-7e6ff7a2]{height:60px}.footer-fixed[data-v-7e6ff7a2]{position:fixed;left:0;right:0;bottom:0;z-index:100;background-color:#fff}',""]),t.exports=e},"275b":function(t,e,n){var a=n("0e86");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("500b313d",a,!0,{sourceMap:!1,shadowMode:!1})},"54e8":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view")},u=[]},5619:function(t,e,n){"use strict";var a=n("275b"),i=n.n(a);i.a},"6faa":function(t,e,n){"use strict";n.r(e);var a=n("9601"),i=n("a661");for(var u in i)"default"!==u&&function(t){n.d(e,t,(function(){return i[t]}))}(u);var s,o=n("f0c5"),r=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"1119bc04",null,!1,a["a"],s);e["default"]=r.exports},9601:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return a}));var a={footerButton:n("0b28").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"bottom-safe-area"},[n("v-uni-view",{staticClass:"p-5"},[n("v-uni-view",{staticClass:"text-auxiliary pb-3"},[n("v-uni-view",{staticClass:"uni-h3"},[t._v("求职状态")]),n("v-uni-view",{staticClass:"small"},[t._v("选择你当前的求职状态")])],1),t._l(t.resume_job_status,(function(e,a){return n("v-uni-view",{key:a,staticClass:"uni-flex py-2 text-auxiliary border-bottom flex-center",attrs:{"hover-class":"bg-hover"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.selected(e)}}},[n("v-uni-view",{staticClass:"uni-flex-item uni-h5"},[t._v(t._s(e.title))]),t.selectedId==e.value?n("v-uni-text",{staticClass:"text-primary uni-icon uni-icon-checkbox-filled"}):t._e()],1)}))],2),n("footer-button",{attrs:{disabled:!t.submitStatus},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.updateJobStatus()}}})],1)},u=[]},"9a84":function(t,e,n){"use strict";n.r(e);var a=n("e989"),i=n.n(a);for(var u in a)"default"!==u&&function(t){n.d(e,t,(function(){return a[t]}))}(u);e["default"]=i.a},a661:function(t,e,n){"use strict";n.r(e);var a=n("b5a5"),i=n.n(a);for(var u in a)"default"!==u&&function(t){n.d(e,t,(function(){return a[t]}))}(u);e["default"]=i.a},b5a5:function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("d55e")),u={data:function(){return{eventName:"",selectedId:0,watchStart:!1,submitStatus:!1,resume_job_status:[]}},onLoad:function(t){var e=this;this.XYBase.IsLogin(),this.userInfo=getApp().globalData.userInfo,this.eventName=t.eventName,t.id&&(this.selectedId=t.id),this.initHtml(),setTimeout((function(){e.watchStart=!0}),300)},watch:{selectedId:function(t,e){this.watchStart&&!this.eventName&&(this.submitStatus=!0,this.setHeaderButtonActive(0,{text:"保存"}))}},onNavigationBarButtonTap:function(t){switch(t.name){case"save":this.updateJobStatus();break}},methods:{initHtml:function(){var t=this;i.default.getStatusAliasCate("resume/job_status",(function(e){t.resume_job_status=e}))},setHeaderButtonActive:function(t,e){this.XYBase.setTitleNViewButtonStyle(t+1,e)},selected:function(t){this.selectedId=t.value,this.eventName&&(uni.$emit(this.eventName,t),uni.navigateBack())},updateJobStatus:function(){var t=this;this.submitStatus&&(uni.showLoading({title:""}),this.XYBase.post({url:"user/resume/updateJobStatus",data:{job_status:this.selectedId}},(function(e){uni.hideLoading(),e&&(0===e.code?(uni.$emit("updateResume"),uni.navigateBack()):t.XYBase.msg(e.msg))})))}}};e.default=u},e989:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"FooterButton",props:{disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},type:{type:String,default:"primary"},text:{type:String,default:"保存"}},methods:{onClick:function(){this.$emit("click")}}};e.default=a}}]);