|
- import{_ as Oe,d as Be,y as Ue,x as Ae,B as Me,r as R,b as E,Z as U,o as He,D as ze,c as x,e as v,f as D,h as l,i as a,g as m,j as s,t as u,u as oe,k,n as se,F as Z,G as C,L as We,q as Fe}from"./index.98183dc5.js";import{m as Ge,d as Ye,i as Ze,e as Je,f as Ke,h as Pe,s as Qe,j as Xe,k as et,l as tt,n as at,o as lt,q as it,t as nt,u as ot}from"./reviewMeeting.1f8edf9c.js";import st from"./addExpertDialog.def62d04.js";import{t as dt}from"./expertReview.0564d30d.js";import rt from"./memberOpinion.86f8f5ce.js";import ut from"./leaveDialog.3a34ec6e.js";import pt from"./RefillDialogCopy.3f4fed09.js";import"./expertStore.f2986259.js";import"./index.e01cfece.js";import"./ruleFormCom.6d2a2750.js";import"./avoidCom.00ad74c3.js";import"./index.177dc402.js";import"./unitManage.f781b324.js";const mt=["onClick"],vt={class:"card-header"},ft={class:"flex items-center"},ct=["onClick"],yt={class:"card-header"},gt=["onClick"],bt={key:1},_t={key:2},xt=["onClick"],wt={key:0},kt=["onClick"],Ct=["onClick"],It={key:1},$t={class:"card-header"},Rt={key:0},Tt={key:0},Dt=["onClick"],jt=["onClick"],Lt=["onClick"],Vt={key:1},ht={class:"flex h-60 items-center justify-between bg-white"},Et={class:"flex items-center ml-20"},Nt={class:"flex items-center mr-20"},qt={class:"dialog-footer"},St=Be({name:"meetingDetail"}),Ot=Object.assign(St,{setup(Bt){const{proxy:b}=Fe(),de=Ue(),_=Ae(),{meetingTypeOptions:re}=Me.dictStore.globalDicts||{},S=R(!1),ue=E([{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u9879\u76EE\u540D\u79F0",key:"projectName",prop:"projectName",minWidth:"150",showOverflowTooltip:!0},{label:"\u7533\u62A5\u5355\u4F4D",key:"buildOrg",prop:"buildOrg",minWidth:"80",showOverflowTooltip:!0},{label:"\u9879\u76EE\u7C7B\u578B",key:"projectTypeName",prop:"projectTypeName",width:"80"},{label:"\u7533\u62A5\u91D1\u989D\uFF08\u4E07\u5143\uFF09",key:"declareAmount",prop:"declareAmount"},{label:"\u9884\u7B97\u5E74\u5EA6",key:"projectYear",prop:"projectYear"},{label:"\u8BC4\u5BA1\u7ED3\u679C",key:"reviewResult",prop:"reviewResult",render:i=>U("span",i.reviewResult||"-")},{label:"\u64CD\u4F5C",slot:"action",width:"80",fixed:"right"}]),pe=E([{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u89C4\u5219",key:"ruleId",slot:"ruleId"},{label:"\u7533\u8BF7\u4EBA\u6570",key:"inviteCnt",prop:"inviteCnt"},{label:"\u5DF2\u786E\u8BA4\u53C2\u4F1A\u4EBA\u6570",key:"agreeCnt",slot:"agreeCnt"},{label:"\u5B9E\u62BD\u4EBA\u6570",key:"noticedCnt",prop:"noticedCnt"}]),me=E([{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u4E13\u5BB6\u59D3\u540D",key:"name",prop:"name",width:"140",render:i=>U("span",`${i.name}${i.isHeadman?"\uFF08\u7EC4\u957F\uFF09":""}`)},{label:"\u624B\u673A\u53F7\u7801",key:"contact",slot:"contact",width:"120"},{label:"\u5339\u914D\u89C4\u5219",key:"ruleId",slot:"ruleId"},{label:"\u662F\u5426\u53C2\u52A0",key:"confirmedAttend",prop:"confirmedAttend",render:i=>U("span",i.status===3?"\u662F":i.status===4||i.status===5||i.status===7?"\u5426":"-")},{label:"\u4E13\u5BB6\u8BF7\u5047",key:"leaved",slot:"leaved"},{label:"\u64CD\u4F5C",slot:"action",width:"180",fixed:"right"}]),ve=E([{type:"radio",key:"expertId",width:"60"},{label:"\u4E13\u5BB6\u59D3\u540D",key:"name",prop:"name"},{label:"\u5DE5\u4F5C\u5355\u4F4D",key:"company",prop:"company",minWidth:"150",showOverflowTooltip:!0},{label:"\u624B\u673A\u53F7\u7801",key:"mobile",slot:"mobile"},{label:"\u4E13\u5BB6\u7C7B\u578B",key:"expertTypeName",prop:"expertTypeName"}]),fe=E([{label:"\u4E13\u5BB6\u59D3\u540D",key:"name",prop:"name",render:i=>U("span",`${i.name}${i.isHeadman?"\uFF08\u7EC4\u957F\uFF09":""}`)},{label:"\u624B\u673A\u53F7\u7801",key:"mobile",slot:"mobile"},{label:"\u662F\u5426\u53C2\u4F1A",key:"status",prop:"status",render:i=>U("span",i.status===3?"\u662F":i.status===4||i.status===5||i.status===7?"\u5426":"-")},{label:"\u64CD\u4F5C",slot:"action",width:"180",fixed:"right"}]),r=R({}),I=R({}),J=R(!1),z=async()=>{const i=await Ge(_.query.id);J.value=i.data.confirmedRoster;const e=await Ye(_.query.id);r.value=i.data,I.value=e.data},$=R({}),A=async()=>{const i=await Ze(_.query.id);console.log(i.data),$.value=i.data},w=E({visible:!1,data:[]}),K=i=>{w.visible=!0,w.data=I.value.randomRules.find(e=>e.id===i)},ce=()=>{b.$messageBox.confirm("\u786E\u8BA4\u53D6\u6D88\u8BE5\u4F1A\u8BAE\u5417?","\u63D0\u793A\uFF01",{type:"warning"}).then(async()=>{await Je({meetingId:_.query.id*1}),b.$message.success("\u53D6\u6D88\u4F1A\u8BAE\u6210\u529F\uFF01"),j()})},ye=()=>{b.$messageBox.confirm("\u786E\u8BA4\u91CA\u653E\u4E13\u5BB6\u5417?","\u63D0\u793A\uFF01",{type:"warning"}).then(async()=>{await Ke({meetingId:_.query.id*1}),b.$message.success("\u91CA\u653E\u4E13\u5BB6\u6210\u529F\uFF01"),j()})},W=i=>{var d;let e=`${i===1?"\u786E\u8BA4\u91CD\u53D1\u77ED\u4FE1":"\u786E\u8BA4\u53EC\u5F00\u4F1A\u8BAE"}`;if(i===3){const c=(d=$.value.inviteStatistics)==null?void 0:d.filter(y=>y.inviteCnt>y.agreeCnt).map(y=>{var L,f;return"\u89C4\u5219"+(((f=(L=I.value)==null?void 0:L.randomRules)==null?void 0:f.findIndex(q=>q.id===y.ruleId))+1)}).join("\u3001");c&&(e=`${c}\u4EBA\u6570\u4E0D\u591F\uFF0C\u786E\u8BA4\u53EC\u5F00\u4F1A\u8BAE`)}b.$messageBox.confirm(`${e}\u5417?`,"\u63D0\u793A\uFF01",{type:"warning"}).then(async()=>{await Pe({meetingId:_.query.id*1}),b.$message.success("\u64CD\u4F5C\u6210\u529F\uFF01"),j()})},ge=()=>{var i;return!((i=$.value.inviteExpertList.filter(e=>!e.status&&e.inviteType!==1))!=null&&i.length)},be=()=>{b.$messageBox.confirm("\u786E\u8BA4\u7EC8\u6B62\u62BD\u53D6\u5417?","\u63D0\u793A\uFF01",{type:"warning"}).then(async()=>{await Qe(_.query.id*1),b.$message.success("\u7EC8\u6B62\u62BD\u53D6\u6210\u529F\uFF01"),j()})},M=(i,e)=>{b.$messageBox.confirm(`\u786E\u8BA4${e?"\u53C2\u4F1A":"\u4E0D\u53C2\u4F1A"}\u5417?`,"\u63D0\u793A\uFF01",{type:"warning"}).then(async()=>{await Xe({agreed:e,expertMeetingId:i.expertMeetingId,meetingId:_.query.id*1}),j()})},_e=async i=>{await et({expertMeetingId:i.expertMeetingId,meetingId:i.meetingId}),b.$message.success("\u79FB\u9664\u6210\u529F\uFF01"),j()},P=R(),Q=R(),xe=i=>{Q.value=i},we=async()=>{var i,e,d;S.value=!0,await We(),P.value.setRadio(((d=(e=(i=$.value)==null?void 0:i.inviteExpertList)==null?void 0:e.find(c=>c.isHeadman))==null?void 0:d.expertId)||"")},ke=async()=>{S.value=!1,await tt({agreed:!0,expertMeetingId:Q.value.expertMeetingId,meetingId:_.query.id*1}),b.$message.success("\u8BBE\u7F6E\u7EC4\u957F\u6210\u529F\uFF01"),j()},O=E({visible:!1,data:void 0}),X=R([]),Ce=()=>{O.visible=!0},Ie=async i=>{await at({expertIdList:i.map(e=>e.userId),meetingId:_.query.id*1}),O.visible=!1,b.$message.success("\u6DFB\u52A0\u6210\u529F\uFF01"),j()},$e=async()=>{await lt({meetingId:_.query.id*1}),b.$message.success("\u8F6C\u4E3A\u6307\u5B9A\u62BD\u53D6\u6210\u529F\uFF01"),j()},F=R(!1),j=async i=>{F.value=!i&&!0,await z(),await A(),F.value=!1},Re=()=>{N.value.refillDialogVisible=!0,N.value.inviteRuleDetail=I.value,!N.value.refillDialogVisible&&b.$messageBox.confirm("\u7EED\u62BD\u540E\uFF0C\u5C06\u91CD\u65B0\u901A\u77E5\u5DF2\u62D2\u7EDD\u53C2\u4F1A\u7684\u4E13\u5BB6\u4EEC\uFF0C\u786E\u5B9A\u7EE7\u7EED\u5417?","\u63D0\u793A\uFF01",{type:"warning"}).then(async()=>{await it({meetingId:_.query.id*1}),b.$message.success("\u7EED\u62BD\u6210\u529F\uFF01"),j()})},G=R(!1),ee=R([]),te=R([]),Te=async i=>{const e=await nt({projectId:i.projectId,meetingId:_.query.id}),d=await dt({templateIds:e.data.map(c=>c.templateId).join(",")});ee.value=d.data,te.value=e.data&&e.data.map(c=>({...c,reviewTemplateOptions:c.reviewTemplateOptions&&c.reviewTemplateOptions.map(y=>{var f,q;const L=ee.value.find(T=>c.templateId===T.templateId).templates;return{...y,title:(f=L.find(T=>T.serialNo===y.questionSerialNo))==null?void 0:f.title,optionsValue:(q=L.find(T=>T.serialNo===y.questionSerialNo))==null?void 0:q.options.filter(T=>y.optionSerialNo.includes(T.serialNo)).map(T=>T.option).join("\u3001")}})||[]}))||[],G.value=!0},De={1:"\u52B3\u52A1\u8D39\u53D1\u653E\u5BA1\u6279\u5355",2:"\u4E13\u5BB6\u8D39\u7528\u5355",3:"\u4E13\u5BB6\u62BD\u53D6\u8868",4:"\u9879\u76EE\u8BC4\u5BA1\u5355"},je=async i=>{const e=await ot(i,_.query.id);let d="docx";e.type==="application/zip"&&(d="zip");const c=URL.createObjectURL(e),y=document.createElement("a");y.style.display="none",y.href=c,y.download=`${De[i]}.${d}`,document.body.appendChild(y),y.click(),document.body.removeChild(y),window.URL.revokeObjectURL(c)},B=E({visible:!1,data:void 0}),Le=i=>{B.visible=!0,B.data={expertId:i.expertId,meetingId:_.query.id}},Ve=i=>{B.visible=!1,i&&A()};He(async()=>{z(),A();const i=await ze();X.value.push(i.data)});const N=R({refillDialogVisible:!1,inviteRuleDetail:{}});function he(){setTimeout(()=>{z(),A()},1e3)}return(i,e)=>{const d=x("el-descriptions-item"),c=x("table-list"),y=x("el-descriptions"),L=x("el-card"),f=x("el-button"),q=x("Select"),T=x("el-icon"),ae=x("el-alert"),Y=x("el-tooltip"),Ee=x("arrow-down"),H=x("el-dropdown-item"),Ne=x("el-dropdown-menu"),qe=x("el-dropdown"),le=x("el-dialog"),Se=x("el-drawer");return v(),D(Z,null,[l(pt,{modelValue:N.value.refillDialogVisible,"onUpdate:modelValue":e[0]||(e[0]=t=>N.value.refillDialogVisible=t),"metting-detail":r.value,"detail-data":N.value.inviteRuleDetail,onRefresh:he},null,8,["modelValue","metting-detail","detail-data"]),l(L,{class:"box-card"},{header:a(()=>e[11]||(e[11]=[m("div",{class:"card-header"},[m("span",null,"\u4F1A\u8BAE\u4FE1\u606F")],-1)])),default:a(()=>[l(y,{title:"",column:2,border:""},{default:a(()=>[l(d,{label:"\u4F1A\u8BAE\u540D\u79F0"},{default:a(()=>[s(u(r.value.meetingName),1)]),_:1}),l(d,{label:"\u8BC4\u5BA1\u7C7B\u578B"},{default:a(()=>[s(u(oe(re)[r.value.meetingType]),1)]),_:1}),l(d,{label:"\u8BC4\u5BA1\u9879\u76EE",span:2},{default:a(()=>[l(c,{ref:"tableListRef",column:ue,pagination:!1,style:{"max-height":"200px",width:"95%"},data:r.value.projects},{action:a(({scope:t})=>[t.row.reviewResult?(v(),D("a",{key:0,onClick:n=>Te(t.row)},"\u8BE6\u60C5",8,mt)):k("",!0)]),_:1},8,["column","data"])]),_:1}),l(d,{label:"\u8BC4\u5BA1\u65F6\u95F4"},{default:a(()=>[s(u(r.value.startTime)+"~"+u(r.value.endTime),1)]),_:1}),l(d,{label:"\u8BC4\u5BA1\u8017\u65F6"},{default:a(()=>[s(u(r.value.meetingUsageTime===1?"\u534A\u5929":"\u4E00\u5929"),1)]),_:1}),l(d,{label:"\u8BC4\u5BA1\u5730\u70B9"},{default:a(()=>[s(u(r.value.meetingAddress),1)]),_:1}),l(d,{label:"\u8BC4\u59D4\u5230\u573A\u65F6\u95F4"},{default:a(()=>[s(u(r.value.judgesAttendanceTime),1)]),_:1}),l(d,{label:"\u8054\u7CFB\u4EBA"},{default:a(()=>[s(u(r.value.connecter),1)]),_:1}),l(d,{label:"\u8054\u7CFB\u65B9\u5F0F"},{default:a(()=>[s(u(r.value.contact),1)]),_:1}),l(d,{label:"\u4F1A\u8BAE\u72B6\u6001"},{default:a(()=>[m("span",{class:se(`dot mr-4 ${r.value.status===1?"bg-success":"bg-danger"}`)},null,2),m("span",{class:se(`${r.value.status===1?"text-success":"text-danger"}`)},u(r.value.status===1?"\u6B63\u5E38":"\u5DF2\u53D6\u6D88"),3)]),_:1}),l(d,{label:"\u62BD\u53D6\u65B9\u5F0F"},{default:a(()=>[s(u(r.value.inviteType===1?"\u968F\u673A\u62BD\u53D6":r.value.inviteType===2?"\u6307\u5B9A\u62BD\u53D6":"-"),1)]),_:1}),l(d,{label:"\u62BD\u53D6\u72B6\u6001"},{default:a(()=>[s(u(r.value.invitedStopped||r.value.inviteStatus?"\u62BD\u53D6\u7ED3\u675F":"\u62BD\u53D6\u4E2D"),1)]),_:1}),l(d,{label:"\u4E13\u5BB6\u540D\u5355\u786E\u8BA4\u72B6\u6001"},{default:a(()=>[s(u(r.value.confirmedRoster?"\u5DF2\u786E\u8BA4":"\u672A\u786E\u8BA4"),1)]),_:1}),r.value.inviteType===1?(v(),D(Z,{key:0},[l(d,{label:"\u90E8\u95E8\u3001\u6761\u7EBF\u56DE\u907F\u89C4\u5219"},{default:a(()=>{var t,n,o;return[s(u(((t=I.value.avoidInfo)==null?void 0:t.avoidType)===2?"\u56DE\u907F\u6761\u7EBF":((n=I.value.avoidInfo)==null?void 0:n.avoidType)===1?"\u56DE\u907F\u5355\u4F4D":((o=I.value.avoidInfo)==null?void 0:o.avoidType)===3?"\u4E0D\u56DE\u907F":"-"),1)]}),_:1}),l(d,{label:"\u56DE\u907F\u5355\u4F4D"},{default:a(()=>{var t,n;return[s(u(((n=(t=I.value.avoidInfo)==null?void 0:t.avoidUnits)==null?void 0:n.map(o=>o).join("\u3001"))||"-"),1)]}),_:1}),l(d,{label:"\u56DE\u907F\u4E13\u5BB6"},{default:a(()=>{var t,n;return[s(u(((n=(t=I.value.avoidInfo)==null?void 0:t.experts)==null?void 0:n.map(o=>o.name).join("\u3001"))||"-"),1)]}),_:1}),l(d,{label:"\u56DE\u907F\u6761\u7EBF"},{default:a(()=>{var t,n;return[s(u(((n=(t=I.value.avoidInfo)==null?void 0:t.avoidOrgs)==null?void 0:n.map(o=>o).join("\u3001"))||"-"),1)]}),_:1}),l(d,{label:"\u56DE\u907F\u6B21\u6570"},{default:a(()=>{var t;return[s(u(((t=I.value.avoidInfo)==null?void 0:t.weekInviteCount)||"-"),1)]}),_:1})],64)):(v(),C(d,{key:1,label:"\u9080\u8BF7\u7406\u7531",span:2},{default:a(()=>{var t,n,o;return[s(u(((o=(n=(t=r.value)==null?void 0:t.inviteRule)==null?void 0:n.appointRule)==null?void 0:o.inviteDesc)||"-"),1)]}),_:1}))]),_:1})]),_:1}),r.value.inviteType===1?(v(),D(Z,{key:0},[l(L,{class:"box-card"},{header:a(()=>[m("div",vt,[e[15]||(e[15]=m("span",null,"\u62BD\u53D6\u60C5\u51B5",-1)),m("div",null,[r.value.invitedStopped||r.value.inviteStatus?(v(),C(f,{key:0,class:"button",type:"primary",plain:"",onClick:$e},{default:a(()=>e[12]||(e[12]=[s("\u8F6C\u4E3A\u6307\u5B9A\u62BD\u53D6")])),_:1})):k("",!0),r.value.confirmedRoster?k("",!0):(v(),C(f,{key:1,class:"button",type:"primary",plain:"",onClick:Re},{default:a(()=>e[13]||(e[13]=[s("\u7EED\u62BD")])),_:1})),r.value.confirmedRoster?k("",!0):(v(),C(f,{key:2,class:"button",type:"primary",onClick:e[1]||(e[1]=t=>W(3))},{default:a(()=>e[14]||(e[14]=[s("\u786E\u8BA4\u53EC\u5F00\u4F1A\u8BAE")])),_:1}))])])]),default:a(()=>[l(c,{ref:"tableListRef",column:pe,pagination:!1,data:$.value.inviteStatistics},{agreeCnt:a(({scope:t})=>[m("div",ft,[m("span",null,u(t.row.agreeCnt),1),t.row.agreeCnt===t.row.inviteCnt?(v(),C(T,{key:0,class:"ml-8",style:{color:"#4ecb74"}},{default:a(()=>[l(q)]),_:1})):k("",!0)])]),ruleId:a(({scope:t})=>{var n,o;return[m("a",{onClick:p=>K(t.row.ruleId)},"\u89C4\u5219"+u(((o=(n=I.value)==null?void 0:n.randomRules)==null?void 0:o.findIndex(p=>p.id===t.row.ruleId))+1||""),9,ct)]}),_:1},8,["column","data"])]),_:1}),l(L,{class:"box-card"},{header:a(()=>[m("div",yt,[e[17]||(e[17]=m("span",null,"\u901A\u77E5\u60C5\u51B5",-1)),r.value.invitedStopped?k("",!0):(v(),C(f,{key:0,class:"button",type:"danger",plain:"",onClick:be},{default:a(()=>e[16]||(e[16]=[s("\u7EC8\u6B62\u62BD\u53D6")])),_:1}))])]),default:a(()=>{var t,n,o,p,V;return[l(ae,{type:"warning",description:`\u5171\u6709${(t=$.value.inviteExpertList)==null?void 0:t.length}\u4F4D\u4E13\u5BB6\uFF0C\u5DF2\u901A\u77E5${(o=(n=$.value.inviteExpertList)==null?void 0:n.filter(g=>g.noticeStatus==="\u5DF2\u901A\u77E5"))==null?void 0:o.length}\u4F4D\uFF0C\u5C1A\u672A\u901A\u77E5${(V=(p=$.value.inviteExpertList)==null?void 0:p.filter(g=>g.noticeStatus==="\u672A\u901A\u77E5"))==null?void 0:V.length}\u4F4D\u3002`,"show-icon":"",closable:!1},null,8,["description"]),l(c,{ref:"tableListRef",column:me,pagination:!1,class:"mt-15",data:$.value.inviteExpertList},{contact:a(({scope:g})=>[l(Y,{class:"box-item",effect:"dark",content:g.row.contact},{default:a(()=>{var h;return[m("span",null,u((h=g.row.contact)==null?void 0:h.replace(/(\d{3})\d*(\d{4})/,"$1****$2")),1)]}),_:2},1032,["content"])]),leaved:a(({scope:g})=>[!g.row.leaved&&g.row.confirmedAttend?(v(),D("a",{key:0,onClick:h=>Le(g.row)},"\u8BF7\u5047",8,gt)):g.row.leaved?(v(),D("span",bt,"\u5DF2\u8BF7\u5047")):(v(),D("span",_t,"-"))]),ruleId:a(({scope:g})=>{var h,ie;return[m("a",{onClick:ne=>K(g.row.ruleId)},"\u89C4\u5219"+u(((ie=(h=I.value)==null?void 0:h.randomRules)==null?void 0:ie.findIndex(ne=>ne.id===g.row.ruleId))+1||""),9,xt)]}),action:a(({scope:g})=>[g.row.status?(v(),D("div",It,e[18]||(e[18]=[m("span",null,"-",-1)]))):(v(),D("div",wt,[m("a",{onClick:h=>M(g.row,!0)},"\u53C2\u4F1A",8,kt),m("a",{onClick:h=>M(g.row,!1)},"\u4E0D\u53C2\u4F1A",8,Ct)]))]),_:1},8,["column","data"])]}),_:1})],64)):(v(),C(L,{key:1,class:"box-card"},{header:a(()=>[m("div",$t,[e[21]||(e[21]=m("span",null,"\u901A\u77E5\u60C5\u51B5",-1)),r.value.status===1?(v(),D("span",Rt,[J.value?k("",!0):(v(),C(f,{key:0,class:"button",plain:"",onClick:Ce},{default:a(()=>e[19]||(e[19]=[s("\u6DFB\u52A0\u4E13\u5BB6")])),_:1})),!r.value.confirmedRoster&&ge()?(v(),C(f,{key:1,class:"button",type:"primary",plain:"",onClick:e[2]||(e[2]=t=>W(2))},{default:a(()=>e[20]||(e[20]=[s("\u786E\u8BA4\u53EC\u5F00\u4F1A\u8BAE")])),_:1})):k("",!0)])):k("",!0)])]),default:a(()=>{var t,n,o;return[l(ae,{type:"warning",description:`\u5171\u6709${(t=$.value.inviteExpertList)==null?void 0:t.length}\u4F4D\u4E13\u5BB6\uFF0C\u786E\u8BA4\u53C2\u4F1A${(o=(n=$.value.inviteExpertList)==null?void 0:n.filter(p=>p.status===3))==null?void 0:o.length}\u4F4D\u3002`,"show-icon":"",closable:!1},null,8,["description"]),l(c,{ref:"tableListRef",column:fe,pagination:!1,class:"mt-15",data:$.value.inviteExpertList},{mobile:a(({scope:p})=>[l(Y,{class:"box-item",effect:"dark",content:p.row.mobile},{default:a(()=>{var V;return[m("span",null,u((V=p.row.mobile)==null?void 0:V.replace(/(\d{3})\d*(\d{4})/,"$1****$2")),1)]}),_:2},1032,["content"])]),action:a(({scope:p})=>[!p.row.status&&p.row.inviteType!==1?(v(),D("div",Tt,[m("a",{onClick:V=>M(p.row,!0)},"\u53C2\u4F1A",8,Dt),m("a",{onClick:V=>M(p.row,!1)},"\u4E0D\u53C2\u4F1A",8,jt),m("a",{class:"text-danger",onClick:V=>_e(p.row)},"\u79FB\u9664",8,Lt)])):(v(),D("div",Vt,e[22]||(e[22]=[m("span",null,"-",-1)])))]),_:1},8,["column","data"])]}),_:1})),m("div",ht,[m("div",Et,[l(f,{plain:"",onClick:e[3]||(e[3]=t=>oe(de).go(-1))},{default:a(()=>e[23]||(e[23]=[s("\u8FD4\u56DE")])),_:1}),l(f,{plain:"",loading:F.value,onClick:e[4]||(e[4]=t=>j(!1))},{default:a(()=>e[24]||(e[24]=[s("\u5237\u65B0")])),_:1},8,["loading"]),r.value.status===1?(v(),C(f,{key:0,type:"danger",plain:"",onClick:ce},{default:a(()=>e[25]||(e[25]=[s("\u53D6\u6D88\u4F1A\u8BAE")])),_:1})):k("",!0),r.value.status===1&&r.value.inviteStatus?(v(),C(f,{key:1,type:"danger",plain:"",onClick:ye},{default:a(()=>e[26]||(e[26]=[s("\u91CA\u653E\u4E13\u5BB6")])),_:1})):k("",!0)]),m("div",Nt,[r.value.status===1&&r.value.confirmedRoster?(v(),C(f,{key:0,plain:"",type:"primary",onClick:we},{default:a(()=>e[27]||(e[27]=[s("\u8BBE\u7F6E\u4E13\u5BB6\u7EC4\u957F")])),_:1})):k("",!0),r.value.status===1&&r.value.confirmedRoster?(v(),C(f,{key:1,plain:"",type:"primary",onClick:e[5]||(e[5]=t=>W(1))},{default:a(()=>e[28]||(e[28]=[s("\u91CD\u53D1\u77ED\u4FE1")])),_:1})):k("",!0),r.value.status===1&&r.value.confirmedRoster?(v(),C(qe,{key:2,class:"ml-12",onCommand:je},{dropdown:a(()=>[l(Ne,null,{default:a(()=>[l(H,{command:"1"},{default:a(()=>e[30]||(e[30]=[s("\u52B3\u52A1\u8D39\u53D1\u653E\u5BA1\u6279\u5355")])),_:1}),l(H,{command:"2"},{default:a(()=>e[31]||(e[31]=[s("\u4E13\u5BB6\u8D39\u7528\u5355")])),_:1}),l(H,{command:"3"},{default:a(()=>e[32]||(e[32]=[s("\u4E13\u5BB6\u62BD\u53D6\u8868")])),_:1}),l(H,{command:"4"},{default:a(()=>e[33]||(e[33]=[s("\u9879\u76EE\u8BC4\u5BA1\u5355")])),_:1})]),_:1})]),default:a(()=>[l(f,{type:"primary",plain:""},{default:a(()=>[e[29]||(e[29]=s(" \u5BFC\u51FA")),l(T,{class:"el-icon--right"},{default:a(()=>[l(Ee)]),_:1})]),_:1})]),_:1})):k("",!0)])]),l(le,{modelValue:S.value,"onUpdate:modelValue":e[7]||(e[7]=t=>S.value=t),title:"\u8BBE\u7F6E\u4E13\u5BB6\u7EC4\u957F",width:"50%"},{footer:a(()=>[m("span",qt,[l(f,{onClick:e[6]||(e[6]=t=>S.value=!1)},{default:a(()=>e[34]||(e[34]=[s("\u5173\u95ED")])),_:1}),l(f,{type:"primary",onClick:ke},{default:a(()=>e[35]||(e[35]=[s(" \u63D0\u4EA4 ")])),_:1})])]),default:a(()=>[l(c,{ref_key:"tableHeadListRef",ref:P,column:ve,pagination:!1,class:"mt-15",data:$.value.inviteExpertList.filter(t=>t.status===3),onRadioChange:xe},{mobile:a(({scope:t})=>[l(Y,{class:"box-item",effect:"dark",content:t.row.mobile},{default:a(()=>{var n;return[m("span",null,u((n=t.row.mobile)==null?void 0:n.replace(/(\d{3})\d*(\d{4})/,"$1****$2")),1)]}),_:2},1032,["content"])]),_:1},8,["column","data"])]),_:1},8,["modelValue"]),l(le,{modelValue:w.visible,"onUpdate:modelValue":e[8]||(e[8]=t=>w.visible=t),title:"\u89C4\u5219",width:"70%"},{default:a(()=>[l(y,{column:3},{default:a(()=>[l(d,{label:"\u5185\u5916\u56F4\uFF1A"},{default:a(()=>{var t,n,o;return[s(u(((o=(n=(t=w.data)==null?void 0:t.expertDicts)==null?void 0:n.find(p=>p.expertDict==="expert_type"))==null?void 0:o.dictCodes.join("\u3001"))||"-"),1)]}),_:1}),l(d,{label:"\u5C65\u804C\u610F\u5411\uFF1A"},{default:a(()=>{var t,n;return[s(u((n=(t=w.data)==null?void 0:t.intentionRegions)==null?void 0:n.map(o=>o==null?void 0:o.regionName).join("-")),1)]}),_:1}),l(d,{label:"\u4E13\u5BB6\u6765\u6E90\uFF1A"},{default:a(()=>{var t,n,o;return[s(u(((o=(n=(t=w.data)==null?void 0:t.expertTags)==null?void 0:n.find(p=>p.expertTag==="expert_source"))==null?void 0:o.tagCodes.join("\u3001"))||"-"),1)]}),_:1}),l(d,{label:"\u804C\u79F0\u7EA7\u522B\uFF1A"},{default:a(()=>{var t,n,o;return[s(u(((o=(n=(t=w.data)==null?void 0:t.expertDicts)==null?void 0:n.find(p=>p.expertDict==="title_level"))==null?void 0:o.dictCodes.join("\u3001"))||"-"),1)]}),_:1}),l(d,{label:"\u64C5\u957F\u65B9\u5411\uFF1A"},{default:a(()=>{var t,n,o;return[s(u(((o=(n=(t=w.data)==null?void 0:t.expertTags)==null?void 0:n.find(p=>p.expertTag==="good_at"))==null?void 0:o.tagCodes.join("\u3001"))||"-"),1)]}),_:1}),l(d,{label:"\u6280\u672F\u4E13\u957F\uFF1A"},{default:a(()=>{var t,n,o;return[s(u(((o=(n=(t=w.data)==null?void 0:t.expertTags)==null?void 0:n.find(p=>p.expertTag==="technical_expertise"))==null?void 0:o.tagCodes.join("\u3001"))||"-"),1)]}),_:1}),l(d,{label:"\u884C\u4E1A\u9886\u57DF\uFF1A"},{default:a(()=>{var t,n,o;return[s(u(((o=(n=(t=w.data)==null?void 0:t.expertTags)==null?void 0:n.find(p=>p.expertTag==="industry_sector"))==null?void 0:o.tagCodes.join("\u3001"))||"-"),1)]}),_:1}),l(d,{label:"\u5176\u4ED6\u6807\u7B7E\uFF1A"},{default:a(()=>{var t,n,o;return[s(u(((o=(n=(t=w.data)==null?void 0:t.expertTags)==null?void 0:n.find(p=>p.expertTag==="other"))==null?void 0:o.tagCodes.join("\u3001"))||"-"),1)]}),_:1}),l(d,{label:"\u4E13\u5BB6\u7EA7\u522B\uFF1A"},{default:a(()=>{var t,n;return[s(u((n=(t=w.data)==null?void 0:t.expertRegions)==null?void 0:n.map(o=>o.regionName).join("-")),1)]}),_:1}),l(d,{label:"\u9080\u8BF7\u6570\u91CF\uFF1A"},{default:a(()=>[s(u(w.data.count),1)]),_:1})]),_:1})]),_:1},8,["modelValue"]),l(st,{visible:O.visible,data:O.data,"region-tree":X.value,onGetUserData:Ie,onClose:e[9]||(e[9]=t=>O.visible=!1)},null,8,["visible","data","region-tree"]),l(Se,{modelValue:G.value,"onUpdate:modelValue":e[10]||(e[10]=t=>G.value=t),title:"\u8BC4\u5BA1\u8BE6\u60C5",style:{position:"absolute"},direction:"rtl",size:"70%",modal:!1,"append-to-body":!1,"modal-class":"myDrawerModal"},{default:a(()=>[l(rt,{"member-opinions":te.value},null,8,["member-opinions"])]),_:1},8,["modelValue"]),l(ut,{visible:B.visible,data:B.data,title:"\u586B\u5199\u8BF7\u5047\u539F\u56E0",onClose:Ve},null,8,["visible","data"])],64)}}}),Qt=Oe(Ot,[["__scopeId","data-v-2da5319a"]]);export{Qt as default};
|