|
- var V=(P,F,b)=>new Promise((A,g)=>{var w=f=>{try{h(b.next(f))}catch(R){g(R)}},O=f=>{try{h(b.throw(f))}catch(R){g(R)}},h=f=>f.done?A(f.value):Promise.resolve(f.value).then(w,O);h((b=b.apply(P,F)).next())});import{_ as le,d as te,H as oe,r as k,u as ie,C as ne,b as z,o as ue,P as se,f as _,g as d,h as I,i as c,L as y,m as e,t as i,l as a,p as o,n as G,k as E,j as s,G as D,M as U,R as re,q as de}from"./index.2bf9b3b7.js";import{s as fe,b as pe,m as me,g as ce}from"./expertVerify.cc49894c.js";import{A as q}from"./index.157a8358.js";const be={class:"footerPage"},_e={class:"flex justify-between items-center"},ve={class:"flex-1"},Ie={class:"font-bold"},ye={class:"mt-8 search"},xe={class:"textRight"},ge=c("p",null,"\u5BA1\u6838\u7ED3\u679C",-1),he={class:"footer"},we={class:"dialog-footer"},ke=te({name:"verifyDetail"}),Ne=Object.assign(ke,{setup(P){const{expertAuditStatusOptions:F}=oe.dictStore.globalDicts,b=k("basicInfo"),{proxy:A}=de(),g=k(!1),w=ie(),O=ne(),h=k(""),f=z({applyId:w.query.applyId}),R=z({auditOpinion:[{required:!0,message:"\u8BF7\u586B\u5199\u5BA1\u6838\u610F\u89C1",trigger:"blur"}]}),T=k(""),H=v=>V(this,null,function*(){!v||(yield v.validate((r,N)=>V(this,null,function*(){r?($.value==="\u901A\u8FC7"?f.applyResult=!0:f.applyResult=!1,yield fe(f),f.auditOpinion=void 0,g.value=!1,A.$message.success("\u5BA1\u6838\u610F\u89C1\u63D0\u4EA4\u6210\u529F\uFF01"),O.push({name:"expertVerify"})):console.log("error submit!",N)})))}),$=k(""),L=v=>{$.value=v,g.value=!0,re(()=>{T.value.resetFields()})},J=()=>{O.push({name:"expertVerify"})},t=k({basicInfo:{},eduInfo:{},jobInfo:{},professionalInfo:{},recommendInfo:{}}),m=k(),K=()=>V(this,null,function*(){const v=yield pe({applyId:w.query.applyId});m.value=v.data}),Q=()=>V(this,null,function*(){const r=yield(w.query.applyType==="expert_info_modify_admin"?me:ce)({expertUserId:m.value.expertUserId});t.value=r.data}),X=v=>{const r=O.resolve({path:"/fileView",query:{id:v}});window.open(r.href,"_blank")};return ue(()=>V(this,null,function*(){yield K(),yield Q()})),se(w,v=>{h.value=w.meta.title},{immediate:!0,deep:!0}),(v,r)=>{const N=_("el-form-item"),B=_("el-col"),Y=_("el-row"),M=_("el-form"),W=_("el-card"),j=_("el-tab-pane"),Z=_("el-tabs"),n=_("el-descriptions-item"),C=_("el-descriptions"),S=_("el-button"),ee=_("el-input"),ae=_("el-dialog");return d(),I(D,null,[c("div",be,[h.value==="\u4E13\u5BB6\u5BA1\u6838\u8BE6\u60C5"?(d(),y(W,{key:0,shadow:"never",class:"mb-16"},{default:e(()=>{var l,u,p;return[c("div",null,[c("div",_e,[c("div",ve,[c("p",Ie,"\u5173\u4E8E"+i(t.value.basicInfo.name)+"\u7684\u4E13\u5BB6\u5BA1\u6838\u7ED3\u679C",1),c("div",ye,[a(M,{"label-suffix":":"},{default:e(()=>[a(Y,{gutter:24},{default:e(()=>[a(B,{span:6},{default:e(()=>[a(N,{label:"\u5BA1\u6838\u4EBA"},{default:e(()=>{var x;return[o(i(((x=m.value)==null?void 0:x.auditor)||"-"),1)]}),_:1})]),_:1}),a(B,{span:6},{default:e(()=>[a(N,{label:"\u5BA1\u6838\u65F6\u95F4"},{default:e(()=>{var x;return[o(i(((x=m.value)==null?void 0:x.auditTime)||"-"),1)]}),_:1})]),_:1}),a(B,{span:6},{default:e(()=>[a(N,{label:"\u5BA1\u6838\u610F\u89C1"},{default:e(()=>{var x;return[o(i(((x=m.value)==null?void 0:x.auditOption)||"-"),1)]}),_:1})]),_:1})]),_:1})]),_:1})])]),c("div",xe,[c("p",null,[c("span",{class:G(`dot mr-4 bg-${m.value&&m.value.auditStatus&&((l=E(F)[m.value.auditStatus])==null?void 0:l.color)}`)},null,2),c("span",{class:G(`font-semibold text-${m.value&&m.value.auditStatus&&((u=E(F)[m.value.auditStatus])==null?void 0:u.color)}`)},i(m.value&&m.value.auditStatus&&((p=E(F)[m.value.auditStatus])==null?void 0:p.name)),3)]),ge])])])]}),_:1})):s("v-if",!0),a(W,{class:"tab-card",shadow:"never"},{header:e(()=>[a(Z,{modelValue:b.value,"onUpdate:modelValue":r[0]||(r[0]=l=>b.value=l)},{default:e(()=>[a(j,{label:"\u57FA\u672C\u4FE1\u606F",name:"basicInfo"}),a(j,{label:"\u5B66\u5386\u4FE1\u606F",name:"eduInfo"}),a(j,{label:"\u804C\u4E1A\u4FE1\u606F",name:"professionInfo"}),a(j,{label:"\u4E13\u4E1A\u4FE1\u606F",name:"majorInfo"}),a(j,{label:"\u63A8\u8350\u4FE1\u606F",name:"recommendInfo"}),a(j,{label:"\u5176\u4ED6\u4FE1\u606F",name:"expertOtherInfo"})]),_:1},8,["modelValue"])]),default:e(()=>[b.value==="basicInfo"?(d(),y(C,{key:0,column:2,border:""},{default:e(()=>[a(n,{label:"\u4E13\u5BB6\u540D\u79F0",span:"1",width:"200px"},{default:e(()=>[o(i(t.value.basicInfo.name),1)]),_:1}),a(n,{label:"\u662F\u5426\u5728\u6D59\u653F\u9489\u7EC4\u7EC7",width:"200px"},{default:e(()=>[o(i(t.value.basicInfo.isDingUser?"\u662F":"\u5426"),1)]),_:1}),a(n,{label:"\u624B\u673A\u53F7\u7801",width:"200px"},{default:e(()=>[o(i(t.value.basicInfo.phoneNo),1)]),_:1}),a(n,{label:"\u6027\u522B"},{default:e(()=>[o(i(t.value.basicInfo.gender==="1"?"\u7537":"\u5973"),1)]),_:1}),a(n,{label:"\u7C4D\u8D2F"},{default:e(()=>[o(i(t.value.basicInfo.hometown),1)]),_:1}),a(n,{label:"\u6C11\u65CF"},{default:e(()=>[o(i(t.value.basicInfo.nationality),1)]),_:1}),a(n,{label:"\u653F\u6CBB\u9762\u8C8C"},{default:e(()=>{var l;return[o(i((l=t.value.basicInfo.political)==null?void 0:l[0].dictionaryName),1)]}),_:1}),a(n,{label:"\u8EAB\u4EFD\u8BC1\u53F7"},{default:e(()=>[o(i(t.value.basicInfo.idCard),1)]),_:1}),a(n,{label:"\u529E\u516C\u7535\u8BDD"},{default:e(()=>[o(i(t.value.basicInfo.officePhone),1)]),_:1}),a(n,{label:"\u51FA\u751F\u5E74\u6708"},{default:e(()=>[o(i(t.value.basicInfo.birth),1)]),_:1}),s(' <el-descriptions-item label="\u94F6\u884C\u5361\u53F7">'),s(" {{ expertDetail.basicInfo.bankNo }}"),s(" </el-descriptions-item>"),s(' <el-descriptions-item label="\u5F00\u6237\u94F6\u884C">'),s(" {{ expertDetail.basicInfo.bank }}"),s(" </el-descriptions-item>"),a(n,{span:"1",label:"\u7535\u5B50\u90AE\u7BB1"},{default:e(()=>[o(i(t.value.basicInfo.email),1)]),_:1}),a(n,{label:"\u4E13\u5BB6\u7EA7\u522B"},{default:e(()=>{var l,u;return[o(i((u=(l=t.value.basicInfo)==null?void 0:l.expertRegionInfo)==null?void 0:u.regionName.split("@@").map(p=>p.split("##")[1]).join("-")),1)]}),_:1}),s(' <el-descriptions-item label="\u4E13\u5BB6\u6765\u6E90">'),s(" {{ expertDetail.basicInfo.expertSource?.[0].tagName }}"),s(" </el-descriptions-item>"),s(' <el-descriptions-item label="\u4E13\u5BB6\u7C7B\u578B">'),s(" {{ expertDetail.basicInfo.expertType?.[0].dictionaryName }}"),s(" </el-descriptions-item>"),a(n,{label:"\u5C65\u804C\u610F\u5411"},{default:e(()=>{var l;return[o(i((l=t.value.basicInfo.expertIntentionWorkRegions)==null?void 0:l.map(u=>u.regionName.split("@@").map(p=>p.split("##")[1]).join("-")).join(";")),1)]}),_:1}),a(n,{label:"\u5934\u50CF\uFF08\u514D\u51A0\u7167\uFF09",span:"2"},{default:e(()=>{var l;return[c("a",{target:"_blank",onClick:r[1]||(r[1]=u=>X(t.value.basicInfo.avatarFile.fileId))},i((l=t.value.basicInfo.avatarFile)==null?void 0:l.fileName),1)]}),_:1})]),_:1})):s("v-if",!0),b.value==="eduInfo"?(d(),y(C,{key:1,column:2,border:""},{default:e(()=>[a(n,{label:"\u6BD5\u4E1A\u9662\u6821",span:"2",width:"200px"},{default:e(()=>[o(i(t.value.eduInfo.school),1)]),_:1}),a(n,{label:"\u6BD5\u4E1A\u65F6\u95F4"},{default:e(()=>[o(i(t.value.eduInfo.graduatedAt),1)]),_:1}),a(n,{label:"\u6240\u5B66\u4E13\u4E1A",width:"200px"},{default:e(()=>[o(i(t.value.eduInfo.academicTitle),1)]),_:1}),a(n,{label:"\u5B66\u4F4D"},{default:e(()=>{var l;return[o(i((l=t.value.eduInfo.degree)==null?void 0:l[0].dictionaryName),1)]}),_:1}),a(n,{label:"\u5B66\u5386"},{default:e(()=>{var l;return[o(i((l=t.value.eduInfo.edu)==null?void 0:l[0].dictionaryName),1)]}),_:1}),a(n,{label:"\u6BD5\u4E1A\u8BC1\u4E66"},{default:e(()=>[(d(!0),I(D,null,U(t.value.eduInfo.graduationCertificateFile,(l,u)=>(d(),I("p",{key:u,class:"mb-4"},[a(q,{"file-name":l.fileName,"file-id":l.fileId},null,8,["file-name","file-id"])]))),128))]),_:1}),a(n,{label:"\u5B66\u4F4D\u8BC1\u4E66"},{default:e(()=>[(d(!0),I(D,null,U(t.value.eduInfo.degreeCertificateFile,(l,u)=>(d(),I("p",{key:u,class:"mb-4"},[a(q,{"file-name":l.fileName,"file-id":l.fileId},null,8,["file-name","file-id"])]))),128))]),_:1})]),_:1})):s("v-if",!0),b.value==="professionInfo"?(d(),y(C,{key:2,column:2,border:""},{default:e(()=>[a(n,{label:"\u5DE5\u4F5C\u5355\u4F4D",width:"200px"},{default:e(()=>[o(i(t.value.jobInfo.company),1)]),_:1}),t.value.jobInfo.companyUniqCode?(d(),y(n,{key:0,label:"\u5DE5\u4F5C\u5355\u4F4Dcode",width:"200px"},{default:e(()=>[o(i(t.value.jobInfo.companyUniqCode),1)]),_:1})):s("v-if",!0),a(n,{label:"\u5355\u4F4D\u6CD5\u4EBA\u7F16\u53F7",width:"200px"},{default:e(()=>[o(i(t.value.jobInfo.legalEntityCode),1)]),_:1}),a(n,{label:"\u884C\u653F\u804C\u52A1"},{default:e(()=>[o(i(t.value.jobInfo.administrativeDuties),1)]),_:1}),a(n,{label:"\u5F00\u59CB\u5DE5\u4F5C\u65E5\u671F"},{default:e(()=>[o(i(t.value.jobInfo.startWorkAt),1)]),_:1}),a(n,{label:"\u884C\u653F\u804C\u7EA7"},{default:e(()=>{var l;return[o(i((l=t.value.jobInfo.administrativeRank)==null?void 0:l[0].dictionaryName),1)]}),_:1}),a(n,{label:"\u5DE5\u4F5C\u72B6\u6001"},{default:e(()=>{var l;return[o(i((l=t.value.jobInfo.jobStatus)==null?void 0:l[0].dictionaryName),1)]}),_:1}),a(n,{label:"\u9000\u4F11\u65E5\u671F"},{default:e(()=>[o(i(t.value.jobInfo.retiredAt),1)]),_:1}),a(n,{label:"\u5355\u4F4D\u7C7B\u578B"},{default:e(()=>{var l;return[o(i((l=t.value.jobInfo.companyAttribute)==null?void 0:l[0].dictionaryName),1)]}),_:1}),a(n,{label:"\u5DE5\u4F5C\u5730\u5740"},{default:e(()=>[o(i(t.value.jobInfo.address),1)]),_:1}),a(n,{label:"\u5DE5\u4F5C\u7ECF\u5386"},{default:e(()=>[o(i(t.value.jobInfo.experience),1)]),_:1})]),_:1})):s("v-if",!0),b.value==="majorInfo"?(d(),y(C,{key:3,column:2,border:""},{default:e(()=>{var l;return[a(n,{label:"\u6280\u672F\u804C\u79F0",width:"200px"},{default:e(()=>[o(i(t.value.professionalInfo.technicalTitles),1)]),_:1}),a(n,{label:"\u804C\u79F0\u7EA7\u522B",width:"200px"},{default:e(()=>{var u;return[o(i((u=t.value.professionalInfo.titleLevel)==null?void 0:u[0].dictionaryName),1)]}),_:1}),a(n,{label:"\u4E13\u4E1A\u65B9\u5411",width:"200px"},{default:e(()=>{var u;return[o(i(((u=t.value.professionalInfo.major)==null?void 0:u.map(p=>p.tagName).join("\u3001"))||"-"),1)]}),_:1}),(l=t.value.professionalInfo)!=null&&l.majorOther?(d(),y(n,{key:0,label:"\u4E13\u4E1A\u540D\u79F0"},{default:e(()=>{var u;return[o(i(((u=t.value.professionalInfo)==null?void 0:u.majorOther)||"-"),1)]}),_:1})):s("v-if",!0),s(" <el-descriptions-item"),s(' label="\u64C5\u957F\u65B9\u5411"'),s(' width="200px"'),s(" >"),s(" {{ expertDetail.professionalInfo.goodAt?.map(i=>i.tagName).join('\u3001')||'-' }}"),s(" </el-descriptions-item>"),a(n,{label:"\u6280\u672F\u4E13\u957F"},{default:e(()=>{var u;return[o(i((u=t.value.professionalInfo.technicalExpertise)==null?void 0:u[0].tagName),1)]}),_:1}),a(n,{label:"\u884C\u4E1A\u9886\u57DF"},{default:e(()=>{var u;return[o(i((u=t.value.professionalInfo.industrySector)==null?void 0:u[0].tagName),1)]}),_:1}),a(n,{label:"\u83B7\u5956\u60C5\u51B5"},{default:e(()=>[o(i(t.value.professionalInfo.awards),1)]),_:1}),a(n,{label:"\u8868\u5F70\u5956\u52B1"},{default:e(()=>[o(i(t.value.professionalInfo.recognitionReward),1)]),_:1}),a(n,{label:"\u56DE\u907F\u5355\u4F4D"},{default:e(()=>[(d(!0),I(D,null,U(t.value.professionalInfo.avoidCompanyList,(u,p)=>(d(),I("span",{key:p},i(u.companyName)+"\xA0\xA0",1))),128))]),_:1}),a(n,{label:"\u804C\u79F0\u8BC1\u660E"},{default:e(()=>[(d(!0),I(D,null,U(t.value.professionalInfo.titleCertificateFile,(u,p)=>(d(),I("p",{key:p,class:"mb-4"},[a(q,{"file-name":u.fileName,"file-id":u.fileId},null,8,["file-name","file-id"])]))),128))]),_:1})]}),_:1})):s("v-if",!0),b.value==="recommendInfo"?(d(),y(C,{key:4,column:2,border:""},{default:e(()=>[a(n,{label:"\u63A8\u8350\u7C7B\u578B",width:"200px"},{default:e(()=>{var l;return[o(i((l=t.value.recommendInfo.recommendedWay)==null?void 0:l[0].dictionaryName),1)]}),_:1}),a(n,{width:"200px",label:"\u63A8\u8350\u8BC1\u660E"},{default:e(()=>[(d(!0),I(D,null,U(t.value.recommendInfo.recommendationProofFile,(l,u)=>(d(),I("p",{key:u,class:"mb-4"},[a(q,{"file-name":l.fileName,"file-id":l.fileId},null,8,["file-name","file-id"])]))),128))]),_:1})]),_:1})):s("v-if",!0),b.value==="expertOtherInfo"?(d(),y(C,{key:5,column:2,border:""},{default:e(()=>[a(n,{label:"\u5176\u4ED6\u6807\u7B7E",width:"200px"},{default:e(()=>{var l,u,p;return[o(i(((p=(u=(l=t.value.expertOtherInfo)==null?void 0:l.other)==null?void 0:u.map(x=>x.tagName))==null?void 0:p.join("\u3001"))||"-"),1)]}),_:1}),a(n,{width:"200px",label:"\u5907\u6CE8"},{default:e(()=>{var l;return[o(i(((l=t.value.expertOtherInfo)==null?void 0:l.remark)||"-"),1)]}),_:1})]),_:1})):s("v-if",!0)]),_:1}),c("div",he,[h.value!=="\u4E13\u5BB6\u5BA1\u6838\u8BE6\u60C5"?(d(),y(S,{key:0,type:"primary",onClick:r[2]||(r[2]=l=>L("\u901A\u8FC7"))},{default:e(()=>[o("\u901A\u8FC7")]),_:1})):s("v-if",!0),h.value!=="\u4E13\u5BB6\u5BA1\u6838\u8BE6\u60C5"?(d(),y(S,{key:1,plain:"",type:"danger",onClick:r[3]||(r[3]=l=>L("\u9A73\u56DE"))},{default:e(()=>[o("\u9A73\u56DE")]),_:1})):s("v-if",!0),a(S,{onClick:J},{default:e(()=>[o("\u8FD4\u56DE")]),_:1})])]),a(ae,{modelValue:g.value,"onUpdate:modelValue":r[7]||(r[7]=l=>g.value=l),title:$.value},{footer:e(()=>[c("span",we,[a(S,{type:"primary",onClick:r[5]||(r[5]=l=>H(T.value))},{default:e(()=>[o(" \u63D0\u4EA4 ")]),_:1}),a(S,{onClick:r[6]||(r[6]=l=>g.value=!1)},{default:e(()=>[o("\u5173\u95ED")]),_:1})])]),default:e(()=>[a(M,{ref_key:"ruleFormRef",ref:T,model:f,rules:R,"status-icon":""},{default:e(()=>[a(N,{label:"\u5BA1\u6838\u610F\u89C1","label-width":"auto",prop:"auditOpinion"},{default:e(()=>[a(ee,{modelValue:f.auditOpinion,"onUpdate:modelValue":r[4]||(r[4]=l=>f.auditOpinion=l),maxlength:"200",placeholder:"\u8BF7\u8F93\u5165","show-word-limit":"",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])],64)}}}),Fe=le(Ne,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/expertManage/expertVerify/verifyDetail/index.vue"]]);export{Fe as default};
|