王总上门按摩后台代码
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.
 
 
 
 
 
shangmenanmo/public/h6/static/js/agent-pages-technician-appl...

1 lines
25 KiB

(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:return t.$util.setNavigationBarColor({bg:t.primaryColor}),a=new Date(Math.ceil((new Date).getTime())),t.toDay=t.$util.formatTime(a,"YY-M-D"),t.toDayTime=t.$util.formatTime(a,"h:m"),i.next=14,Promise.all([t.getCityList(),t.getStoreList()]);case 14:if(s=t.options.id,l=void 0===s?0:s,l){i.next=18;break}return t.$util.hideAll(),i.abrupt("return");case 18:return i.next=20,t.$api.agent.coachInfo({id:l});case 20:for(c in o=i.sent,o.id_card=o.id_card.map((function(e){return{path:e}})),o.id_card_fan=[o.id_card[1]],o.id_card_people=[o.id_card[2]],o.id_card.splice(1,3),o.license=o.license.map((function(e){return{path:e}})),o.work_img=[{path:o.work_img}],o.self_img=o.self_img.map((function(e){return{path:e}})),o.video=o.video&&o.video.length>0?[{path:o.video}]:[],t.cityIndex=t.cityList.findIndex((function(e){return e.id==o.city_id})),t.storeIndex=t.storeList.findIndex((function(e){return e.id==o.store_id})),o.birthday=o.birthday?t.$util.formatTime(1e3*o.birthday,"YY-M-D"):"",t.form)t.form[c]=o[c];t.have_user_id=o.id&&o.user_id,t.fdd_agreement=o.fdd_agreement,t.$util.hideAll();case 36:case"end":return i.stop()}}),i)})))()},initRefresh:function(){this.initIndex(!0)},getStoreList:function(){var e=this;return(0,l.default)((0,r.default)().mark((function t(){var i,n,a;return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.configInfo.plugAuth.store,n=void 0!==i&&i,!n){t.next=7;break}return t.next=4,e.$api.agent.storeSelect();case 4:a=t.sent,a.unshift({id:0,title:"不挂靠门店"}),e.storeList=a;case 7:case"end":return t.stop()}}),t)})))()},getCityList:function(){var e=this;return(0,l.default)((0,r.default)().mark((function t(){var i,n,a,s,l,o,c,u,d,f,p,v,m,g,x,w,h,_,y,b,C,k;return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.location,i.lat){t.next=22;break}if(!e.$jweixin.isWechat()){t.next=21;break}return e.$util.showLoading(),t.next=6,e.$jweixin.wxReady2();case 6:return t.next=8,e.$jweixin.getWxLocation();case 8:if(n=t.sent,a=n.latitude,s=void 0===a?0:a,l=n.longitude,o=void 0===l?0:l,i={lng:o,lat:s,address:"定位失败",province:"",city:"",district:""},!s||!o){t.next=21;break}return c="".concat(s,",").concat(o),t.next=18,e.$api.base.getMapInfo({location:c});case 18:u=t.sent,d=JSON.parse(u),f=d.status,p=d.result,0==f&&(v=p.address,m=p.address_component,g=m.province,x=m.city,w=m.district,i={lng:o,lat:s,address:v,province:g,city:x,district:w});case 21:e.updateUserItem({key:"location",val:i});case 22:if(h=i,_=h.lng,y=void 0===_?0:_,b=h.lat,C=void 0===b?0:b,!C||!y){t.next=31;break}return t.next=26,e.$api.base.getCity({lng:y,lat:C});case 26:k=t.sent,e.$util.hideAll(),e.cityList=k,e.cityIndex=k.length>0?0:-1,e.form.city_id=k.length>0?k[0].id:"";case 31:case"end":return t.stop()}}),t)})))()},toFddSign:function(){var e=this;return(0,l.default)((0,r.default)().mark((function t(){var i,n;return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.updateUserItem({key:"fddExtsign",val:""}),i=e.fdd_agreement.viewpdf_url,n=void 0===i?"":i,e.updateUserItem({key:"fddExtsign",val:n}),e.$util.goUrl({url:"/user/pages/common/web?url=fddExtsign"});case 4:case"end":return t.stop()}}),t)})))()},pickerChange:function(e,t){var i=e.target.value;if("birthday"===t){var n=this.$util.DateToUnix(i);return n>new Date(Math.ceil((new Date).getTime()))/1e3?void this.$util.showToast({title:"不能选择未来时间哦"}):void(this.form[t]=i)}this["".concat(t,"Index")]=i,this.form["".concat(t,"_id")]=this["".concat(t,"List")][i].id},imgUpload:function(e){var t=e.imagelist,i=e.imgtype;this.form[i]=t},toSetItem:function(e){var t=this.workList[e].id;this.form.is_work=t},toShowTime:function(e){this.showKey=e,this.showTime=!0},onConfirm:function(e){this.form[this.showKey]=e.result},toChooseLocation:function(e){var t=this;return(0,l.default)((0,r.default)().mark((function e(){var i,n,s,l,o,c,u,d,f,p,v,m,g,x,w,h,_,y,b,C,k;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$util.checkAuth({type:"userLocation"});case 2:if(i=t.location,n=i.lat,s=void 0===n?"":n,l=i.lng,o=void 0===l?"":l,c=t.form,u=c.id,d=void 0===u?0:u,f=c.lat,p=c.lng,d&&(s=f,o=p),v={},s||o){e.next=18;break}if(!t.$jweixin.isWechat()){e.next=18;break}return t.$util.showLoading(),e.next=11,t.$jweixin.wxReady2();case 11:return e.next=13,t.$jweixin.getWxLocation();case 13:m=e.sent,g=m.latitude,x=m.longitude,s=g,o=x;case 18:return v={latitude:s,longitude:o},e.next=21,uni.chooseLocation(v);case 21:if(w=e.sent,h=(0,a.default)(w,2),_=h[1],y=_.address,b=void 0===y?"":y,C=_.longitude,k=_.latitude,b){e.next=30;break}return e.abrupt("return");case 30:t.form.address=b,t.form.lng=C,t.form.lat=k;case 33:case"end":return e.stop()}}),e)})))()},toChooseUser:function(){var e=this.have_user_id;e||this.$util.goUrl({url:"/agent/pages/technician/user"})},validate:function(e){var t=new this.$util.Validate;this.rule.map((function(i){var n=i.name;t.add(e[n],i)}));var i=t.start();return i},submit:function(){var e=this;return(0,l.default)((0,r.default)().mark((function t(){var i,n,a,s,l,o,c,u,d;return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.$util.deepCopy(e.form),n=["id_card","id_card_fan","id_card_people","work_img","video"],n.map((function(e){i[e]=i[e].length>0?i[e][0].path:""})),i.license=i.license.map((function(e){return e.path})),i.self_img=i.self_img.map((function(e){return e.path})),a=e.validate(i),!a){t.next=9;break}return e.$util.showToast({title:a}),t.abrupt("return");case 9:if(s=i.is_work,l=void 0===s?0:s,o=i.start_time,c=i.end_time,!l||o&&c){t.next=13;break}return e.$util.showToast({title:o?"请选择结束时间":"请选择开始时间"}),t.abrupt("return");case 13:if(i.birthday=e.$util.DateToUnix(i.birthday),i.id_card=[i.id_card,i.id_card_fan,i.id_card_people],delete i.id_card_fan,delete i.id_card_people,delete i.nickName,i.id&&delete i.admin_id,!e.lockTap){t.next=21;break}return t.abrupt("return");case 21:return e.lockTap=!0,e.$util.showLoading(),t.prev=23,u=e.options.is_edit,void 0===u?0:u,d=i.id?"coachDataUpdate":"coachApply",t.next=28,e.$api.agent[d](i);case 28:e.$util.hideAll(),e.$util.showToast({title:"提交成功"}),setTimeout((function(){e.$util.back(),e.$util.goUrl({url:1,openType:"navigateBack"})}),2e3),t.next=36;break;case 33:t.prev=33,t.t0=t["catch"](23),setTimeout((function(){e.lockTap=!1,e.$util.hideAll()}),2e3);case 36:case"end":return t.stop()}}),t,null,[[23,33]])})))()}}),filters:{handleStartEndTime:function(e,t){var i="",n=e.start_time,a=e.end_time,s="".concat(t," ").concat(n),r="".concat(t," ").concat(a);return n&&a&&c.default.DateToUnix(s)>=c.default.DateToUnix(r)&&(i="次日"),i}}};t.default=f},bc6c:function(e,t,i){var n=i("c86c");t=n(!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/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.item-time[data-v-4e5063ed]{width:50%}',""]),e.exports=t},bcaf:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return s})),i.d(t,"a",(function(){return n}));var n={wPicker:i("13f3").default},a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.isLoad?i("v-uni-view",{staticClass:"apply-pages"},[i("v-uni-view",{staticClass:"apply-form"},[i("v-uni-view",{staticClass:"fill-base radius-16"},[i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg b-1px-b",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toChooseUser.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"item-text"},[e._v("关联用户")]),i("v-uni-view",{staticClass:"item-input text"},[i("v-uni-view",{staticClass:"flex-between"},[e._v(e._s(e.form.user_id?e.form.nickName:"请选择")),i("i",{staticClass:"iconfont icon-right ml-sm",staticStyle:{"font-size":"28rpx"}})])],1)],1),i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg b-1px-b"},[i("v-uni-view",{staticClass:"item-text flex-y-center"},[i("i",{staticClass:"iconfont icon-required c-warning"}),e._v("姓名")]),i("v-uni-input",{staticClass:"item-input flex-1",attrs:{type:"text",maxlength:"20",placeholder:e.rule[0].errorMsg},model:{value:e.form.coach_name,callback:function(t){e.$set(e.form,"coach_name",t)},expression:"form.coach_name"}})],1),i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg b-1px-b"},[i("v-uni-view",{staticClass:"item-text flex-y-center"},[i("i",{staticClass:"iconfont icon-required c-warning"}),e._v("性别")]),i("v-uni-view",{staticClass:"item-input flex-1 flex-y-center"},e._l(["男","女"],(function(t,n){return i("v-uni-view",{key:n,staticClass:"flex-y-center",class:[{"mr-lg":0==n}],style:{color:e.form.sex==n?e.primaryColor:""},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.form.sex=n}}},[i("i",{staticClass:"iconfont icon-xuanze mr-sm",class:[{"icon-xuanze-fill":e.form.sex==n}]}),e._v(e._s(t))])})),1)],1),i("v-uni-view",{staticClass:"flex-between ml-lg mr-lg b-1px-b"},[i("v-uni-view",{staticClass:"item-text flex-y-center"},[i("i",{staticClass:"iconfont icon-required c-warning"}),e._v("生日")]),i("v-uni-view",{staticClass:"item-input text flex-1"},[i("v-uni-picker",{attrs:{mode:"date",end:e.endYear,value:e.form.birthday},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.pickerChange(t,"birthday")}}},[i("v-uni-view",{staticClass:"flex-between"},[e._v(e._s(e.form.birthday||"请选择")),i("i",{staticClass:"iconfont icon-right ml-sm",staticStyle:{"font-size":"28rpx"}})])],1)],1)],1),i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg b-1px-b"},[i("v-uni-view",{staticClass:"item-text flex-y-center"},[i("i",{staticClass:"iconfont icon-required c-warning"}),e._v("手机号")]),i("v-uni-input",{staticClass:"item-input flex-1",attrs:{type:"text",placeholder:e.rule[2].errorMsg},model:{value:e.form.mobile,callback:function(t){e.$set(e.form,"mobile",t)},expression:"form.mobile"}})],1),i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg b-1px-b"},[i("v-uni-view",{staticClass:"item-text flex-y-center"},[i("i",{staticClass:"iconfont icon-required c-warning"}),e._v("从业年份")]),i("v-uni-input",{staticClass:"item-input flex-1",attrs:{type:"number",placeholder:e.rule[3].errorMsg},model:{value:e.form.work_time,callback:function(t){e.$set(e.form,"work_time",t)},expression:"form.work_time"}})],1),i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg b-1px-b"},[i("v-uni-view",{staticClass:"item-text flex-y-center",staticStyle:{width:"230rpx"}},[i("i",{staticClass:"iconfont icon-required c-warning"}),e._v("意向工作城市")]),i("v-uni-view",{staticClass:"item-input text"},[i("v-uni-picker",{attrs:{value:e.cityIndex,range:e.cityList,"range-key":"title"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.pickerChange(t,"city")}}},[i("v-uni-view",{staticClass:"flex-between"},[e._v(e._s(-1!=e.cityIndex?e.cityList[e.cityIndex].title:"请选择")),i("i",{staticClass:"iconfont icon-right ml-sm",staticStyle:{"font-size":"28rpx"}})])],1)],1)],1),e.configInfo.plugAuth.store&&e.storeList.length>0?i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg b-1px-b"},[i("v-uni-view",{staticClass:"item-text"},[e._v("挂靠门店")]),i("v-uni-view",{staticClass:"item-input text"},[i("v-uni-picker",{attrs:{value:e.storeIndex,range:e.storeList,"range-key":"title"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.pickerChange(t,"store")}}},[i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"max-400 ellipsis"},[e._v(e._s(-1!=e.storeIndex?e.storeList[e.storeIndex].title:"请选择"))]),i("i",{staticClass:"iconfont icon-right ml-sm",staticStyle:{"font-size":"28rpx"}})],1)],1)],1)],1):e._e(),i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg"},[i("v-uni-view",{staticClass:"item-text flex-y-center"},[i("i",{staticClass:"iconfont icon-required c-warning"}),e._v("所在地址")]),i("v-uni-view",{staticClass:"item-input text flex-1"},[i("v-uni-view",{staticClass:"flex-between",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toChooseLocation.apply(void 0,arguments)}}},[i("v-uni-view",[e._v(e._s(e.form.address||"点击右边图标设置"))]),i("i",{staticClass:"iconfont iconjuli ml-sm",style:{color:e.primaryColor}})],1)],1)],1)],1),i("v-uni-view",{staticClass:"fill-base mt-md radius-16"},[i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg"},[i("v-uni-view",{staticClass:"item-text flex-y-center",staticStyle:{width:"auto"}},[i("i",{staticClass:"iconfont icon-required c-warning"}),e._v(e._s(e.$t("action.attendantName"))+"简介")]),i("v-uni-input",{staticClass:"item-input flex-1",attrs:{disabled:!0,type:"text"}})],1),i("v-uni-textarea",{staticClass:"item-textarea pd-lg",attrs:{maxlength:"300",placeholder:"输入"+e.$t("action.attendantName")+"简介"},model:{value:e.form.text,callback:function(t){e.$set(e.form,"text",t)},expression:"form.text"}}),i("v-uni-view",{staticClass:"text-right pb-lg pr-lg"},[e._v(e._s(e.form.text.length>300?300:e.form.text.length)+"/300")])],1),i("v-uni-view",{staticClass:"fill-base mt-md radius-16"},[i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg"},[i("v-uni-view",{staticClass:"item-text flex-y-center"},[i("i",{staticClass:"iconfont icon-required c-warning"}),e._v("身份证号")]),i("v-uni-input",{staticClass:"item-input flex-1",attrs:{type:"text",placeholder:e.rule[7].errorMsg},model:{value:e.form.id_code,callback:function(t){e.$set(e.form,"id_code",t)},expression:"form.id_code"}})],1)],1),i("v-uni-view",{staticClass:"fill-base mt-md radius-16"},[i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg"},[i("v-uni-view",{staticClass:"item-text flex-y-center"},[i("i",{staticClass:"iconfont icon-required c-warning"}),e._v("身份证照片")]),i("v-uni-view",{staticClass:"item-input flex-1"},[e._v("图片大小不超过10M")])],1),i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg pb-md"},[i("upload",{attrs:{imagelist:e.form.id_card,imgtype:"id_card",imgclass:"md",text:"身份证人像面",imgsize:1},on:{upload:function(t){arguments[0]=t=e.$handleEvent(t),e.imgUpload.apply(void 0,arguments)}}}),i("upload",{attrs:{imagelist:e.form.id_card_fan,imgtype:"id_card_fan",imgclass:"md",text:"身份证国徽面",imgsize:1},on:{upload:function(t){arguments[0]=t=e.$handleEvent(t),e.imgUpload.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg pb-md"},[i("upload",{attrs:{imagelist:e.form.id_card_people,imgtype:"id_card_people",imgclass:"md",text:"手持身份证照片",imgsize:1},on:{upload:function(t){arguments[0]=t=e.$handleEvent(t),e.imgUpload.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"fill-base mt-md radius-16"},[i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg"},[i("v-uni-view",{staticClass:"item-text flex-y-center"},[i("i",{staticClass:"iconfont icon-required c-warning"}),e._v("资格证书")]),i("v-uni-view",{staticClass:"item-input flex-1"},[e._v("图片大小不超过10M")])],1),i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg pb-md"},[i("upload",{attrs:{imagelist:e.form.license,imgtype:"license",text:"上传图片",imgsize:15},on:{upload:function(t){arguments[0]=t=e.$handleEvent(t),e.imgUpload.apply(void 0,arguments)},del:function(t){arguments[0]=t=e.$handleEvent(t),e.imgUpload.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"fill-base mt-md radius-16"},[i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg"},[i("v-uni-view",{staticClass:"item-text flex-y-center"},[i("i",{staticClass:"iconfont icon-required c-warning"}),e._v("工作形象照")]),i("v-uni-view",{staticClass:"item-input flex-1"},[e._v("图片建议尺寸: 750 * 750,大小不超过10M")])],1),i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg pb-md"},[i("upload",{attrs:{imagelist:e.form.work_img,imgtype:"work_img",text:"上传图片",imgsize:1},on:{upload:function(t){arguments[0]=t=e.$handleEvent(t),e.imgUpload.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"fill-base mt-md radius-16"},[i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg"},[i("v-uni-view",{staticClass:"item-text flex-y-center"},[i("i",{staticClass:"iconfont icon-required c-warning"}),e._v("个人生活照")]),i("v-uni-view",{staticClass:"item-input flex-1"},[e._v("图片建议尺寸: 750 * n,大小不超过10M")])],1),i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg pb-md"},[i("upload",{attrs:{imagelist:e.form.self_img,filetype:"picture",imgtype:"self_img",text:"上传图片",imgsize:9},on:{upload:function(t){arguments[0]=t=e.$handleEvent(t),e.imgUpload.apply(void 0,arguments)},del:function(t){arguments[0]=t=e.$handleEvent(t),e.imgUpload.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"fill-base mt-md radius-16"},[i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg"},[i("v-uni-view",{staticClass:"item-text"},[e._v("个人视频介绍")]),i("v-uni-view",{staticClass:"item-input flex-1"},[e._v("视频大小不超过50M")])],1),i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg pb-md"},[i("upload",{attrs:{imagelist:e.form.video,filetype:"video",imgtype:"video",text:"上传视频",imgsize:1},on:{upload:function(t){arguments[0]=t=e.$handleEvent(t),e.imgUpload.apply(void 0,arguments)},del:function(t){arguments[0]=t=e.$handleEvent(t),e.imgUpload.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"fill-base mt-md radius-16"},[i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg b-1px-b"},[i("v-uni-view",{staticClass:"item-text flex-y-center"},[i("i",{staticClass:"iconfont icon-required c-warning"}),e._v("虚拟订单")]),i("v-uni-input",{staticClass:"item-input flex-1",attrs:{type:"number",placeholder:e.rule[14].errorMsg},model:{value:e.form.order_num,callback:function(t){e.$set(e.form,"order_num",t)},expression:"form.order_num"}})],1),i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg b-1px-b"},[i("v-uni-view",{staticClass:"item-text flex-y-center"},[i("i",{staticClass:"iconfont icon-required c-warning"}),e._v("是否接单")]),i("v-uni-view",{staticClass:"item-input flex-1 flex-y-center"},e._l(e.workList,(function(t,n){return i("v-uni-view",{key:n,staticClass:"flex-y-center",class:[{"mr-lg":1==t.id}],style:{color:e.form.is_work==t.id?e.primaryColor:""},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toSetItem(n)}}},[i("i",{staticClass:"iconfont mr-sm",class:[{"icon-xuanze":e.form.is_work!=t.id},{"icon-radio-fill":e.form.is_work==t.id}]}),e._v(e._s(t.title))])})),1)],1),1===e.form.is_work?i("v-uni-view",{staticClass:"flex-between pd-lg"},[i("v-uni-view",{staticClass:"item-time flex-center flex-column",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toShowTime("start_time")}}},[i("v-uni-view",[e._v("开始时间")]),i("v-uni-view",{staticClass:"mt-sm",style:{color:e.form.start_time?e.primaryColor:"#999"}},[e._v(e._s(e.form.start_time||"选择时间"))])],1),i("v-uni-view",{staticClass:"item-time flex-center flex-column b-1px-l",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toShowTime("end_time")}}},[i("v-uni-view",[e._v("结束时间")]),i("v-uni-view",{staticClass:"mt-sm",style:{color:e.form.end_time?e.primaryColor:"#999"}},[e._v(e._s(e._f("handleStartEndTime")(e.form,e.toDay))+e._s(e.form.end_time||"选择时间"))])],1)],1):e._e()],1),e.fdd_agreement&&e.fdd_agreement.hasOwnProperty("viewpdf_url")?i("v-uni-view",{staticClass:"fill-base mt-md radius-16",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toFddSign.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"flex-between pl-lg pr-lg b-1px-b"},[i("v-uni-view",{staticClass:"item-text"},[e._v("电子签约")]),i("v-uni-view",{staticClass:"item-input flex-1",style:{color:e.primaryColor}},[e._v("查看签约合同")])],1)],1):e._e()],1),i("v-uni-view",{staticClass:"space-max-footer"}),i("fix-bottom-button",{attrs:{text:[{text:"确定提交",type:"confirm",isAuth:!0}],bgColor:"#fff"},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.submit.apply(void 0,arguments)}}}),i("w-picker",{ref:"time",attrs:{visible:e.showTime,mode:"time",value:e.toDayTime,current:!1,second:!1,themeColor:e.primaryColor},on:{"update:visible":function(t){arguments[0]=t=e.$handleEvent(t),e.showTime=t},confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.onConfirm.apply(void 0,arguments)}}})],1):e._e()},s=[]},ca50:function(e,t,i){"use strict";i.r(t);var n=i("b1d0"),a=i.n(n);for(var s in n)["default"].indexOf(s)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(s);t["default"]=a.a},cfec:function(e,t,i){"use strict";i.r(t);var n=i("bcaf"),a=i("ca50");for(var s in a)["default"].indexOf(s)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(s);i("8696");var r=i("828b"),l=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"4e5063ed",null,!1,n["a"],void 0);t["default"]=l.exports}}]);