You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
13KB

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