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
12KB

  1. import{s as ee,b as ae,m as le,g as te}from"./expertVerify.7abf2af6.js";import{d as oe,D as ne,r as g,z as ie,A as ue,b as L,o as se,L as de,c as m,e as d,f as c,g as f,I as v,i as a,t as n,h as l,j as o,n as P,u as q,k as I,F as N,J as F,N as re,x as fe}from"./index.20c8d60f.js";import{_ as D}from"./index.25eea5b7.js";const me={class:"footerPage"},pe={class:"flex justify-between items-center"},ce={class:"flex-1"},be={class:"font-bold"},_e={class:"mt-8 search"},ve={class:"textRight"},Ie=f("p",null,"\u5BA1\u6838\u7ED3\u679C",-1),ye={class:"footer"},xe={class:"dialog-footer"},ge=oe({name:"verifyDetail"}),je=Object.assign(ge,{setup(we){const{expertAuditStatusOptions:O}=ne.dictStore.globalDicts,y=g("basicInfo"),{proxy:W}=fe(),j=g(!1),V=ie(),S=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(""),J=async p=>{!p||await p.validate(async(s,w)=>{s?(T.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"),S.push({name:"expertVerify"})):console.log("error submit!",w)})},T=g(""),A=p=>{T.value=p,j.value=!0,re(()=>{$.value.resetFields()})},M=()=>{S.push({name:"expertVerify"})},t=g({basicInfo:{},eduInfo:{},jobInfo:{},professionalInfo:{},recommendInfo:{}}),r=g(),G=async()=>{const p=await ae({applyId:V.query.applyId});r.value=p.data},H=async()=>{const s=await(V.query.applyType==="expert_info_modify_admin"?le:te)({expertUserId:r.value.expertUserId});t.value=s.data},K=p=>{const s=S.resolve({path:"/fileView",query:{id:p}});window.open(s.href,"_blank")};return se(async()=>{await G(),await H()}),de(V,p=>{R.value=V.meta.title},{immediate:!0,deep:!0}),(p,s)=>{const w=m("el-form-item"),U=m("el-col"),Q=m("el-row"),B=m("el-form"),E=m("el-card"),h=m("el-tab-pane"),X=m("el-tabs"),i=m("el-descriptions-item"),k=m("el-descriptions"),C=m("el-button"),Y=m("el-input"),Z=m("el-dialog");return d(),c(N,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,u,_;return[f("div",null,[f("div",pe,[f("div",ce,[f("p",be,"\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(U,{span:6},{default:a(()=>[l(w,{label:"\u5BA1\u6838\u4EBA"},{default:a(()=>{var b;return[o(n(((b=r.value)==null?void 0:b.auditor)||"-"),1)]}),_:1})]),_:1}),l(U,{span:6},{default:a(()=>[l(w,{label:"\u5BA1\u6838\u65F6\u95F4"},{default:a(()=>{var b;return[o(n(((b=r.value)==null?void 0:b.auditTime)||"-"),1)]}),_:1})]),_:1}),l(U,{span:6},{default:a(()=>[l(w,{label:"\u5BA1\u6838\u610F\u89C1"},{default:a(()=>{var b;return[o(n(((b=r.value)==null?void 0:b.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=q(O)[r.value.auditStatus])==null?void 0:e.color)}`)},null,2),f("span",{class:P(`font-semibold text-${r.value&&r.value.auditStatus&&((u=q(O)[r.value.auditStatus])==null?void 0:u.color)}`)},n(r.value&&r.value.auditStatus&&((_=q(O)[r.value.auditStatus])==null?void 0:_.name)),3)]),Ie])])])]}),_:1})):I("",!0),l(E,{class:"tab-card",shadow:"never"},{header:a(()=>[l(X,{modelValue:y.value,"onUpdate:modelValue":s[0]||(s[0]=e=>y.value=e)},{default:a(()=>[l(h,{label:"\u57FA\u672C\u4FE1\u606F",name:"basicInfo"}),l(h,{label:"\u5B66\u5386\u4FE1\u606F",name:"eduInfo"}),l(h,{label:"\u804C\u4E1A\u4FE1\u606F",name:"professionInfo"}),l(h,{label:"\u4E13\u4E1A\u4FE1\u606F",name:"majorInfo"}),l(h,{label:"\u63A8\u8350\u4FE1\u606F",name:"recommendInfo"}),l(h,{label:"\u5176\u4ED6\u4FE1\u606F",name:"expertOtherInfo"})]),_:1},8,["modelValue"])]),default:a(()=>[y.value==="basicInfo"?(d(),v(k,{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,u;return[o(n((u=(e=t.value.basicInfo)==null?void 0:e.expertRegionInfo)==null?void 0:u.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(u=>u.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:s[1]||(s[1]=u=>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(k,{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),c(N,null,F(t.value.eduInfo.graduationCertificateFile,(e,u)=>(d(),c("p",{key:u,class:"mb-4"},[l(D,{"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),c(N,null,F(t.value.eduInfo.degreeCertificateFile,(e,u)=>(d(),c("p",{key:u,class:"mb-4"},[l(D,{"file-name":e.fileName,"file-id":e.fileId},null,8,["file-name","file-id"])]))),128))]),_:1})]),_:1})):I("",!0),y.value==="professionInfo"?(d(),v(k,{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(k,{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(u=>u.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),c(N,null,F(t.value.professionalInfo.avoidCompanyList,(e,u)=>(d(),c("span",{key:u},n(e.companyName)+"\xA0\xA0",1))),128))]),_:1}),l(i,{label:"\u804C\u79F0\u8BC1\u660E"},{default:a(()=>[(d(!0),c(N,null,F(t.value.professionalInfo.titleCertificateFile,(e,u)=>(d(),c("p",{key:u,class:"mb-4"},[l(D,{"file-name":e.fileName,"file-id":e.fileId},null,8,["file-name","file-id"])]))),128))]),_:1})]),_:1})):I("",!0),y.value==="recommendInfo"?(d(),v(k,{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),c(N,null,F(t.value.recommendInfo.recommendationProofFile,(e,u)=>(d(),c("p",{key:u,class:"mb-4"},[l(D,{"file-name":e.fileName,"file-id":e.fileId},null,8,["file-name","file-id"])]))),128))]),_:1})]),_:1})):I("",!0),y.value==="expertOtherInfo"?(d(),v(k,{key:5,column:2,border:""},{default:a(()=>[l(i,{label:"\u5176\u4ED6\u6807\u7B7E",width:"200px"},{default:a(()=>{var e,u,_;return[o(n(((_=(u=(e=t.value.expertOtherInfo)==null?void 0:e.other)==null?void 0:u.map(b=>b.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",ye,[R.value!=="\u4E13\u5BB6\u5BA1\u6838\u8BE6\u60C5"?(d(),v(C,{key:0,type:"primary",onClick:s[2]||(s[2]=e=>A("\u901A\u8FC7"))},{default:a(()=>[o("\u901A\u8FC7")]),_:1})):I("",!0),R.value!=="\u4E13\u5BB6\u5BA1\u6838\u8BE6\u60C5"?(d(),v(C,{key:1,plain:"",type:"danger",onClick:s[3]||(s[3]=e=>A("\u9A73\u56DE"))},{default:a(()=>[o("\u9A73\u56DE")]),_:1})):I("",!0),l(C,{onClick:M},{default:a(()=>[o("\u8FD4\u56DE")]),_:1})])]),l(Z,{modelValue:j.value,"onUpdate:modelValue":s[7]||(s[7]=e=>j.value=e),title:T.value},{footer:a(()=>[f("span",xe,[l(C,{type:"primary",onClick:s[5]||(s[5]=e=>J($.value))},{default:a(()=>[o(" \u63D0\u4EA4 ")]),_:1}),l(C,{onClick:s[6]||(s[6]=e=>j.value=!1)},{default:a(()=>[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":s[4]||(s[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{je as default};