(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-b0f40128"],{"0290":function(e,t,a){"use strict";a("8b6c")},"0823":function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"t",(function(){return s})),a.d(t,"o",(function(){return r})),a.d(t,"i",(function(){return l})),a.d(t,"q",(function(){return n})),a.d(t,"l",(function(){return o})),a.d(t,"r",(function(){return c})),a.d(t,"f",(function(){return d})),a.d(t,"p",(function(){return h})),a.d(t,"j",(function(){return m})),a.d(t,"d",(function(){return u})),a.d(t,"e",(function(){return p})),a.d(t,"s",(function(){return f})),a.d(t,"m",(function(){return g})),a.d(t,"n",(function(){return v})),a.d(t,"a",(function(){return k})),a.d(t,"k",(function(){return C})),a.d(t,"g",(function(){return b})),a.d(t,"h",(function(){return y})),a.d(t,"c",(function(){return w}));const i=[{step:10,stepStr:"意向收集"},{step:20,stepStr:"意向待初审"},{step:21,stepStr:"意向初审驳回"},{step:30,stepStr:"入驻资料填写"},{step:40,stepStr:"微信支付申请"},{step:50,stepStr:"入驻待复审"},{step:51,stepStr:"入驻复审驳回"},{step:60,stepStr:"复审完成走线下流程"},{step:70,stepStr:"线下流程完成进入向导"},{step:100,stepStr:"入驻已完成"}],s=[{name:"暂存",id:0},{name:"需年审",id:5},{name:"待审核",id:10},{name:"审核通过",id:20},{name:"审核驳回",id:30},{name:"固城湖品牌备案中",id:40},{name:"备案完成",id:50}],r=[{name:"缴费中",id:10},{name:"驳回再缴费",id:14},{name:"初审中",id:20},{name:"初审驳回",id:21},{name:"验厂中",id:30},{name:"验厂驳回",id:31},{name:"待填支付信息",id:40},{name:"已完成",id:50}],l=[{name:"已上架",value:1},{name:"未上架",value:2},{name:"违规商品",value:3}],n=[{name:"1.5以下",str:1.2,value:1},{name:"1.5-1.9",str:1.5,value:2},{name:"2.0-2.4",str:2,value:3},{name:"2.5-2.9",str:2.5,value:4},{name:"3.0-3.4",str:3,value:5},{name:"3.5-3.9",str:3.5,value:6},{name:"4.0-4.4",str:4,value:7},{name:"4.5-4.9",str:4.5,value:8},{name:"5.0-5.9",str:5,value:9},{name:"6.0以上",str:6,value:10}],o=[{name:"云预约订单",value:1},{name:"后台录入订单",value:2},{name:"贴牌订单",value:3},{name:"分销订单",value:4},{name:"APP下单",value:5},{name:"中奖兑换",value:6},{name:"云拣仓",value:10}],c=[{name:"待处理",value:0},{name:"已处理",value:10},{name:"误报",value:20}],d=[{name:"委托检测",value:1},{name:"自行上传",value:2}],h=[{name:"初审-待审核",value:20},{name:"初审-未通过",value:21},{name:"初审-已通过",value:22},{name:"支付费用",value:30},{name:"等待测绘和检测报告",value:32},{name:"有检测或测绘驳回",value:33},{name:"复审-待审核",value:50},{name:"复审-未通过",value:51},{name:"复审-已通过",value:52},{name:"有复审驳回等待",value:53},{name:"补交产地测绘费用",value:60},{name:"已授权",value:70}],m=[{name:"测绘人驳回",value:43},{name:"待审核",value:50},{name:"审核通过",value:70},{name:"审核驳回",value:44}],u=[{name:"待审核",value:10},{name:"检测合格",value:20},{name:"检测不合格",value:30}],p=[{name:"自检",value:1},{name:"送检",value:2},{name:"抽检",value:3}],f=[{name:"无限制",value:1},{name:"按品类",value:2},{name:"按商品",value:3}],g=[{name:"支付宝",value:1},{name:"微信",value:2},{name:"对公汇款",value:3}],v=[{name:"蟹联网平台",value:10},{name:"云预约平台",value:40}],k=[{name:"待审核",value:10},{name:"审核通过",value:20},{name:"审核驳回",value:30}],C=[{name:"微信",value:"1"},{name:"淘宝",value:"2"},{name:"抖音",value:"3"},{name:"京东",value:"4"},{name:"实体店",value:"5"}],b=[{name:"卡券代理",value:"flagCardSale",disabled:!0},{name:"批发",value:"flagWholesale",disabled:!0},{name:"一件代发",value:"flagOneClickSend",disabled:!0},{name:"一件代发（自有包装）",value:"flagOneClickSendOwnPackage",disabled:!1}],y=[{name:"正常流程",value:0},{name:"退款待审核",value:10},{name:"已退款",value:20}],w=[{value:0,name:"待审核"},{value:10,name:"审核通过"},{value:20,name:"审核驳回"}]},"65da":function(e,t,a){"use strict";a.r(t);var i=a("2753"),s=(a("d9e2"),a("14d9"),{props:{visible:{default:!1,type:Boolean}},data(){return{form:{name:"",pageNum:1,pageSize:10},total:0,bodyList:[],information:[],loading:!1,radio:"null"}},watch:{visible(e,t){e||(this.reset(),this.bindBodyfindListAllBody())}},methods:{handleClose(){this.$emit("update:visible",!1)},confirm(){this.information.length<1?this.$MessageBox.MessageWarning("请选择主体"):(this.$emit("okCallback",this.information[0]),this.$emit("update:visible",!1))},handleCurrentChange(e){this.form.pageNum=e=e<1?1:e,this.bindBodyfindListAllBody()},handleSizeChange(e){this.form.pageSize=e=100<(e=e<10?10:e)?100:e,this.bindBodyfindListAllBody()},handleCurrentChangeTable(e){this.currentRow=e,"0"<this.information.length&&(this.$refs.multipleTable.clearSelection(),this.information.splice(0,1)),this.information.push(e),this.$refs.multipleTable.toggleRowSelection(e)},bindBodyfindListAllBody(){this.loading=!0;var e=this.form;Object(i.vb)(e).then(e=>{this.loading=!1,e.flag?(this.bodyList=e.rows,this.total=e.total):this.$MessageBox.MessageWarning(e.msg)}).catch(e=>{this.loading=!1,888!==e.status&&(this.pageLoad=!1,this.myError(e,this.modelString.查询可绑定主体))})},handleSelectionChange(e){1<e.length&&(this.$MessageBox.MessageWarning("当前仅可选择一个主体"),this.$refs.multipleTable.clearSelection(),this.information.splice(0,1))},chooseone(e){this.radio=e.id},bodyDetailClick(e){},reset(){this.form={name:"",pageNum:1,pageSize:10},this.information=[]}},mounted(){this.bindBodyfindListAllBody()}}),r=(a("d7c8"),a("2877")),l=(s=Object(r.a)(s,(function(){var e=this,t=e._self._c;return t("el-dialog",{staticClass:"checkMange-public",attrs:{title:"选择主体",visible:e.visible,top:"10vh",width:"1000px",modal:!1,"before-close":e.handleClose,"close-on-press-escape":!1,"close-on-click-modal":!1,"custom-class":"checkBody"}},[t("div",{staticClass:"header display-flex-center justcent-between"},[t("div",{staticClass:"display-flex-center"},[t("span",{staticClass:"title minWith"},[e._v("主体名称:")]),t("div",{staticClass:"inputWidth"},[t("el-input",{attrs:{placeholder:"请输入主体名称"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)]),t("div",[t("div",{staticClass:"searchBtn display-flex-center"},[t("el-button",{staticClass:"blueColor",staticStyle:{"margin-right":"10px"},attrs:{type:"primary"},on:{click:function(t){return e.bindBodyfindListAllBody()}}},[e._v("查询")]),t("span",{staticClass:"remake",on:{click:function(t){return e.reset()}}},[e._v("重置查询项")])],1)])]),t("div",{staticClass:"main display-flex-center"},[t("div",{staticClass:"left"}),t("div",{staticClass:"right"},[t("div",{staticClass:"position_disabled"}),t("div",{staticClass:"list"},[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%","min-height":"480px"},attrs:{data:e.bodyList,height:"430","tooltip-effect":"dark","row-key":"id","highlight-current-row":""},on:{"current-change":e.handleCurrentChangeTable,"selection-change":e.handleSelectionChange}},[t("el-table-column",{attrs:{type:"selection",width:"55"}}),t("el-table-column",{attrs:{prop:"name",label:"主体名称",align:"center"}})],1)],1),t("div",[t("el-pagination",{attrs:{background:"","current-page":e.form.pageNum,"page-sizes":[10,20,30,40],"page-size":10,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)])]),t("template",{slot:"footer"},[t("span",{staticClass:"dialog-footer"},[t("el-button",{staticClass:"determineBtn marginRight25 blueColor",attrs:{type:"primary"},on:{click:e.confirm}},[e._v("确定 ")]),t("el-button",{staticClass:"cancelBtn",on:{click:e.handleClose}},[e._v("取消")])],1)])],2)}),[],!1,null,"485c8b3e",null).exports,a("ad9d")),n=(s={props:{visible:{default:!1,type:Boolean},id:{type:String,default:""},sta:{type:String,default:""}},components:{selectBody:s,citySelect:l.a},data(){return{checkform:{name:"",address:"",state:"0",idCard:"",itemTxt:"",reviewMsg:"",practiceYear:"",age:"",photoFileId:"",photoPath:"",photoThumbnailPath:"",idCardFileId:"",idCardDownPath:"",idCardList:[],photoList:[],idCardUpImg:[]},form:{reviewMsg:"",state:10},nowYear:"",selectBodyShow:!1,bodyInformation:"",isAlignLoding:!1,okpicListPic:"",showFlag:!1,photoFlag:!1,idCardFlag:!1,adoptAuditLoading:!1,resfeLoading:!1,sureLoading:!1,rules:{name:[{required:!0,message:"请输入姓名",trigger:"blur"},{max:10,trigger:"change",message:"姓名最多10个字符"}],age:[{required:!0,message:"请输入年龄",trigger:"blur"}],province:[{required:!0,message:"请输入所在地区",trigger:"blur"}],idCard:[{required:!0,validator:(e,t,a)=>t?a():a(new Error("身份证号不能为空")),trigger:"blur"}],address:[{required:!0,message:"请输入详细地址",trigger:"blur"}],itemTxt:[{required:!0,message:"请输入案例",trigger:"blur"}],reviewMsg:[{required:!1,message:"请输入驳回理由",trigger:"blur"}],practiceYear:[{required:!0,message:"请输入从业年限",trigger:"blur"}],state:[{required:!0,message:"请选择审核状态",trigger:"blur"}],photoList:[{required:!0,validator:(e,t,a)=>0==this.checkform.photoList.length?a(new Error("请上传证件照")):a(),trigger:["blur","change"]}],idCardList:[{required:!0,validator:(e,t,a)=>0==this.checkform.idCardList.length?a(new Error("请上传身份证(人像面)")):a(),trigger:["blur","change"]}],idCardUpImg:[{required:!0,validator:(e,t,a)=>0==this.checkform.photoList.length?a(new Error("请上传身份证（国徽面）")):a(),trigger:["blur","change"]}]}}},watch:{visible:{handler(e){e&&("1"==this.sta?this.bindfindOneAuditCheckmaDetailById({id:this.id}):this.bindFindOneCheckmanInfoById({id:this.id}),this.reset())},immediate:!0}},methods:{bindfindOneAuditCheckmaDetailById(e){this.isAlignLoding=!0,Object(i.Fb)(e).then(e=>{this.isAlignLoding=!1,e.flag?this.checkform=e.data:this.$MessageBox.MessageWarning(e.msg)}).catch(e=>{this.isAlignLoding=!1,888!==e.status&&this.myError(e,this.modelString.验蟹师回显详情)})},bindFindOneCheckmanInfoById(e){this.isAlignLoding=!0,Object(i.Ib)(e).then(e=>{this.isAlignLoding=!1,e.flag?(this.checkform=e.data,this.stateChange(),this.$set(this.checkform,"idCardList",[{path:this.checkform.idCardDownPath,id:this.checkform.idCardFileId}]),this.$set(this.checkform,"photoList",[{path:this.checkform.photoPath,id:this.checkform.photoFileId}]),this.$set(this.checkform,"idCardUpImg",[{path:this.checkform.idCardUpPath}]),this.bodyInformation={name:this.checkform.employerName,id:this.checkform.employerBodyId},this.$set(this.checkform,"practiceYear",this.nowYear-this.checkform.inYear),this.$set(this.checkform,"age",this.nowYear-this.checkform.birthdayYear)):this.$MessageBox.MessageWarning(e.msg)}).catch(e=>{this.isAlignLoding=!1,888!==e.status&&this.myError(e,this.modelString.验蟹师回显详情)})},examineStateChange(){},removeImg(e,t){3==t?(this.checkform.idCardUpImg=[],this.checkform.idCardUpPath=""):2==t?this.checkform.photoList.splice(0,1):1==t&&this.checkform.idCardList.splice(0,1)},confirm(){var e=this.$refs.selectCity.validateHandle();if(this.sureLoading=!0,!e)return this.$MessageBox.MessageWarning("请填写必填项"),this.sureLoading=!1;this.$refs.checkRef.validate(e=>{if(!e)return this.$MessageBox.MessageWarning("请填写必填项"),this.sureLoading=!1;e=this.checkform,e.operationType="2",e.type="2",Object(i.Ec)(e).then(e=>{this.sureLoading=!1,e.flag?(this.$MessageBox.MessageSuccess("编辑成功"),this.$emit("okCallback"),this.$emit("update:visible",!1)):(this.$emit("okCallback"),this.$MessageBox.MessageWarning(e.msg))}).catch(e=>{this.sureLoading=!1,888!==e.status&&this.myError(e,this.modelString.编辑验蟹师)})})},isAlignClik(){var e={id:this.id,state:this.form.state,reviewMsg:this.form.reviewMsg.trim()};10==this.form.state?(this.adoptAuditLoading=!0,this.postAuditCheckmaById(e),this.$emit("update:visible",!1)):(this.resfeLoading=!0,""==e.reviewMsg?(this.$MessageBox.MessageWarning("拒绝审核意见不能为空!"),this.resfeLoading=!1):(this.postAuditCheckmaById(e),this.$emit("update:visible",!1)))},postAuditCheckmaById(e){Object(i.f)(e).then(e=>{this.adoptAuditLoading=!1,this.resfeLoading=!1,e.flag?(this.$MessageBox.MessageSuccess("操作成功"),this.$emit("okCallback")):this.$MessageBox.MessageWarning(e.msg)}).catch(e=>{this.adoptAuditLoading=!1,this.resfeLoading=!1,888!==e.status&&this.myError(e,this.modelString.审核验蟹师)})},handleClose(){this.$emit("update:id",""),this.$emit("update:visible",!1)},bodyCallBack(e){this.bodyInformation=e},reset(){this.bodyInformation="",this.form.reviewMsg="",this.form.state=10},uploadCallback(e,t){1===t&&(this.checkform.idCardList.push(e),this.checkform.idCardFileId=e.id,this.checkform.idCardDownPath=e.path),2===t&&(this.checkform.photoList.push(e),this.checkform.photoFileId=e.id,this.checkform.photoPath=e.path,this.checkform.photoThumbnailPath=e.thumbnailPath),3===t&&(this.checkform.idCardUpImg.push(e),this.checkform.idCardUpPath=e.path)},stateChange(){"20"==this.checkform.state?this.rules.reviewMsg[0].required=!0:this.rules.reviewMsg[0].required=!1}},mounted(){var e=new Date;this.nowYear=e.getFullYear()}},l=(a("0290"),Object(r.a)(s,(function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.isAlignLoding,expression:"isAlignLoding"}],staticClass:"checkMange-public",attrs:{title:"1"==e.sta?"审核":"编辑",visible:e.visible,width:"1000px","destroy-on-close":!0,top:"10vh","before-close":e.handleClose,"close-on-press-escape":!1,"close-on-click-modal":!1,"custom-class":"check"}},[t("div",{staticClass:"checkMange-box"},["2"==this.sta?t("el-form",{ref:"checkRef",attrs:{model:e.checkform,"label-width":"140px",rules:e.rules}},[t("el-form-item",{attrs:{label:"姓名：",prop:"name"}},[t("el-input",{staticClass:"smallInput",attrs:{maxlength:"20",placeholder:"请输入姓名"},model:{value:e.checkform.name,callback:function(t){e.$set(e.checkform,"name",t)},expression:"checkform.name"}})],1),t("el-form-item",{attrs:{label:"年龄：",prop:"age"}},[t("el-input",{staticClass:"smallInput",attrs:{maxlength:"3",placeholder:"请输入年龄"},model:{value:e.checkform.age,callback:function(t){e.$set(e.checkform,"age",e._n(t))},expression:"checkform.age"}})],1),t("citySelect",{ref:"selectCity",attrs:{provinceId:e.checkform.province,cityId:e.checkform.city,areaId:e.checkform.area,areaShow:!0,labelWidth:"140px"},on:{"update:provinceId":function(t){return e.$set(e.checkform,"province",t)},"update:province-id":function(t){return e.$set(e.checkform,"province",t)},"update:cityId":function(t){return e.$set(e.checkform,"city",t)},"update:city-id":function(t){return e.$set(e.checkform,"city",t)},"update:areaId":function(t){return e.$set(e.checkform,"area",t)},"update:area-id":function(t){return e.$set(e.checkform,"area",t)}}}),t("el-form-item",{attrs:{label:"详细地址：",prop:"address"}},[t("el-input",{staticClass:"secondaryInput",attrs:{placeholder:"请输入详细地址",maxlength:"200"},model:{value:e.checkform.address,callback:function(t){e.$set(e.checkform,"address",t)},expression:"checkform.address"}})],1),t("el-form-item",{attrs:{label:"身份证号：",prop:"idCard"}},[t("el-input",{staticClass:"secondaryInput",attrs:{placeholder:"请输入身份证",maxlength:"18"},model:{value:e.checkform.idCard,callback:function(t){e.$set(e.checkform,"idCard",t)},expression:"checkform.idCard"}})],1),t("el-form-item",{staticClass:"shop",attrs:{label:"身份证（人像面）：",prop:"idCardList"}},[t("el-row",{attrs:{type:"flex"}},[t("file-list",{attrs:{fileList:e.checkform.idCardList},on:{removeFile:function(t){return e.removeImg(t,1)}}}),e.checkform.idCardList.length<1?t("my-upload",{on:{addImage:function(t){return e.uploadCallback(t,1)}}}):e._e()],1)],1),t("el-form-item",{staticClass:"shop",attrs:{label:"身份证（国徽面）：",prop:"idCardUpImg"}},[t("el-row",{attrs:{type:"flex"}},[t("file-list",{attrs:{fileList:e.checkform.idCardUpImg},on:{removeFile:function(t){return e.removeImg(t,3)}}}),e.checkform.idCardUpImg.length<1?t("my-upload",{on:{addImage:function(t){return e.uploadCallback(t,3)}}}):e._e()],1)],1),t("el-form-item",{staticClass:"shop",attrs:{label:"证件照：",prop:"photoList"}},[t("el-row",{attrs:{type:"flex"}},[t("file-list",{attrs:{fileList:e.checkform.photoList},on:{removeFile:function(t){return e.removeImg(t,2)}}}),e.checkform.photoList.length<1?t("my-upload",{on:{addImage:function(t){return e.uploadCallback(t,2)}}}):e._e()],1)],1),t("el-form-item",{attrs:{label:"从业年限：",prop:"practiceYear"}},[t("el-input",{staticClass:"secondaryInput",attrs:{placeholder:"请输入从业年限",maxlength:"2"},model:{value:e.checkform.practiceYear,callback:function(t){e.$set(e.checkform,"practiceYear",t)},expression:"checkform.practiceYear"}})],1),t("el-form-item",{attrs:{label:"就业案例：",prop:"itemTxt"}},[t("el-input",{staticClass:"secondaryInput",staticStyle:{width:"600px"},attrs:{maxlength:"500",placeholder:"请输入就业案例",type:"textarea",rows:"5",resize:"none","show-word-limit":""},model:{value:e.checkform.itemTxt,callback:function(t){e.$set(e.checkform,"itemTxt",t)},expression:"checkform.itemTxt"}})],1),t("el-form-item",{attrs:{label:"审核意见：",prop:"reviewMsg"}},[t("el-input",{staticClass:"secondaryInput",staticStyle:{width:"600px"},attrs:{placeholder:"请输入审核意见",type:"textarea",rows:"3",maxlength:"200",resize:"none","show-word-limit":""},model:{value:e.checkform.reviewMsg,callback:function(t){e.$set(e.checkform,"reviewMsg",t)},expression:"checkform.reviewMsg"}})],1),t("el-form-item",{attrs:{label:"审核状态：",prop:"state"}},[t("el-radio-group",{on:{change:e.stateChange},model:{value:e.checkform.state,callback:function(t){e.$set(e.checkform,"state",t)},expression:"checkform.state"}},[t("el-radio",{attrs:{label:10}},[e._v("审核通过")]),t("el-radio",{attrs:{label:20}},[e._v("审核拒绝")])],1)],1)],1):"1"==this.sta?t("div",[t("div",{staticClass:"display-flex-center marginTB16"},[t("div",{staticClass:"title minWith"},[e._v("姓名:")]),t("div",{staticClass:"title"},[e._v(e._s(e.checkform.name))])]),t("div",{staticClass:"display-flex-center marginTB16"},[t("div",{staticClass:"title minWith"},[e._v("所在地区:")]),t("div",{staticClass:"title"},[e._v(" "+e._s(e.checkform.provinceName+" "+e.checkform.cityName+" "+e.checkform.areaName)+" ")])]),t("div",{staticClass:"display-flex-center marginTB16"},[t("div",{staticClass:"title minWith"},[e._v("详细地址:")]),t("div",{staticClass:"title"},[e._v(e._s(e.checkform.address))])]),t("div",{staticClass:"display-flex-center marginTB16"},[t("div",{staticClass:"title minWith"},[e._v("身份证号:")]),t("div",{staticClass:"title"},[e._v(e._s(e.checkform.idCard))])]),t("div",{staticClass:"display-flex marginTB16"},[t("div",{staticClass:"title minWith"},[e._v("身份证（人像面）：")]),t("div",{staticClass:"title"},[t("el-image",{staticClass:"imageBigBox",staticStyle:{width:"100px",height:"100px"},attrs:{src:e.checkform.idCardDownPath,"preview-src-list":[e.checkform.idCardDownPath]}})],1)]),t("div",{staticClass:"display-flex marginTB16"},[t("div",{staticClass:"title minWith"},[e._v("身份证（国徽面）：")]),t("div",{staticClass:"title"},[t("el-image",{staticClass:"imageBigBox",staticStyle:{width:"100px",height:"100px"},attrs:{src:e.checkform.idCardUpPath,"preview-src-list":[e.checkform.idCardUpPath]}})],1)]),t("div",{staticClass:"display-flex marginTB16"},[t("div",{staticClass:"title minWith"},[e._v("证件照:")]),t("div",{staticClass:"title"},[t("el-image",{staticClass:"imageBigBox",staticStyle:{width:"100px",height:"100px"},attrs:{src:e.checkform.photoPath,"preview-src-list":[e.checkform.photoPath]}})],1)]),t("div",{staticClass:"display-flex-center marginTB16"},[t("div",{staticClass:"title minWith"},[e._v("从业年限:")]),t("div",{staticClass:"title"},[e._v(e._s(e.nowYear-e.checkform.inYear))])]),t("div",{staticClass:"display-flex-center marginTB16"},[t("div",{staticClass:"title minWith"},[e._v("就业案例:")]),t("div",{staticClass:"title"},[e._v(e._s(e.checkform.itemTxt))])]),t("div",{staticClass:"display-flex marginTB16"},[t("div",{staticClass:"title minWith afterTips"},[e._v("审核状态:")]),t("div",{staticClass:"title"},[t("el-radio-group",{on:{change:e.examineStateChange},model:{value:e.form.state,callback:function(t){e.$set(e.form,"state",t)},expression:"form.state"}},[t("el-radio",{attrs:{label:10}},[e._v("审核通过")]),t("el-radio",{attrs:{label:20}},[e._v("审核驳回")])],1)],1)]),20==e.form.state?t("div",{staticClass:"display-flex marginTB16"},[t("div",{staticClass:"title minWith afterTips"},[e._v("驳回理由:")]),t("div",{staticClass:"title"},[t("el-input",{staticStyle:{width:"600px"},attrs:{type:"textarea",rows:5,placeholder:"请输入驳回理由",maxlength:"200",resize:"none","show-word-limit":""},model:{value:e.form.reviewMsg,callback:function(t){e.$set(e.form,"reviewMsg",t)},expression:"form.reviewMsg"}})],1)]):e._e()]):e._e()],1),t("template",{slot:"footer"},["2"==e.sta?t("span",{staticClass:"dialog-footer"},[t("el-button",{staticClass:"cancelBtn blueColor marginRight40",attrs:{type:"primary",loading:e.sureLoading},on:{click:e.confirm}},[e._v("确定")]),t("el-button",{staticClass:"cancelBtn",on:{click:e.handleClose}},[e._v("取消")])],1):"1"==e.sta?t("span",{staticClass:"dialog-footer"},[t("el-button",{staticClass:"cancelBtn blueColor marginRight40",attrs:{type:"primary",loading:e.adoptAuditLoading},on:{click:function(t){return e.isAlignClik()}}},[e._v("确认")]),t("el-button",{staticClass:"cancelBtn",on:{click:e.handleClose}},[e._v("取消")])],1):e._e()]),t("selectBody",{attrs:{visible:e.selectBodyShow},on:{"update:visible":function(t){e.selectBodyShow=t},okCallback:e.bodyCallBack}})],2)}),[],!1,null,"49754c9a",null).exports),s={props:{visible:{type:Boolean,default:!1},auditInfo:{type:Object,required:!0}},data(){return{pageLoad:!1,vForm:{state:"",reviewMsg:""},rules:{state:[{required:!0,message:"请选择审核状态",trigger:["change","blur"]}],reviewMsg:[{required:!0,message:"请输入驳回理由",trigger:["change","blur"]}]},titleWidth:105}},watch:{visible(e){e&&0<this.auditInfo.state&&(this.vForm.state=this.auditInfo.state,this.vForm.reviewMsg=this.auditInfo.reviewMsg)}},computed:{fileList(){return this.auditInfo.photoPath?[{filePath:this.auditInfo.photoPath}]:[]},practiceYear(){return this.auditInfo.inYear?(new Date).getFullYear()-this.auditInfo.inYear:0}},methods:{saveBtnClick(){this.$refs.vForm.validate(e=>{e&&this.auditCheckmanInfoByInfoId()})},async auditCheckmanInfoByInfoId(){this.pageLoad=!0;try{var e=await Object(i.g)({auditInfoId:this.auditInfo.id,state:this.vForm.state,reviewMsg:this.vForm.reviewMsg||""});e.flag?(this.$MessageBox.MessageSuccess("审核成功！"),this.$emit("update"),this.closeClick()):this.myError(e.msg)}catch(e){this.myError(e)}finally{this.pageLoad=!1}},closeClick(){this.vForm=this.$options.data.call(this).vForm,this.$emit("update:visible")}}},s=(a("a8e6"),Object(r.a)(s,(function(){var e=this,t=e._self._c;return t("df-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.pageLoad,expression:"pageLoad"}],attrs:{visible:e.visible,title:"信息编辑审核"},on:{cancel:e.closeClick}},[t("div",[t("el-form",{ref:"vForm",staticClass:"form",attrs:{model:e.vForm,"label-width":"105px",rules:e.rules}},[t("div",{staticClass:"df-dialog-row"},[t("df-col",{attrs:{titleWidth:e.titleWidth,title:"所在地区：",content:`${e.auditInfo.provinceName||""} ${e.auditInfo.cityName||""} `+(e.auditInfo.areaName||"")}})],1),t("div",{staticClass:"df-dialog-row"},[t("df-col",{attrs:{titleWidth:e.titleWidth,title:"详细地址：",content:e.auditInfo.address}})],1),t("div",{staticClass:"df-dialog-row"},[t("df-col",{attrs:{titleWidth:e.titleWidth,title:"证件照："}},[t("file-list",{attrs:{fileList:e.fileList,cursorMask:!1,fileId:"fileId",filePath:"filePath"}})],1)],1),t("div",{staticClass:"df-dialog-row"},[t("df-col",{attrs:{titleWidth:e.titleWidth,title:"从业年限：",content:e.practiceYear}})],1),t("div",{staticClass:"df-dialog-row"},[t("df-col",{attrs:{titleWidth:e.titleWidth,title:"就业案例：",content:e.auditInfo.itemTxt}})],1),t("el-form-item",{attrs:{label:"审核：",prop:"state"}},[t("el-radio-group",{model:{value:e.vForm.state,callback:function(t){e.$set(e.vForm,"state",t)},expression:"vForm.state"}},[t("el-radio",{attrs:{label:10}},[e._v("审核通过")]),t("el-radio",{attrs:{label:20}},[e._v("审核驳回")])],1)],1),20===e.vForm.state?t("el-form-item",{attrs:{label:"驳回理由：",prop:"reviewMsg"}},[t("el-input",{staticClass:"remark-input",attrs:{type:"textarea",rows:3,resize:"none",maxlength:"200","show-word-limit":""},model:{value:e.vForm.reviewMsg,callback:function(t){e.$set(e.vForm,"reviewMsg",t)},expression:"vForm.reviewMsg"}})],1):e._e()],1)],1),t("div",{staticClass:"df-dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{staticClass:"mr6 dialog-btn-width",attrs:{type:"primary"},on:{click:e.saveBtnClick}},[e._v(" 确定 ")]),t("el-button",{staticClass:"dialog-btn-width",on:{click:e.closeClick}},[e._v(" 关闭 ")])],1)])}),[],!1,null,"57fe6a84",null).exports),a("0823"));a={components:{checkManagementEdit:l,auditInfoDialog:s},data(){return{checkForm:{name:"",phone:"",state:"",pageNum:1,pageSize:10},checkEdit:!1,sta:"",checkManState:n.c,tableData:[],total:0,id:"",tableColumns:[{prop:"name",label:"姓名"},{prop:"phone",label:"手机号"},{prop:"createdTimeStr",label:"创建时间"},{prop:"inYear",label:"从业年限"},{prop:"addressStr",label:"地区"},{prop:"stateStr",label:"审核状态"},{prop:"auditStateStr",label:"信息编辑审核",template:"auditStateStr"},{prop:"operate",label:"操作",width:120,template:"operate"}],simpleLoading:!1,auditInfoShow:!1,auditInfo:{}}},methods:{searchCradClick(){this.checkForm.pageNum=1,this.checkForm.pageSize=10,this.BindfindListCheckmanAuditPage()},reset(){this.checkForm.name="",this.checkForm.phone="",this.checkForm.state="",this.BindfindListCheckmanAuditPage()},findPageBtn(){this.checkForm.pageNum=1,this.checkForm.pageSize=10,this.BindfindListCheckmanAuditPage()},BindfindListCheckmanAuditPage(){this.simpleLoading=!0;var e=this.checkForm;Object(i.yb)(e).then(e=>{this.simpleLoading=!1,e.flag?(this.total=e.total,this.tableData=e.rows.map((e,t)=>{var a={...e,createdTimeStr:this.$utils.formatDate(e.createdTime),addressStr:`${e.provinceName||""} ${e.cityName||""} ${e.areaName||""} `+(e.address||""),stateStr:this.$utils.handleEnum(n.c,e.state)};return e.auditInfo?(a.auditStateStr=this.$utils.handleEnum(n.c,e.auditInfo.state),a.auditState=e.auditInfo.state):(a.auditStateStr="/",a.auditState=null),a})):this.$MessageBox.MessageWarning(e.msg)}).catch(e=>{this.simpleLoading=!1,888!==e.status&&this.myError(e,this.modelString.查询验蟹师审核列表)}),this.$store.dispatch("getPendingCheckCount")},examineClick(e,t){this.id=e,this.sta=t,this.checkEdit=!0},auditStateClick(e){null!==e.auditState&&(this.auditInfo=e.auditInfo,this.auditInfoShow=!0)},pageNoChange(e){this.checkForm.pageNum=e,this.BindfindListCheckmanAuditPage()},pageSizeChange(e){this.checkForm.pageSize=e,this.BindfindListCheckmanAuditPage()}},created(){this.BindfindListCheckmanAuditPage()}},l=Object(r.a)(a,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"holdingParent"},[t("p",{staticClass:"subscribeTitle"},[e._v("验蟹师管理")]),t("div",{staticClass:"searchBox flex"},[t("div",[t("span",[e._v("验蟹师:")]),t("el-input",{staticClass:"searchTerm",attrs:{placeholder:"验蟹师姓名"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.findPageBtn.apply(null,arguments)}},model:{value:e.checkForm.name,callback:function(t){e.$set(e.checkForm,"name",t)},expression:"checkForm.name"}})],1),t("div",[t("span",[e._v("手机号：")]),t("el-input",{staticClass:"searchTerm",attrs:{placeholder:"请输入手机号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.findPageBtn.apply(null,arguments)}},model:{value:e.checkForm.phone,callback:function(t){e.$set(e.checkForm,"phone",t)},expression:"checkForm.phone"}})],1),t("div",[t("span",[e._v("审核状态：")]),t("el-select",{staticClass:"searchTerm",on:{change:function(t){return e.findPageBtn()}},model:{value:e.checkForm.state,callback:function(t){e.$set(e.checkForm,"state",t)},expression:"checkForm.state"}},[t("el-option",{attrs:{label:"全部",value:""}}),e._l(e.checkManState,(function(e){return t("el-option",{key:e.value,attrs:{label:e.name,value:e.value}})}))],2)],1),t("div",{staticClass:"searchBtn"},[t("el-button",{attrs:{type:"primary"},on:{click:e.searchCradClick}},[e._v("查询")]),t("span",{staticClass:"remake",on:{click:function(t){return e.reset()}}},[e._v("重置查询项")])],1)]),t("div",{staticClass:"tableList"},[t("customTable",{directives:[{name:"loading",rawName:"v-loading",value:e.simpleLoading,expression:"simpleLoading"}],attrs:{data:e.tableData,tableColumns:e.tableColumns},scopedSlots:e._u([{key:"operate",fn:function({row:a}){return["0"==a.state?t("span",{staticClass:"operate-btn",on:{click:function(t){return e.examineClick(a.id,"1")}}},[e._v("审核")]):t("span",{staticClass:"operate-btn",on:{click:function(t){return e.examineClick(a.id,"2")}}},[e._v("编辑")])]}},{key:"auditStateStr",fn:function({row:a}){return[t("span",{class:[{"operate-btn":null!==a.auditState},{del:20==a.auditState}],on:{click:function(t){return e.auditStateClick(a)}}},[e._v(e._s(a.auditStateStr))])]}}])}),t("table-page",{directives:[{name:"show",rawName:"v-show",value:0<e.total,expression:"total > 0"}],attrs:{currentPage:e.checkForm.pageNum,total:e.total,pageSize:e.checkForm.pageSize},on:{pageNo:e.pageNoChange,pageSize:e.pageSizeChange}}),t("checkManagementEdit",{attrs:{visible:e.checkEdit,id:e.id,sta:e.sta},on:{"update:visible":function(t){e.checkEdit=t},okCallback:e.BindfindListCheckmanAuditPage}}),t("auditInfoDialog",{attrs:{auditInfo:e.auditInfo,visible:e.auditInfoShow},on:{"update:visible":function(t){e.auditInfoShow=t},update:e.BindfindListCheckmanAuditPage}})],1)])}),[],!1,null,"5f70219d",null);t.default=l.exports},"8b6c":function(e,t,a){},"9d89":function(e,t,a){},a8e6:function(e,t,a){"use strict";a("9d89")},b092:function(e,t,a){},d7c8:function(e,t,a){"use strict";a("b092")}}]);