You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
20 KiB
1 lines
20 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["technician-pages-apply"],{"01c7":function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.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/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.apply-info-box[data-v-3343ef9e]{width:100%;height:%?2050?%}.apply-info-box .bg-1[data-v-3343ef9e]{width:%?750?%;height:%?1999?%;top:0;left:0;z-index:1}.apply-info-box .bg-2[data-v-3343ef9e]{width:%?750?%;height:%?620?%;top:%?30?%;z-index:2}.apply-info-box .technician-money[data-v-3343ef9e]{width:%?45?%;top:%?355?%;left:%?460?%;z-index:3}.apply-info-box .join-us[data-v-3343ef9e]{width:%?668?%;height:%?1351?%;top:%?468?%;left:%?44?%;z-index:2}.apply-info-box .join-us .item-input[data-v-3343ef9e]{height:%?74?%;border:%?4?% solid #069f5e}.apply-info-box .join-us .item-input .flex-between[data-v-3343ef9e]{height:%?74?%}.apply-info-box .join-us .item-input.text[data-v-3343ef9e]{height:%?82?%}.apply-info-box .submit[data-v-3343ef9e]{width:%?662?%;height:%?93?%;top:%?1900?%;left:%?47?%;z-index:2}',""]),t.exports=e},"4bbc":function(t,e,i){var n=i("01c7");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("167c65da",n,!0,{sourceMap:!1,shadowMode:!1})},"4f2a":function(t,e,i){"use strict";i.r(e);var n=i("e979"),a=i("64ed");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("70fa");var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"3343ef9e",null,!1,n["a"],void 0);e["default"]=s.exports},"64ed":function(t,e,i){"use strict";i.r(e);var n=i("f695"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"70fa":function(t,e,i){"use strict";var n=i("4bbc"),a=i.n(n);a.a},e979:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.isLoad?i("v-uni-view",{staticClass:"apply-pages"},[t.options.admin_id&&-1!=t.coach_status||!t.options.admin_id&&[1,2,3].includes(t.coach_status)?i("v-uni-view",{staticClass:"page-height"},[i("abnor",{attrs:{percent:"150%",title:t.title[t.coach_status],tip:t.tipArr[t.coach_status],button:t.buttonArr[t.coach_status],image:t.image[t.coach_status],tipMax:4==t.coach_status?"690rpx":""},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.$util.goUrl({url:"/pages/mine",openType:"reLaunch"})}}})],1):[i("v-uni-view",{staticClass:"apply-info-box rel",style:{background:t.primaryColor}},[i("v-uni-image",{staticClass:"bg-1 abs",attrs:{src:"https://lbqny.migugu.com/admin/anmo/apply/bg-1.png"}}),i("v-uni-image",{staticClass:"bg-2 abs",attrs:{src:"https://lbqny.migugu.com/admin/anmo/apply/bg-2.png"}}),i("v-uni-view",{staticClass:"technician-money flex-center f-md-title c-title text-bold abs"},[t._v(t._s(t.max_level||0))]),i("v-uni-image",{staticClass:"join-us abs",attrs:{src:"https://lbqny.migugu.com/admin/anmo/apply/join-us.png"}}),i("v-uni-view",{staticClass:"join-us pd-lg abs",staticStyle:{"z-index":"3"}},[i("v-uni-view",{staticStyle:{height:"90rpx"}}),i("v-uni-view",{staticClass:"f-title c-title text-bold"},[t._v("您的姓名")]),i("v-uni-input",{staticClass:"item-input fill-base f-mini-title c-title mt-sm pl-lg pr-lg radius-10",style:{borderColor:t.primaryColor},attrs:{type:"text",maxlength:"20","placeholder-class":"c-caption",placeholder:t.rule[0].errorMsg},model:{value:t.form.coach_name,callback:function(e){t.$set(t.form,"coach_name",e)},expression:"form.coach_name"}}),i("v-uni-view",{staticClass:"mt-md f-title c-title text-bold"},[t._v("您的性别")]),i("v-uni-view",{staticClass:"flex-y-center mt-sm"},t._l(["男","女"],(function(e,n){return i("v-uni-view",{key:n,staticClass:"flex-y-center f-mini-title c-title",style:{color:t.form.sex==n?t.primaryColor:"",marginRight:0===n?"80rpx":""},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.form.sex=n}}},[i("i",{staticClass:"iconfont mr-sm",class:[{"icon-xuanze":t.form.sex!=n},{"icon-radio-fill":t.form.sex==n}]}),t._v(t._s(e))])})),1),i("v-uni-view",{staticClass:"mt-md f-title c-title text-bold"},[t._v("您的生日")]),i("v-uni-view",{staticClass:"item-input fill-base text f-mini-title c-title mt-sm pl-lg pr-md radius-10",style:{borderColor:t.primaryColor}},[i("v-uni-picker",{attrs:{mode:"date",end:t.endYear,value:t.form.birthday},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.pickerChange(e,"birthday")}}},[i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"max-400 ellipsis"},[t._v(t._s(t.form.birthday||"请选择"))]),i("i",{staticClass:"iconfont icon-right ml-sm",staticStyle:{"font-size":"28rpx"}})],1)],1)],1),i("v-uni-view",{staticClass:"mt-md f-title c-title text-bold"},[t._v("手机号")]),i("v-uni-view",{staticClass:"item-input fill-base f-mini-title c-title mt-sm pl-lg pr-lg radius-10",staticStyle:{height:"auto","min-height":"82rpx"},style:{borderColor:t.primaryColor}},[i("v-uni-input",{staticStyle:{"margin-top":"15rpx"},attrs:{type:"text",maxlength:"11","placeholder-class":"c-caption",placeholder:t.rule[2].errorMsg},model:{value:t.form.mobile,callback:function(e){t.$set(t.form,"mobile",e)},expression:"form.mobile"}}),t.configInfo.short_code_status?i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-input",{style:{borderColor:t.primaryColor},attrs:{type:"text",maxlength:"6","placeholder-class":"c-caption",placeholder:"请输入验证码"},model:{value:t.form.short_code,callback:function(e){t.$set(t.form,"short_code",e)},expression:"form.short_code"}}),i("v-uni-view",{style:{color:t.primaryColor},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toSend.apply(void 0,arguments)}}},[t._v(t._s(t.authTime>0?"重新获取("+t.authTime+"s)":"获取验证码"))])],1):t._e()],1),i("v-uni-view",{staticClass:"mt-md f-title c-title text-bold"},[t._v("意向工作城市")]),i("v-uni-view",{staticClass:"item-input fill-base text f-mini-title c-title mt-sm pl-lg pr-md radius-10",style:{borderColor:t.primaryColor}},[i("v-uni-picker",{attrs:{value:t.cityIndex,range:t.cityList,"range-key":"title"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.pickerChange(e,"city")}}},[i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"max-400 ellipsis"},[t._v(t._s(-1!=t.cityIndex?t.cityList[t.cityIndex].title:"请选择"))]),i("i",{staticClass:"iconfont icon-right ml-sm",staticStyle:{"font-size":"28rpx"}})],1)],1)],1),t.configInfo.plugAuth.store&&t.form.admin_id?[i("v-uni-view",{staticClass:"mt-md f-title c-title text-bold"},[t._v("挂靠门店")]),i("v-uni-view",{staticClass:"item-input fill-base text f-mini-title c-title mt-sm pl-lg pr-md radius-10",style:{borderColor:t.primaryColor}},[i("v-uni-picker",{attrs:{value:t.storeIndex,range:t.storeList,"range-key":"title"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.pickerChange(e,"store")}}},[i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"max-400 ellipsis"},[t._v(t._s(-1!=t.storeIndex?t.storeList[t.storeIndex].title:"请选择"))]),i("i",{staticClass:"iconfont icon-right ml-sm",staticStyle:{"font-size":"28rpx"}})],1)],1)],1)]:t._e(),i("v-uni-view",{staticClass:"flex-y-baseline mt-md"},[i("v-uni-view",{staticClass:"f-title c-title text-bold"},[t._v("工作形象照")]),i("v-uni-view",{staticClass:"f-caption c-caption ml-sm"},[t._v("图片建议尺寸: 750 * 750")])],1),i("v-uni-view",{staticClass:"f-caption c-caption mt-sm"},[t._v("请上传本人近期照片,图片大小不超过10M")]),i("v-uni-view",{staticClass:"flex-between mt-sm"},[i("upload",{attrs:{imagelist:t.form.work_img,imgtype:"work_img",text:"上传图片",imgsize:1,imgclass:"apply"},on:{upload:function(e){arguments[0]=e=t.$handleEvent(e),t.imgUpload.apply(void 0,arguments)}}})],1)],2),i("v-uni-view",{staticClass:"flex-center f-caption c-title abs",staticStyle:{width:"100%",top:"1842rpx",left:"0"}},[t._v("平台不会通过任何渠道泄露您的个人信息,请放心输入")]),i("v-uni-image",{staticClass:"submit abs",attrs:{src:"https://lbqny.migugu.com/admin/anmo/apply/submit.png"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.submit.apply(void 0,arguments)}}})],1)]],2):t._e()},a=[]},f695:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("bf0f"),i("18f7"),i("de6c"),i("fd3c"),i("dd2b"),i("bd06"),i("c223"),i("3efd"),i("5c47"),i("0506");var a=n(i("5de6")),r=n(i("9b1b")),o=n(i("2634")),s=n(i("2fdc")),l=n(i("13f3")),c=i("8f59"),u={components:{wPicker:l.default},data:function(){return{isLoad:!1,options:{},cityList:[],cityIndex:-1,storeList:[],storeIndex:0,tipArr:{1:[{text:"审核成功后将直接入驻平台",color:0}],2:[{text:"恭喜您,审核通过!",color:0},{text:"快去管理订单吧",color:0}],3:[{text:"平台管理员已取消授权",color:0}],4:[{text:"请联系平台管理人员询问原因",color:0}]},buttonArr:{1:[{text:"个人中心",type:"cancel"}],2:[{text:"去管理",type:"confirm"}],3:[{text:"个人中心",type:"cancel"}],4:[{text:"再次申请",type:"confirm"},{text:"个人中心",type:"cancel"}]},title:{1:"等待审核",2:"您已经是"+this.$t("action.attendantName")+"了",3:"取消授权",4:"申请失败"},image:{1:"https://lbqny.migugu.com/admin/public/apply_wait.jpg",2:"https://lbqny.migugu.com/admin/public/apply_suc.jpg",3:"https://lbqny.migugu.com/admin/public/apply_fail.jpg",4:"https://lbqny.migugu.com/admin/public/apply_fail.jpg"},coach_status:-1,max_level:0,authTime:0,timer:null,form:{id:0,admin_id:0,partner_id:0,coach_name:"",mobile:"",short_code:"",sex:0,birthday:"",work_time:"",city_id:"",store_id:"",lng:"",lat:"",address:"",text:"",id_code:"",id_card:[],license:[],work_img:[],self_img:[],video:[]},rule:[{name:"coach_name",checkType:"isNotNull",errorMsg:"输入您的姓名",regType:2},{name:"birthday",checkType:"isNotNull",errorMsg:"请选择您的生日",regType:2},{name:"mobile",checkType:"isMobile",errorMsg:"输入手机号"},{name:"city_id",checkType:"isNotNull",errorMsg:"请选择意向工作城市"},{name:"work_img",checkType:"isNotNull",errorMsg:"请上传工作形象照"}],lockTap:!1}},computed:(0,c.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},userInfo:function(t){return t.user.userInfo},location:function(t){return t.user.location}}),onLoad:function(t){var e=this;return(0,s.default)((0,o.default)().mark((function i(){var n,a,r,s,l,c;return(0,o.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n=t,a=n.admin_id,r=void 0===a?0:a,s=n.partner_id,l=void 0===s?0:s,!r&&!l){i.next=7;break}return i.next=4,e.updateCommonOptions(t);case 4:i.t0=i.sent,i.next=8;break;case 7:i.t0=t;case 8:return t=i.t0,e.options=t,e.form.admin_id=r,e.form.partner_id=l,e.$util.showLoading(),i.next=15,e.initIndex();case 15:c=e.coach_status,uni.setNavigationBarTitle({title:-1==c?"申请"+e.$t("action.attendantName"):""}),e.isLoad=!0;case 18:case"end":return i.stop()}}),i)})))()},onUnload:function(){this.timer&&clearInterval(this.timer)},methods:(0,r.default)((0,r.default)((0,r.default)({},(0,c.mapActions)(["getConfigInfo","getUserInfo","updateCommonOptions"])),(0,c.mapMutations)(["updateUserItem"])),{},{initIndex:function(){var t=arguments,e=this;return(0,s.default)((0,o.default)().mark((function i(){var n,r,s,l,c,u,d,p,f,m,h,v,g,x,b,y;return(0,o.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n=t.length>0&&void 0!==t[0]&&t[0],n||!e.$jweixin.isWechat()){i.next=5;break}return i.next=4,e.$jweixin.initJssdk();case 4:e.$jweixin.wxReady((function(){e.$jweixin.hideOptionMenu()}));case 5:if(e.configInfo.id&&e.configInfo.hasOwnProperty("plugAuth")&&(!e.configInfo.hasOwnProperty("plugAuth")||e.configInfo.plugAuth.hasOwnProperty("store"))&&!n){i.next=8;break}return i.next=8,e.getConfigInfo();case 8:return i.next=10,e.getCityList();case 10:return i.next=12,Promise.all([e.$api.technician.coachInfo(),e.getStoreList()]);case 12:if(r=i.sent,s=(0,a.default)(r,1),l=s[0],e.$util.setNavigationBarColor({bg:e.primaryColor}),e.max_level=l.max_level,!l||l.id){i.next=20;break}return e.$util.hideAll(),i.abrupt("return");case 20:for(v in c=["id_card","license","self_img"],c.map((function(t){l[t]=l[t]&&l[t].length>0?l[t].map((function(t){return{path:t}})):[]})),l.id_card&&l.id_card.length>1&&(l.id_card_fan=[l.id_card[1]],l.id_card_people=[l.id_card[2]],l.id_card.splice(1,3)),u=["work_img","video"],u.map((function(t){l[t]=l[t]&&l[t].length>0?[{path:l[t]}]:[]})),l.birthday=l.birthday?e.$util.formatTime(1e3*l.birthday,"YY-M-D"):"",d=e.options,p=d.admin_id,f=void 0===p?0:p,m=d.partner_id,h=void 0===m?0:m,f&&(l.admin_id=f),h&&(l.partner_id=h),e.form)e.form[v]=l[v];g=l.city_id,x=l.store_id,b=l.status,y=l.sh_text,e.cityIndex=e.cityList.findIndex((function(t){return t.id==g})),e.storeIndex=e.storeList.findIndex((function(t){return t.id==x})),e.coach_status=f||4!=b?b:-1,4==b&&y&&(e.tipArr[4][0].text=y),e.$util.hideAll();case 36:case"end":return i.stop()}}),i)})))()},initRefresh:function(){this.initIndex(!0)},getCityList:function(){var t=this;return(0,s.default)((0,o.default)().mark((function e(){var i,n,a,r,s,l,c,u,d,p,f,m,h,v,g,x,b,y,w,_,k,C;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t.location,i.lat){e.next=22;break}if(!t.$jweixin.isWechat()){e.next=21;break}return t.$util.showLoading(),e.next=6,t.$jweixin.wxReady2();case 6:return e.next=8,t.$jweixin.getWxLocation();case 8:if(n=e.sent,a=n.latitude,r=void 0===a?0:a,s=n.longitude,l=void 0===s?0:s,i={lng:l,lat:r,address:"定位失败",province:"",city:"",district:""},!r||!l){e.next=21;break}return c="".concat(r,",").concat(l),e.next=18,t.$api.base.getMapInfo({location:c});case 18:u=e.sent,d=JSON.parse(u),p=d.status,f=d.result,0==p&&(m=f.address,h=f.address_component,v=h.province,g=h.city,x=h.district,i={lng:l,lat:r,address:m,province:v,city:g,district:x});case 21:t.updateUserItem({key:"location",val:i});case 22:if(b=i,y=b.lng,w=void 0===y?0:y,_=b.lat,k=void 0===_?0:_,!k||!w){e.next=30;break}return e.next=26,t.$api.base.getCity({lng:w,lat:k});case 26:C=e.sent,t.$util.hideAll(),t.cityList=C,t.form.city_id=C.length>0?C[0].id:0;case 30:case"end":return e.stop()}}),e)})))()},getStoreList:function(){var t=this;return(0,s.default)((0,o.default)().mark((function e(){var i,n,a;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t.form.admin_id,n=void 0===i?0:i,n){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,t.$api.mine.getStoreSelect({admin_id:n});case 5:a=e.sent,a.unshift({id:0,title:"不挂靠门店"}),t.storeList=a;case 8:case"end":return e.stop()}}),e)})))()},pickerChange:function(t,e){var i=t.target.value;if("birthday"===e){var n=this.$util.DateToUnix(i);return n>new Date(Math.ceil((new Date).getTime()))/1e3?void this.$util.showToast({title:"不能选择未来时间哦"}):void(this.form[e]=i)}this["".concat(e,"Index")]=i,this.form["".concat(e,"_id")]=this["".concat(e,"List")][i].id},toSend:function(){var t=this;return(0,s.default)((0,o.default)().mark((function e(){var i,n,a,r;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t.authTime,!i){e.next=3;break}return e.abrupt("return");case 3:if(n=t.form.mobile,a=void 0===n?"":n,null!=a&&/^(1[0-9]{10})$/.test(a)){e.next=7;break}return t.$util.showToast({title:null==a?"请输入手机号":"".concat(a," 手机号无效")}),e.abrupt("return");case 7:if(!t.lockTap){e.next=9;break}return e.abrupt("return");case 9:return t.lockTap=!0,t.$util.showLoading(),e.prev=11,e.next=14,t.$api.user.sendShortMsg({phone:a});case 14:t.$util.hideAll(),t.lockTap=!1,r=60,t.timer=setInterval((function(){0!==r?(r--,t.authTime=r):clearInterval(t.timer)}),1e3),e.next=23;break;case 20:e.prev=20,e.t0=e["catch"](11),setTimeout((function(){t.lockTap=!1,t.$util.hideAll()}),2e3);case 23:case"end":return e.stop()}}),e,null,[[11,20]])})))()},imgUpload:function(t){var e=t.imagelist,i=t.imgtype;this.form[i]=e},toChooseLocation:function(t){var e=this;return(0,s.default)((0,o.default)().mark((function t(){var i,n,r,s,l,c,u,d,p,f,m,h,v,g,x,b,y,w,_,k,C;return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$util.checkAuth({type:"userLocation"});case 2:if(i=e.location,n=i.lat,r=void 0===n?"":n,s=i.lng,l=void 0===s?"":s,c=e.form,u=c.id,d=void 0===u?0:u,p=c.lat,f=c.lng,d&&(r=p,l=f),m={},r||l){t.next=18;break}if(!e.$jweixin.isWechat()){t.next=18;break}return e.$util.showLoading(),t.next=11,e.$jweixin.wxReady2();case 11:return t.next=13,e.$jweixin.getWxLocation();case 13:h=t.sent,v=h.latitude,g=h.longitude,r=v,l=g;case 18:return m={latitude:r,longitude:l},t.next=21,uni.chooseLocation(m);case 21:if(x=t.sent,b=(0,a.default)(x,2),y=b[1],w=y.address,_=void 0===w?"":w,k=y.longitude,C=y.latitude,_){t.next=30;break}return t.abrupt("return");case 30:e.form.address=_,e.form.lng=k,e.form.lat=C;case 33:case"end":return t.stop()}}),t)})))()},confirm:function(){var t=this;return(0,s.default)((0,o.default)().mark((function e(){var i;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t.coach_status,4!=i){e.next=5;break}return t.coach_status=-1,uni.setNavigationBarTitle({title:t.$t("action.attendantName")}),e.abrupt("return");case 5:t.$util.goUrl({url:"/pages/mine?type=2",openType:"reLaunch"});case 6:case"end":return e.stop()}}),e)})))()},validate:function(t){var e=new this.$util.Validate;this.rule.map((function(i){var n=i.name;e.add(t[n],i)}));var i=e.start();return i},submit:function(){var t=this;return(0,s.default)((0,o.default)().mark((function e(){var i,n,a;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t.$util.deepCopy(t.form),i.work_img=i.work_img.length>0?i.work_img[0].path:"",n=t.validate(i),!n){e.next=6;break}return t.$util.showToast({title:n}),e.abrupt("return");case 6:if(a=t.configInfo.short_code_status,!a||null!=i.short_code&&6==i.short_code.length){e.next=10;break}return t.$util.showToast({title:"请输入6位数短信验证码"}),e.abrupt("return");case 10:if(a||delete i.short_code,i.birthday=t.$util.DateToUnix(i.birthday),!t.lockTap){e.next=14;break}return e.abrupt("return");case 14:return t.lockTap=!0,t.$util.showLoading(),e.prev=16,e.next=19,t.$api.technician.coachApply(i);case 19:t.$util.hideAll(),t.$util.showToast({title:"提交成功,即将跳转个人中心"}),t.timer&&clearInterval(t.timer),setTimeout((function(){getCurrentPages().length>1&&t.$util.back(),t.$util.goUrl({url:"/pages/mine",openType:"reLaunch"})}),2e3),e.next=28;break;case 25:e.prev=25,e.t0=e["catch"](16),setTimeout((function(){t.lockTap=!1,t.$util.hideAll()}),2e3);case 28:case"end":return e.stop()}}),e,null,[[16,25]])})))()}})};e.default=u}}]); |