chunk-51d34080.44a8fc73.js 34 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-51d34080"],{"0c02":function(t,e,a){var r=a("a861");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=a("499e").default;o("2ab8ae54",r,!0,{sourceMap:!1,shadowMode:!1})},"12eb":function(t,e,a){"use strict";var r=a("0c02"),o=a.n(r);o.a},"13bc":function(t,e,a){var r=a("24fb");e=r(!1),e.push([t.i,".projectPopScore .doctor-rateF{height:400px;overflow-y:auto}.projectPopScore .doctor-rateF .doctor-rate{background-color:#f3eee8;border-radius:4px}.projectPopScore .doctor-rateF .doctor-rate .title-content{display:flex;background-color:#0ff;align-items:center;padding:4px 0}.projectPopScore .doctor-rateF .doctor-rate .title-content .rate-title{text-align:left;padding:4px 20px;font-size:13px;font-weight:700;flex:1}.projectPopScore .doctor-rateF .doctor-rate .title-content .rate-tab{flex:1;text-align:right;padding:0 20px}.projectPopScore .doctor-rateF .doctor-rate .title-content .rate-tab .el-checkbox__label{font-size:12px}.projectPopScore .doctor-rateF .doctor-rate .rate-content .rate-content-mark{display:flex;padding:4px}.projectPopScore .doctor-rateF .doctor-rate .rate-content .rate-content-mark div{flex:1}",""]),t.exports=e},"1bb4":function(t,e,a){var r=a("13bc");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=a("499e").default;o("20cdbd3d",r,!0,{sourceMap:!1,shadowMode:!1})},"384a":function(t,e,a){var r=a("828e");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=a("499e").default;o("559e13d0",r,!0,{sourceMap:!1,shadowMode:!1})},5701:function(t,e,a){"use strict";var r=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,r){return a("div",{key:r,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)])])},o=[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 i=a("a4cf");var s={name:"DoctorCenterComponent",props:{userData:{type:Object,default:{}}},data(){return{urlBase:"http://39.98.230.59:8992/files",userRate:4,defaultImg:i,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)}}},c=s,l=(a("dd50"),a("2877")),n=Object(l["a"])(c,r,o,!1,null,"20f0568a",null);e["a"]=n.exports},"828e":function(t,e,a){var r=a("24fb");e=r(!1),e.push([t.i,".DoctorCenter .user-avatar[data-v-20f0568a]{cursor:pointer}.DoctorCenter .user-record[data-v-20f0568a]{width:80%;margin:0 auto;background-color:#33507c;border-radius:4px;padding:10px}.DoctorCenter .user-record .user-record-result[data-v-20f0568a]{display:flex}.DoctorCenter .user-record .user-record-result .user-record-div[data-v-20f0568a]{flex:1;height:40px;color:#f0f8ff}.DoctorCenter .user-record .user-record-result .user-record-div .point[data-v-20f0568a]{font-weight:700;color:#ff0}.DoctorCenter .user-project-record[data-v-20f0568a]{margin:10px 0}.DoctorCenter .user-project-record .record-title[data-v-20f0568a]{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-20f0568a]{font-size:12px;color:#cbabab}.DoctorCenter .user-project-record .user-project-content[data-v-20f0568a]{height:400px;overflow-y:auto}.DoctorCenter .user-project-record .user-project-content[data-v-20f0568a] .el-descriptions__title{color:#33507c;font-size:14px}.DoctorCenter .user-project-record .user-project-content .record-list[data-v-20f0568a]{padding-left:20px}",""]),t.exports=e},"8d884":function(t,e,a){"use strict";var r=a("1bb4"),o=a.n(r);o.a},a4cf:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAADYZJREFUeF7tXXlwldUV/537ErJBEjYFRIt1d6xigzAI0sDLTJXpjE41YbEIrQwoLqCEQFlqVBTCJqA4UhUqlrKV6jh1GDGPRFGoC4NaB1pFRVbZskH2fPd0bsizMWR5y7e99+79M7n3nN/5nd+7392++xEAAV1ilgHSAojZ3DcGrgUQ2/nXAojx/GsBaAHoQWBMa0CPAWI6/XoQGOPp1wLQAtDrALGtgZgdAxx5aGDXrokp/WAQl5ytPnjpq7vLYlEKMSOAyum/ykj0xN8nwMNA1A9AaouElwN8UDLeqzHkupSlRXtjQRBRLYDD9w9O79M95X5BGAfgF0EllPkLCaw7dqZqbTT3DlEpgE8nZSTenJ72iCAxE0DXoBJ/YeVSKXnh3vKyFwb8eU9NmLZc1zyqBLA6I8Nz/4i08R6iJ0DU11S2mY8YzE++uqP8tcl79him2nbQWNQIoCF3xJ0eIZ4B4TpL+WTsN2DMjVtU9KalfmwyHvECqJqeeWtSXNwSAINs4szv5qPqhobc5KXFu2z2a6q7iBXAuam33ZCckLCACCNNZSRIY8y8raq2blbnFTu/DLKpK6pHnABKH7r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G42srU4IgB/hCdeHtSzR5eUaUKIBwGk2Rq5887KpcEvnqgwlvWZXFziFBxHBeAP+vsXh6b17dZpihBiKoCeTpFhk9+TknnFwbKyVVaN7IOJwxUC8AP+fPGNSTdc2nOiEOpwCamL2aKnMA5L8JK9+8teGZC/xzXfT3OVAPzZ3px/fdxvr+11n0eIPABXRbQKmL8yQAX/2H/srzn5+1z3mSxXCsCf8PxMiLkPeO/xEGaB6KYIE8JnhsEL56/2bc0vhvpEliuLqwXQnLGGjd6RHoHZAA12JZM/TufwoSGNBXFjira5GmcTuIgRgJ/M6r+NyEzw0B+JKMtNBLPE9tr6hgVJ44rfdxOujrBEnAD8AVWuH35zUpyYS4Q7nTt/wMyS36g2+NmUe4v2dkS2G/8fsQLwk3l23bBrkjvFzxECowCy6XJXbpCSNlTV1S3oct/7/3VjYgPFFPEC8AdaujbzstQkzywhaIJlF7oz10jmtRXVclHX3xcfCpRkN9eLGgH4ST61+raLu6V1mi4EJgPU2Rzy+ayUeKmkvO65npN3qg/eRk2JOgH4M3N+BzJ5qhD0MIBuoWWMz0iJlUdKap+3Y2cuNIzhtYpaAfhp2bVscMLAPol3EESOIPoNCCntU8bnpMTbDLn542M12259fLfbP1QXlgKiXgDN2VFH1fpfkzqchOcWYh5Iggaoj9gzYy8DnzDLj+JG73gnLEYjrHFMCSDCcmMLXC0AW2h2rxMtAPfmxhZkWgC20OxeJ1oA7s2NLci0AGyh2b1O/gfw4DfMI2pKagAAAABJRU5ErkJggg=="},a861:function(t,e,a){var r=a("24fb");e=r(!1),e.push([t.i,".project-card[data-v-b5f86dc8]{margin-bottom:14px}.project-card .caret-div[data-v-b5f86dc8]{background-color:#c1dadb;cursor:pointer;padding:8px}.project-card .ivu-form-item[data-v-b5f86dc8]{margin-bottom:4px!important}.project-card .ivu-form-item .custom[data-v-b5f86dc8] .el-input__inner,.project-card .ivu-form-item .custom[data-v-b5f86dc8] .el-range-input,.project-card .ivu-form-item .custom[data-v-b5f86dc8] .el-tag--info{font-size:14px!important;color:#515a6e!important}.project-card .pt-card-tag div[data-v-b5f86dc8]{text-align:left;margin:2px 0}.project-card .project-search-content[data-v-b5f86dc8]{display:flex}.project-card .project-search-content .search-content[data-v-b5f86dc8]{background-color:#7f89e4;text-align:center;-ms-writing-mode:tb-rl;writing-mode:vertical-rl;color:#f5f5f5;cursor:pointer;padding:0 5px;font-weight:700}.project-card .doctor-search-content[data-v-b5f86dc8]{display:flex}.project-card .project-search-content-form[data-v-b5f86dc8]{flex:9}.project-card .project-search-content-form .combination-query[data-v-b5f86dc8]{display:flex;align-items:center;border:1px solid #a9a9a9;border-radius:4px;padding:4px;background-color:#e1eced;margin:2px 0}.project-card .project-search-content-form .combination-query .nameList[data-v-b5f86dc8],.project-card .project-search-content-form .combination-query .number[data-v-b5f86dc8],.project-card .project-search-content-form .combination-query .valueList[data-v-b5f86dc8]{flex:1}.project-card .project-search-content-form .combination-query .button button[data-v-b5f86dc8]{margin:0 5px}.project-card .ivu-card-body .pt-card-form[data-v-b5f86dc8]{width:100%}",""]),t.exports=e},b72c:function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"projectPopScore"},[a("el-descriptions",{staticClass:"margin-top",attrs:{title:"项目信息",column:2,size:"small",border:""}},[a("el-descriptions-item",{attrs:{span:2}},[a("template",{slot:"label"},[a("i",{staticClass:"el-icon-paperclip"}),t._v(" 项目名称 ")]),t._v(" "+t._s(t.projectData.name)+" ")],2),a("el-descriptions-item",[a("template",{slot:"label"},[a("i",{staticClass:"el-icon-paperclip"}),t._v(" 项目日期 ")]),t._v(" "+t._s(t.projectData.startTime+"-"+t.projectData.endTime)+" ")],2),a("el-descriptions-item",[a("template",{slot:"label"},[a("i",{staticClass:"el-icon-paperclip"}),t._v(" 所属区域 ")]),t._v(" "+t._s(t.projectData.fullPosition)+" ")],2),a("el-descriptions-item",{attrs:{item:"",span:2}},[a("template",{slot:"label"},[a("i",{staticClass:"el-icon-paperclip"}),t._v(" 项目类型 ")]),a("el-tag",{attrs:{size:"small"}},[t._v(t._s(t.$formateDict(t.projectData.type,t.allList.project_type,1,">")))])],2),a("el-descriptions-item",{attrs:{span:2}},[a("template",{slot:"label"},[a("i",{staticClass:"el-icon-paperclip"}),t._v(" 发起单位 ")]),t._v(" 江苏省苏州市吴中区吴中大道 1188 号 ")],2),a("el-descriptions-item",[a("template",{slot:"label"},[a("i",{staticClass:"el-icon-paperclip"}),t._v(" 项目描述 ")]),t._v(" "+t._s(t.projectData.remarks)+" ")],2)],1),a("div",{staticClass:"doctor-rateF"},t._l(t.doctorList,(function(e,r){return a("div",{key:r,staticClass:"doctor-rate"},[a("div",{staticClass:"title-content"},[a("div",{staticClass:"rate-title"},[t._v(t._s(e.name)+"的评分")]),a("div",{staticClass:"rate-tab"},[a("el-tag",{staticStyle:{margin:"0px 10px",cursor:"pointer"},attrs:{type:"success",effect:"plain",disabled:t.showSaveScore},on:{click:function(a){return t.makeRate("good",e.id)}}},[t._v(" 默认好评")]),a("el-tag",{staticStyle:{margin:"0px 10px",cursor:"pointer"},attrs:{effect:"plain",disabled:t.showSaveScore},on:{click:function(a){return t.makeRate("normal",e.id)}}},[t._v(" 默认中评")]),a("el-tag",{staticStyle:{margin:"0px 10px",cursor:"pointer"},attrs:{type:"danger",effect:"plain",disabled:t.showSaveScore},on:{click:function(a){return t.makeRate("bad",e.id)}}},[t._v(" 默认差评")]),a("el-checkbox-group",{staticStyle:{display:"inline"},attrs:{disabled:t.showSaveScore},model:{value:t.rateForm["doctor-"+e.id+"-xiemi"],callback:function(a){t.$set(t.rateForm,"doctor-"+e.id+"-xiemi",a)},expression:"rateForm[`doctor-${doctor.id}-xiemi`]"}},[a("el-checkbox",{attrs:{label:"1",size:"mini"}},[t._v("是否泄密")])],1)],1)]),a("div",{staticClass:"rate-content"},[a("div",{staticClass:"rate-content-mark"},[a("div",[a("el-tag",{attrs:{type:"",effect:"dark"}},[t._v("专业水平")]),a("el-rate",{attrs:{"show-text":"",disabled:t.showSaveScore},model:{value:t.rateForm["doctor-"+e.id+"-rate1"],callback:function(a){t.$set(t.rateForm,"doctor-"+e.id+"-rate1",a)},expression:"rateForm[`doctor-${doctor.id}-rate1`]"}})],1),a("div",[a("el-tag",{attrs:{type:"success",effect:"dark"}},[t._v("服务态度")]),a("el-rate",{attrs:{"show-text":"",disabled:t.showSaveScore},model:{value:t.rateForm["doctor-"+e.id+"-rate2"],callback:function(a){t.$set(t.rateForm,"doctor-"+e.id+"-rate2",a)},expression:"rateForm[`doctor-${doctor.id}-rate2`]"}})],1),a("div",[a("el-tag",{attrs:{type:"warning",effect:"dark"}},[t._v("作风纪律")]),a("el-rate",{attrs:{"show-text":"",disabled:t.showSaveScore},model:{value:t.rateForm["doctor-"+e.id+"-rate3"],callback:function(a){t.$set(t.rateForm,"doctor-"+e.id+"-rate3",a)},expression:"rateForm[`doctor-${doctor.id}-rate3`]"}})],1)]),a("div",[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:e.name+"的文字评价",disabled:t.showSaveScore},model:{value:t.rateForm["doctor-"+e.id+"-rate4"],callback:function(a){t.$set(t.rateForm,"doctor-"+e.id+"-rate4",a)},expression:"rateForm[`doctor-${doctor.id}-rate4`]"}})],1)])])})),0)],1)},o=[];Array.prototype.remove=function(t){var e=this.indexOf(t);e>-1&&this.splice(e,1)};var i={name:"ProjectPopScore",props:{allList:{type:Object,default:{}},showSaveScore:{type:Boolean,default:!1}},data(){return{projectData:{},value:null,textarea:"",rateForm:{},doctorList:[]}},computed:{},mounted(){},methods:{async evaluateQuery(t){const e=await this.$Api.projectGetMap.evaluateQuery({projectId:t});"200"===e.code&&e.data.length>0&&e.data.map(t=>{this.$set(this.rateForm,`doctor-${t.expertId}-id`,t.id),this.$set(this.rateForm,`doctor-${t.expertId}-rate1`,t.majorLevel),this.$set(this.rateForm,`doctor-${t.expertId}-rate2`,t.serviceAttitude),this.$set(this.rateForm,`doctor-${t.expertId}-rate3`,t.styleDiscipline),this.$set(this.rateForm,`doctor-${t.expertId}-rate4`,t.remarks),this.$set(this.rateForm,`doctor-${t.expertId}-xiemi`,1==t.isDivulgeSecrets?["1"]:[])})},makeRate(t,e){this.showSaveScore||("good"==t?(this.$set(this.rateForm,`doctor-${e}-rate1`,5),this.$set(this.rateForm,`doctor-${e}-rate2`,5),this.$set(this.rateForm,`doctor-${e}-rate3`,5),this.$set(this.rateForm,`doctor-${e}-rate4`,"默认好评!!")):"normal"==t?(this.$set(this.rateForm,`doctor-${e}-rate1`,3),this.$set(this.rateForm,`doctor-${e}-rate2`,3),this.$set(this.rateForm,`doctor-${e}-rate3`,3),this.$set(this.rateForm,`doctor-${e}-rate4`,"默认中评!!")):(this.$set(this.rateForm,`doctor-${e}-rate1`,2),this.$set(this.rateForm,`doctor-${e}-rate2`,2),this.$set(this.rateForm,`doctor-${e}-rate3`,2),this.$set(this.rateForm,`doctor-${e}-rate4`,"默认差评!!")))},async getProjectData(t){const e=await this.$Api.projectGetMap.getProjectById(t);if("200"===e.code){this.projectData=e.data,this.doctorList=[];let a=e.data.expertIds.split(",");const r=await this.$Api.projectGetMap.smsQuery({businessId:t});200==r.code&&(r.data.length>0&&r.data.map(async t=>{let e=null!=t.receiveTime?t.receiveTime:new Date;var r=new Date(e).getTime()-new Date(t.sendTime).getTime(),o=r%864e5,i=o%36e5,s=Math.floor(i/6e4);(s>30||2==t.content)&&a.remove(t.expertId)}),this.doctorList=await Promise.all(a.map(async t=>{const e=await this.$Api.doctorGetMap.getDoctorById(t);if("200"===e.code)return{id:t,name:e.data.name}})),this.doctorList.map((t,e)=>{this.$set(this.rateForm,`doctor-${t.id}-id`,""),this.$set(this.rateForm,`doctor-${t.id}-rate1`,0),this.$set(this.rateForm,`doctor-${t.id}-rate2`,0),this.$set(this.rateForm,`doctor-${t.id}-rate3`,0),this.$set(this.rateForm,`doctor-${t.id}-rate4`,""),this.$set(this.rateForm,`doctor-${t.id}-xiemi`,[])}),e.data.provinceId&&this.getCityByProvinceId(e.data),this.evaluateQuery(t))}},async getCityByProvinceId(t){let e="";const a=await this.$Api.areaGetMap.getProvinceList();if("200"===a.code){let r=a.data.filter(e=>e.id==t.provinceId);e=r.length>0?r[0].name:""}const r=await this.$Api.areaGetMap.getCityByProvinceId({id:t.provinceId});if("200"===r.code){let a=r.data.filter(e=>e.id==t.cityId);e+="-"+(a.length>0?a[0].name:"")}const o=await this.$Api.areaGetMap.getCityByProvinceId({id:t.cityId});if("200"===o.code){let a=o.data.filter(e=>e.id==t.areaId);e+="-"+(a.length>0?a[0].name:"")}this.$set(this.projectData,"fullPosition",e)}}},s=i,c=(a("8d884"),a("2877")),l=Object(c["a"])(s,r,o,!1,null,null,null);e["a"]=l.exports},bca8:function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("Card",{staticClass:"project-card",attrs:{bordered:!1,shadow:!0}},[a("div",{staticClass:"caret-div",on:{click:function(e){t.showSearch=!t.showSearch}}},[a("i",{staticClass:"el-icon-d-caret"})]),a("div",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],staticClass:"project-search-content"},[a("div",{staticClass:"project-search-content-form"},[a("Tabs",{attrs:{type:"card"},model:{value:t.tabName,callback:function(e){t.tabName=e},expression:"tabName"}},[a("TabPane",{attrs:{label:"常规查询",name:"tab1"}},[a("div",[a("div",{staticClass:"pt-card-tag"},[a("div",[a("el-radio-group",{model:{value:t.formData.education,callback:function(e){t.$set(t.formData,"education",e)},expression:"formData.education"}},[a("el-radio-button",{attrs:{label:""}},[t._v("全部学历")]),t._l(t.allList.education,(function(e,r){return a("el-radio-button",{key:r,attrs:{label:e.k}},[t._v(t._s(e.val)+" ")])}))],2)],1),a("div",[a("el-radio-group",{model:{value:t.formData.academicSegree,callback:function(e){t.$set(t.formData,"academicSegree",e)},expression:"formData.academicSegree"}},[a("el-radio-button",{attrs:{label:""}},[t._v("全部学位")]),t._l(t.allList.academicSegree,(function(e,r){return a("el-radio-button",{key:r,attrs:{label:e.k}},[t._v(t._s(e.val)+" ")])}))],2)],1),a("div",[a("el-radio-group",{model:{value:t.formData.politicalFace,callback:function(e){t.$set(t.formData,"politicalFace",e)},expression:"formData.politicalFace"}},[a("el-radio-button",{attrs:{label:""}},[t._v("全部政治面貌")]),t._l(t.allList.politicalFace,(function(e,r){return a("el-radio-button",{key:r,attrs:{label:e.k}},[t._v(t._s(e.val)+" ")])}))],2)],1),a("div",[a("el-radio-group",{model:{value:t.formData.sex,callback:function(e){t.$set(t.formData,"sex",e)},expression:"formData.sex"}},[a("el-radio-button",{attrs:{label:""}},[t._v("全部性别")]),t._l(t.allList.sex,(function(e,r){return a("el-radio-button",{key:r,attrs:{label:e.k}},[t._v(t._s(e.val)+" ")])}))],2)],1),a("div",[a("el-radio-group",{model:{value:t.formData.majorTitleAndRank,callback:function(e){t.$set(t.formData,"majorTitleAndRank",e)},expression:"formData.majorTitleAndRank"}},[a("el-radio-button",{attrs:{label:""}},[t._v("全部职级")]),t._l(t.allList.majorTitleAndRank,(function(e,r){return a("el-radio-button",{key:r,attrs:{label:e.k}},[t._v(t._s(e.val)+" ")])}))],2)],1),a("div",[a("el-radio-group",{model:{value:t.formData.isStatisticalTimes,callback:function(e){t.$set(t.formData,"isStatisticalTimes",e)},expression:"formData.isStatisticalTimes"}},[a("el-radio-button",{attrs:{label:1}},[t._v("抽取次数最多")]),a("el-radio-button",{attrs:{label:2}},[t._v("评分最高")])],1)],1)]),a("div",{staticClass:"doctor-search-content"},[a("Form",{staticClass:"pt-card-form",attrs:{"label-width":90,inline:!0,"label-position":"left"}},[a("Row",[a("Col",{attrs:{span:"9"}},[a("FormItem",{staticClass:"pt-form-item",attrs:{label:"项目类型:"}},[a("el-cascader",{staticClass:"custom",staticStyle:{width:"200px"},attrs:{options:t.allList.project_type1,props:t.props,"collapse-tags":"",clearable:""},model:{value:t.formData.projectType,callback:function(e){t.$set(t.formData,"projectType",e)},expression:"formData.projectType"}})],1)],1),a("Col",{attrs:{span:"9"}},[a("FormItem",{staticClass:"pt-form-item",attrs:{label:"专家姓名:"}},[a("el-input",{staticClass:"custom",staticStyle:{width:"200px"},attrs:{type:"text",placeholder:"请输入",clearable:""},model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1)],1)],1),a("Row",[a("Col",{attrs:{span:"9"}},[a("FormItem",{staticClass:"pt-form-item",attrs:{label:"研究方向:"}},[a("el-input",{staticClass:"custom",staticStyle:{width:"200px"},attrs:{type:"text",placeholder:"请输入",clearable:""},model:{value:t.formData.researchDirection,callback:function(e){t.$set(t.formData,"researchDirection",e)},expression:"formData.researchDirection"}})],1)],1),a("Col",{attrs:{span:"9"}},[a("FormItem",{staticClass:"custom-form-item",attrs:{label:"所属区域:"}},[a("Cascader",{staticClass:"lg-fm-Cascader",attrs:{value:t.formData.region,transfer:!0,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)],1)],1),a("Row",[a("Col",{attrs:{span:"9"}},[a("FormItem",{staticClass:"pt-form-item",attrs:{label:"从业年限:"}},[a("el-input",{staticClass:"custom",attrs:{type:"number",placeholder:"请输入"},model:{value:t.formData.workYears,callback:function(e){t.$set(t.formData,"workYears",e)},expression:"formData.workYears"}})],1)],1),a("Col",{attrs:{span:"9"}},[a("FormItem",{staticClass:"pt-form-item",attrs:{label:"查询数量:"}},[a("el-input",{staticClass:"custom",attrs:{type:"number",placeholder:"请输入"},model:{value:t.formData.randomNumber,callback:function(e){t.$set(t.formData,"randomNumber",e)},expression:"formData.randomNumber"}})],1)],1)],1)],1)],1)])]),a("TabPane",{attrs:{label:"组合查询",name:"tab2"}},t._l(t.searchParams,(function(e,r){return a("div",{key:r,staticClass:"combination-query"},[a("div",{staticClass:"nameList"},[t._v(" 条件名称: "),a("Select",{staticStyle:{width:"50%"},attrs:{clearable:""},on:{"on-change":function(e){return t.changeName(r)}},model:{value:e.name,callback:function(a){t.$set(e,"name",a)},expression:"item.name"}},t._l(t.searchList,(function(e,r){return a("Option",{key:r,attrs:{value:e.name}},[t._v(t._s(e.name)+" ")])})),1)],1),a("div",{staticClass:"valueList"},[t._v(" 条件值: "),"list"==e.type?a("Select",{staticStyle:{width:"50%"},attrs:{clearable:""},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"item.value"}},t._l(t.allList[e.key],(function(e,r){return a("Option",{key:r,attrs:{value:e.k}},[t._v(t._s(e.val)+" ")])})),1):"project_type1"==e.type?a("el-cascader",{staticClass:"custom",staticStyle:{width:"50%"},attrs:{options:t.allList[e.key],props:t.props,"collapse-tags":"",clearable:""},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"item.value"}}):"region"==e.type?a("Cascader",{staticClass:"lg-fm-Cascader",staticStyle:{width:"50%",display:"inline-block"},attrs:{value:e.value,transfer:!0,data:t.regionList,"load-data":t.loadData,placeholder:"所属区域",filterable:""},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"item.value"}}):"input"==e.type?a("Input",{staticClass:"custom",staticStyle:{width:"50%"},attrs:{type:"text",placeholder:"请输入",clearable:""},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"item.value"}}):a("InputNumber",{staticStyle:{width:"50%"},attrs:{min:1},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"item.value"}})],1),a("div",{staticClass:"number"},[t._v(" 查询数量: "),a("InputNumber",{staticStyle:{width:"50%"},attrs:{min:1},model:{value:e.number,callback:function(a){t.$set(e,"number",a)},expression:"item.number"}})],1),a("div",{staticClass:"button"},[a("Button",{attrs:{type:"primary",shape:"circle",icon:"ios-add",size:"small"},on:{click:function(e){return t.addSearch(r)}}}),a("Button",{attrs:{type:"error",shape:"circle",icon:"ios-close",size:"small",disabled:1==t.searchParams.length},on:{click:function(e){return t.kill(r)}}})],1)])})),0)],1)],1),a("div",{directives:[{name:"auth",rawName:"v-auth",value:"expertInfo:query",expression:"'expertInfo:query'"}],staticClass:"search-content",on:{click:t.doSearch}},[t._v(" 专家查询 ")])]),a("Table",{ref:"selection",staticClass:"iv-custom-table",attrs:{columns:t.columns1,border:!0,data:t.tableList,height:"400"},scopedSlots:t._u([{key:"description",fn:function(e){var r=e.row;e.index;return[a("el-tag",{attrs:{slot:"reference",type:"primary",effect:"dark"},on:{click:function(e){return t.showCenter(r)}},slot:"reference"},[t._v(t._s(r.name))])]}},{key:"sex",fn:function(e){var r=e.row;e.index;return a("div",{staticClass:"iv-button-box"},[t._v(" "+t._s(t.$formateDict(r.sex,t.allList.sex))+" ")])}},{key:"projectType",fn:function(e){var r=e.row;e.index;return a("div",{staticClass:"iv-button-box"},[a("Tooltip",{attrs:{content:t.$formateDict(r.projectType,t.allList.project_type,1,",",1),"max-width":"300",placement:"top-start"}},[t._v(" "+t._s(t.$formateDict(r.projectType,t.allList.project_type,1,",",1))+" ")])],1)}},{key:"action",fn:function(e){var r=e.row;e.index;return[a("Button",{staticClass:"iv-custom-button",attrs:{type:"primary"},on:{click:function(e){return t.selectDoctor(r)}}},[t._v("选择")])]}}])}),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)},o=[],i=a("5701"),s={name:"UserSearch",components:{DoctorCenter:i["a"]},props:{showAddBoolean:{type:Boolean,default:!1}},data(){return{displayDoctorCenterPop:!1,searchData:{pageNum:1,pageSize:10,pageTole:0,totalNum:0},formData:{name:"",majorTitleAndRank:"",workYears:"",region:[],projectType:[],researchDirection:"",randomNumber:10,education:"",sex:"",academicSegree:"",politicalFace:"",isStatisticalTimes:1},dictIndustryList:[],regionList:[],tableList:[],columns1:[{title:"姓名",key:"name",align:"center",slot:"description"},{title:"性别",slot:"sex",align:"center"},{title:"电话",key:"phone",align:"center",width:130},{title:"单位",key:"workUnit",align:"center",width:140},{title:"项目分类",slot:"projectType",width:220,align:"center",tooltip:!1,ellipsis:!0},{title:"操作",slot:"action",width:150,align:"center"}],allList:{},props:{multiple:!0,label:"val",value:"k",leaf:!0},showSearch:!0,activeDoctor:{},tabName:"tab1",searchList:[{name:"学历",type:"list",key:"education"},{name:"学位",type:"list",key:"academicSegree"},{name:"政治面貌",type:"list",key:"politicalFace"},{name:"技术职级",type:"list",key:"majorTitleAndRank"},{name:"专家类别",type:"list",key:"category"},{name:"区域",type:"region",key:"region"}],searchParams:[{name:"学历",key:"education",value:"",number:1,type:"list"}]}},mounted(){this.getDictionaryData(),this.allList=this.$filterDict(["education","sex","academicSegree","politicalFace","project_type","majorTitleAndRank","category"],this.$Store.getters.getDictTypeList),this.allList.project_type1=this.allList.project_type.filter(t=>"项目分类"==t.val)[0].children},methods:{kill(t){this.searchParams.length>1&&this.searchParams.splice(t,1)},addSearch(t){let e={name:"学历",key:"education",value:"",number:1,type:"list"};this.searchParams.splice(t+1,0,e)},changeName(t){let e=this.searchList.filter(e=>e.name==this.searchParams[t].name);1==e.length&&(this.searchParams[t].key=e[0].key,this.searchParams[t].type=e[0].type,"number"==e[0].type?this.searchParams[t].value=1:"region"==e[0].type||"project_type1"==e[0].type?this.searchParams[t].value=[]:this.searchParams[t].value="")},showCenter(t){this.activeDoctor=t,this.displayDoctorCenterPop=!0},async getCityByProvinceId(t){let e="";if(t.provinceId){const a=await this.$Api.areaGetMap.getProvinceList();if("200"===a.code){let r=a.data.filter(e=>e.id==t.provinceId);e=r.length>0?r[0].name:""}const r=await this.$Api.areaGetMap.getCityByProvinceId({id:t.provinceId});if("200"===r.code){let a=r.data.filter(e=>e.id==t.cityId);e+="-"+(a.length>0?a[0].name:"")}const o=await this.$Api.areaGetMap.getCityByProvinceId({id:t.cityId});if("200"===o.code){let a=o.data.filter(e=>e.id==t.areaId);e+="-"+(a.length>0?a[0].name:"")}}return t.fullPosition=e,t},async doSearch(){let t={};if(console.log(this.tabName),"tab1"==this.tabName){if(t={name:this.formData.name,majorTitleAndRank:this.formData.majorTitleAndRank,workYears:this.formData.workYears,projectType:"",researchDirection:this.formData.researchDirection,randomNumber:this.formData.randomNumber,education:this.formData.education,sex:this.formData.sex,academicSegree:this.formData.academicSegree,politicalFace:this.formData.politicalFace,isStatisticalTimes:1==this.formData.isStatisticalTimes?1:0,isHighestScore:2==this.formData.isStatisticalTimes?1:0,status:1,isLock:0},this.formData.region.length>0&&(t.provinceId=this.formData.region[0]?this.formData.region[0]:"",t.cityId=this.formData.region[1]?this.formData.region[1]:"",t.areaId=this.formData.region[2]?this.formData.region[2]:""),this.formData.projectType.length>0){let e=this.formData.projectType.map(t=>{try{return t.at(-1)}catch(e){return t[t.length-1]}});t.projectType=e.join(",")}}else{let e=[],a=[],r=[];this.searchParams.map(t=>{"project_type1"==t.key?(e.push("e.projectType}"),a.push(t.number),r.push(t.value)):"region"==t.key?(e.push("u.provinceId-u.cityId-u.areaId"),a.push(t.number),r.push(`${t.value[0]}-${t.value[1]}-${t.value[2]}`)):(e.push("e."+t.key),a.push(t.number),r.push(t.value))}),t.combinedQueryField=e.join(","),t.combinedQueryNumber=a.join(","),t.combinedQueryVal=r.join(",")}const e=await this.$Api.projectGetMap.screenExpertInfoList(t);"200"===e.code&&(this.tableList=await Promise.all(e.data.map(t=>this.getCityByProvinceId(t))))},handleChange(t){console.log(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 selectDoctor(t){const e=await this.$Api.doctorGetMap.isLockDoctorInfo(t.id);console.log(e.code),200==e.code?this.$emit("selectDoctor",t):this.$message({showClose:!0,message:e.data,type:"warning"})},addEvent(){this.$emit("openAddPop")},searchEvent(){this.$emit("searchEvent",this.formData)},async loadData(t,e){t.loading=!0;const a=await this.$Api.areaGetMap.getCityByProvinceId({id:t.value});if("200"===a.code){let r=[];"shengJi"===t.type?r=a.data.map(t=>({value:t.id,label:t.name,children:[],loading:!1,type:"shiJi"})):"shiJi"===t.type&&(r=a.data.map(t=>({value:t.id,label:t.name,type:"xianJi"}))),t.children=r,t.loading=!1,e()}}}},c=s,l=(a("12eb"),a("2877")),n=Object(l["a"])(c,r,o,!1,null,"b5f86dc8",null);e["a"]=n.exports},dd50:function(t,e,a){"use strict";var r=a("384a"),o=a.n(r);o.a}}]);