1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-policy-talent"],{"003e":function(e,t,a){var i=a("bacd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("784dc60b",i,!0,{sourceMap:!1,shadowMode:!1})},"03f9":function(e,t,a){"use strict";var i=a("bf76"),n=a.n(i);n.a},"372b":function(e,t,a){"use strict";a("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("a9e3"),a("c740"),a("d3b7"),a("159b"),a("14d9"),a("c975");var i={props:{data:{type:Array,default:function(){return[{label:"2022-02",value:"02"},{label:"2022-01",value:"01"},{label:"2021-12",value:"12"},{label:"2021-11",value:"11"},{label:"2021-10",value:"10"},{label:"2021-09",value:"09"}]}},valueType:{type:Object,default:function(){return{label:"label",value:"value"}}},value:{type:[String,Number],default:""},clearable:{type:Boolean,default:!1},filterable:{type:Boolean,default:!1},searchType:{type:Number,default:1},placeholder:{type:String,default:"请选择"},noDataText:{type:String,default:"暂无数据"},arrLeft:{type:Number,default:20},size:{type:Number,default:240}},data:function(){return{show:!1,readonly:!0,isClick:!1,totalArr:[],showData:[],selLabel:""}},watch:{filterable:{immediate:!0,deep:!0,handler:function(e){this.readonly=!e}},data:{immediate:!0,deep:!0,handler:function(e){this.showData=e,this.totalArr=e}},value:{immediate:!0,deep:!0,handler:function(e){var t=this;if(console.log(e,"value",this.data,this.valueType.value),e){var a=this.data.findIndex((function(a){return a[t.valueType.value]==e}));-1==a?uni.showToast({title:"传入的value不存在",icon:"none",duration:1500}):this.selLabel=this.data[a][this.valueType.label]}}}},created:function(){},methods:{openSelect:function(){console.log("openSelect[[[]]]"),this.show=!this.show,this.isClick=!this.isClick},change:function(e){this.value!=e[this.valueType]&&(this.$emit("input",e[this.valueType.value]),this.$emit("change",e[this.valueType.value])),this.selLabel=e[this.valueType.label],this.show=!1,this.isClick=!1,this.showData=this.data},clearItem:function(){this.clearable&&(this.$emit("input",""),this.$emit("change","")),this.selLabel=""},selectData:function(e){var t=this,a=e.detail.value;if(a){var i=[],n=[];this.data.forEach((function(e){i.push(e)})),i.forEach((function(e){1==t.searchType?-1!=e[t.valueType.label].indexOf(a)&&n.push(e):e[t.valueType.label]==a&&n.push(e)})),this.show=!0,this.showData=n}else this.showData=this.data}},beforeDestroy:function(){}};t.default=i},4892:function(e,t,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("d81d"),a("d3b7"),a("159b");var n=i(a("5530")),o=i(a("c7eb")),l=i(a("1da1")),r=i(a("e8c6")),c=a("26cb"),s=a("5bcc"),d=a("d208"),u=(getApp(),{components:{cusSelects:r.default},data:function(){return{show:{},surveyList:[],info:{},captcha:"",top:172,title:"人才信息"}},onLoad:function(e){this.type=this.$Route.query.type,this.title=this.title=this.$Route.query.title+"人才信息填写",this.getSurvey(),this.captchaImg=(0,d.getCaptcha)()},onShow:function(){uni.setNavigationBarTitle({title:this.title})},onHide:function(){},onPullDownRefresh:function(){},methods:{refreshCaptcha:function(){this.captchaImg=(0,d.getCaptcha)(),this.$forceUpdate()},groupChange:function(e,t){var a=this.surveyList[e];this.info[a.name]=t},pickerShow:function(e){this.show[e]=!0,this.$forceUpdate()},pickerConfirm:function(e,t){var a=this.surveyList[e];this.info[a.name]=a.value[t[0]],this.show[a.name]=!1,this.$forceUpdate()},pickerCancel:function(e,t){var a=this.surveyList[e];this.show[a.name]=!1,this.$forceUpdate()},getSurvey:function(){var e=this;return(0,l.default)((0,o.default)().mark((function t(){var a,i,n;return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,s.getSurvey)({type:e.type});case 2:a=t.sent,i=a.status,n=a.data,1==i&&(e.surveyList=n,e.surveyList.map((function(t,a){if("radio"!=t.type&&"select"!=t.type||(e.info[t.name]=t.value[0]),"text"==t.type&&t.value.forEach((function(e,a){t.value[a]={label:a+1+"、"+e,value:e}})),"checkbox"==t.type)return t.checked=[],t.value.forEach((function(e,a){t.checked[a]=!1})),t})));case 6:case"end":return t.stop()}}),t)})))()},handleConsult:function(){var e=this;return(0,l.default)((0,o.default)().mark((function t(){var a,i,n,l;return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.info.code){t.next=3;break}return e.$toast({title:"请输入验证码"}),t.abrupt("return",!1);case 3:return t.next=5,(0,s.submitSurvey)(e.info);case 5:a=t.sent,i=a.status,n=a.data,l=a.cengci,a.msg,1==i&&(uni.setStorageSync("policyList",n),uni.setStorageSync("policyCengci",l),uni.navigateTo({url:"/pages/policy/list"}));case 11:case"end":return t.stop()}}),t)})))()}},computed:(0,n.default)({},(0,c.mapGetters)(["appConfig"]))});t.default=u},"4f2d":function(e,t,a){"use strict";a.r(t);var i=a("e695"),n=a("9087");for(var o in n)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(o);a("03f9"),a("69fb");var l=a("f0c5"),r=Object(l["a"])(n["default"],i["b"],i["c"],!1,null,"6acd12a6",null,!1,i["a"],void 0);t["default"]=r.exports},6430:function(e,t,a){var i=a("a60f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("a90462f2",i,!0,{sourceMap:!1,shadowMode:!1})},"69fb":function(e,t,a){"use strict";var i=a("6430"),n=a.n(i);n.a},9087:function(e,t,a){"use strict";a.r(t);var i=a("4892"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);t["default"]=n.a},"9b40":function(e,t,a){"use strict";a.r(t);var i=a("372b"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);t["default"]=n.a},a60f:function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.footer[data-v-6acd12a6]{left:0;bottom:%?30?%;width:100%;padding:0 %?24?%;position:fixed;z-index:99}.footer .btn[data-v-6acd12a6]{height:%?84?%;line-height:%?84?%;background-color:#dd4250;box-shadow:%?0?% %?6?% %?12?% %?2?% rgba(243,113,113,.39);border-radius:%?18?% %?18?% %?18?% %?18?%}uni-page-body[data-v-6acd12a6]{padding:0}.talent-tab .title[data-v-6acd12a6]{font-size:%?36?%;font-weight:400;color:#333}[data-v-6acd12a6] .select_input{border:none!important}[data-v-6acd12a6] .select_modal_con{position:-webkit-sticky;position:sticky;margin-left:%?-200?%;width:%?700?%}[data-v-6acd12a6] .select_modal_con .select_modal{height:100%}[data-v-6acd12a6] .select_modal_con .select_content_li{text-align:left!important;white-space:normal!important;overflow:auto!important;height:auto!important;line-height:normal!important;margin-bottom:%?16?%!important}',""]),e.exports=t},bacd:function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,'.select_wrap[data-v-107f6b42]{width:240px;display:inline-block;position:relative}.select_wrap .select_input[data-v-107f6b42]{-webkit-appearance:none;background-color:#fff;background-image:none;border-radius:4px;border:1px solid #dcdfe6;color:#606266;display:inline-block;font-size:inherit;height:40px;line-height:40px;outline:none;padding:0 15px;box-sizing:border-box;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%;padding-right:30px}.select_wrap .select_input .input_info[data-v-107f6b42]{font-size:18px;width:100%;height:100%}.select_wrap .select_input .input_info .text_tips[data-v-107f6b42]{height:100%}.select_wrap .select_input .input_info .text_tips uni-text[data-v-107f6b42]{font-size:14px;color:#a0a9b0}.select_wrap .select_input .icon_arrow[data-v-107f6b42]{position:absolute;width:30px;height:40px;right:0;top:0;text-align:center;color:#c0c4cc;cursor:pointer;display:flex;justify-content:center;align-items:center;z-index:999}.select_wrap .select_input .icon_arrow .arrow[data-v-107f6b42]{width:10px;height:10px;background-color:initial;\n /* 模块背景为透明 */border-color:#c0c4cc;border-style:solid;border-width:1px 1px 0 0;transition:all .3s;box-sizing:border-box\n /*箭头方向可以自由切换角度*/}.select_wrap .select_input .icon_arrow .arrow_down[data-v-107f6b42]{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);margin-top:5px}.select_wrap .select_input .icon_arrow .arrow_up[data-v-107f6b42]{-webkit-transform:rotate(135deg);transform:rotate(135deg);margin-top:-5px}.select_wrap .select_input .icon_arrow .arrow-clear[data-v-107f6b42]{width:14px;height:14px;border:1px solid #e4e7ed;color:#e4e7ed;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:12px}.select_wrap .select_input_select[data-v-107f6b42]{border-color:#409eff}.select_modal_con[data-v-107f6b42]{width:100%;-webkit-transform-origin:center top;transform-origin:center top;z-index:2062;position:absolute;top:40px;left:0;border:1px solid #e4e7ed;border-radius:4px;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-sizing:border-box;margin-top:12px}.select_modal_con .cons_arrow[data-v-107f6b42]{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid;top:-6px;left:10%;margin-right:3px;border-top-width:0;border-bottom-color:#ebeef5}.select_modal_con .cons_arrow[data-v-107f6b42]:after{content:" ";border-width:6px;position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid;top:1px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.select_modal[data-v-107f6b42]{overflow:scroll;height:160px}.select_modal .select_content[data-v-107f6b42]{list-style:none;padding:6px 0;margin:0;box-sizing:border-box}.select_modal .select_content .select_content_li[data-v-107f6b42]{font-size:14px;padding:0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#606266;height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.select_modal .select_content .select_content_li.selected[data-v-107f6b42]{color:#409eff;font-weight:700;background-color:#f5f7fa}.select_modal .select_content .select_content_li[data-v-107f6b42]:hover{background-color:#f5f7fa}.select_modal_scroll[data-v-107f6b42]{overflow:hidden;height:160px}',""]),e.exports=t},bf08:function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,'.huodong-details[data-v-6acd12a6]{padding-bottom:calc(%?200?% + env(safe-area-inset-bottom))}.details-images[data-v-6acd12a6]{height:%?408?%;border-radius:%?20?%;overflow:hidden;width:100%}.details-images uni-image[data-v-6acd12a6]{width:100%;height:100%}.detail-title[data-v-6acd12a6]{font-weight:700}.detail-cell[data-v-6acd12a6]{display:flex;padding:%?30?% 0}.detail-cell .cell-img[data-v-6acd12a6]{padding:%?5?% 0}.detail-cell .cell-img uni-image[data-v-6acd12a6]{width:%?48?%;height:%?48?%;display:block}.detail-biaoti[data-v-6acd12a6]{height:%?88?%;line-height:%?88?%}.bj-w[data-v-6acd12a6]{background-color:#fff}.padding-30[data-v-6acd12a6]{padding:0 %?30?%!important}.content-box[data-v-6acd12a6]{padding:0 %?24?%;box-shadow:%?0?% %?8?% %?16?% %?2?% rgba(0,0,0,.03);border-radius:%?12?% %?12?% %?12?% %?12?%}.content-box uni-input[data-v-6acd12a6]{font-size:%?28?%}.content-box uni-textarea[data-v-6acd12a6]{width:100%;height:%?100?%;font-size:%?28?%}.btn-r-border[data-v-6acd12a6]{position:relative}.btn-r-border[data-v-6acd12a6]::after{content:" ";width:%?1?%;height:%?36?%;background-color:#ccc;right:0;top:50%;margin-top:%?-18?%;position:absolute}.width75[data-v-6acd12a6]{width:%?150?%;font-weight:700}',""]),e.exports=t},bf76:function(e,t,a){var i=a("bf08");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("1eedf698",i,!0,{sourceMap:!1,shadowMode:!1})},c222:function(e,t,a){"use strict";var i=a("003e"),n=a.n(i);n.a},d0a8:function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return n})),a.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"select_wrap",style:{width:e.size+"px"}},[a("v-uni-view",{ref:"select-input",class:["select_input",e.isClick?"select_input_select":""]},[e.readonly?a("v-uni-view",{staticClass:"input_info",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.openSelect.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"text_tips",attrs:{placeholder:e.placeholder}},[e._v(e._s(e.selLabel)),e.selLabel?e._e():a("v-uni-text",[e._v(e._s(e.placeholder))])],1)],1):a("v-uni-view",{staticClass:"input_info",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.openSelect.apply(void 0,arguments)}}},[a("v-uni-input",{staticClass:"text_tips",attrs:{"placeholder-style":"font-size: 14px;color: #a0a9b0;",focus:e.isClick,value:e.selLabel,type:"text",readonly:e.readonly,disabled:e.readonly,autocomplete:"off",placeholder:e.placeholder},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.selectData.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticClass:"icon_arrow",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.clearItem.apply(void 0,arguments)}}},[!e.value&&!e.clearable||e.value&&!e.clearable||!e.value&&e.clearable&&!e.filterable?a("v-uni-view",{class:["arrow",e.show?"arrow_down":"arrow_up"]}):e._e(),e.value&&e.clearable?a("v-uni-view",{staticClass:"arrow-clear"},[e._v("x")]):e._e()],1)],1),e.show?a("v-uni-view",{staticClass:"select_modal_con",on:{touchmove:function(t){t.stopPropagation(),t.preventDefault(),arguments[0]=t=e.$handleEvent(t),function(){}.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"select_modal"},[a("v-uni-view",{ref:"select_content",staticClass:"select_content"},[e._l(e.showData,(function(t,i){return a("v-uni-view",{key:i,staticClass:"select_content_li",class:{selected:e.value==t[e.valueType.value]},on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.change(t)}}},[e._v(e._s(t[e.valueType.label]))])})),e.showData.length?e._e():a("v-uni-view",{staticClass:"select_content_li"},[e._v(e._s(e.noDataText))])],2)],1),a("v-uni-view",{staticClass:"cons_arrow",style:{left:e.arrLeft+"px"}})],1):e._e()],1)},n=[]},e695:function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return i}));var i={uIcon:a("13a3").default,uPicker:a("d791").default,uCheckboxGroup:a("4e2d").default,uCheckbox:a("499e").default},n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"huodong-details"},[a("v-uni-view",{staticClass:"p-30 "},[a("v-uni-view",{staticClass:"detail-title"},[e._v(e._s(e.title))]),a("v-uni-view",{staticClass:"content-box bg-white m-t-30"},[e._l(e.surveyList,(function(t,i){return"array"!=t.type?a("v-uni-view",{staticClass:"detail-cell row-between u-border-bottom",on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.pickerShow(t.name)}}},[a("v-uni-view",{staticClass:"width75"},[e._v(e._s(t.description))]),"radio"==t.type||"select"==t.type?a("v-uni-view",{staticClass:"text-right flex-1"},[a("v-uni-text",{staticClass:"muted"},[e._v(e._s(e.info[t.name]))]),a("u-icon",{attrs:{name:"arrow-right",size:"28",color:"#B8B8B8",label:void 0!=e.info[t.name]?"":"请选择","label-pos":"left"}}),a("u-picker",{attrs:{mode:"selector",range:t.value},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.pickerConfirm(i,t)},cancel:function(t){arguments[0]=t=e.$handleEvent(t),e.pickerCancel(i)}},model:{value:e.show[t.name],callback:function(a){e.$set(e.show,t.name,a)},expression:"show[item.name]"}})],1):e._e(),"checkbox"==t.type?a("v-uni-view",{staticClass:"text-right flex-1"},[a("u-checkbox-group",{attrs:{shape:"circle","active-color":"#DD4250",name:t.name},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.groupChange(i,t)}}},e._l(t.value,(function(i,n){return a("u-checkbox",{key:n,attrs:{name:i},model:{value:t.checked[n],callback:function(a){e.$set(t.checked,n,a)},expression:"item.checked[key]"}},[e._v(e._s(i))])})),1)],1):e._e(),"text"==t.type?a("v-uni-view",{staticClass:"text-right flex-1"},[a("cus-selects",{attrs:{data:t.value,clearable:!0,filterable:!0,searchType:1,arrLeft:"300",placeholder:"输入搜索"},model:{value:e.info[t.name],callback:function(a){e.$set(e.info,t.name,a)},expression:"info[item.name]"}})],1):e._e()],1):e._e()})),a("v-uni-view",{staticClass:"detail-cell row-between u-border-bottom"},[a("v-uni-view",{staticClass:"bold"},[e._v("验证码")]),a("v-uni-view",{staticClass:"text-right flex-1 flex row-right"},[a("v-uni-input",{attrs:{type:"text",placeholder:"请输入"},model:{value:e.info.code,callback:function(t){e.$set(e.info,"code",t)},expression:"info.code"}}),a("v-uni-image",{staticClass:"m-l-10",staticStyle:{height:"54rpx"},attrs:{src:e.captchaImg,mode:"heightFix"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.refreshCaptcha.apply(void 0,arguments)}}})],1)],1)],2)],1),a("v-uni-view",{staticClass:"footer"},[a("v-uni-button",{staticClass:"white btn lg",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleConsult.apply(void 0,arguments)}}},[e._v("提交")])],1)],1)},o=[]},e8c6:function(e,t,a){"use strict";a.r(t);var i=a("d0a8"),n=a("9b40");for(var o in n)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(o);a("c222");var l=a("f0c5"),r=Object(l["a"])(n["default"],i["b"],i["c"],!1,null,"107f6b42",null,!1,i["a"],void 0);t["default"]=r.exports}}]);
|