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 line
25 KiB
1 line
25 KiB
8 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["agent-pages-technician-apply"],{4768:function(e,t,i){var n=i("bc6c");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=i("967d").default;a("d325a7fc",n,!0,{sourceMap:!1,shadowMode:!1})},8696:function(e,t,i){"use strict";var n=i("4768"),a=i.n(n);a.a},b1d0:function(e,t,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("bf0f"),i("18f7"),i("de6c"),i("fd3c"),i("dd2b"),i("bd06"),i("3efd"),i("c223");var a=n(i("5de6")),s=n(i("9b1b")),r=n(i("2634")),l=n(i("2fdc")),o=n(i("39d8")),c=n(i("cd23")),u=n(i("13f3")),d=i("8f59"),f={components:{wPicker:u.default},data:function(){var e;return{isLoad:!1,options:{},cityList:[],cityIndex:-1,storeList:[],storeIndex:-1,toDay:"",toDayTime:"",showKey:"",showTime:!1,workList:[{id:1,title:"接单"},{id:0,title:"休息"}],fdd_agreement:{},form:(e={id:0,user_id:"",nickName:"",coach_name:"",mobile:"",sex:0,birthday:"",work_time:"",city_id:"",store_id:"",lng:"",lat:"",address:"",text:"",id_code:"",id_card:[],id_card_fan:[],id_card_people:[],license:[],work_img:[],self_img:[]},(0,o.default)(e,"city_id",""),(0,o.default)(e,"video",[]),(0,o.default)(e,"order_num",0),(0,o.default)(e,"is_work",1),(0,o.default)(e,"start_time","00:00"),(0,o.default)(e,"end_time","23:59"),e),rule:[{name:"coach_name",checkType:"isNotNull",errorMsg:"输入您的姓名",regType:2},{name:"birthday",checkType:"isNotNull",errorMsg:"请选择您的生日",regType:2},{name:"mobile",checkType:"isMobile",errorMsg:"输入手机号"},{name:"work_time",checkType:"isNotNull",errorMsg:"请输入从业年份,例如:5"},{name:"city_id",checkType:"isNotNull",errorMsg:"请选择意向工作城市"},{name:"address",checkType:"isNotNull",errorMsg:"请选择所在地址"},{name:"text",checkType:"isNotNull",errorMsg:"请输入"+this.$t("action.attendantName")+"简介",regType:2},{name:"id_code",checkType:"isIdCard",errorMsg:"输入您的身份证号码"},{name:"id_card",checkType:"isNotNull",errorMsg:"请上传身份证人像面"},{name:"id_card_fan",checkType:"isNotNull",errorMsg:"请上传身份证国徽面"},{name:"id_card_people",checkType:"isNotNull",errorMsg:"请上传手持身份证照片"},{name:"license",checkType:"isNotNull",errorMsg:"请上传资格证书"},{name:"work_img",checkType:"isNotNull",errorMsg:"请上传工作形象照"},{name:"self_img",checkType:"isNotNull",errorMsg:"请上传个人生活照"},{name:"order_num",checkType:"isNumber",errorMsg:"请输入虚拟订单量",regType:2}],have_user_id:!1,lockTap:!1}},computed:(0,d.mapState)({primaryColor:function(e){return e.config.configInfo.primaryColor},subColor:function(e){return e.config.configInfo.subColor},configInfo:function(e){return e.config.configInfo},userInfo:function(e){return e.user.userInfo},location:function(e){return e.user.location}}),onLoad:function(e){var t=this;return(0,l.default)((0,r.default)().mark((function i(){var n,a;return(0,r.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return n=e.id,a=void 0===n?0:n,t.options=e,t.$util.showLoading(),i.next=5,t.initIndex();case 5:t.coach_status,uni.setNavigationBarTitle({title:a?"编辑":"新增"+t.$t("action.attendantName")}),t.isLoad=!0;case 8:case"end":return i.stop()}}),i)})))()},methods:(0,s.default)((0,s.default)((0,s.default)({},(0,d.mapActions)(["getConfigInfo","getUserInfo"])),(0,d.mapMutations)(["updateUserItem"])),{},{initIndex:function(){var e=arguments,t=this;return(0,l.default)((0,r.default)().mark((function i(){var n,a,s,l,o,c;return(0,r.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n=e.length>0&&void 0!==e[0]&&e[0],n||!t.$jweixin.isWechat()){i.next=5;break}return i.next=4,t.$jweixin.initJssdk();case 4:t.$jweixin.wxReady((function(){t.$jweixin.hideOptionMenu()}));case 5:if(t.configInfo.id&&t.configInfo.hasOwnProperty("plugAuth")&&(!t.configInfo.hasOwnProperty("plugAuth")||t.configInfo.plugAuth.hasOwnProperty("store"))&&!n){i.next=8;break}return i.next=8,t.getConfigInfo();case 8:retur
|