(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-444c7960"],{1552:function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"doctor"},[t.$idAdminPower()?a("DoctorSearch",{attrs:{showAddBoolean:!0},on:{searchEvent:t.searchEvent,openAddPop:t.openAddDoctorPop}}):t._e(),a("Card",{staticClass:"userList-card",attrs:{bordered:!1,shadow:!0}},[a("div",{staticClass:"header-top-box",attrs:{slot:"title"},slot:"title"},[t.$idAdminPower?a("div",{staticClass:"title-value"},[t._v("专家管理")]):a("div",{staticClass:"title-value"},[t._v("我的信息")]),a("div",[t.$idAdminPower()?a("Button",{directives:[{name:"auth",rawName:"v-auth",value:"expertInfo:add",expression:"'expertInfo:add'"}],staticStyle:{"margin-right":"10px"},attrs:{type:"primary",icon:"ios-add-circle-outline"},on:{click:function(e){return t.openAddDoctorPop()}}},[t._v("新增专家")]):t._e(),t.$idAdminPower()?a("Button",{directives:[{name:"auth",rawName:"v-auth",value:"expertInfo:upload",expression:"'expertInfo:upload'"}],staticStyle:{"margin-right":"10px"},attrs:{type:"primary",icon:"ios-cloud-upload"},on:{click:function(e){return t.openUploadDoctorPop()}}},[t._v("专家批量上传")]):t._e(),t.$idDoctorPower()?a("Button",{staticStyle:{"margin-right":"10px"},attrs:{type:"primary",disabled:t.addDisable,icon:"ios-add-circle-outline"},on:{click:function(e){return t.openAddMyDoctorPop()}}},[t._v("新增我的信息")]):t._e(),t.$idDoctorPower()?a("Button",{staticStyle:{"margin-right":"10px"},attrs:{type:"primary",disabled:t.uploadDisable,icon:"ios-cloud-upload"},on:{click:function(e){return t.uploadMyFile()}}},[t._v("上传我的附件")]):t._e(),a("Button",{directives:[{name:"auth",rawName:"v-auth",value:"expertInfo:download",expression:"'expertInfo:download'"}],attrs:{type:"primary",icon:"md-download"},on:{click:t.openDoctorDownload}},[t._v(" 专家下载 ")])],1)]),a("Table",{ref:"selection",staticClass:"iv-custom-table",attrs:{columns:t.columns1,border:!0,data:t.tableList},on:{"on-row-dblclick":t.showDoctorCenter,"on-sort-change":t.sortEvent},scopedSlots:t._u([{key:"action",fn:function(e){var o=e.row;e.index;return a("div",{staticClass:"iv-button-box"},[0==o.status?a("Button",{directives:[{name:"auth",rawName:"v-auth",value:"expertInfo:update",expression:"'expertInfo:update'"}],staticClass:"iv-custom-button",attrs:{type:"primary"},on:{click:function(e){return t.openEditDoctorPopLock(o)}}},[t._v("查看")]):t._e(),a("Button",{directives:[{name:"auth",rawName:"v-auth",value:"expertInfo:update",expression:"'expertInfo:update'"}],staticClass:"iv-custom-button",attrs:{type:"primary",disabled:0==o.status},on:{click:function(e){return t.openEditDoctorPop(o)}}},[t._v("编辑")]),t.$idAdminPower()?a("Button",{directives:[{name:"auth",rawName:"v-auth",value:"expertInfo:del",expression:"'expertInfo:del'"}],staticClass:"iv-custom-button",attrs:{type:"error"},on:{click:function(e){return t.openDeletePop(o)}}},[t._v("删除")]):t._e(),t.$idAdminPower()?a("Button",{directives:[{name:"auth",rawName:"v-auth",value:"expertInfo:history",expression:"'expertInfo:history'"}],staticStyle:{"margin-left":"16px"},attrs:{type:"info"},on:{click:function(e){return t.openHistoryPop(o)}}},[t._v(" 历史 ")]):t._e(),t.$idAdminPower()&&1!==o.status?a("Button",{directives:[{name:"auth",rawName:"v-auth",value:"expertInfo:update",expression:"'expertInfo:update'"}],staticStyle:{"margin-left":"16px"},attrs:{type:"warning"},on:{click:function(e){return t.updateStatus(o)}}},[t._v(" 修改状态 ")]):t._e(),t.$idDoctorPower()?a("Button",{directives:[{name:"auth",rawName:"v-auth",value:"expertInfo:update",expression:"'expertInfo:update'"}],staticClass:"iv-custom-button",attrs:{type:"info"},on:{click:function(e){return t.gotoUserInfo(o)}}},[t._v("查看附件")]):t._e()],1)}},{key:"status",fn:function(e){var o=e.row;e.index;return a("div",{staticClass:"iv-button-box"},[0==o.status?a("el-popover",{attrs:{placement:"top-start",title:"",width:"240",trigger:"hover",content:"审核列表审核中!!"}},[a("el-tag",{attrs:{slot:"reference",type:"danger",effect:"dark"},slot:"reference"},[t._v(t._s(t.$formateDict(o.status,t.allList.expert_status)))])],1):2==o.status?a("el-popover",{attrs:{placement:"top-start",title:"",width:"240",trigger:"hover",content:o.rejectReason}},[a("el-tag",{attrs:{slot:"reference",type:"warning",effect:"dark"},slot:"reference"},[t._v(t._s(t.$formateDict(o.status,t.allList.expert_status)))])],1):a("el-tag",{attrs:{effect:"dark"}},[t._v(t._s(t.$formateDict(o.status,t.allList.expert_status)))])],1)}},{key:"sex",fn:function(e){var o=e.row;e.index;return a("div",{staticClass:"iv-button-box"},[t._v(" "+t._s(t.$formateDict(o.sex,t.allList.sex))+" ")])}},{key:"nation",fn:function(e){var o=e.row;e.index;return a("div",{staticClass:"iv-button-box"},[t._v(" "+t._s(t.$formateDict(o.nation,t.allList.nation))+" ")])}},{key:"category",fn:function(e){var o=e.row;e.index;return a("div",{staticClass:"iv-button-box"},[t._v(" "+t._s(t.$formateDict(o.category,t.allList.category))+" ")])}}])}),a("div",{staticClass:"ivu-card-footer"},[a("Page",{attrs:{"class-name":"iv-custom-page",current:t.searchData.pageNum,total:t.searchData.totalNum,size:"small","show-total":"","show-sizer":"","show-elevator":""},on:{"on-change":t.pageNumChang,"on-page-size-change":t.sizeChange}})],1),t.displayPop?a("Modal",{attrs:{transfer:!1,title:t.popTitle,width:"1000px"},model:{value:t.displayPop,callback:function(e){t.displayPop=e},expression:"displayPop"}},[a("DoctorPop",{directives:[{name:"myLoading",rawName:"v-myLoading",value:t.loadingStateDoctorPop,expression:"loadingStateDoctorPop"}],ref:"AddDoctorPopRefs",attrs:{lockForm:t.lockForm}}),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"error"},on:{click:t.closePop}},[t._v("取消")]),a("span",{directives:[{name:"show",rawName:"v-show",value:!t.lockForm,expression:"!lockForm"}],staticStyle:{"margin-left":"6px"}},[t.$idDoctorPower()?a("Button",{attrs:{type:"info",disabled:t.lockForm},on:{click:t.onlySave}},[t._v("暂存信息")]):t._e(),"add"===t.saveBtType?a("Button",{attrs:{type:"primary",disabled:t.lockForm},on:{click:t.addUserSave}},[t._v("提交保存")]):t._e(),"edit"===t.saveBtType?a("Button",{attrs:{type:"primary",disabled:t.lockForm},on:{click:t.editUserSave}},[t._v("提交保存")]):t._e()],1)],1)],1):t._e(),t.displayUploadPop?a("Modal",{attrs:{transfer:!1,title:t.uploadPopTitle,width:"1000px"},model:{value:t.displayUploadPop,callback:function(e){t.displayUploadPop=e},expression:"displayUploadPop"}},[a("DoctorUpload",{ref:"DoctorUploadRefs",on:{updateDoctor:t.doSearch}}),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"error"},on:{click:function(e){t.displayUploadPop=!1}}},[t._v("取消")])],1)],1):t._e(),t.displayUploadMyFilePop?a("Modal",{attrs:{transfer:!1,title:t.uploadPopMyFileTitle,width:"1000px"},model:{value:t.displayUploadMyFilePop,callback:function(e){t.displayUploadMyFilePop=e},expression:"displayUploadMyFilePop"}},[a("DoctorMyFileUpload",{ref:"DoctorMyFileUploadRefs",on:{update:t.doSearch}}),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"error"},on:{click:function(e){t.displayUploadMyFilePop=!1}}},[t._v("取消")]),a("Button",{attrs:{type:"info"},on:{click:t.onlySaveFile}},[t._v("暂存附件")]),a("Button",{attrs:{type:"primary"},on:{click:t.saveFileUpload}},[t._v("提交保存")])],1)],1):t._e(),a("el-drawer",{attrs:{title:"历史信息",visible:t.displayHistoryPop,"with-header":!0},on:{"update:visible":function(e){t.displayHistoryPop=e}}},[a("div",{staticClass:"doctorHistory"},t._l(t.historyList,(function(e,o){return a("div",{key:o,staticClass:"doctorHistory-content"},[a("el-descriptions",{attrs:{title:e.createTime,direction:"vertical",column:3,border:""}},[a("el-descriptions-item",{attrs:{label:"提交人"}},[t._v(t._s(e.createUser))]),a("el-descriptions-item",{attrs:{label:"提交日期"}},[t._v(t._s(e.createTime))]),a("el-descriptions-item",{attrs:{label:"提交状态"}},[a("el-tag",{attrs:{type:0==e.status?"danger":"",effect:"dark"}},[t._v(t._s(t.$formateDict(e.status,t.allList.expert_status)))])],1),a("el-descriptions-item",{attrs:{label:"提交备注",span:3}},[t._v(t._s(e.updateRemark?e.updateRemark:"暂无信息"))]),e.rejectReason?a("el-descriptions-item",{attrs:{label:"驳回理由",span:3}},[t._v(t._s(e.rejectReason?e.rejectReason:"暂无信息"))]):t._e()],1)],1)})),0),0==t.historyList.length?a("el-empty",{attrs:{description:"历史信息不存在"}}):t._e()],1),t.displayDoctorDownloadPop?a("Modal",{attrs:{transfer:!1,title:"专家下载",width:"600px","mask-closable":!1},model:{value:t.displayDoctorDownloadPop,callback:function(e){t.displayDoctorDownloadPop=e},expression:"displayDoctorDownloadPop"}},[a("el-form",{directives:[{name:"myLoading",rawName:"v-myLoading",value:t.loadingState,expression:"loadingState"}],ref:"form",attrs:{model:t.downloadForm,"label-width":"200px"}},[a("el-form-item",{attrs:{label:"导出文件类型"}},[a("el-radio-group",{model:{value:t.downloadForm.type,callback:function(e){t.$set(t.downloadForm,"type",e)},expression:"downloadForm.type"}},[a("el-radio-button",{attrs:{label:1}},[t._v("excel")]),a("el-radio-button",{attrs:{label:2}},[t._v("doc")]),a("el-radio-button",{attrs:{label:3,disabled:""}},[t._v("pdf")])],1)],1),a("el-form-item",{attrs:{label:"数据下载范围"}},[a("el-radio-group",{model:{value:t.downloadForm.isCurrent,callback:function(e){t.$set(t.downloadForm,"isCurrent",e)},expression:"downloadForm.isCurrent"}},[a("el-radio-button",{attrs:{label:"0"}},[t._v("当前页")]),a("el-radio-button",{attrs:{label:"1"}},[t._v("全部")])],1)],1),a("el-form-item",{attrs:{label:"是否包含搜索条件"}},[a("el-checkbox",{model:{value:t.downloadForm.isConcatParams,callback:function(e){t.$set(t.downloadForm,"isConcatParams",e)},expression:"downloadForm.isConcatParams"}},[t._v("是")])],1),a("el-form-item",{attrs:{label:"是否下载附件(下载速度较慢)"}},[a("el-checkbox",{model:{value:t.downloadForm.isDownloadFile,callback:function(e){t.$set(t.downloadForm,"isDownloadFile",e)},expression:"downloadForm.isDownloadFile"}},[t._v("是")])],1)],1),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"error"},on:{click:function(e){t.displayDoctorDownloadPop=!1}}},[t._v("取消")]),a("Button",{attrs:{type:"primary"},on:{click:t.doctorDownload}},[t._v("下载")])],1)],1):t._e(),t.displayDoctorCenterPop?a("Modal",{attrs:{transfer:!1,title:"专家中心",width:"800px"},model:{value:t.displayDoctorCenterPop,callback:function(e){t.displayDoctorCenterPop=e},expression:"displayDoctorCenterPop"}},[a("DoctorCenter",{attrs:{userData:t.activeDoctor}}),a("div",{attrs:{slot:"footer"},slot:"footer"})],1):t._e()],1)],1)},s=[],r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("Tabs",{attrs:{value:t.tabName}},[a("TabPane",{attrs:{label:"基本信息",name:"name1"}},[a("Form",{ref:"addRoleForm",staticClass:"addUser-form",attrs:{model:t.formData,rules:t.ruleFormData,"label-width":120,inline:!0}},[a("FormItem",{staticClass:"custom-form-item",attrs:{label:"姓名:"}},[a("Input",{attrs:{type:"text",placeholder:"请输入昵称"},model:{value:t.formData.nickname,callback:function(e){t.$set(t.formData,"nickname",e)},expression:"formData.nickname"}})],1),a("FormItem",{staticClass:"custom-form-item2",attrs:{prop:"phone",label:"手机号:"}},[a("Input",{attrs:{type:"text",placeholder:"请输入手机号"},model:{value:t.formData.phone,callback:function(e){t.$set(t.formData,"phone",e)},expression:"formData.phone"}})],1),a("FormItem",{staticClass:"custom-form-item2",attrs:{label:"邮箱:"}},[a("Input",{attrs:{type:"text",placeholder:"请输入邮箱"},model:{value:t.formData.email,callback:function(e){t.$set(t.formData,"email",e)},expression:"formData.email"}})],1),a("FormItem",{staticClass:"custom-form-item2",attrs:{label:"性别:"}},[a("Select",{staticClass:"lg-fm-item-Select",attrs:{transfer:!1,placeholder:"请选择性别",clearable:""},model:{value:t.formData.sex,callback:function(e){t.$set(t.formData,"sex",e)},expression:"formData.sex"}},t._l(t.dictSexList,(function(e){return a("Option",{key:e.k,attrs:{value:e.k}},[t._v(t._s(e.val))])})),1)],1),a("FormItem",{staticClass:"custom-form-item2",attrs:{prop:"industry",label:"行业类型:"}},[a("Select",{staticClass:"lg-fm-item-Select",attrs:{transfer:!1,placeholder:"请选择所属行业",clearable:""},on:{"on-select":t.industryEvent},model:{value:t.formData.industry,callback:function(e){t.$set(t.formData,"industry",e)},expression:"formData.industry"}},t._l(t.dictIndustryList,(function(e){return a("Option",{key:e.k,attrs:{value:e.k}},[t._v(t._s(e.val))])})),1)],1),a("FormItem",{staticClass:"custom-form-item",attrs:{label:"所属区域:"}},[a("Cascader",{staticClass:"lg-fm-Cascader",attrs:{value:t.formData.region,transfer:!1,data:t.regionList,"load-data":t.loadData,placeholder:"所属区域",filterable:""},model:{value:t.formData.region,callback:function(e){t.$set(t.formData,"region",e)},expression:"formData.region"}})],1),a("FormItem",{staticClass:"custom-form-item",attrs:{prop:"enterprise",label:"组织机构:"}},[a("Input",{attrs:{type:"text",placeholder:"请输入公司名称/机构名称"},model:{value:t.formData.enterprise,callback:function(e){t.$set(t.formData,"enterprise",e)},expression:"formData.enterprise"}})],1),a("FormItem",{staticClass:"custom-form-item",attrs:{prop:"enterprise",label:"家庭地址:"}},[a("Input",{attrs:{type:"text",placeholder:"请输入地址"},model:{value:t.formData.enterprise,callback:function(e){t.$set(t.formData,"enterprise",e)},expression:"formData.enterprise"}})],1)],1)],1),a("TabPane",{attrs:{label:"学历信息",name:"name2"}},[t._v("学历信息")]),a("TabPane",{attrs:{label:"职称信息",name:"name3"}},[t._v("职称信息")]),a("TabPane",{attrs:{label:"从业经历",name:"name4"}},[t._v("从业经历")])],1)},i=[],l=a("2f62"),n={name:"AddUserPop",data(){const t=(t,e,a)=>{e?a():a("参数不能为空")},e=(t,e,a)=>{let o=/^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/;e?o.test(e)||a(new Error("邮箱格式错误!")):a(new Error("邮箱不能为空!")),a()};return{tabName:"name1",formData:{id:"",username:"",password:"",phone:"",enterprise:"",email:"",sex:"1",headImgUrl:"",nickname:"xx",telephone:"",birthday:"",region:[],roleIds:null,pcaName:"",applyEnterpriseType:[]},ruleFormData:{username:[{required:!0,validator:t,trigger:"blur"}],description:[{required:!0,validator:t,trigger:"blur"}],permissionIds:[{required:!0,validator:t,trigger:"blur"}],nickname:[{required:!0,validator:t,trigger:"blur"}],phone:[{required:!0,validator:t,trigger:"blur"}],email:[{required:!0,validator:e,trigger:"blur"}],industry:[{required:!0,validator:t,trigger:"blur"}],roleIds:[{required:!0,validator:t,trigger:"blur"}]},regionList:[],showPassword:!1,applyEnterpriseTypeList:[]}},computed:{...Object(l["b"])({dictSexList:t=>{const e=t.dictTypeList.filter(t=>"sex"===t.type?t:null);return e},dictIndustryList:t=>{const e=t.dictTypeList.filter(t=>"industry"===t.type?t:null);return e},rolesList:t=>t.rolesList})},mounted(){this.getDictionaryData()},methods:{async industryEvent(t){const e=this.$store.state.dictTypeList;let a={};for(var o in this.dictIndustryList)this.dictIndustryList[o].k===t.value&&(a=this.dictIndustryList[o]);const s=e.filter(t=>{if("applyEnterpriseType"===t.type&&t.pid===a.id)return t});this.applyEnterpriseTypeList=s},async editFromData(t){this.industryEvent({value:String(t.industry)}),this.showPassword=!1;const e=await JSON.parse("["+t.provinceId+","+t.cityId+","+t.areaId+"]"),a=await this.$utils.breadthQuery(this.regionList,e);this.formData={id:t.id,username:t.username,password:"",phone:t.phone,enterprise:t.enterprise,email:t.email?t.email:"",sex:t.sex?String(t.sex):"1",headImgUrl:t.headImgUrl,nickname:t.nickname,telephone:t.telephone,industry:String(t.industry),birthday:t.birthday,roleIds:t.roleIds?Number(t.roleIds.toString()):null,region:e,pcaName:a,applyEnterpriseType:t.applyEnterpriseType?t.applyEnterpriseType.split(","):[]}},addFromData(){this.showPassword=!0,this.formData={id:"",username:"",password:"",phone:"",enterprise:"",email:"",sex:"1",headImgUrl:"",nickname:"xx",telephone:"",birthday:"",roleIds:null,region:[],pcaName:""}},async getDictionaryList(){const t=await this.$Api.publicGetMap.dictionaryData({type:"sex"});"200"===t.code&&(this.sexList=t.data.records);const e=await this.$Api.publicGetMap.dictionaryData({type:"industry"});"200"===e.code&&(this.industryList=e.data.records);const a=await this.$Api.roleGetMap.getAllRoles();a.code},async backData(){const t=await JSON.parse(JSON.stringify(this.formData)),e=await this.$utils.breadthQuery(this.regionList,t.region);return t.provinceId=t.region[0],t.cityId=t.region[1],t.areaId=t.region[2],t.pcaName=e,t.applyEnterpriseType=t.applyEnterpriseType.toString(),delete t.region,t},async getDictionaryData(){const t=await this.$Api.areaGetMap.getProvinceList();if("200"===t.code){let e=t.data.map(t=>({value:t.id,label:t.name,children:[],loading:!1,type:"shengJi"}));this.regionList=e}},async loadData(t,e){t.loading=!0;const a=await this.$Api.areaGetMap.getCityByProvinceId({id:t.value});if("200"===a.code){let o=[];"shengJi"===t.type?o=a.data.map(t=>({value:t.id,label:t.name,children:[],loading:!1,type:"shiJi"})):"shiJi"===t.type&&(o=a.data.map(t=>({value:t.id,label:t.name,type:"xianJi"}))),t.children=o,t.loading=!1,e()}}}},c=n,d=(a("5572"),a("2877")),p=Object(d["a"])(c,r,i,!1,null,null,null),u=p.exports,h=a("79ed"),m=a("c431"),f=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("Card",{directives:[{name:"loading",rawName:"v-loading",value:t.loadStage,expression:"loadStage"}],staticClass:"us-card",attrs:{bordered:!1,shadow:!0}},[a("el-steps",{attrs:{active:0,simple:""}},[a("el-step",{attrs:{title:"步骤1",icon:"el-icon-download",description:"下载模板"}}),a("el-step",{attrs:{title:"步骤2",icon:"el-icon-upload",description:"上传模板"}})],1),a("div",{staticClass:"uploadClass"},[a("div",{staticClass:"btn1"},[a("el-button",{attrs:{type:"primary"},on:{click:t.downloadTemplate}},[t._v("下载模板"),a("i",{staticClass:"el-icon-download el-icon--right"})])],1),a("div",{staticClass:"btn1"},[a("el-upload",{staticClass:"upload-demo",attrs:{action:"","on-change":t.handleChangeFile,"file-list":t.fileList,"auto-upload":!1,limit:1}},[a("el-button",{attrs:{type:"primary"}},[t._v("上传模板"),a("i",{staticClass:"el-icon-upload el-icon--right"})])],1)],1)])],1)},g=[],v=a("1b95"),y={name:"DoctorUpload",props:{},data(){return{fileList:[],loadStage:!1}},created(){},methods:{async downloadTemplate(){const t=await this.$Api.doctorGetMap.downloadDoctorTemplate();t.data&&this.$utils.download(t,"专家上传模板.xlsx")},async handleChangeFile(t,e){var a=new FormData;a.append("file",t.raw),this.loadStage=!0;const o=await this.$Api.doctorGetMap.uploadDoctorTemplateCheck(a);if("200"==o.code){const t=await this.$Api.doctorGetMap.uploadDoctorTemplate(a);if(t.data&&0==t.data.length)this.$Message.success({content:"专家信息上传成功!!"});else{let e=[];if(t.data.length&&t.data.map(t=>{t.errorMsg&&e.push(t.errorMsg)}),e.length>0){let t=e.join("\r\n");Object(v["a"])("上传失败专家信息.txt",t)}}this.loadStage=!1,this.$emit("updateDoctor")}else if("400"==o.code){this.$Message.error({content:"上传数据格式检验失败!!"});let t="object"==typeof o.data?o.data.join("\r\n"):o.data;Object(v["a"])("错误信息.txt",t),this.loadStage=!1}else this.loadStage=!1}}},D=y,b=(a("68b6"),Object(d["a"])(D,f,g,!1,null,null,null)),w=b.exports,x=a("6229"),C=a("5701"),A={name:"UserList",components:{AddDoctorPop:u,DoctorSearch:m["a"],DoctorPop:h["a"],DoctorUpload:w,DoctorMyFileUpload:x["a"],DoctorCenter:C["a"]},data(){return{columns1:[{type:"index",title:"序号",align:"center"},{title:"姓名",key:"name",align:"center"},{title:"性别",key:"sex",slot:"sex",align:"center"},{title:"手机号码",key:"phone",align:"center"},{title:"工作单位",key:"workUnit",align:"center"},{title:"专家类别",key:"category",align:"center",slot:"category"},{title:"状态",key:"status",slot:"status",align:"center"},{title:"创建时间",key:"createTime",align:"center",sortable:"custom"},{title:"修改时间",key:"updateTime",align:"center"},{title:"操作",slot:"action",width:260,align:"center"}],tableList:[],displayPop:!1,popTitle:"",saveBtType:"add",searchData:{pageNum:1,pageSize:10,pageTole:0,totalNum:0,isAsc:!1},model1:"",allList:{},displayUploadPop:!1,displayUploadMyFilePop:!1,uploadPopTitle:"专家上传",uploadPopMyFileTitle:"附件上传",uploadDisable:!1,displayHistoryPop:!1,uploadPopHistoryTitle:"历史记录",historyList:[],addDisable:!1,displayDoctorDownloadPop:!1,downloadForm:{type:"1",isCurrent:"0",isDownloadFile:!1,isConcatParams:!1},activeDoctor:{},displayDoctorCenterPop:!1,loadingState:!1,lockForm:!1,loadingStateDoctorPop:!1}},mounted(){this.doSearch(),this.allList=this.$filterDict(["sex","nation","education","academicSegree","politicalFace","expert_status","category"],this.$Store.getters.getDictTypeList)},methods:{async gotoUserInfo(t){this.$router.push({path:"/userInfo"})},async sortEvent(t,e,a){this.searchData.isAsc=!this.searchData.isAsc,await this.doSearch()},showDoctorCenter(t){let e=this.$store.getters.getPowerList.filter(t=>"expertInfo:center"==t.permission);e.length>0&&(this.displayDoctorCenterPop=!0,this.activeDoctor=t)},onlySaveFile(){this.$refs.DoctorMyFileUploadRefs.submitUpload(1)},saveFileUpload(){this.$refs.DoctorMyFileUploadRefs.submitUpload(0)},async openHistoryPop(t){this.displayHistoryPop=!0,this.historyList=[];const e=await this.$Api.doctorGetMap.getMyDoctorHistoryById(t.id);"200"===e.code&&(this.historyList=e.data)},openUploadDoctorPop(){this.displayUploadPop=!0},uploadMyFile(){this.uploadDisable||(this.displayUploadMyFilePop=!0)},openDoctorDownload(){this.$idDoctorPower()&&0==this.tableList.length?this.$Message.warning({content:"暂无您的信息!!"}):this.displayDoctorDownloadPop=!0},async doctorDownload(){this.loadingState=!0;let t={category:Number(this.downloadForm.type),isDownloadNearby:this.downloadForm.isDownloadFile?1:0};0==this.downloadForm.isCurrent&&(t.list=this.tableList),this.downloadForm.isConcatParams&&1==this.downloadForm.isCurrent&&(t.name=this.searchData.name,t.majorTitleAndRank=this.searchData.majorTitleAndRank,t.education=this.searchData.education,t.academicSegree=this.searchData.academicSegree,t.nation=this.searchData.nation,t.sex=this.searchData.sex,t.politicalFace=this.searchData.politicalFace,t.projectType=this.searchData.projectType,this.searchData.region&&(t.provinceId=this.searchData.region[0]?this.searchData.region[0]:"",t.cityId=this.searchData.region[1]?this.searchData.region[1]:"",t.areaId=this.searchData.region[2]?this.searchData.region[2]:""));try{const e=await this.$Api.doctorGetMap.downloadDoctor(t);this.loadingState=!1,e.data&&this.$utils.download(e,"专家信息.zip")}catch{this.loadingState=!1}},searchEvent(t){this.searchData.name=t.name,this.searchData.majorTitleAndRank=t.majorTitleAndRank,this.searchData.phone=t.phone,this.searchData.education=t.education,this.searchData.academicSegree=t.academicSegree,this.searchData.nation=t.nation,this.searchData.politicalFace=t.politicalFace,this.searchData.region=t.region,this.searchData.sex=t.sex,this.searchData.status=t.status,this.searchData.projectType=t.checkedProjectType,this.searchData.pageNum=1,this.doSearch()},async examineEvent(t){let e={id:t.id,status:t.status};const a=await this.$Api.roleGetMap.updateUsers(e);"200"===a.code&&(this.$Message.success({content:"修改专家状态成功!新注册审核专家请在“编辑”中添加角色!",duration:4}),this.doSearch())},async openEditDoctorPopLock(t){this.lockForm=!0;const e=await this.$Api.doctorGetMap.getDoctorById1(t);this.saveBtType="edit",this.popTitle="查看专家--"+t.name,this.displayPop=!0,this.$nextTick(()=>{this.$refs.AddDoctorPopRefs.editFromData(e.data)})},async openEditDoctorPop(t){this.lockForm=!1;const e=await this.$Api.doctorGetMap.getDoctorById1(t);this.saveBtType="edit",this.popTitle="编辑专家--"+t.name,this.displayPop=!0,this.$nextTick(()=>{this.$refs.AddDoctorPopRefs.editFromData(e.data)})},openDeletePop(t){this.$Modal.confirm({title:"删除--"+t.name,content:"
确认删除专家"+t.name+"
",onOk:()=>{this.$Api.doctorGetMap.deleteDoctor(t.id).then(e=>{"200"===e.code&&(this.$Message.success({content:t.name+"专家删除成功!",duration:2}),this.doSearch())})},onCancel:()=>{}})},openAddDoctorPop(){this.displayPop=!0,this.lockForm=!1,this.saveBtType="add",this.$nextTick(()=>{this.popTitle="新增专家",this.$refs.AddDoctorPopRefs.addFromData()})},async openAddMyDoctorPop(){let t={offset:1,limit:1};const e=await this.$Api.doctorGetMap.getDoctorList(t);"200"===e.code&&(this.tableList=e.data.records,this.searchData.pageTole=e.data.pages,this.searchData.pageNum=e.data.current,this.searchData.totalNum=e.data.total,e.data.records.length>0?this.$Message.error({content:"您的信息已存在!!",duration:4}):(this.displayPop=!0,this.saveBtType="add",this.$nextTick(()=>{this.popTitle="新增我的信息",this.$refs.AddDoctorPopRefs.addFromData()})))},closePop(){this.displayPop=!1},checkPhone(t){return null==t||""==t?(this.$Message.error({content:"手机号码不能为空!!",duration:4}),!1):/^1[3456789]\d{9}$/.test(t)?void 0:(this.$Message.error({content:"手机号码有误!!",duration:4}),!1)},checkSomePersonalInfo(t){const e=t=>{if(console.log(t),null!=t&&""!=t&&!/^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/.test(t))return this.$Message.error({content:"邮箱有误!!",duration:4}),!1},a=t=>{};return checkPhone(t.phone)&&a(t.idNumber)&&e(t.email)},async updateStatus(t){this.$confirm("此操作将专家状态修改为审核通过状态, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",center:!0}).then(async()=>{t.isSubmit=1,t.status=1;const e=await this.$Api.doctorGetMap.addEditDoctor(t);"200"===e.code&&(this.$Message.success({content:"状态修改成功!"}),this.doSearch())}).catch(()=>{})},async onlySave(){if(this.lockForm)return;let t=this.$refs.AddDoctorPopRefs.formData;if(this.loadingStateDoctorPop=!0,this.lockForm=!0,t.isSubmit=0,!t.name)return this.$Message.error({content:"请输入姓名!!",duration:4}),this.loadingStateDoctorPop=!1,void(this.lockForm=!1);if(null==t.phone||""==t.phone)return this.$Message.error({content:"手机号码不能为空!!",duration:4}),this.loadingStateDoctorPop=!1,this.lockForm=!1,!1;if(!/^1[3456789]\d{9}$/.test(t.phone))return this.$Message.error({content:"手机号码有误!!",duration:4}),this.loadingStateDoctorPop=!1,this.lockForm=!1,!1;if(null!=t.email&&""!=t.email){var e=/^[a-z0-9]+([._-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/;if(!e.test(t.email))return this.$Message.error({content:"邮箱有误!!",duration:4}),this.loadingStateDoctorPop=!1,this.lockForm=!1,!1}if(null!=t.idNumber&&""!=t.idNumber){for(var a=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],o=["1","0","X","9","8","7","6","5","4","3","2"],s=t.idNumber+"",r=t.idNumber[17],i=s.substring(0,17),l=i.split(""),n=l.length,c=0,d=0;d0?t.projectType.join(","):"",t.representativeResultsList=this.$refs.AddDoctorPopRefs.representativeResultsList,t.introductionList=this.$refs.AddDoctorPopRefs.introductionList,t.awardsList=this.$refs.AddDoctorPopRefs.awardsList;const f=await this.$Api.doctorGetMap.addEditDoctor(t);this.loadingStateDoctorPop=!1,this.lockForm=!1,"200"===f.code&&(this.$Message.success({content:"信息暂存成功!"}),this.displayPop=!1,this.doSearch())},async addUserSave(){if(this.lockForm)return;let t=this.$refs.AddDoctorPopRefs.formData;if(this.loadingStateDoctorPop=!0,this.lockForm=!0,t.isSubmit=1,!t.name)return this.$Message.error({content:"请输入姓名!!",duration:4}),this.loadingStateDoctorPop=!1,void(this.lockForm=!1);if(null==t.phone||""==t.phone)return this.$Message.error({content:"手机号码不能为空!!",duration:4}),this.loadingStateDoctorPop=!1,this.lockForm=!1,!1;if(!/^1[3456789]\d{9}$/.test(t.phone))return this.$Message.error({content:"手机号码有误!!",duration:4}),this.loadingStateDoctorPop=!1,this.lockForm=!1,!1;if(null!=t.email&&""!=t.email){var e=/^[a-z0-9]+([._-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/;if(!e.test(t.email))return this.$Message.error({content:"邮箱有误!!",duration:4}),this.loadingStateDoctorPop=!1,this.lockForm=!1,!1}if(null!=t.idNumber&&""!=t.idNumber){for(var a=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],o=["1","0","X","9","8","7","6","5","4","3","2"],s=t.idNumber+"",r=t.idNumber[17],i=s.substring(0,17),l=i.split(""),n=l.length,c=0,d=0;d{t.updateRemark=e,t.status=0;const a=await this.$Api.doctorGetMap.addEditDoctor(t);this.loadingStateDoctorPop=!1,this.lockForm=!1,"200"===a.code&&(this.$Message.success({content:"新增成功!"}),this.displayPop=!1,this.doSearch())}).catch(()=>{this.$message({type:"info",message:"请输入备注信息!!"}),this.loadingStateDoctorPop=!1,this.lockForm=!1});else{const e=await this.$Api.doctorGetMap.addEditDoctor(t);this.loadingStateDoctorPop=!1,this.lockForm=!1,"200"===e.code&&(this.$Message.success({content:"新增专家成功!"}),this.displayPop=!1,this.doSearch())}},async editUserSave(){if(this.lockForm)return;let t=this.$refs.AddDoctorPopRefs.formData;if(this.loadingStateDoctorPop=!0,this.lockForm=!0,t.isSubmit=1,!t.name)return this.$Message.error({content:"请输入姓名!!",duration:4}),this.loadingStateDoctorPop=!1,void(this.lockForm=!1);if(null==t.phone||""==t.phone)return this.$Message.error({content:"手机号码不能为空!!",duration:4}),this.loadingStateDoctorPop=!1,this.lockForm=!1,!1;if(!/^1[3456789]\d{9}$/.test(t.phone))return this.$Message.error({content:"手机号码有误!!",duration:4}),this.loadingStateDoctorPop=!1,this.lockForm=!1,!1;if(null!=t.email&&""!=t.email){var e=/^[a-z0-9]+([._-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/;if(!e.test(t.email))return this.$Message.error({content:"邮箱有误!!",duration:4}),this.loadingStateDoctorPop=!1,this.lockForm=!1,!1}if(null!=t.idNumber&&""!=t.idNumber){for(var a=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],o=["1","0","X","9","8","7","6","5","4","3","2"],s=t.idNumber+"",r=t.idNumber[17],i=s.substring(0,17),l=i.split(""),n=l.length,c=0,d=0;d{t.updateRemark=e,t.status=0;const a=await this.$Api.doctorGetMap.addEditDoctor(t);this.loadingStateDoctorPop=!1,this.lockForm=!1,"200"===a.code&&(this.$Message.success({content:"编辑信息成功!"}),this.displayPop=!1,this.doSearch())}).catch(()=>{this.$message({type:"info",message:"请输入备注信息!!"}),this.loadingStateDoctorPop=!1,this.lockForm=!1});else{const e=await this.$Api.doctorGetMap.addEditDoctor(t);this.loadingStateDoctorPop=!1,this.lockForm=!1,"200"===e.code&&(this.$Message.success({content:"编辑专家信息成功!"}),this.displayPop=!1,this.doSearch())}},pageNumChang(t){this.searchData.pageNum=t,this.doSearch()},sizeChange(t){this.searchData.pageSize=t,this.searchData.pageNum=1,this.doSearch()},async doSearch(){let t={offset:this.searchData.pageNum,limit:this.searchData.pageSize,phone:this.searchData.phone,name:this.searchData.name,majorTitleAndRank:this.searchData.majorTitleAndRank,education:this.searchData.education,academicSegree:this.searchData.academicSegree,status:this.searchData.status,nation:this.searchData.nation,sex:this.searchData.sex,politicalFace:this.searchData.politicalFace,projectType:this.searchData.projectType,isAsc:this.searchData.isAsc,orderColumn:"e.createTime"};this.searchData.region&&(t.provinceId=this.searchData.region[0]?this.searchData.region[0]:"",t.cityId=this.searchData.region[1]?this.searchData.region[1]:"",t.areaId=this.searchData.region[2]?this.searchData.region[2]:"");const e=await this.$Api.doctorGetMap.getDoctorList(t);"200"===e.code&&(this.tableList=e.data.records,this.searchData.pageTole=e.data.pages,this.searchData.pageNum=e.data.current,this.searchData.totalNum=e.data.total,this.$idDoctorPower()&&e.data.records.length>0&&(this.uploadDisable=0==e.data.records[0].status,this.addDisable=!0),this.$idDoctorPower()&&0==e.data.records.length&&(this.uploadDisable=!0))}}},k=A,F=(a("3d08"),Object(d["a"])(k,o,s,!1,null,null,null));e["default"]=F.exports},1554:function(t,e,a){var o=a("641a");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var s=a("499e").default;s("37fa5ceb",o,!0,{sourceMap:!1,shadowMode:!1})},"3d08":function(t,e,a){"use strict";var o=a("66c6"),s=a.n(o);s.a},"3f2e":function(t,e,a){"use strict";var o=a("1554"),s=a.n(o);s.a},5572:function(t,e,a){"use strict";var o=a("643a"),s=a.n(o);s.a},5701:function(t,e,a){"use strict";var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"DoctorCenter"},[a("div",{staticClass:"user-avatar",on:{click:t.goToUserInfo}},[a("el-avatar",{attrs:{size:60,src:t.userData.headImgUrl?t.urlBase+t.userData.headImgUrl:t.defaultImg}})],1),a("div",{staticClass:"user-info"},[a("el-tag",{attrs:{effect:"dark"}},[t._v(" 专家-"+t._s(t.userData.name)+" ")]),1==t.doctorData.isDivulgeSecrets?a("el-tag",{attrs:{effect:"dark",type:"danger"}},[t._v(" 曾经泄密 ")]):t._e(),a("el-rate",{attrs:{"show-text":"",disabled:""},model:{value:t.doctorData.totalScore,callback:function(e){t.$set(t.doctorData,"totalScore",e)},expression:"doctorData.totalScore"}})],1),a("div",{staticClass:"user-record"},[a("div",{staticClass:"user-record-result"},[a("div",{staticClass:"user-record-div"},[a("div",{staticClass:"point"},[t._v(t._s(t.doctorData.storageDays))]),a("div",{staticClass:"title"},[t._v("库龄(天)")])]),a("div",{staticClass:"user-record-div"},[a("div",{staticClass:"point"},[t._v(t._s(null==t.doctorData.joinProjectFrequency?0:t.doctorData.joinProjectFrequency))]),a("div",{staticClass:"title"},[t._v("项目记录(次)")])]),a("div",{staticClass:"user-record-div"},[a("div",{staticClass:"point"},[t._v(t._s(null==t.doctorData.praiseCount?0:t.doctorData.praiseCount))]),a("div",{staticClass:"title"},[t._v("累计好评(次)")])])])]),a("div",{staticClass:"user-project-record"},[t._m(0),a("div",{staticClass:"user-project-content"},t._l(t.doctorData.expertInfoVoList,(function(e,o){return a("div",{key:o,staticClass:"record-list"},[a("el-descriptions",{attrs:{title:e.projectName+"-"+e.projectTime,border:"",column:2}},[a("el-descriptions-item",{attrs:{label:"项目名称"}},[t._v(t._s(e.projectName))]),a("el-descriptions-item",{attrs:{label:"项目日期"}},[t._v(t._s(e.projectTime))]),a("el-descriptions-item",{attrs:{label:"抽取时间"}},[t._v(t._s(e.extractRecordTime))]),a("el-descriptions-item",{attrs:{label:"评价时间"}},[t._v(t._s(e.eiCreateTime))]),a("el-descriptions-item",{attrs:{label:"是否泄密"}},[a("el-tag",{attrs:{size:"small",effect:"dark",type:1==e.isDivulgeSecrets?"danger":""}},[t._v(t._s(1==e.isDivulgeSecrets?"是":"否"))])],1),a("el-descriptions-item",{attrs:{label:"专业水平"}},[a("el-rate",{attrs:{"show-text":"",disabled:""},model:{value:e.majorLevel,callback:function(a){t.$set(e,"majorLevel",a)},expression:"item.majorLevel"}})],1),a("el-descriptions-item",{attrs:{label:"服务态度"}},[a("el-rate",{attrs:{"show-text":"",disabled:""},model:{value:e.serviceAttitude,callback:function(a){t.$set(e,"serviceAttitude",a)},expression:"item.serviceAttitude"}})],1),a("el-descriptions-item",{attrs:{label:"作风纪律"}},[a("el-rate",{attrs:{"show-text":"",disabled:""},model:{value:e.styleDiscipline,callback:function(a){t.$set(e,"styleDiscipline",a)},expression:"item.styleDiscipline"}})],1),a("el-descriptions-item",{attrs:{label:"备注",span:2}},[t._v(t._s(e.remarks))])],1)],1)})),0)])])},s=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"record-title"},[t._v("参与项目记录"),a("span",{staticClass:"record-stitle"},[t._v("最近五次")])])}];const r=a("a4cf");var i={name:"DoctorCenterComponent",props:{userData:{type:Object,default:{}}},data(){return{urlBase:"http://39.98.230.59:8992/files",userRate:4,defaultImg:r,doctorData:{}}},mounted(){this.getExpertStatisticsInfo()},methods:{goToUserInfo(){this.$router.push({path:`/userInfo?userId=${this.userData.userId}&doctorId=${this.userData.id}`})},async getExpertStatisticsInfo(){const t=await this.$Api.doctorGetMap.getExpertStatisticsInfo(this.userData.id);200==t.code&&(this.doctorData=t.data)}}},l=i,n=(a("9110"),a("2877")),c=Object(n["a"])(l,o,s,!1,null,"76b49286",null);e["a"]=c.exports},"5e69":function(t,e,a){var o=a("98b7");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var s=a("499e").default;s("08230664",o,!0,{sourceMap:!1,shadowMode:!1})},"616c":function(t,e,a){var o=a("fbaa");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var s=a("499e").default;s("73a66015",o,!0,{sourceMap:!1,shadowMode:!1})},6229:function(t,e,a){"use strict";var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("Card",{directives:[{name:"myLoading",rawName:"v-myLoading",value:t.loadingState,expression:"loadingState"}],staticClass:"us-card",attrs:{bordered:!1,shadow:!0}},[a("div",{staticClass:"uploadClass-title"},[t._v("学历学位证书")]),a("div",{staticClass:"uploadClass"},[a("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:"","on-remove":t.handleRemoveEducation,"file-list":t.educationFileList,"auto-upload":!1,multiple:"","on-change":t.handleChangeFileEducation,limit:10}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[a("span",{staticStyle:{color:"red"}},[t._v("上传文件大小不能超过10MB,可以同时上传5个附件,请勿同时上传多个分类!!")])])],1)],1),1==t.doctorData.category?a("div",{staticClass:"uploadClass-title"},[t._v("代表性成果")]):t._e(),1==t.doctorData.category?a("div",{staticClass:"uploadClass"},[a("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:"","on-remove":t.handleRemoveJob,"file-list":t.jobFileList,"auto-upload":!1,multiple:"","on-change":t.handleChangeFileJob,limit:10}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[a("span",{staticStyle:{color:"red"}},[t._v("上传文件大小不能超过10MB,可以同时上传5个附件,请勿同时上传多个分类!!")])])],1)],1):t._e(),1==t.doctorData.category?a("div",{staticClass:"uploadClass-title"},[t._v("项目情况")]):t._e(),1==t.doctorData.category?a("div",{staticClass:"uploadClass"},[a("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:"","on-remove":t.handleRemoveJob2,"file-list":t.jobFileList1,"auto-upload":!1,multiple:"","on-change":t.handleChangeFileJob1,limit:10}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[a("span",{staticStyle:{color:"red"}},[t._v("上传文件大小不能超过10MB,可以同时上传5个附件,请勿同时上传多个分类!!")])])],1)],1):t._e(),a("div",{staticClass:"uploadClass-title"},[t._v("获奖情况")]),a("div",{staticClass:"uploadClass"},[a("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:"","on-remove":t.handleRemoveJob2,"file-list":t.jobFileList2,"auto-upload":!1,multiple:"","on-change":t.handleChangeFileJob2,limit:10}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[a("span",{staticStyle:{color:"red"}},[t._v("上传文件大小不能超过10MB,可以同时上传5个附件,请勿同时上传多个分类!!")])])],1)],1)])},s=[];function r(){var t=new Date,e=t.getDate(),a=t.getMonth()+1,o=t.getFullYear();String(a).length<2&&(a="0"+a),String(e).length<2&&(e="0"+e);var s=o+""+a+e;return s}var i={name:"DoctorMyFileUpload",props:{},data(){return{educationFileList:[],jobFileList:[],jobFileList1:[],jobFileList2:[],doctorData:{},supportingMaterials:[],allFileList:[],loadingState:!1}},created(){},mounted(){this.getMydoctorData()},methods:{beforeAvatarUpload(t){console.log(t);const e=t.size/1024/1024<10;return e||this.$message.error("上传头像图片大小不能超过 10MB!"),isJPG&&e},async getMydoctorData(){let t={offset:1,limit:1};const e=await this.$Api.doctorGetMap.getDoctorList(t);if(200==e.code&&e.data.records.length>0){const t=await this.$Api.doctorGetMap.getDoctorById1(e.data.records[0]);200==t.code&&(this.doctorData=t.data)}},handleChangeFileEducation(t,e){const a=t.size/1024/1024<10;a||(this.$message.error("上传文件大小不能超过10MB!"),e.map((a,o)=>{a==t&&e.splice(o,1)})),this.educationFileList=e},handleChangeFileJob(t,e){const a=t.size/1024/1024<10;a||(this.$message.error("上传文件大小不能超过10MB!"),e.map((a,o)=>{a==t&&e.splice(o,1)})),this.jobFileList=e},handleChangeFileJob1(t,e){const a=t.size/1024/1024<10;a||(this.$message.error("上传文件大小不能超过10MB!"),e.map((a,o)=>{a==t&&e.splice(o,1)})),this.jobFileList1=e},handleChangeFileJob2(t,e){const a=t.size/1024/1024<10;a||(this.$message.error("上传文件大小不能超过10MB!"),e.map((a,o)=>{a==t&&e.splice(o,1)})),this.jobFileList2=e},async submitUpload(t){console.log(this.educationFileList),this.loadingState=!0;var e=r();this.educationFileList.map((t,a)=>{var o=t.name.split(".");const s=t.name.indexOf(".")>-1?o[o.length-1]:"";var r=""!=s?`学历学位_${o[0]}_${e}.${s}`:`学历学位_${o[0]}_${e}`;console.log(r);var i=new File([t.raw],r,{type:t.raw.type});this.allFileList.push(i)}),this.jobFileList.map((t,a)=>{var o=t.name.split(".");const s=t.name.indexOf(".")>-1?o[o.length-1]:"";var r=""!=s?`代表性成果_${o[0]}_${e}.${s}`:`代表性成果_${o[0]}_${e}`,i=new File([t.raw],r,{type:t.raw.type});this.allFileList.push(i)}),this.jobFileList1.map((t,a)=>{var o=t.name.split(".");const s=t.name.indexOf(".")>-1?o[o.length-1]:"";var r=""!=s?`项目情况_${o[0]}_${e}.${s}`:`项目情况_${o[0]}_${e}`,i=new File([t.raw],r,{type:t.raw.type});this.allFileList.push(i)}),this.jobFileList2.map((t,a)=>{var o=t.name.split(".");const s=t.name.indexOf(".")>-1?o[o.length-1]:"";var r=""!=s?`获奖情况_${o[0]}_${e}.${s}`:`获奖情况_${o[0]}_${e}`,i=new File([t.raw],r,{type:t.raw.type});this.allFileList.push(i)});var a=new FormData;if(this.allFileList.map(t=>{a.append("file",t)}),console.log(this.allFileList),a.append("userId",this.$store.state.userInfo.id),this.allFileList.length>0){const e=await this.$Api.doctorGetMap.uploadDoctorBatchFiles(a);if(this.loadingState=!1,"200"===e.code){let a=[];this.doctorData.supportingMaterials&&(a=JSON.parse(this.doctorData.supportingMaterials)),e.data.map(t=>{a.push({fileName:t.fileName,path:t.path,url:t.url,type:t.fileName.split(".")[t.fileName.split(".").length-1]})}),this.doctorData.supportingMaterials=JSON.stringify(a),this.doctorData.updateRemark="附件上传",this.doctorData.status=0==t?0:this.doctorData.status,this.doctorData.isSubmit=0==t?1:0;const o=await this.$Api.doctorGetMap.addEditDoctor(this.doctorData);"200"==o.code&&(this.$Message.success({content:"文件上传成功"}),this.educationFileList=[],this.jobFileList=[],this.jobFileList1=[],this.jobFileList2=[],this.allFileList=[],this.$emit("update"))}else this.$Message.error({content:"文件上传失败"}),this.educationFileList=[],this.jobFileList=[],this.jobFileList1=[],this.jobFileList2=[],this.allFileList=[]}else if(0==t){this.doctorData.isSubmit=1,this.doctorData.status=0;const t=await this.$Api.doctorGetMap.addEditDoctor(this.doctorData);"200"==t.code&&(this.$Message.success({content:"提交成功成功"}),this.$emit("update"))}this.loadingState=!1},handleRemoveEducation(t,e){this.educationFileList.map((e,a)=>{console.log(t),console.log(e),e==t&&this.educationFileList.splice(a,1)})},handleRemoveJob(t,e){this.jobFileList.map((e,a)=>{e==t&&this.jobFileList.splice(a,1)})},handleRemoveJob1(t,e){this.jobFileList1.map((e,a)=>{e==t&&this.jobFileList1.splice(a,1)})},handleRemoveJob2(t,e){this.jobFileList2.map((e,a)=>{e==t&&this.jobFileList2.splice(a,1)})}}},l=i,n=(a("3f2e"),a("2877")),c=Object(n["a"])(l,o,s,!1,null,"20fc83e4",null);e["a"]=c.exports},"641a":function(t,e,a){var o=a("24fb");e=o(!1),e.push([t.i,".us-card[data-v-20fc83e4]{margin-bottom:14px}.us-card .uploadClass-title[data-v-20fc83e4]{font-weight:700;text-align:left;font-size:16px;background-color:#faebd7}.us-card .uploadClass[data-v-20fc83e4]{display:flex;height:auto;margin:10px 0}",""]),t.exports=e},"643a":function(t,e,a){var o=a("8b6e");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var s=a("499e").default;s("515a93f5",o,!0,{sourceMap:!1,shadowMode:!1})},"66c6":function(t,e,a){var o=a("deba");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var s=a("499e").default;s("53e6769f",o,!0,{sourceMap:!1,shadowMode:!1})},"68b6":function(t,e,a){"use strict";var o=a("616c"),s=a.n(o);s.a},"70df":function(t,e,a){var o=a("24fb");e=o(!1),e.push([t.i,".doctorSearch .us1-card[data-v-ad740944]{margin-bottom:14px}.doctorSearch .us1-card .us1-card-content[data-v-ad740944]{display:flex!important;justify-content:space-between}.doctorSearch .us1-card .us1-card-content .pt-card-form[data-v-ad740944]{flex:9;width:100%;text-align:left}.doctorSearch .us1-card .us1-card-content .pt-card-form .pt-form-item[data-v-ad740944]{width:280px;min-width:200px;margin-bottom:0}.doctorSearch .us1-card .us1-card-content .pt-card-form .ivu-form-item[data-v-ad740944]{margin-bottom:0}.doctorSearch .us1-card .us1-card-content .pt-card-form .projectType[data-v-ad740944]{width:460px}.doctorSearch .us1-card .us1-card-content .pt-card-form .projectType[data-v-ad740944] .el-input__inner{font-size:14px!important;color:#515a6e!important}.doctorSearch .us1-card .us1-card-content .searchEventButton[data-v-ad740944]{display:flex;align-items:center}",""]),t.exports=e},"8b6e":function(t,e,a){var o=a("24fb");e=o(!1),e.push([t.i,".addUser-form{padding:20px;display:flex;justify-content:flex-start;flex-wrap:wrap}.addUser-form .custom-form-item{width:100%}.addUser-form .custom-form-item .ivu-form-item-label{margin:0 0}.addUser-form .custom-form-item .tree-comment{height:420px;overflow-y:scroll;overflow-x:hidden;text-align:left}.addUser-form .custom-form-item2{width:48.5%}.addUser-form .custom-form-item2 .ivu-form-item-label{margin:0 0}.addUser-form .custom-form-item2 .tree-comment{height:420px;overflow-y:scroll;overflow-x:hidden;text-align:left}",""]),t.exports=e},9110:function(t,e,a){"use strict";var o=a("5e69"),s=a.n(o);s.a},"98b7":function(t,e,a){var o=a("24fb");e=o(!1),e.push([t.i,".DoctorCenter .user-avatar[data-v-76b49286]{cursor:pointer}.DoctorCenter .user-record[data-v-76b49286]{width:80%;margin:0 auto;background-color:#33507c;border-radius:4px;padding:10px}.DoctorCenter .user-record .user-record-result[data-v-76b49286]{display:flex}.DoctorCenter .user-record .user-record-result .user-record-div[data-v-76b49286]{flex:1;height:40px;color:#f0f8ff}.DoctorCenter .user-record .user-record-result .user-record-div .point[data-v-76b49286]{font-weight:700;color:#ff0}.DoctorCenter .user-project-record[data-v-76b49286]{margin:10px 0}.DoctorCenter .user-project-record .record-title[data-v-76b49286]{font-size:16px;font-weight:700;text-align:left;padding-left:20px;border-bottom:1px dashed red}.DoctorCenter .user-project-record .record-title .record-stitle[data-v-76b49286]{font-size:12px;color:#cbabab}.DoctorCenter .user-project-record .user-project-content[data-v-76b49286]{height:400px;overflow-y:auto}.DoctorCenter .user-project-record .user-project-content[data-v-76b49286] .el-descriptions__title{color:#33507c;font-size:14px}.DoctorCenter .user-project-record .user-project-content .record-list[data-v-76b49286]{padding-left:20px}",""]),t.exports=e},a4cf:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAADYZJREFUeF7tXXlwldUV/537ErJBEjYFRIt1d6xigzAI0sDLTJXpjE41YbEIrQwoLqCEQFlqVBTCJqA4UhUqlrKV6jh1GDGPR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iJlUdKap+3Y2cuNIzhtYpaAfhp2bVscMLAPol3EESOIPoNCCntU8bnpMTbDLn542M12259fLfbP1QXlgKiXgDN2VFH1fpfkzqchOcWYh5Iggaoj9gzYy8DnzDLj+JG73gnLEYjrHFMCSDCcmMLXC0AW2h2rxMtAPfmxhZkWgC20OxeJ1oA7s2NLci0AGyh2b1O/gfw4DfMI2pKagAAAABJRU5ErkJggg=="},c431:function(t,e,a){"use strict";var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"doctorSearch"},[a("Card",{staticClass:"us1-card",attrs:{bordered:!1,shadow:!0}},[a("div",{staticClass:"us1-card-content"},[a("Form",{staticClass:"pt-card-form",attrs:{"label-width":110,inline:!0}},[a("FormItem",{staticClass:"pt-form-item",attrs:{label:"姓名:"}},[a("Input",{attrs:{type:"text",placeholder:"请输入姓名",clearable:""},model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1),a("FormItem",{staticClass:"pt-form-item",attrs:{label:"性别:"}},[a("Select",{staticClass:"lg-fm-item-Select",attrs:{transfer:!1,placeholder:"请选择",clearable:""},model:{value:t.formData.sex,callback:function(e){t.$set(t.formData,"sex",e)},expression:"formData.sex"}},t._l(t.allList.sex,(function(e){return a("Option",{key:e.k,attrs:{value:e.k}},[t._v(t._s(e.val))])})),1)],1),a("FormItem",{staticClass:"pt-form-item",attrs:{label:"学历:"}},[a("Select",{staticClass:"lg-fm-item-Select",attrs:{transfer:!1,placeholder:"请选择",clearable:""},model:{value:t.formData.education,callback:function(e){t.$set(t.formData,"education",e)},expression:"formData.education"}},t._l(t.allList.education,(function(e){return a("Option",{key:e.k,attrs:{value:e.k}},[t._v(t._s(e.val)+" ")])})),1)],1),a("FormItem",{staticClass:"pt-form-item",attrs:{label:"学位:"}},[a("Select",{staticClass:"lg-fm-item-Select",attrs:{transfer:!1,placeholder:"请选择",clearable:""},model:{value:t.formData.academicSegree,callback:function(e){t.$set(t.formData,"academicSegree",e)},expression:"formData.academicSegree"}},t._l(t.allList.academicSegree,(function(e){return a("Option",{key:e.k,attrs:{value:e.k}},[t._v(t._s(e.val)+" ")])})),1)],1),a("FormItem",{staticClass:"pt-form-item",attrs:{label:"民族:"}},[a("Select",{staticClass:"lg-fm-item-Select",attrs:{transfer:!1,placeholder:"请选择",clearable:""},model:{value:t.formData.nation,callback:function(e){t.$set(t.formData,"nation",e)},expression:"formData.nation"}},t._l(t.allList.nation,(function(e){return a("Option",{key:e.k,attrs:{value:e.k}},[t._v(t._s(e.val))])})),1)],1),a("FormItem",{staticClass:"pt-form-item",attrs:{label:"政治面貌:"}},[a("Select",{staticClass:"lg-fm-item-Select",attrs:{transfer:!1,placeholder:"请选择",clearable:""},model:{value:t.formData.politicalFace,callback:function(e){t.$set(t.formData,"politicalFace",e)},expression:"formData.politicalFace"}},t._l(t.allList.politicalFace,(function(e){return a("Option",{key:e.k,attrs:{value:e.k}},[t._v(t._s(e.val)+" ")])})),1)],1),a("FormItem",{staticClass:"custom-form-item",attrs:{label:"所属区域:"}},[a("Cascader",{staticClass:"lg-fm-Cascader",staticStyle:{width:"170px"},attrs:{value:t.formData.region,transfer:!1,data:t.regionList,"load-data":t.loadData,placeholder:"所属区域",filterable:""},model:{value:t.formData.region,callback:function(e){t.$set(t.formData,"region",e)},expression:"formData.region"}})],1),a("FormItem",{staticClass:"custom-form-item",attrs:{label:"专家项目分类:"}},[a("el-cascader",{ref:"projectTypeRef",staticClass:"projectType",attrs:{options:t.allList.project_type,props:{label:"val",value:"k",multiple:!0},"collapse-tags":"",clearable:""},on:{change:t.handleChange},model:{value:t.formData.projectType,callback:function(e){t.$set(t.formData,"projectType",e)},expression:"formData.projectType"}})],1),a("FormItem",{staticClass:"pt-form-item",attrs:{label:"专家状态:"}},[a("Select",{staticClass:"lg-fm-item-Select",attrs:{transfer:!1,placeholder:"请选择",clearable:""},model:{value:t.formData.status,callback:function(e){t.$set(t.formData,"status",e)},expression:"formData.status"}},t._l(t.allList.expert_status,(function(e){return a("Option",{key:e.k,attrs:{value:e.k}},[t._v(t._s(e.val)+" ")])})),1)],1)],1),a("div",{staticClass:"searchEventButton"},[a("Button",{directives:[{name:"auth",rawName:"v-auth",value:"expertInfo:query",expression:"'expertInfo:query'"}],attrs:{icon:"md-search",type:"primary"},on:{click:t.searchEvent}},[t._v("查询")])],1)],1)])],1)},s=[],r={name:"UserSearch",props:{showAddBoolean:{type:Boolean,default:!1}},data(){return{formData:{name:"",majorTitleAndRank:"",education:"",academicSegree:"",politicalFace:"",sex:"",phone:"",nation:"",region:[],projectType:[],checkedProjectType:"",status:""},majorTitleAndRankList:[],educationList:[],academicSegreeList:[],dictIndustryList:[],regionList:[],allList:{}}},created(){this.allList=this.$filterDict(["sex","nation","education","academicSegree","politicalFace","project_type","expert_status"],this.$Store.getters.getDictTypeList),this.getDictionaryData(),this.allList.project_type=this.allList.project_type.filter(t=>"项目分类"==t.val)[0].children},methods:{async getDictionaryData(){const t=await this.$Api.areaGetMap.getProvinceList();if("200"===t.code){let e=t.data.map(t=>({value:t.id,label:t.name,children:[],loading:!1,type:"shengJi"}));this.regionList=e}},async loadData(t,e){t.loading=!0;const a=await this.$Api.areaGetMap.getCityByProvinceId({id:t.value});if("200"===a.code){let o=[];"shengJi"===t.type?o=a.data.map(t=>({value:t.id,label:t.name,children:[],loading:!1,type:"shiJi"})):"shiJi"===t.type&&(o=a.data.map(t=>({value:t.id,label:t.name,type:"xianJi"}))),t.children=o,t.loading=!1,e()}},searchEvent(){this.$emit("searchEvent",this.formData)},handleChange(t){let e=this.$refs.projectTypeRef.getCheckedNodes(),a=[];e.length>0?(e.map(t=>{a.push(t.value)}),a.length>0&&(this.formData.checkedProjectType=a.join(","))):this.formData.checkedProjectType=""}}},i=r,l=(a("e77e"),a("2877")),n=Object(l["a"])(i,o,s,!1,null,"ad740944",null);e["a"]=n.exports},deba:function(t,e,a){var o=a("24fb");e=o(!1),e.push([t.i,".doctor .userList-card{\n /*!*overflow-y: auto;*!*/}.doctor .userList-card .header-top-box{height:auto;display:flex;justify-content:space-between}.doctor .userList-card .header-top-box .title-value{line-height:32px;text-align:left;font-size:24px;font-weight:700;color:#2760b7}.doctor .userList-card .iv-custom-table .ivu-table .ivu-table-tip td{width:100%!important}.doctor .userList-card .iv-custom-table .iv-button-box{position:relative;width:100%;justify-content:space-around}.doctor .userList-card .iv-custom-table .iv-button-box .iv-custom-button{margin:0 4px}.doctor .userList-card .ivu-card-footer{margin-top:10px}.doctor .userList-card .ivu-card-footer .footer-botton{float:left;margin-right:10px;color:#4862ea}.doctor .userList-card .ivu-card-footer .footer-botton:focus{box-shadow:0 0 0 0 transparent;color:#131d26}.doctor .doctorHistory .doctorHistory-content .el-descriptions__header{padding:10px;margin-bottom:0}.doctor .downloadFile{width:50%;margin:0 auto}.doctor .el-drawer__header{margin-bottom:0!important}",""]),t.exports=e},e77e:function(t,e,a){"use strict";var o=a("fb4f"),s=a.n(o);s.a},fb4f:function(t,e,a){var o=a("70df");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var s=a("499e").default;s("52a92222",o,!0,{sourceMap:!1,shadowMode:!1})},fbaa:function(t,e,a){var o=a("24fb");e=o(!1),e.push([t.i,".us-card{margin-bottom:14px}.us-card .uploadClass{display:flex;height:auto}.us-card .uploadClass .btn1{flex:1;text-align:left;margin:10px 40px}.us-card .uploadClass .btn1:last-child{text-align:right}.us-card .ivu-card-body .pt-card-form{width:90%;text-align:left}.us-card .ivu-card-body .pt-card-form .pt-form-item{width:280px;min-width:200px;margin-bottom:0}",""]),t.exports=e}}]);