(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-form-tovolApply"],{"10d1":function(e,t,i){"use strict";var n,a=i("da84"),o=i("e2cc"),r=i("f183"),s=i("6d61"),l=i("acac"),c=i("861d"),u=i("69f3").enforce,d=i("7f9a"),v=!a.ActiveXObject&&"ActiveXObject"in a,f=Object.isExtensible,b=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},h=e.exports=s("WeakMap",b,l);if(d&&v){n=l.getConstructor(b,"WeakMap",!0),r.REQUIRED=!0;var p=h.prototype,x=p["delete"],m=p.has,g=p.get,k=p.set;o(p,{delete:function(e){if(c(e)&&!f(e)){var t=u(this);return t.frozen||(t.frozen=new n),x.call(this,e)||t.frozen["delete"](e)}return x.call(this,e)},has:function(e){if(c(e)&&!f(e)){var t=u(this);return t.frozen||(t.frozen=new n),m.call(this,e)||t.frozen.has(e)}return m.call(this,e)},get:function(e){if(c(e)&&!f(e)){var t=u(this);return t.frozen||(t.frozen=new n),m.call(this,e)?g.call(this,e):t.frozen.get(e)}return g.call(this,e)},set:function(e,t){if(c(e)&&!f(e)){var i=u(this);i.frozen||(i.frozen=new n),m.call(this,e)?k.call(this,e,t):i.frozen.set(e,t)}else k.call(this,e,t);return this}})}},2452:function(e,t,i){var n=i("e00f0");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=i("4f06").default;a("2e87f62f",n,!0,{sourceMap:!1,shadowMode:!1})},"3b21":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM4AAADOCAMAAABBwc32AAACAVBMVEUAAAD///+AgICqqqqAgICZmZl/f3+SkpKOjo6AgIB/f3+AgICIiIiPj4+Hh4eOjo6GhoaMjIyLi4uFhYWKioqFhYWJiYmEhISJiYmEhISIiIiMjIyHh4eHh4eKioqGhoaJiYmGhoaFhYWIiIiLi4uIiIiKioqHh4eKioqHh4eHh4eJiYmJiYmIiIiIiIiIiIiKioqHh4eJiYmJiYmHh4eJiYmI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.defineProperty(t,"__esModule",{value:!0}),t.loadIndexs=o,t.bannerlist=r,t.itemList=s,t.upload=l,t.groom4=c,t.groom1=u,t.groom3=d,t.myCreateCircle=v,t.getList=f,t.getNumber=b,t.add_volunteers=h,t.joinSec=p,t.joinSecc=x,t.getdis=m,t.tocall=g,t.training=k,t.getseek=w,t.getcomAddress=I,t.getrescue=y,t.change_rescue=C,t.getListAED=_,t.getListMechanism=A,t.getDistance=E,t.deleteList=j;var a=n(i("8752"));function o(e){return(0,a.default)({url:"/api/index",method:"get",data:e})}function r(e){return(0,a.default)({url:"/api/article/list/1",method:"get",data:e})}function s(e){return(0,a.default)({url:"/api/article/list/4",method:"get",data:e})}function l(e){return(0,a.upFilse)({url:"/api/upload/image",method:"post",data:e})}function c(e){return(0,a.default)({url:"/api/groom/list/4",method:"get",data:e})}function u(e){return(0,a.default)({url:"/api/groom/list/1",method:"get",data:e})}function d(e){return(0,a.default)({url:"/api/groom/list/3",method:"get",data:e})}function v(e){return(0,a.default)({url:"/api/circle/mycreate",method:"post",data:e})}function f(e){return(0,a.default)({url:"/api/sign_cell",method:"post",data:e})}function b(e){return(0,a.default)({url:"/api/get_rescuer",method:"get",data:e})}function h(e){return(0,a.default)({url:"/api/add_registration",method:"post",data:e})}function p(e){return(0,a.default)({url:"/api/add_volunteers",method:"post",data:e})}function x(e){return(0,a.default)({url:"/api/add_donation",method:"post",data:e})}function m(e){return(0,a.default)({url:"/api/getdis",method:"get",data:e})}function g(e){return(0,a.default)({url:"/api/do_getdis",method:"get",data:e})}function k(e){return(0,a.default)({url:"/api/training",method:"get",data:e})}function w(e){return(0,a.default)({url:"/api/seek",method:"get",data:e})}function I(e){return(0,a.default)({url:"/api/get_commonly",method:"get",data:e})}function y(e){return(0,a.default)({url:"/api/rescueee",method:"get",data:e})}function C(e){return(0,a.default)({url:"/api/change_rescue",method:"get",data:e})}function _(e){return(0,a.default)({url:"/api/getAed",method:"get",data:e})}function A(e){return(0,a.default)({url:"/api/mechanism",method:"get",data:e})}function E(e){return(0,a.default)({url:"/api/aeddiss",method:"get",data:e})}function j(e){return(0,a.default)({url:"/api/del_resc",method:"get",data:e})}},"6d61":function(e,t,i){"use strict";var n=i("23e7"),a=i("da84"),o=i("94ca"),r=i("6eeb"),s=i("f183"),l=i("2266"),c=i("19aa"),u=i("861d"),d=i("d039"),v=i("1c7e"),f=i("d44e"),b=i("7156");e.exports=function(e,t,i){var h=-1!==e.indexOf("Map"),p=-1!==e.indexOf("Weak"),x=h?"set":"add",m=a[e],g=m&&m.prototype,k=m,w={},I=function(e){var t=g[e];r(g,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(p&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return p&&!u(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(p&&!u(e))&&t.call(this,0===e?0:e)}:function(e,i){return t.call(this,0===e?0:e,i),this})};if(o(e,"function"!=typeof m||!(p||g.forEach&&!d((function(){(new m).entries().next()})))))k=i.getConstructor(t,e,h,x),s.REQUIRED=!0;else if(o(e,!0)){var y=new k,C=y[x](p?{}:-0,1)!=y,_=d((function(){y.has(1)})),A=v((function(e){new m(e)})),E=!p&&d((function(){var e=new m,t=5;while(t--)e[x](t,t);return!e.has(-0)}));A||(k=t((function(t,i){c(t,k,e);var n=b(new m,t,k);return void 0!=i&&l(i,n[x],n,h),n})),k.prototype=g,g.constructor=k),(_||E)&&(I("delete"),I("has"),h&&I("get")),(E||C)&&I(x),p&&g.clear&&delete g.clear}return w[e]=k,n({global:!0,forced:k!=m},w),f(k,e),p||i.setStrong(k,e,h),k}},7037:function(e,t,i){function n(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}i("a4d3"),i("e01a"),i("d28b"),i("d3b7"),i("3ca3"),i("ddb0"),e.exports=n},8820:function(e,t,i){"use strict";var n=i("4ea4");i("99af"),i("caad"),i("a15b"),i("2532"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("96cf");var a=n(i("1da1")),o=i("64ea"),r=i("91a9"),s={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 e=this;return(0,a.default)(regeneratorRuntime.mark((function t(){var i,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e,""!=i.name){t.next=4;break}return i.$api.msg("请输入您的姓名"),t.abrupt("return");case 4:if(""!=i.sex&&"请选择你的性别"!=i.sex){t.next=7;break}return i.$api.msg("请输入您的性别"),t.abrupt("return");case 7:if(""!=i.birth&&"请选择你的生日"!=i.birth){t.next=10;break}return i.$api.msg("请填写您的生日"),t.abrupt("return");case 10:if(n=/^(\+?0?86-?)?1[\d]\d{9}$/,""!=i.phone){t.next=14;break}return i.$api.msg("请填写您的移动电话"),t.abrupt("return");case 14:if(n.test(i.phone)){t.next=17;break}return i.$api.msg("请填写正确的移动电话"),t.abrupt("return");case 17:if(""!=i.checked1){t.next=20;break}return i.$api.msg("请选择有无服务经验"),t.abrupt("return");case 20:if(""!=i.checked){t.next=23;break}return i.$api.msg("请选择是否接受过志愿者服务"),t.abrupt("return");case 23:if(""!=i.cardimg){t.next=26;break}return i.$api.msg("请上传您的证件"),t.abrupt("return");case 26:if(i.quantum){t.next=29;break}return e.$api.msg("请选择时间段!"),t.abrupt("return");case 29:if(i.dates){t.next=32;break}return e.$api.msg("请选择日期!"),t.abrupt("return");case 32:if(0!=i.Getchecked){t.next=35;break}return e.$api.msg("请阅读并同意个人声明!"),t.abrupt("return");case 35:i.loding=!0,(0,o.add_volunteers)({name:i.name,sex:i.sex,birth:i.birth,picture:i.cardimg,phone:i.phone,mobile:i.mobile,email:i.email,address:i.address,zip:i.zip,work:i.work,specialty:i.specialty,zy:i.zy,education:"请选择教育程度"==i.education?"":i.education,is_vol:i.checked,is_experience:i.checked1,quantum:i.quantum,date:i.dates,taste:i.taste,make_taste:i.worksText,speciali:i.speciali,make_speciali:i.expertiseText}).then((function(e){i.sex="请选择你的性别",i.education="请选择教育程度",i.birth="请选择你的生日",uni.navigateTo({url:"../joinSuc/joinNow"})})).catch((function(e){console.log("出错了"),console.log(e)}));case 37:case"end":return t.stop()}}),t)})))()},imgsub:function(){var e=this;console.log("imgsub"),(0,r.upload)({filename:""}).then((function(t){e.cardimg=t[0].url}))},bindPickerSex:function(e){this.sex=this.array[e.target.value],this.index=e.target.value+1},bindPickerEdu:function(e){this.education=this.chooseEdu[e.target.value],this.index=e.target.value+1},bindDateChange:function(e){this.birth=e.target.value},fillingDateChange:function(e){this.fillingDate=e.target.value},bindPickerVol:function(e){this.is_vol=this.chooseVol[e.target.value],this.index=e.target.value+1},radioChange1:function(e){this.checked1=e.detail.value,console.log(this.checked1,"有无服务经验")},radioChange:function(e){this.checked=e.detail.value,console.log(this.checked,"是否受过志愿服务")},Getcheckbox:function(){var e=this;e.Getchecked=!e.Getchecked},getDate:function(e){var t=new Date,i=t.getFullYear(),n=t.getMonth()+1,a=t.getDate();return"start"===e?i-=60:"end"===e&&(i+=2),n=n>9?n:"0"+n,a=a>9?a:"0"+a,"".concat(i,"-").concat(n,"-").concat(a)},checkboxChange:function(e){for(var t=this.days,i=e.detail.value,n=0,a=t.length;n