王总上门按摩后台代码
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
26 KiB

webpackJsonp([24],{KCnm:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("mvHQ"),s=a.n(r),n=a("//Fk"),i=a.n(n),o=a("d7EF"),l=a.n(o),m=a("Dd8w"),c=a.n(m),u=a("Xxa5"),p=a.n(u),d=a("exGp"),h=a.n(d),_=a("NYxO"),v=a("PJh5"),f=a.n(v),b={data:function(){var e=this;return{loading:!1,userTypeList:[{id:0,title:"全部"},{id:1,title:"已认证"},{id:2,title:"未认证"}],addText:{0:{type:"info",text:"用户"},1:{type:"",text:"平台"}},statusText:{1:{type:"info",text:"申请中"},2:{type:"",text:"已授权"},3:{type:"danger",text:"取消授权"},4:{type:"danger",text:"已驳回"}},authStatusText:{0:{type:"info",text:"未认证"},1:{type:"",text:"认证中"},2:{type:"success",text:"已认证"},3:{type:"warning",text:"已驳回"}},pickerOptions:{disabledDate:function(e){return e.getTime()>1e3*(f()(f()(Date.now()).format("YYYY-MM-DD")).unix()+86400-1)}},auto_recommend:"",searchForm:{page:1,limit:10,status:0,is_user:0,start_time:"",end_time:"",admin_id:"",partner_name:"",name:""},tableData:[],total:0,count:{},showDialog:{apply:!1,change:!1,file:!1},applyForm:{title:"",status:"",sh_text:""},subForm:{id:0,status:0,sh_text:"",type:1},subFormRules:{status:{required:!0,validator:function(t,a,r){e.subForm.status?r():r(new Error("请选择审核结果"))},trigger:"blur"}},base_agent:[],base_store:[],changeForm:{id:"",admin_name:"",admin_id:"",store_id:""},readfileForm:{}}},activated:function(){var e=this;return h()(p.a.mark(function t(){return p.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getBaseInfo();case 2:e.getTableDataList(1);case 3:case"end":return t.stop()}},t,e)}))()},computed:c()({},Object(_.d)({routesItem:function(e){return e.routes}})),methods:{getBaseInfo:function(){var e=this;return h()(p.a.mark(function t(){var a,r,s,n;return p.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.a.all([e.$api.agent.adminSelect(),e.$api.system.configInfo()]);case 2:a=t.sent,r=l()(a,2),s=r[0],n=r[1],e.base_agent=s.data,e.auto_recommend=n.data.auto_recommend;case 8:case"end":return t.stop()}},t,e)}))()},resetForm:function(e){this.$refs[e].resetFields(),this.getTableDataList(1)},handleSizeChange:function(e){this.searchForm.limit=e,this.handleCurrentChange(1)},handleCurrentChange:function(e){this.searchForm.page=e,this.getTableDataList()},toChange:function(e){var t=this;return h()(p.a.mark(function a(){return p.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:t.searchForm.status=e,t.getTableDataList(1);case 2:case"end":return a.stop()}},a,t)}))()},getTableDataList:function(e){var t=this;return h()(p.a.mark(function a(){var r,n,i,o,l,m,c,u,d,h,_;return p.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return e&&(t.searchForm.page=1),t.tableData=[],t.loading=!0,r=JSON.parse(s()(t.searchForm)),(n=r.start_time)&&n.length>0?(r.start_time=n[0]/1e3,r.end_time=n[1]/1e3):(r.start_time="",r.end_time=""),-1===r.status&&(r.is_update=1,delete r.status),a.next=9,t.$api.technician.coachList(r);case 9:if(i=a.sent,o=i.code,l=i.data,t.loading=!1,200===o){a.next=15;break}return a.abrupt("return");case 15:m=l.all,c=l.nopass,u=l.ing,d=l.pass,h=l.total,_=l.update_num,t.tableData=l.data,t.total=h,t.count={all:m,nopass:c,ing:u,pass:d,update:_};case 19:case"end":return a.stop()}},a,t)}))()},toShowApply:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return h()(p.a.mark(function r(){var s,n,i,o,l,m;return p.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return s=a.id,n=a.is_update,i=(void 0===n?0:n)?"coachUpdateInfo":"coachInfo",r.next=4,t.$api.technician[i]({id:s});case 4:if(o=r.sent,l=o.code,m=o.data,200===l){r.next=9;break}return r.abrupt("return");case 9:["id_card","license","self_img"].map(function(e){m[e]=m[e]&&m[e].length>0?m[e].map(function(e){return{url:e}}):[]}),m.text=m.text?m.text.replace(/\n/g,"<br>"):"",t.applyForm=m,t.subForm={id:s,status:2,sh_text:"",type:e},t.showDialog.apply=!0;case 15:case"end":return r.stop()}},r,t)}))()},confirmDel:function(e,t){var a=this;this.$confirm(this.$t(3===t?"tips.confirmNoPass":"tips.confirmDelete"),this.$t("tips.reminder"),{confirmButtonText:this.$t("action.comfirm"),cancelButtonText:this.$t("action.cancel"),type:"warning"}).then(function(){a.updateItem(1,e,t)}).catch(function(){})},updateItem:function(e,t,a){var r=this;return h()(p.a.mark(function s(){var n;return p.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:n=1===e?{id:t,status:a}:{id:t,recommend:a},r.$api.technician.coachUpdate(n).then(function(e){if(200===e.code)r.$message.success(r.$t(-1===a?"tips.successDel":"tips.successOper")),-1===a&&(r.searchForm.page=r.searchForm.page<Math.ceil((r.total-1)/r.searchForm.limit)?r.searchForm.page:Math.ceil((r.total-1)/r.searchForm.limit)),r.getTableDataList();else{if(-1===a)return;r.getTableDataList()}});case 2:case"end":return s.stop()}},s,r)}))()},confirmChange:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h()(p.a.mark(function a(){var r;return p.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:for(r in(t=JSON.parse(s()(t))).admin_id=t.admin_id||"",t.store_id=t.store_id||"",e.changeForm)e.changeForm[r]=t[r];return a.next=6,e.getStoreList();case 6:e.showDialog.change=!0;case 7:case"end":return a.stop()}},a,e)}))()},getStoreList:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return h()(p.a.mark(function a(){var r,s,n,i,o,l;return p.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(2===t&&(e.changeForm.store_id=""),r=e.changeForm.admin_id,n=[],!(s=void 0===r?0:r)){a.next=12;break}return a.next=6,e.$api.technician.storeSelect({admin_id:s});case 6:if(i=a.sent,o=i.code,l=i.data,200===o){a.next=11;break}return a.abrupt("return");case 11:n=l;case 12:e.base_store=n;case 13:case"end":return a.stop()}},a,e)}))()},submitForm:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return h()(p.a.mark(function r(){var n,i,o,l,m;return p.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:n=!0,1===a&&t.$refs[e+"Form"].validate(function(e){e||(n=!1)}),n&&(i=JSON.parse(s()(t[e+"Form"])),o=i.type,l=void 0===o?0:o,m="sub"===e?{1:"coachUpdate",2:"coachUpdateCheck",3:"coachAuthCheck"}[l]:"coachUpdate","sub"===e?(3===l&&(i.auth_status=i.status,delete i.status,delete i.sh_text),delete i.type):delete i.admin_name,t.$api.technician[m](i).then(function(a){200===a.code&&(t.$message.success(t.$t("tips.successSub")),t.showDialog["sub"===e?"apply":e]=!1,t.getTableDataList("","list"))}));case 3:case"end":return r.stop()}},r,t)}))()}},filters:{handleTime:function(e,t){return 1===t?f()(1e3*e).format("YYYY-MM-DD"):2===t?f()(1e3*e).format("HH:mm:ss"):f()(1e3*e).format("YYYY-MM-DD HH:mm:ss")}}},y={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"lb-examine"},[a("top-nav"),e._v(" "),a("div",{staticClass:"page-main"},[a("el-row",{staticClass:"page-top-operate"},[a("lb-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:e.$route.name+"-add",expression:"`${$route.name}-add`"}],attrs:{size:"medium",type:"primary",icon:"el-icon-plus"},on:{click:function(t){return e.$router.push("/technician/edit")}}},[e._v(e._s(e.$t("menu.TechnicianAdd")))])],1),e._v(" "),a("el-row",{staticClass:"page-top-operate"},[a("el-button",{attrs:{type:0===e.searchForm.status?"primary":"",plain:"",size:"medium"},on:{click:function(t){return e.toChange(0)}}},[e._v("全部("+e._s(e.count.all||0)+")")]),e._v(" "),a("el-button",{attrs:{type:1===e.searchForm.status?"primary":"",plain:"",size:"medium"},on:{click:function(t){return e.toChange(1)}}},[e._v("申请中("+e._s(e.count.ing||0)+")")]),e._v(" "),a("el-button",{attrs:{type:2===e.searchForm.status?"primary":"",plain:"",size:"medium"},on:{click:function(t){return e.toChange(2)}}},[e._v("已授权("+e._s(e.count.pass||0)+")")]),e._v(" "),a("el-button",{attrs:{type:4===e.searchForm.status?"primary":"",plain:"",size:"medium"},on:{click:function(t){return e.toChange(4)}}},[e._v("已驳回("+e._s(e.count.nopass||0)+")")]),e._v(" "),a("el-button",{attrs:{type:-1===e.searchForm.status?"primary":"",plain:"",size:"medium"},on:{click:function(t){return e.toChange(-1)}}},[e._v("重新审核("+e._s(e.count.update||0)+")")])],1),e._v(" "),a("el-row",{staticClass:"page-search-form"},[a("el-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm},nativeOn:{submit:function(e){e.preventDefault()}}},[a("el-form-item",{attrs:{label:"输入查询",prop:"name"}},[a("el-input",{staticStyle:{width:"220px"},attrs:{placeholder:"请输入"+e.$t("action.attendantName")+"姓名/手机号"},model:{value:e.searchForm.name,callback:function(t){e.$set(e.searchForm,"name",t)},expression:"searchForm.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"所属经纪人",prop:"partner_name"}},[a("el-input",{staticStyle:{width:"220px"},attrs:{placeholder:"请输入经纪人ID/姓名"},model:{value:e.searchForm.partner_name,callback:function(t){e.$set(e.searchForm,"partner_name",t)},expression:"searchForm.partner_name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"所属代理商",prop:"admin_id"}},[a("el-select",{attrs:{placeholder:"请选择代理商",filterable:"",clearable:""},on:{change:function(t){return e.getTableDataList(1)}},model:{value:e.searchForm.admin_id,callback:function(t){e.$set(e.searchForm,"admin_id",t)},expression:"searchForm.admin_id"}},e._l(e.base_agent,function(e){return a("el-option",{key:e.id,attrs:{label:e.agent_name,value:e.id}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"认证状态",prop:"is_user"}},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:function(t){return e.getTableDataList(1)}},model:{value:e.searchForm.is_user,callback:function(t){e.$set(e.searchForm,"is_user",t)},expression:"searchForm.is_user"}},e._l(e.userTypeList,function(e){return a("el-option",{key:e.id,attrs:{label:e.title,value:e.id}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"申请时间",prop:"start_time"}},[a("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"timestamp","picker-options":e.pickerOptions,"default-time":["00:00:00","23:59:59"]},on:{change:function(t){return e.getTableDataList(1)}},model:{value:e.searchForm.start_time,callback:function(t){e.$set(e.searchForm,"start_time",t)},expression:"searchForm.start_time"}})],1),e._v(" "),a("el-form-item",[a("lb-button",{staticStyle:{"margin-right":"5px"},attrs:{size:"medium",type:"primary",icon:"el-icon-search"},on:{click:function(t){return e.getTableDataList(1)}}},[e._v(e._s(e.$t("action.search")))]),e._v(" "),a("lb-button",{staticStyle:{"margin-right":"5px"},attrs:{size:"medium",icon:"el-icon-refresh-left"},on:{click:function(t){return e.resetForm("searchForm")}}},[e._v(e._s(e.$t("action.reset")))])],1)],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.tableData,"header-cell-style":{background:"#f5f7fa",color:"#606266"}}},[a("el-table-column",{attrs:{prop:"id",label:"ID",fixed:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"work_img",label:e.$t("action.attendantName")+"头像","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("lb-image",{attrs:{src:e.row.work_img}})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"coach_name",label:"姓名","min-width":"120"}}),e._v(" "),a("el-table-column",{attrs:{prop:"mobile",label:"手机号","min-width":"120"}}),e._v(" "),a("el-table-column",{attrs:{prop:"create_time",label:"申请时间","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("p",[e._v(e._s(e._f("handleTime")(t.row.create_time,1)))]),e._v(" "),a("p",[e._v(e._s(e._f("handleTime")(t.row.create_time,2)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"admin_add",label:"申请人","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tag",{attrs:{type:e.addText[t.row.admin_add].type}},[e._v(e._s(e.addText[t.row.admin_add].text))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"status",label:"是否绑定","min-width":"140"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("div",{staticStyle:{"margin-top":"7px"}},[e._v("\n 是否绑定\n "),a("lb-tool-tips",{attrs:{padding:"11"}},[e._v("是否绑定真实用户,未绑定则为虚拟技师")])],1)]}},{key:"default",fn:function(t){return[a("div",{class:[{"c-warning":!t.row.user_id}]},[e._v("\n "+e._s(t.row.user_id?"已绑定":"未绑定")+"\n ")])]}}])}),e._v(" "),a("el-table-column",{directives:[{name:"show",rawName:"v-show",value:e.routesItem.auth.fdd,expression:"routesItem.auth.fdd"}],attrs:{prop:"status",label:"","min-width":"140"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("div",{staticStyle:{"margin-top":"7px"}},[e._v("\n 认证状态\n "),a("lb-tool-tips",{attrs:{padding:"11"}},[e._v("实名认证状态")])],1)]}},{key:"default",fn:function(t){return[a("el-tag",{attrs:{type:e.authStatusText[t.row.auth_status].type}},[e._v(e._s(e.authStatusText[t.row.auth_status].text))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"status",label:"状态","min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tag",{attrs:{type:e.statusText[t.row.status].type}},[e._v("\n "+e._s(e.statusText[t.row.status].text)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"partner_name",label:"所属经纪人","min-width":"120"}}),e._v(" "),a("el-table-column",{attrs:{prop:"admin_name",label:"所属代理商","min-width":"120"}}),e._v(" "),e.routesItem.auth.store?a("el-table-column",{attrs:{prop:"store_name",label:"挂靠门店","min-width":"120"}}):e._e(),e._v(" "),a("el-table-column",{attrs:{prop:"address",label:"当前定位","min-width":"200"}}),e._v(" "),e.routesItem.auth.recommend&&0===e.auto_recommend?a("el-table-column",{attrs:{prop:"status",label:"设为推荐","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{disabled:0===e.routesItem.userInfo.is_admin||!e.$route.meta.pagePermission[0].auth.includes("edit"),"active-value":1,"inactive-value":0},on:{change:function(a){return e.updateItem(2,t.row.id,t.row.recommend)}},model:{value:t.row.recommend,callback:function(a){e.$set(t.row,"recommend",a)},expression:"scope.row.recommend"}})]}}],null,!1,3467832234)}):e._e(),e._v(" "),a("el-table-column",{attrs:{label:"操作","min-width":"220"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"table-operate"},[a("lb-button",{directives:[{name:"show",rawName:"v-show",value:1!==t.row.is_update,expression:"scope.row.is_update !== 1"},{name:"hasPermi",rawName:"v-hasPermi",value:e.$route.name+"-edit",expression:"`${$route.name}-edit`"}],attrs:{size:"mini",plain:"",type:"primary"},on:{click:function(a){return e.$router.push("/technician/edit?id="+t.row.id)}}},[e._v(e._s(e.$t("action.edit")))]),e._v(" "),0!==e.routesItem.userInfo.is_admin?a("block",[a("lb-button",{directives:[{name:"show",rawName:"v-show",value:1!==t.row.status,expression:"scope.row.status !== 1"},{name:"hasPermi",rawName:"v-hasPermi",value:e.$route.name+"-delete",expression:"`${$route.name}-delete`"}],attrs:{size:"mini",plain:"",type:"danger"},on:{click:function(a){return e.confirmDel(t.row.id,-1)}}},[e._v(e._s(e.$t("action.delete")))]),e._v(" "),a("lb-button",{directives:[{name:"show",rawName:"v-show",value:1===t.row.status||3===t.row.status,expression:"scope.row.status === 1 || scope.row.status === 3"},{name:"hasPermi",rawName:"v-hasPermi",value:1===e.applyForm.status?e.$route.name+"-authTechnician":e.$route.name+"-resetAuth",expression:"\n applyForm.status === 1\n ? `${$route.name}-authTechnician`\n : `${$route.name}-resetAuth`\n "}],attrs:{size:"mini",plain:"",type:"success"},on:{click:function(a){return e.toShowApply(1,t.row)}}},[e._v(e._s(e.$t(1===t.row.status?"action.authTechnician":"action.resetAuth")))]),e._v(" "),a("lb-button",{directives:[{name:"show",rawName:"v-show",value:1===t.row.is_update,expression:"scope.row.is_update === 1"},{name:"hasPermi",rawName:"v-hasPermi",value:e.$route.name+"-resetExamine",expression:"`${$route.name}-resetExamine`"}],attrs:{size:"mini",plain:"",type:"danger"},on:{click:function(a){return e.toShowApply(2,t.row)}}},[e._v(e._s(e.$t("action.resetExamine")))]),e._v(" "),a("lb-button",{directives:[{name:"show",rawName:"v-show",value:1===t.row.auth_status,expression:"scope.row.auth_status === 1"},{name:"hasPermi",rawName:"v-hasPermi",value:e.$route.name+"-authenticationExamine",expression:"`${$route.name}-authenticationExamine`"}],attrs:{size:"mini",plain:"",type:"success"},on:{click:function(a){return e.toShowApply(3,t.row)}}},[e._v(e._s(e.$t("action.authenticationExamine")))]),e._v(" "),a("lb-button",{directives:[{name:"show",rawName:"v-show",value:2===t.row.status,expression:"scope.row.status === 2"},{name:"hasPermi",rawName:"v-hasPermi",value:e.$route.name+"-cancelAuth",expression:"`${$route.name}-cancelAuth`"}],attrs:{size:"mini",plain:"",type:"success"},on:{click:function(a){return e.confirmDel(t.row.id,3)}}},[e._v(e._s(e.$t("action.cancelAuth")))]),e._v(" "),a("lb-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:e.$route.name+"-updateAgent",expression:"`${$route.name}-updateAgent`"}],attrs:{size:"mini",plain:"",type:"warning"},on:{click:function(a){return e.confirmChange(t.row)}}},[e._v(e._s(e.$t("action.updateAgent")))])],1):e._e()],1)]}}])})],1),e._v(" "),a("lb-page",{attrs:{batch:!1,page:e.searchForm.page,pageSize:e.searchForm.limit,total:e.total},on:{handleSizeChange:e.handleSizeChange,handleCurrentChange:e.handleCurrentChange}}),e._v(" "),a("el-dialog",{staticClass:"dialog-form",attrs:{title:3===e.subForm.type?"认证详情":"申请详情",visible:e.showDialog.apply,width:"800px",center:""},on:{"update:visible":function(t){return e.$set(e.showDialog,"apply",t)}}},[e.showDialog.apply?a("div",{staticStyle:{height:"60vh",overflow:"auto"}},[a("el-form",{attrs:{model:e.applyForm,"label-width":"150px",size:"mini"},nativeOn:{submit:function(e){e.preventDefault()}}},[e.applyForm.user_id?a("div",{staticClass:"flex-warp"},[a("el-form-item",{staticStyle:{width:"50%"},attrs:{label:"用户ID:"}},[a("div",[e._v(e._s(e.applyForm.user_id))])]),e._v(" "),a("el-form-item",{staticStyle:{width:"50%"},attrs:{label:"昵称:"}},[a("div",[e._v(e._s(e.applyForm.nickName))])])],1):e._e(),e._v(" "),a("el-form-item",{attrs:{label:"姓名:"}},[a("div",[e._v(e._s(e.applyForm.coach_name))])]),e._v(" "),a("el-form-item",{attrs:{label:"性别:"}},[a("div",[e._v(e._s(0===e.applyForm.sex?"男":"女"))])]),e._v(" "),a("el-form-item",{attrs:{label:"手机号:"}},[a("div",[e._v(e._s(e.applyForm.mobile))])]),e._v(" "),3!==e.subForm.type?a("block",[e.applyForm.work_time?a("el-form-item",{attrs:{label:"从业年份:"}},[a("div",[e._v(e._s(e.applyForm.work_time)+"年")])]):e._e(),e._v(" "),a("el-form-item",{attrs:{label:"意向工作城市:"}},[a("div",[e._v(e._s(e.applyForm.city))])]),e._v(" "),e.applyForm.partner_id&&e.applyForm.partner_name?a("el-form-item",{attrs:{label:"所属经纪人:"}},[a("div",[e._v(e._s(e.applyForm.partner_name))])]):e._e(),e._v(" "),e.applyForm.admin_id&&e.applyForm.admin_name?a("el-form-item",{attrs:{label:"所属代理商:"}},[a("div",[e._v(e._s(e.applyForm.admin_name))])]):e._e(),e._v(" "),e.applyForm.store_id&&e.applyForm.store_name?a("el-form-item",{attrs:{label:"挂靠门店:"}},[a("div",[e._v(e._s(e.applyForm.store_name))])]):e._e(),e._v(" "),e.applyForm.address?a("el-form-item",{attrs:{label:"所在地址:"}},[a("div",[e._v(e._s(e.applyForm.address))])]):e._e(),e._v(" "),e.applyForm.text?a("el-form-item",{attrs:{label:e.$t("action.attendantName")+"技简介:"}},[a("div",{domProps:{innerHTML:e._s(e.applyForm.text)}})]):e._e()],1):e._e(),e._v(" "),e.applyForm.id_code?a("el-form-item",{attrs:{label:"身份证号:"}},[a("div",[e._v(e._s(e.applyForm.id_code))])]):e._e(),e._v(" "),e.applyForm.id_card.length>0?a("el-form-item",{attrs:{label:"身份证正反面:"}},[a("div",{staticClass:"flex-warp"},[a("lb-cover",{attrs:{fileList:e.applyForm.id_card,isToDel:!1,size:"small",type:"more",fileSize:e.applyForm.id_card.length}})],1)]):e._e(),e._v(" "),3!==e.subForm.type?a("block",[e.applyForm.license.length>0?a("el-form-item",{attrs:{label:"资格证书:"}},[a("div",{staticClass:"flex-warp"},[a("lb-cover",{attrs:{fileList:e.applyForm.license,isToDel:!1,size:"small",type:"more",fileSize:e.applyForm.license.length}})],1)]):e._e(),e._v(" "),a("el-form-item",{attrs:{label:"工作形象照:"}},[a("div",{staticClass:"flex-warp"},[a("lb-cover",{attrs:{fileList:[{url:e.applyForm.work_img}],isToDel:!1,size:"small",type:"more",fileSize:1}})],1)]),e._v(" "),e.applyForm.self_img.length>0?a("el-form-item",{attrs:{label:"个人生活照:"}},[a("div",{staticClass:"flex-warp"},[a("lb-cover",{attrs:{fileList:e.applyForm.self_img,isToDel:!1,size:"small",type:"more",fileSize:e.applyForm.self_img.length}})],1)]):e._e(),e._v(" "),e.applyForm.video?a("el-form-item",{attrs:{label:"个人视频介绍:"}},[a("video",{attrs:{controls:"",width:"500",height:"300",src:e.applyForm.video}})]):e._e()],1):e._e(),e._v(" "),a("div",{staticClass:"space-lg"}),e._v(" "),a("div",{staticClass:"space-lg b-1px-t"}),e._v(" "),a("div",{staticClass:"space-lg"}),e._v(" "),1!==e.applyForm.status&&3!==e.subForm.type?a("block",[a("div",{staticClass:"flex-warp"},[a("el-form-item",{staticStyle:{width:"50%"},attrs:{label:"审核结果:",prop:"status"}},[a("el-tag",{attrs:{type:e.statusText[e.applyForm.status].type}},[e._v(e._s(e.statusText[e.applyForm.status].text))])],1),e._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:1!=e.applyForm.status&&e.applyForm.sh_time,expression:"applyForm.status != 1 && applyForm.sh_time"}],staticStyle:{width:"50%"},attrs:{label:"审核时间:",prop:""}},[a("div",{staticClass:"c-warning"},[e._v("\n "+e._s(e._f("handleTime")(e.applyForm.sh_time))+"\n ")])])],1),e._v(" "),e.applyForm.sh_text?a("el-form-item",{attrs:{label:"审核意见:",prop:"sh_text"}},[a("div",[e._v(e._s(e.applyForm.sh_text))])]):e._e()],1):e._e()],1),e._v(" "),a("el-form",{directives:[{name:"show",rawName:"v-show",value:1===e.applyForm.auth_status||[1,3].includes(e.applyForm.status),expression:"\n applyForm.auth_status === 1 || [1, 3].includes(applyForm.status)\n "},{name:"hasPermi",rawName:"v-hasPermi",value:1===e.applyForm.auth_status?e.$route.name+"-authenticationExamine":1===e.applyForm.status?e.$route.name+"-authTechnician":e.$route.name+"-resetAuth",expression:"\n applyForm.auth_status === 1\n ? `${$route.name}-authenticationExamine`\n : applyForm.status === 1\n ? `${$route.name}-authTechnician`\n : `${$route.name}-resetAuth`\n "}],ref:"subForm",attrs:{model:e.subForm,rules:e.subFormRules,"label-width":"150px",size:"mini"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("el-form-item",{staticStyle:{width:"50%"},attrs:{label:"审核结果:",prop:"status"}},[a("el-radio-group",{model:{value:e.subForm.status,callback:function(t){e.$set(e.subForm,"status",t)},expression:"subForm.status"}},[a("el-radio",{attrs:{label:2}},[e._v("通过")]),e._v(" "),1===e.applyForm.status||1===e.applyForm.auth_status?a("el-radio",{attrs:{label:3===e.subForm.type?3:4}},[e._v("驳回")]):e._e()],1)],1),e._v(" "),3!==e.subForm.type?a("el-form-item",{attrs:{label:"审核意见:"}},[a("el-input",{attrs:{type:"textarea",rows:10,maxlength:"300","show-word-limit":"",resize:"none",placeholder:"请输入审核意见"},model:{value:e.subForm.sh_text,callback:function(t){e.$set(e.subForm,"sh_text",t)},expression:"subForm.sh_text"}})],1):e._e()],1)],1):e._e(),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.showDialog.apply=!1}}},[e._v(e._s(e.$t("action.cancel")))]),e._v(" "),a("el-button",{directives:[{name:"show",rawName:"v-show",value:1===e.applyForm.auth_status||[1,3].includes(e.applyForm.status),expression:"\n applyForm.auth_status === 1 || [1, 3].includes(applyForm.status)\n "},{name:"hasPermi",rawName:"v-hasPermi",value:1===e.applyForm.auth_status?e.$route.name+"-authenticationExamine":1===e.applyForm.status?e.$route.name+"-authTechnician":e.$route.name+"-resetAuth",expression:"\n applyForm.auth_status === 1\n ? `${$route.name}-authenticationExamine`\n : applyForm.status === 1\n ? `${$route.name}-authTechnician`\n : `${$route.name}-resetAuth`\n "},{name:"preventReClick",rawName:"v-preventReClick"}],attrs:{type:"primary"},on:{click:function(t){return e.submitForm("sub")}}},[e._v(e._s(e.$t("action.comfirm")))])],1)]),e._v(" "),a("el-dialog",{staticClass:"dialog-form",attrs:{title:"修改所属代理商",visible:e.showDialog.change,width:"600px",center:""},on:{"update:visible":function(t){return e.$set(e.showDialog,"change",t)}}},[a("el-form",{ref:"changeForm",attrs:{model:e.changeForm,"label-width":"140px"},nativeOn:{submit:function(e){e.preventDefault()}}},[e.changeForm.admin_name?a("el-form-item",{attrs:{label:"原代理商:"}},[e._v("\n "+e._s(e.changeForm.admin_name)+"\n ")]):e._e(),e._v(" "),a("el-form-item",{attrs:{label:"修改所属代理商:"}},[a("el-select",{staticClass:"mt-md",attrs:{placeholder:"请选择代理商",filterable:"",clearable:""},on:{change:function(t){return e.getStoreList(2)}},model:{value:e.changeForm.admin_id,callback:function(t){e.$set(e.changeForm,"admin_id",t)},expression:"changeForm.admin_id"}},e._l(e.base_agent,function(e){return a("el-option",{key:e.id,attrs:{label:e.agent_name,value:e.id}})}),1)],1),e._v(" "),e.routesItem.auth.store&&e.base_store.length>0?a("el-form-item",{attrs:{label:"挂靠门店",prop:"store_id"}},[a("el-select",{attrs:{filterable:"",clearable:"",placeholder:"请选择"},model:{value:e.changeForm.store_id,callback:function(t){e.$set(e.changeForm,"store_id",t)},expression:"changeForm.store_id"}},e._l(e.base_store,function(e){return a("el-option",{key:e.id,attrs:{label:e.title,value:e.id}})}),1)],1):e._e()],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.showDialog.change=!1}}},[e._v(e._s(e.$t("action.cancel")))]),e._v(" "),a("el-button",{directives:[{name:"preventReClick",rawName:"v-preventReClick"}],attrs:{type:"primary"},on:{click:function(t){return e.submitForm("change",2)}}},[e._v(e._s(e.$t("action.comfirm")))])],1)],1)],1)],1)},staticRenderFns:[]};var w=a("VU/8")(b,y,!1,function(e){a("xPYx")},"data-v-d6dcb4a8",null);t.default=w.exports},xPYx:function(e,t){}});