(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-form-tovolApply"],{"05fa":function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("5c47"),n("0506"),n("c223"),n("4626"),n("5ac7");var a=i(n("2634")),o=i(n("2fdc")),r=n("cb78"),s=n("7e03"),c={data:function(){this.getDate({format:!0});return{otherjob:"",otherspe:"",loding:!1,array:["男","女"],chooseEdu:["博士后","博士","硕士","本科","专科","其他"],chooseVol:["有","无"],is_experience:[{id:1,name:"有"},{id:2,name:"无"}],chooseExp:["是","否"],days:[{value:"1",name:"早上"},{value:"2",name:"中午"},{value:"3",name:"晚上"}],quantum:"",items:[{value:"1",name:"星期一"},{value:"2",name:"星期二"},{value:"3",name:"星期三"},{value:"4",name:"星期四"},{value:"5",name:"星期五"},{value:"6",name:"星期六"},{value:"7",name:"星期日"}],dates:"",works:[{value:"1",name:"赈灾工作"},{value:"2",name:"救护培训"},{value:"3",name:"护送服务"},{value:"4",name:"编辑及出版"},{value:"5",name:"医疗护理服务"},{value:"6",name:"探访服务"},{value:"7",name:"外语翻译"},{value:"8",name:"调查服务"},{value:"9",name:"联络服务"},{value:"10",name:"宣传及推广"},{value:"11",name:"文书档案工作"},{value:"12",name:"其它(请注明)"}],taste:"",worksText:"",expertise:[{value:"1",name:"医疗护理"},{value:"2",name:"紧急救护"},{value:"3",name:"出版/美术设计"},{value:"4",name:"影音制作"},{value:"5",name:"文艺演出"},{value:"6",name:"网络软件"},{value:"7",name:"摄影摄像"},{value:"8",name:"电脑中文打字"},{value:"9",name:"汽车驾驶"},{value:"10",name:"外语翻译"},{value:"11",name:"法律咨询"},{value:"12",name:"文案策划"},{value:"13",name:"其它(请注明)"}],speciali:"",current:"",is_vol:[{id:1,name:"有"},{id:2,name:"无"}],index:0,email:"",cardimg:"",zip:"",name:"",sex:"请选择你的性别",birth:"请选择你的生日",fillingDate:"",phone:"",mobile:"",address:"",work:"",specialty:"",education:"请选择教育程度",checked1:"",checked:"",expertiseText:"",Getchecked:!1}},computed:{startDate:function(){return this.getDate("start")},endDate:function(){return this.getDate("end")}},methods:{join:function(){var t=this;return(0,o.default)((0,a.default)().mark((function e(){var n,i;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t,""!=n.name){e.next=4;break}return n.$api.msg("请输入您的姓名"),e.abrupt("return");case 4:if(""!=n.sex&&"请选择你的性别"!=n.sex){e.next=7;break}return n.$api.msg("请输入您的性别"),e.abrupt("return");case 7:if(""!=n.birth&&"请选择你的生日"!=n.birth){e.next=10;break}return n.$api.msg("请填写您的生日"),e.abrupt("return");case 10:if(i=/^(\+?0?86-?)?1[\d]\d{9}$/,""!=n.phone){e.next=14;break}return n.$api.msg("请填写您的移动电话"),e.abrupt("return");case 14:if(i.test(n.phone)){e.next=17;break}return n.$api.msg("请填写正确的移动电话"),e.abrupt("return");case 17:if(""!=n.checked1){e.next=20;break}return n.$api.msg("请选择有无服务经验"),e.abrupt("return");case 20:if(""!=n.checked){e.next=23;break}return n.$api.msg("请选择是否接受过志愿者服务"),e.abrupt("return");case 23:if(""!=n.cardimg){e.next=26;break}return n.$api.msg("请上传您的证件"),e.abrupt("return");case 26:if(n.quantum){e.next=29;break}return t.$api.msg("请选择时间段!"),e.abrupt("return");case 29:if(n.dates){e.next=32;break}return t.$api.msg("请选择日期!"),e.abrupt("return");case 32:if(0!=n.Getchecked){e.next=35;break}return t.$api.msg("请阅读并同意个人声明!"),e.abrupt("return");case 35:n.loding=!0,(0,r.add_volunteers)({name:n.name,sex:n.sex,birth:n.birth,picture:n.cardimg,phone:n.phone,mobile:n.mobile,email:n.email,address:n.address,zip:n.zip,work:n.work,specialty:n.specialty,zy:n.zy,education:n.education,is_vol:n.checked,is_experience:n.checked1,quantum:n.quantum,date:n.dates,taste:n.taste,make_taste:n.worksText,speciali:n.speciali,make_speciali:n.expertiseText}).then((function(t){console.log(t),n.sex="请选择你的性别",n.education="请选择你的教育程度",n.birth="请选择你的生日",uni.navigateTo({url:"../joinSuc/joinNow"})})).catch((function(t){console.log("出错了"),console.log(t)}));case 37:case"end":return e.stop()}}),e)})))()},imgsub:function(){var t=this;(0,s.upload)({filename:""}).then((function(e){console.log(e,"12324"),t.cardimg=e[0].url}))},bindPickerSex:function(t){this.sex=this.array[t.target.value],this.index=t.target.value+1},bindPickerEdu:function(t){this.education=this.chooseEdu[t.target.value],this.index=t.target.value+1},bindDateChange:function(t){this.birth=t.target.value},fillingDateChange:function(t){this.fillingDate=t.target.value},bindPickerVol:function(t){this.is_vol=this.chooseVol[t.target.value],this.index=t.target.value+1},radioChange1:function(t){this.checked1=t.detail.value,console.log(this.checked1,"有无服务经验")},radioChange:function(t){this.checked=t.detail.value,console.log(this.checked,"是否受过志愿服务")},Getcheckbox:function(){this.Getchecked=!this.Getchecked},getDate:function(t){var e=new Date,n=e.getFullYear(),i=e.getMonth()+1,a=e.getDate();return"start"===t?n-=60:"end"===t&&(n+=2),i=i>9?i:"0"+i,a=a>9?a:"0"+a,"".concat(n,"-").concat(i,"-").concat(a)},checkboxChange:function(t){for(var e=this.days,n=t.detail.value,i=0,a=e.length;ix;x++)if(w=O(t[x]),w&&u(h,w))return w;return new b(!1)}p=l(t,g)}k=E?t.next:p.next;while(!(_=a(k,p)).done){try{w=O(_.value)}catch(S){f(p,"throw",S)}if("object"==typeof w&&w&&u(h,w))return w}return new b(!1)}},"51b8":function(t,e,n){"use strict";var i=n("2611"),a=n.n(i);a.a},"5d6e":function(t,e,n){"use strict";var i=n("af9e");t.exports=i((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},7658:function(t,e,n){"use strict";var i=n("8bdb"),a=n("85c1"),o=n("bb80"),r=n("8466"),s=n("81a9"),c=n("d0b1"),u=n("5075"),l=n("b720"),d=n("474f"),f=n("1eb8"),v=n("1c06"),b=n("af9e"),h=n("29ba"),p=n("181d"),g=n("dcda");t.exports=function(t,e,n){var x=-1!==t.indexOf("Map"),m=-1!==t.indexOf("Weak"),w=x?"set":"add",k=a[t],_=k&&k.prototype,C=k,y={},E=function(t){var e=o(_[t]);s(_,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(m&&!v(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return m&&!v(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(m&&!v(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})},j=r(t,!d(k)||!(m||_.forEach&&!b((function(){(new k).entries().next()}))));if(j)C=n.getConstructor(e,t,x,w),c.enable();else if(r(t,!0)){var z=new C,$=z[w](m?{}:-0,1)!==z,D=b((function(){z.has(1)})),O=h((function(t){new k(t)})),S=!m&&b((function(){var t=new k,e=5;while(e--)t[w](e,e);return!t.has(-0)}));O||(C=e((function(t,e){l(t,_);var n=g(new k,t,C);return f(e)||u(e,n[w],{that:n,AS_ENTRIES:x}),n})),C.prototype=_,_.constructor=C),(D||S)&&(E("delete"),E("has"),x&&E("get")),(S||$)&&E(w),m&&_.clear&&delete _.clear}return y[t]=C,i({global:!0,constructor:!0,forced:C!==k},y),p(C,t),m||n.setStrong(C,t,x),C}},"7e03":function(t,e,n){"use strict";n("6a54");var i=n("3639").default;Object.defineProperty(e,"__esModule",{value:!0}),e.MyDonaList=function(t){return(0,a.default)({url:"/api/my_donate",method:"get",data:t})},e.addrescuer=function(t){return(0,a.default)({url:"/api/add_rescuer",method:"post",data:t})},e.articlesave=function(t){return(0,a.default)({url:"/api/circle/articlesave",method:"post",data:t})},e.chosintention=function(t){return(0,a.default)({url:"/api/intention",method:"get",data:t})},e.getCertificate=function(t){return(0,a.default)({url:"/api/detail_training",method:"get",data:t})},e.getDonaList=function(t){return(0,a.default)({url:"/api/bulletin",method:"get",data:t})},e.joinDona=function(t){return(0,a.default)({url:"/api/intention",method:"get",data:t})},e.mechanism=function(t){return(0,a.default)({url:"/api/mechanism",method:"get",data:t})},e.myarticle=function(t){return(0,a.default)({url:"/api/circle/myarticle",method:"post",data:t})},e.myreplylist=function(t){return(0,a.default)({url:"/api/a_list",method:"get",data:t})},e.replyask=function(t){return(0,a.default)({url:"/api/add_a",method:"post",data:t})},e.replylist=function(t){return(0,a.default)({url:"/api/q_list",method:"get",data:t})},e.upload=function(t){return(0,a.upFilse)({url:"/api/upload/image",method:"post",data:t})};var a=i(n("b17f"))},b110:function(t,e,n){"use strict";n.r(e);var i=n("ebe84"),a=n("0fa8");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("51b8");var r=n("828b"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"4bcf04eb",null,!1,i["a"],void 0);e["default"]=s.exports},b3e2:function(t,e,n){"use strict";var i,a=n("c238"),o=n("85c1"),r=n("bb80"),s=n("a74c"),c=n("d0b1"),u=n("7658"),l=n("d871c"),d=n("1c06"),f=n("235c").enforce,v=n("af9e"),b=n("a20b"),h=Object,p=Array.isArray,g=h.isExtensible,x=h.isFrozen,m=h.isSealed,w=h.freeze,k=h.seal,_=!o.ActiveXObject&&"ActiveXObject"in o,C=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},y=u("WeakMap",C,l),E=y.prototype,j=r(E.set);if(b)if(_){i=l.getConstructor(C,"WeakMap",!0),c.enable();var z=r(E["delete"]),$=r(E.has),D=r(E.get);s(E,{delete:function(t){if(d(t)&&!g(t)){var e=f(this);return e.frozen||(e.frozen=new i),z(this,t)||e.frozen["delete"](t)}return z(this,t)},has:function(t){if(d(t)&&!g(t)){var e=f(this);return e.frozen||(e.frozen=new i),$(this,t)||e.frozen.has(t)}return $(this,t)},get:function(t){if(d(t)&&!g(t)){var e=f(this);return e.frozen||(e.frozen=new i),$(this,t)?D(this,t):e.frozen.get(t)}return D(this,t)},set:function(t,e){if(d(t)&&!g(t)){var n=f(this);n.frozen||(n.frozen=new i),$(this,t)?j(this,t,e):n.frozen.set(t,e)}else j(this,t,e);return this}})}else(function(){return a&&v((function(){var t=w([]);return j(new y,t,1),!x(t)}))})()&&s(E,{set:function(t,e){var n;return p(t)&&(x(t)?n=w:m(t)&&(n=k)),j(this,t,e),n&&n(t),this}})},c238:function(t,e,n){"use strict";var i=n("af9e");t.exports=!i((function(){return Object.isExtensible(Object.preventExtensions({}))}))},c27c:function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-4bcf04eb]{background-color:#fff}body.?%PAGE?%[data-v-4bcf04eb]{background-color:#fff}.content .top[data-v-4bcf04eb]{width:100%;height:%?368?%}.content .top uni-image[data-v-4bcf04eb]{width:100%;height:%?368?%}.content .info-box[data-v-4bcf04eb]{text-indent:%?64?%;margin:%?12?% 0 %?54?%;padding:0 %?32?% %?20?%;width:100%;display:flex;flex-direction:column;border-radius:%?25?%;color:#e63931}.content .statement[data-v-4bcf04eb]{background-color:#fff;border-radius:%?12?%}.content .statement .title[data-v-4bcf04eb]{height:%?84?%;display:flex;justify-content:center;align-items:center;font-size:%?32?%;border-bottom:%?2?% dotted #f3f3f3}.content .statement .main[data-v-4bcf04eb]{padding:%?24?%;text-indent:%?48?%;color:#666;font-weight:400}.content .buttom[data-v-4bcf04eb]{width:100%;height:%?100?%;background:#df2412;margin:%?50?% auto 0;font-size:%?36?%;font-weight:400;color:#fff;line-height:%?100?%;text-align:center}.content .buttom.action[data-v-4bcf04eb]{background:#999}.content .box[data-v-4bcf04eb]{background-color:#fff;border-radius:%?10?%;padding:%?28?% %?32?% %?84?% %?32?%;position:relative}.content .box .box-check[data-v-4bcf04eb]{font-size:%?28?%;font-weight:500;color:#666;line-height:%?100?%}.content .box .imp[data-v-4bcf04eb]{color:red;margin-left:%?5?%}.content .box .check-box[data-v-4bcf04eb]{margin:%?44?% %?0?%;padding:%?25?% %?25?%;border:%?3?% solid #e9b2af;width:100%;display:flex;flex-direction:column;border-radius:%?25?%;color:#e63931}.content .box .check-box .info[data-v-4bcf04eb]{margin-bottom:%?32?%;text-align:center}.content .box .check-box .chooseTim[data-v-4bcf04eb]{text-align:center;font-size:%?42?%}.content .box .check-box .choose-job[data-v-4bcf04eb]{color:#666}.content .box .check-box .choose-job .goods_check[data-v-4bcf04eb]{display:flex;flex-direction:column}.content .box .check-box .choose-job .other[data-v-4bcf04eb]{width:100%;border-bottom:%?2?% solid #f3f3f3}.content .box .check-box .box-cent[data-v-4bcf04eb]{font-size:%?28?%;font-weight:500;color:#666;display:flex}.content .box .check-box .box-cent .cent-left[data-v-4bcf04eb]{margin-right:%?28?%}.content .box .check-box .box-cent .cent-left .left-txt[data-v-4bcf04eb]{line-height:%?100?%}.content .box .check-box .box-cent .cent-right[data-v-4bcf04eb]{flex:1;display:flex;justify-content:space-around}.content .box .check-box .box-cent .cent-right .right-check[data-v-4bcf04eb]{line-height:%?100?%}.content .box .box-1[data-v-4bcf04eb]{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:%?42?%}.content .box .box-1 .box-left[data-v-4bcf04eb]{padding-left:%?2?%;width:50%;text-align:left;color:#000}.content .box .box-1 uni-input[data-v-4bcf04eb]{height:%?66?%;line-height:%?66?%}.content .box .box-1 .list-input[data-v-4bcf04eb]{padding-left:%?24?%;font-size:%?28?%;display:flex;align-items:center;width:50%;flex:1;color:#000;text-align:right;padding-right:%?24?%}.content .box .box-1 .list-input .input-placeholder[data-v-4bcf04eb]{height:%?70?%;color:#959595}.content .box .box-1 .box-right[data-v-4bcf04eb]{display:flex;padding-left:%?24?%;height:%?66?%;line-height:%?66?%;border-radius:%?22?%;width:100%;padding-right:%?24?%;font-size:%?28?%;color:#959595;text-align:right!important}.content .box .upload-box[data-v-4bcf04eb]{width:100%;height:%?247?%;background:#fff;border-radius:%?27?%;display:flex;flex-direction:column;padding:%?30?% %?40?% %?30?% 0;margin:%?42?% auto %?30?%}.content .box .upload-box .upload-left[data-v-4bcf04eb]{font-weight:400;color:#000}.content .box .upload-box .upload-right[data-v-4bcf04eb]{flex:1;display:flex;align-items:center;justify-content:center}.content .box .upload-box .upload-right .upload-img[data-v-4bcf04eb]{width:%?150?%;height:%?150?%;margin-top:%?24?%}.content .flex_item[data-v-4bcf04eb]{display:flex;align-items:center}.content .radio-list[data-v-4bcf04eb]{display:flex;flex-wrap:wrap;font-size:%?28?%;padding-top:%?30?%;color:#000}.content .radio-list .uni-label-pointer[data-v-4bcf04eb]{padding-right:%?25?%;padding-bottom:%?30?%}.content .check_box[data-v-4bcf04eb]{padding:%?25?% %?25?%;font-size:%?28?%}.content .list-box[data-v-4bcf04eb]{background-color:#fff;font-size:%?28?%;width:100%;height:100%;border-top:%?15?% solid #f2f2f2;color:#222}.content .list-box .worksInput[data-v-4bcf04eb]{margin-bottom:%?35?%;border:%?2?% solid #979797;width:100%;height:%?70?%;line-height:%?70?%;padding:%?0?% %?25?%;border-radius:%?15?%}.content .list-box .list-title[data-v-4bcf04eb]{color:#000;text-align:center;padding:%?30?% %?0?%;font-size:%?34?%;font-weight:500;border-bottom:%?2?% dashed #b5b5b5}.content .list-box .tip[data-v-4bcf04eb]{color:#000;padding-top:%?25?%;width:100%;text-align:center}.content .list-box .icon[data-v-4bcf04eb]{color:red;margin-left:%?5?%}',""]),t.exports=e},cb78:function(t,e,n){"use strict";n("6a54");var i=n("3639").default;Object.defineProperty(e,"__esModule",{value:!0}),e.add_volunteers=function(t){return(0,a.default)({url:"/api/add_registration",method:"post",data:t})},e.bannerlist=function(t){return(0,a.default)({url:"/api/article/list/1",method:"get",data:t})},e.change_rescue=function(t){return(0,a.default)({url:"/api/change_rescue",method:"get",data:t})},e.deleteList=function(t){return(0,a.default)({url:"/api/del_resc",method:"get",data:t})},e.getDistance=function(t){return(0,a.default)({url:"/api/aeddiss",method:"get",data:t})},e.getList=function(t){return(0,a.default)({url:"/api/sign_cell",method:"post",data:t})},e.getListAED=function(t){return(0,a.default)({url:"/api/getAed",method:"get",data:t})},e.getNumber=function(t){return(0,a.default)({url:"/api/get_rescuer",method:"get",data:t})},e.getcomAddress=function(t){return(0,a.default)({url:"/api/get_commonly",method:"get",data:t})},e.getdis=function(t){return(0,a.default)({url:"/api/getdis",method:"get",data:t})},e.getrescue=function(t){return(0,a.default)({url:"/api/rescueee",method:"get",data:t})},e.getseek=function(t){return(0,a.default)({url:"/api/seek",method:"get",data:t})},e.groom1=function(t){return(0,a.default)({url:"/api/groom/list/1",method:"get",data:t})},e.groom3=function(t){return(0,a.default)({url:"/api/groom/list/3",method:"get",data:t})},e.groom4=function(t){return(0,a.default)({url:"/api/groom/list/4",method:"get",data:t})},e.itemList=function(t){return(0,a.default)({url:"/api/article/list/4",method:"get",data:t})},e.joinSec=function(t){return(0,a.default)({url:"/api/add_volunteers",method:"post",data:t})},e.joinSecc=function(t){return(0,a.default)({url:"/api/add_donation",method:"post",data:t})},e.loadIndexs=function(t){return(0,a.default)({url:"/api/index",method:"get",data:t})},e.myCreateCircle=function(t){return(0,a.default)({url:"/api/circle/mycreate",method:"post",data:t})},e.tocall=function(t){return(0,a.default)({url:"/api/do_getdis",method:"get",data:t})},e.training=function(t){return(0,a.default)({url:"/api/training",method:"get",data:t})},e.upload=function(t){return(0,a.upFilse)({url:"/api/upload/image",method:"post",data:t})};var a=i(n("b17f"))},d0af:function(t,e,n){"use strict";n("b3e2")},d0b1:function(t,e,n){"use strict";var i=n("8bdb"),a=n("bb80"),o=n("11bf"),r=n("1c06"),s=n("338c"),c=n("d6b1").f,u=n("80bb"),l=n("8449"),d=n("1ea2"),f=n("d7b4"),v=n("c238"),b=!1,h=f("meta"),p=0,g=function(t){c(t,h,{value:{objectID:"O"+p++,weakData:{}}})},x=t.exports={enable:function(){x.enable=function(){},b=!0;var t=u.f,e=a([].splice),n={};n[h]=1,t(n).length&&(u.f=function(n){for(var i=t(n),a=0,o=i.length;a