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

  1. var ze=Object.defineProperty,We=Object.defineProperties;var Fe=Object.getOwnPropertyDescriptors;var _e=Object.getOwnPropertySymbols;var Ye=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable;var ye=(w,c,g)=>c in w?ze(w,c,{enumerable:!0,configurable:!0,writable:!0,value:g}):w[c]=g,Z=(w,c)=>{for(var g in c||(c={}))Ye.call(c,g)&&ye(w,g,c[g]);if(_e)for(var g of _e(c))Ge.call(c,g)&&ye(w,g,c[g]);return w},ee=(w,c)=>We(w,Fe(c));var b=(w,c,g)=>new Promise((x,Y)=>{var A=N=>{try{U(g.next(N))}catch(M){Y(M)}},J=N=>{try{U(g.throw(N))}catch(M){Y(M)}},U=N=>N.done?x(N.value):Promise.resolve(N.value).then(A,J);U((g=g.apply(w,c)).next())});import{_ as Je,d as Ke,A as Pe,z as Qe,D as Xe,r as D,b as V,a3 as W,o as Ze,H as et,c as k,e as v,f as E,h as a,i as e,j as s,t as u,u as be,k as $,g as m,n as ge,F as te,I as T,N as tt,q as at,s as lt,x as nt}from"./index.3fb2f955.js";import{m as it,b as ot,i as st,d as dt,e as rt,f as ut,s as ct,h as pt,j as mt,k as vt,l as ft,n as _t,o as yt,q as bt,r as gt}from"./reviewMeeting.8bd148fa.js";import xt from"./addExpertDialog.5e681d04.js";import{t as wt}from"./expertReview.080ac60c.js";import kt from"./memberOpinion.14ec09ab.js";import ht from"./leaveDialog.51f8aeb0.js";import"./expertStore.fc84953b.js";import"./index.688c9de6.js";const F=w=>(at("data-v-a4e49f0b"),w=w(),lt(),w),It=F(()=>m("div",{class:"card-header"},[m("span",null,"\u4F1A\u8BAE\u4FE1\u606F")],-1)),Ct=["onClick"],$t={class:"card-header"},Tt=F(()=>m("span",null,"\u62BD\u53D6\u60C5\u51B5",-1)),Rt={class:"flex items-center"},jt=["onClick"],Dt={class:"card-header"},Lt=F(()=>m("span",null,"\u901A\u77E5\u60C5\u51B5",-1)),St=["onClick"],Et={key:1},Nt={key:2},qt=["onClick"],Vt={class:"card-header"},At=F(()=>m("span",null,"\u901A\u77E5\u60C5\u51B5",-1)),Ot={key:0},Bt={key:0},Ut=["onClick"],Mt=["onClick"],Ht=["onClick"],zt={key:1},Wt=F(()=>m("span",null,"-",-1)),Ft=[Wt],Yt={class:"flex h-60 items-center justify-between bg-white"},Gt={class:"flex items-center ml-20"},Jt={class:"flex items-center mr-20"},Kt={class:"dialog-footer"},Pt=Ke({name:"meetingDetail"}),Qt=Object.assign(Pt,{setup(w){const{proxy:c}=nt(),g=Pe(),x=Qe(),{meetingTypeOptions:Y}=Xe.dictStore.globalDicts||{},A=D(!1),J=V([{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:l=>W("span",l.reviewResult||"-")},{label:"\u64CD\u4F5C",slot:"action",width:"80",fixed:"right"}]),U=V([{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"}]),N=V([{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u4E13\u5BB6\u59D3\u540D",key:"name",prop:"name",width:"140",render:l=>W("span",`${l.name}${l.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:l=>W("span",`${l.noticeStatus==="\u5DF2\u901A\u77E5"&&l.confirmedAttend?"\u786E\u8BA4\u53C2\u52A0":l.noticeStatus==="\u5DF2\u901A\u77E5"&&!l.confirmedAttend?"\u62D2\u7EDD\u53C2\u52A0":"-"}`)},{label:"\u4E13\u5BB6\u8BF7\u5047",key:"leaved",slot:"leaved"},{label:"\u8BED\u97F3\u901A\u77E5\u72B6\u6001",key:"noticeStatus",prop:"noticeStatus",width:"200"},{label:"\u8BED\u97F3\u901A\u77E5\u65F6\u95F4",key:"noticeTime",prop:"noticeTime",width:"200"}]),M=V([{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"}]),xe=V([{label:"\u4E13\u5BB6\u59D3\u540D",key:"name",prop:"name",render:l=>W("span",`${l.name}${l.isHeadman?"\uFF08\u7EC4\u957F\uFF09":""}`)},{label:"\u624B\u673A\u53F7\u7801",key:"mobile",slot:"mobile"},{label:"\u662F\u5426\u53C2\u4F1A",key:"status",prop:"status",render:l=>W("span",l.status===3?"\u662F":l.status===4||l.status===5||l.status===7?"\u5426":"-")},{label:"\u64CD\u4F5C",slot:"action",width:"180",fixed:"right"}]),r=D({}),R=D({}),ae=D(!1),le=()=>b(this,null,function*(){const l=yield it(x.query.id);ae.value=l.data.confirmedRoster;const i=yield ot(x.query.id);r.value=l.data,R.value=i.data}),h=D({}),K=()=>b(this,null,function*(){const l=yield st(x.query.id);console.log(l.data),h.value=l.data}),I=V({visible:!1,data:[]}),ne=l=>{I.visible=!0,I.data=R.value.randomRules.find(i=>i.id===l)},we=()=>{c.$messageBox.confirm("\u786E\u8BA4\u53D6\u6D88\u8BE5\u4F1A\u8BAE\u5417?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>b(this,null,function*(){yield dt({meetingId:x.query.id*1}),c.$message.success("\u53D6\u6D88\u4F1A\u8BAE\u6210\u529F\uFF01"),L()}))},ke=()=>{c.$messageBox.confirm("\u786E\u8BA4\u91CA\u653E\u4E13\u5BB6\u5417?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>b(this,null,function*(){yield rt({meetingId:x.query.id*1}),c.$message.success("\u91CA\u653E\u4E13\u5BB6\u6210\u529F\uFF01"),L()}))},ie=l=>{var d;let i=`${l===1?"\u786E\u8BA4\u91CD\u53D1\u77ED\u4FE1":"\u786E\u8BA4\u53EC\u5F00\u4F1A\u8BAE"}`;if(l===3){const f=(d=h.value.inviteStatistics)==null?void 0:d.filter(y=>y.inviteCnt>y.agreeCnt).map(y=>{var S,_;return"\u89C4\u5219"+(((_=(S=R.value)==null?void 0:S.randomRules)==null?void 0:_.findIndex(O=>O.id===y.ruleId))+1)}).join("\u3001");f&&(i=`${f}\u4EBA\u6570\u4E0D\u591F\uFF0C\u786E\u8BA4\u53EC\u5F00\u4F1A\u8BAE`)}c.$messageBox.confirm(`${i}\u5417?`,"\u63D0\u793A\uFF01",{type:"warning"}).then(()=>b(this,null,function*(){yield ut({meetingId:x.query.id*1}),c.$message.success("\u64CD\u4F5C\u6210\u529F\uFF01"),L()}))},he=()=>{var l;return!((l=h.value.inviteExpertList.filter(i=>!i.status&&i.inviteType!==1))!=null&&l.length)},Ie=()=>{c.$messageBox.confirm("\u786E\u8BA4\u7EC8\u6B62\u62BD\u53D6\u5417?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>b(this,null,function*(){yield ct(x.query.id*1),c.$message.success("\u7EC8\u6B62\u62BD\u53D6\u6210\u529F\uFF01"),L()}))},oe=(l,i)=>{c.$messageBox.confirm(`\u786E\u8BA4${i?"\u53C2\u4F1A":"\u4E0D\u53C2\u4F1A"}\u5417?`,"\u63D0\u793A\uFF01",{type:"warning"}).then(()=>b(this,null,function*(){yield pt({agreed:i,expertMeetingId:l.expertMeetingId,meetingId:x.query.id*1}),L()}))},Ce=l=>b(this,null,function*(){yield mt({expertMeetingId:l.expertMeetingId,meetingId:l.meetingId}),c.$message.success("\u79FB\u9664\u6210\u529F\uFF01"),L()}),se=D(),de=D(),$e=l=>{de.value=l},Te=()=>b(this,null,function*(){var l,i,d;A.value=!0,yield tt(),se.value.setRadio(((d=(i=(l=h.value)==null?void 0:l.inviteExpertList)==null?void 0:i.find(f=>f.isHeadman))==null?void 0:d.expertId)||"")}),Re=()=>b(this,null,function*(){A.value=!1,yield vt({agreed:!0,expertMeetingId:de.value.expertMeetingId,meetingId:x.query.id*1}),c.$message.success("\u8BBE\u7F6E\u7EC4\u957F\u6210\u529F\uFF01"),L()}),H=V({visible:!1,data:void 0}),re=D([]),je=()=>{H.visible=!0},De=l=>b(this,null,function*(){yield ft({expertIdList:l.map(i=>i.userId),meetingId:x.query.id*1}),H.visible=!1,c.$message.success("\u6DFB\u52A0\u6210\u529F\uFF01"),L()}),Le=()=>b(this,null,function*(){yield _t({meetingId:x.query.id*1}),c.$message.success("\u8F6C\u4E3A\u6307\u5B9A\u62BD\u53D6\u6210\u529F\uFF01"),L()}),P=D(!1),L=l=>b(this,null,function*(){P.value=!l&&!0,yield le(),yield K(),P.value=!1}),Se=()=>{var l;return!!((l=h.value.inviteStatistics.filter(i=>i.agreeCnt!==i.inviteCnt))!=null&&l.length)},Ee=()=>{c.$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(()=>b(this,null,function*(){yield yt({meetingId:x.query.id*1}),c.$message.success("\u7EED\u62BD\u6210\u529F\uFF01"),L()}))},Q=D(!1),ue=D([]),ce=D([]),Ne=l=>b(this,null,function*(){const i=yield bt({projectId:l.projectId,meetingId:x.query.id}),d=yield wt({templateIds:i.data.map(f=>f.templateId).join(",")});ue.value=d.data,ce.value=i.data&&i.data.map(f=>ee(Z({},f),{reviewTemplateOptions:f.reviewTemplateOptions&&f.reviewTemplateOptions.map(y=>{var _,O;const S=ue.value.find(j=>f.templateId===j.templateId).templates;return ee(Z({},y),{title:(_=S.find(j=>j.serialNo===y.questionSerialNo))==null?void 0:_.title,optionsValue:(O=S.find(j=>j.serialNo===y.questionSerialNo))==null?void 0:O.options.filter(j=>y.optionSerialNo.includes(j.serialNo)).map(j=>j.option).join("\u3001")})})||[]}))||[],Q.value=!0}),qe={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"},Ve=l=>b(this,null,function*(){const i=yield gt(l,x.query.id);let d="docx";i.type==="application/zip"&&(d="zip");const f=URL.createObjectURL(i),y=document.createElement("a");y.style.display="none",y.href=f,y.download=`${qe[l]}.${d}`,document.body.appendChild(y),y.click(),document.body.removeChild(y),window.URL.revokeObjectURL(f)}),z=V({visible:!1,data:void 0}),Ae=l=>{z.visible=!0,z.data={expertId:l.expertId,meetingId:x.query.id}},Oe=l=>{z.visible=!1,l&&K()};return Ze(()=>b(this,null,function*(){le(),K();const l=yield et();re.value.push(l.data)})),(l,i)=>{const d=k("el-descriptions-item"),f=k("table-list"),y=k("el-descriptions"),S=k("el-card"),_=k("el-button"),O=k("Select"),j=k("el-icon"),pe=k("el-alert"),X=k("el-tooltip"),Be=k("arrow-down"),G=k("el-dropdown-item"),Ue=k("el-dropdown-menu"),Me=k("el-dropdown"),me=k("el-dialog"),He=k("el-drawer");return v(),E(te,null,[a(S,{class:"box-card"},{header:e(()=>[It]),default:e(()=>[a(y,{title:"",column:2,border:""},{default:e(()=>[a(d,{label:"\u4F1A\u8BAE\u540D\u79F0"},{default:e(()=>[s(u(r.value.meetingName),1)]),_:1}),a(d,{label:"\u8BC4\u5BA1\u7C7B\u578B"},{default:e(()=>[s(u(be(Y)[r.value.meetingType]),1)]),_:1}),a(d,{label:"\u8BC4\u5BA1\u9879\u76EE",span:2},{default:e(()=>[a(f,{ref:"tableListRef",column:J,pagination:!1,style:{"max-height":"200px",width:"95%"},data:r.value.projects},{action:e(({scope:t})=>[t.row.reviewResult?(v(),E("a",{key:0,onClick:n=>Ne(t.row)},"\u8BE6\u60C5",8,Ct)):$("",!0)]),_:1},8,["column","data"])]),_:1}),a(d,{label:"\u8BC4\u5BA1\u65F6\u95F4"},{default:e(()=>[s(u(r.value.startTime)+"~"+u(r.value.endTime),1)]),_:1}),a(d,{label:"\u8BC4\u5BA1\u8017\u65F6"},{default:e(()=>[s(u(r.value.meetingUsageTime===1?"\u534A\u5929":"\u4E00\u5929"),1)]),_:1}),a(d,{label:"\u8BC4\u5BA1\u5730\u70B9"},{default:e(()=>[s(u(r.value.meetingAddress),1)]),_:1}),a(d,{label:"\u8BC4\u59D4\u5230\u573A\u65F6\u95F4"},{default:e(()=>[s(u(r.value.judgesAttendanceTime),1)]),_:1}),a(d,{label:"\u8054\u7CFB\u4EBA"},{default:e(()=>[s(u(r.value.connecter),1)]),_:1}),a(d,{label:"\u8054\u7CFB\u65B9\u5F0F"},{default:e(()=>[s(u(r.value.contact),1)]),_:1}),a(d,{label:"\u4F1A\u8BAE\u72B6\u6001"},{default:e(()=>[m("span",{class:ge(`dot mr-4 ${r.value.status===1?"bg-success":"bg-danger"}`)},null,2),m("span",{class:ge(`${r.value.status===1?"text-success":"text-danger"}`)},u(r.value.status===1?"\u6B63\u5E38":"\u5DF2\u53D6\u6D88"),3)]),_:1}),a(d,{label:"\u62BD\u53D6\u65B9\u5F0F"},{default:e(()=>[s(u(r.value.inviteType===1?"\u968F\u673A\u62BD\u53D6":r.value.inviteType===2?"\u6307\u5B9A\u62BD\u53D6":"-"),1)]),_:1}),a(d,{label:"\u62BD\u53D6\u72B6\u6001"},{default:e(()=>[s(u(r.value.invitedStopped||r.value.inviteStatus?"\u62BD\u53D6\u7ED3\u675F":"\u62BD\u53D6\u4E2D"),1)]),_:1}),a(d,{label:"\u4E13\u5BB6\u540D\u5355\u786E\u8BA4\u72B6\u6001"},{default:e(()=>[s(u(r.value.confirmedRoster?"\u5DF2\u786E\u8BA4":"\u672A\u786E\u8BA4"),1)]),_:1}),r.value.inviteType===1?(v(),E(te,{key:0},[a(d,{label:"\u90E8\u95E8\u3001\u6761\u7EBF\u56DE\u907F\u89C4\u5219"},{default:e(()=>{var t,n,o;return[s(u(((t=R.value.avoidInfo)==null?void 0:t.avoidType)===2?"\u56DE\u907F\u6761\u7EBF":((n=R.value.avoidInfo)==null?void 0:n.avoidType)===1?"\u56DE\u907F\u5355\u4F4D":((o=R.value.avoidInfo)==null?void 0:o.avoidType)===3?"\u4E0D\u56DE\u907F":"-"),1)]}),_:1}),a(d,{label:"\u56DE\u907F\u5355\u4F4D"},{default:e(()=>{var t,n;return[s(u(((n=(t=R.value.avoidInfo)==null?void 0:t.avoidUnits)==null?void 0:n.map(o=>o).join("\u3001"))||"-"),1)]}),_:1}),a(d,{label:"\u56DE\u907F\u4E13\u5BB6"},{default:e(()=>{var t,n;return[s(u(((n=(t=R.value.avoidInfo)==null?void 0:t.experts)==null?void 0:n.map(o=>o.name).join("\u3001"))||"-"),1)]}),_:1}),a(d,{label:"\u56DE\u907F\u6761\u7EBF"},{default:e(()=>{var t,n;return[s(u(((n=(t=R.value.avoidInfo)==null?void 0:t.avoidOrgs)==null?void 0:n.map(o=>o).join("\u3001"))||"-"),1)]}),_:1}),a(d,{label:"\u56DE\u907F\u6B21\u6570"},{default:e(()=>{var t;return[s(u(((t=R.value.avoidInfo)==null?void 0:t.weekInviteCount)||"-"),1)]}),_:1})],64)):(v(),T(d,{key:1,label:"\u9080\u8BF7\u7406\u7531",span:2},{default:e(()=>{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(),E(te,{key:0},[a(S,{class:"box-card"},{header:e(()=>[m("div",$t,[Tt,m("div",null,[r.value.invitedStopped||r.value.inviteStatus?(v(),T(_,{key:0,class:"button",type:"primary",plain:"",onClick:Le},{default:e(()=>[s("\u8F6C\u4E3A\u6307\u5B9A\u62BD\u53D6")]),_:1})):$("",!0),r.value.status===1&&(r.value.invitedStopped||r.value.inviteStatus)&&Se()?(v(),T(_,{key:1,class:"button",type:"primary",plain:"",onClick:Ee},{default:e(()=>[s("\u7EED\u62BD")]),_:1})):$("",!0)])])]),default:e(()=>[a(f,{ref:"tableListRef",column:U,pagination:!1,data:h.value.inviteStatistics},{agreeCnt:e(({scope:t})=>[m("div",Rt,[m("span",null,u(t.row.agreeCnt),1),t.row.agreeCnt===t.row.inviteCnt?(v(),T(j,{key:0,class:"ml-8",style:{color:"#4ecb74"}},{default:e(()=>[a(O)]),_:1})):$("",!0)])]),ruleId:e(({scope:t})=>{var n,o;return[m("a",{onClick:p=>ne(t.row.ruleId)},"\u89C4\u5219"+u(((o=(n=R.value)==null?void 0:n.randomRules)==null?void 0:o.findIndex(p=>p.id===t.row.ruleId))+1||""),9,jt)]}),_:1},8,["column","data"])]),_:1}),a(S,{class:"box-card"},{header:e(()=>[m("div",Dt,[Lt,r.value.invitedStopped?$("",!0):(v(),T(_,{key:0,class:"button",type:"danger",plain:"",onClick:Ie},{default:e(()=>[s("\u7EC8\u6B62\u62BD\u53D6")]),_:1}))])]),default:e(()=>{var t,n,o,p,q;return[a(pe,{type:"warning",description:`\u5171\u6709${(t=h.value.inviteExpertList)==null?void 0:t.length}\u4F4D\u4E13\u5BB6\uFF0C\u5DF2\u901A\u77E5${(o=(n=h.value.inviteExpertList)==null?void 0:n.filter(C=>C.noticeStatus==="\u5DF2\u901A\u77E5"))==null?void 0:o.length}\u4F4D\uFF0C\u5C1A\u672A\u901A\u77E5${(q=(p=h.value.inviteExpertList)==null?void 0:p.filter(C=>C.noticeStatus==="\u672A\u901A\u77E5"))==null?void 0:q.length}\u4F4D\u3002`,"show-icon":"",closable:!1},null,8,["description"]),a(f,{ref:"tableListRef",column:N,pagination:!1,class:"mt-15",data:h.value.inviteExpertList},{contact:e(({scope:C})=>[a(X,{class:"box-item",effect:"dark",content:C.row.contact},{default:e(()=>{var B;return[m("span",null,u((B=C.row.contact)==null?void 0:B.replace(/(\d{3})\d*(\d{4})/,"$1****$2")),1)]}),_:2},1032,["content"])]),leaved:e(({scope:C})=>[!C.row.leaved&&C.row.confirmedAttend?(v(),E("a",{key:0,onClick:B=>Ae(C.row)},"\u8BF7\u5047",8,St)):C.row.leaved?(v(),E("span",Et,"\u5DF2\u8BF7\u5047")):(v(),E("span",Nt,"-"))]),ruleId:e(({scope:C})=>{var B,ve;return[m("a",{onClick:fe=>ne(C.row.ruleId)},"\u89C4\u5219"+u(((ve=(B=R.value)==null?void 0:B.randomRules)==null?void 0:ve.findIndex(fe=>fe.id===C.row.ruleId))+1||""),9,qt)]}),_:1},8,["column","data"])]}),_:1})],64)):(v(),T(S,{key:1,class:"box-card"},{header:e(()=>[m("div",Vt,[At,r.value.status===1?(v(),E("span",Ot,[ae.value?$("",!0):(v(),T(_,{key:0,class:"button",plain:"",onClick:je},{default:e(()=>[s("\u6DFB\u52A0\u4E13\u5BB6")]),_:1})),!r.value.confirmedRoster&&he()?(v(),T(_,{key:1,class:"button",type:"primary",plain:"",onClick:i[0]||(i[0]=t=>ie(2))},{default:e(()=>[s("\u786E\u8BA4\u53EC\u5F00\u4F1A\u8BAE")]),_:1})):$("",!0)])):$("",!0)])]),default:e(()=>{var t,n,o;return[a(pe,{type:"warning",description:`\u5171\u6709${(t=h.value.inviteExpertList)==null?void 0:t.length}\u4F4D\u4E13\u5BB6\uFF0C\u786E\u8BA4\u53C2\u4F1A${(o=(n=h.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"]),a(f,{ref:"tableListRef",column:xe,pagination:!1,class:"mt-15",data:h.value.inviteExpertList},{mobile:e(({scope:p})=>[a(X,{class:"box-item",effect:"dark",content:p.row.mobile},{default:e(()=>{var q;return[m("span",null,u((q=p.row.mobile)==null?void 0:q.replace(/(\d{3})\d*(\d{4})/,"$1****$2")),1)]}),_:2},1032,["content"])]),action:e(({scope:p})=>[!p.row.status&&p.row.inviteType!==1?(v(),E("div",Bt,[m("a",{onClick:q=>oe(p.row,!0)},"\u53C2\u4F1A",8,Ut),m("a",{onClick:q=>oe(p.row,!1)},"\u4E0D\u53C2\u4F1A",8,Mt),m("a",{class:"text-danger",onClick:q=>Ce(p.row)},"\u79FB\u9664",8,Ht)])):(v(),E("div",zt,Ft))]),_:1},8,["column","data"])]}),_:1})),m("div",Yt,[m("div",Gt,[a(_,{plain:"",onClick:i[1]||(i[1]=t=>be(g).go(-1))},{default:e(()=>[s("\u8FD4\u56DE")]),_:1}),a(_,{plain:"",loading:P.value,onClick:i[2]||(i[2]=t=>L(!1))},{default:e(()=>[s("\u5237\u65B0")]),_:1},8,["loading"]),r.value.status===1?(v(),T(_,{key:0,type:"danger",plain:"",onClick:we},{default:e(()=>[s("\u53D6\u6D88\u4F1A\u8BAE")]),_:1})):$("",!0),r.value.status===1&&r.value.inviteStatus?(v(),T(_,{key:1,type:"danger",plain:"",onClick:ke},{default:e(()=>[s("\u91CA\u653E\u4E13\u5BB6")]),_:1})):$("",!0)]),m("div",Jt,[r.value.status===1&&r.value.confirmedRoster?(v(),T(_,{key:0,plain:"",type:"primary",onClick:Te},{default:e(()=>[s("\u8BBE\u7F6E\u4E13\u5BB6\u7EC4\u957F")]),_:1})):$("",!0),r.value.status===1&&r.value.confirmedRoster?(v(),T(_,{key:1,plain:"",type:"primary",onClick:i[3]||(i[3]=t=>ie(1))},{default:e(()=>[s("\u91CD\u53D1\u77ED\u4FE1")]),_:1})):$("",!0),r.value.status===1&&r.value.confirmedRoster?(v(),T(Me,{key:2,class:"ml-12",onCommand:Ve},{dropdown:e(()=>[a(Ue,null,{default:e(()=>[a(G,{command:"1"},{default:e(()=>[s("\u52B3\u52A1\u8D39\u53D1\u653E\u5BA1\u6279\u5355")]),_:1}),a(G,{command:"2"},{default:e(()=>[s("\u4E13\u5BB6\u8D39\u7528\u5355")]),_:1}),a(G,{command:"3"},{default:e(()=>[s("\u4E13\u5BB6\u62BD\u53D6\u8868")]),_:1}),a(G,{command:"4"},{default:e(()=>[s("\u9879\u76EE\u8BC4\u5BA1\u5355")]),_:1})]),_:1})]),default:e(()=>[a(_,{type:"primary",plain:""},{default:e(()=>[s(" \u5BFC\u51FA"),a(j,{class:"el-icon--right"},{default:e(()=>[a(Be)]),_:1})]),_:1})]),_:1})):$("",!0)])]),a(me,{modelValue:A.value,"onUpdate:modelValue":i[5]||(i[5]=t=>A.value=t),title:"\u8BBE\u7F6E\u4E13\u5BB6\u7EC4\u957F",width:"50%"},{footer:e(()=>[m("span",Kt,[a(_,{onClick:i[4]||(i[4]=t=>A.value=!1)},{default:e(()=>[s("\u5173\u95ED")]),_:1}),a(_,{type:"primary",onClick:Re},{default:e(()=>[s(" \u63D0\u4EA4 ")]),_:1})])]),default:e(()=>[a(f,{ref_key:"tableHeadListRef",ref:se,column:M,pagination:!1,class:"mt-15",data:h.value.inviteExpertList.filter(t=>t.status===3),onRadioChange:$e},{mobile:e(({scope:t})=>[a(X,{class:"box-item",effect:"dark",content:t.row.mobile},{default:e(()=>{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"]),a(me,{modelValue:I.visible,"onUpdate:modelValue":i[6]||(i[6]=t=>I.visible=t),title:"\u89C4\u5219",width:"70%"},{default:e(()=>[a(y,{column:3},{default:e(()=>[a(d,{label:"\u5185\u5916\u56F4\uFF1A"},{default:e(()=>{var t,n,o;return[s(u(((o=(n=(t=I.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}),a(d,{label:"\u5C65\u804C\u610F\u5411\uFF1A"},{default:e(()=>{var t,n;return[s(u((n=(t=I.data)==null?void 0:t.intentionRegions)==null?void 0:n.map(o=>o.regionName).join("-")),1)]}),_:1}),a(d,{label:"\u4E13\u5BB6\u6765\u6E90\uFF1A"},{default:e(()=>{var t,n,o;return[s(u(((o=(n=(t=I.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}),a(d,{label:"\u804C\u79F0\u7EA7\u522B\uFF1A"},{default:e(()=>{var t,n,o;return[s(u(((o=(n=(t=I.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}),a(d,{label:"\u64C5\u957F\u65B9\u5411\uFF1A"},{default:e(()=>{var t,n,o;return[s(u(((o=(n=(t=I.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}),a(d,{label:"\u6280\u672F\u4E13\u957F\uFF1A"},{default:e(()=>{var t,n,o;return[s(u(((o=(n=(t=I.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}),a(d,{label:"\u884C\u4E1A\u9886\u57DF\uFF1A"},{default:e(()=>{var t,n,o;return[s(u(((o=(n=(t=I.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}),a(d,{label:"\u5176\u4ED6\u6807\u7B7E\uFF1A"},{default:e(()=>{var t,n,o;return[s(u(((o=(n=(t=I.data)==null?void 0:t.expertTags)==null?void 0:n.find(p=>p.expertTag==="other"))==null?void 0:o.tagCodes.join("\u3001"))||"-"),1)]}),_:1}),a(d,{label:"\u4E13\u5BB6\u7EA7\u522B\uFF1A"},{default:e(()=>{var t,n;return[s(u((n=(t=I.data)==null?void 0:t.expertRegions)==null?void 0:n.map(o=>o.regionName).join("-")),1)]}),_:1}),a(d,{label:"\u9080\u8BF7\u6570\u91CF\uFF1A"},{default:e(()=>[s(u(I.data.count),1)]),_:1})]),_:1})]),_:1},8,["modelValue"]),a(xt,{visible:H.visible,data:H.data,"region-tree":re.value,onGetUserData:De,onClose:i[7]||(i[7]=t=>H.visible=!1)},null,8,["visible","data","region-tree"]),a(He,{modelValue:Q.value,"onUpdate:modelValue":i[8]||(i[8]=t=>Q.value=t),title:"\u8BC4\u5BA1\u8BE6\u60C5",style:{position:"absolute"},direction:"rtl",size:"70%",modal:!1,"append-to-body":!1,"modal-class":"myDrawerModal"},{default:e(()=>[a(kt,{"member-opinions":ce.value},null,8,["member-opinions"])]),_:1},8,["modelValue"]),a(ht,{visible:z.visible,data:z.data,title:"\u586B\u5199\u8BF7\u5047\u539F\u56E0",onClose:Oe},null,8,["visible","data"])],64)}}}),sa=Je(Qt,[["__scopeId","data-v-a4e49f0b"]]);export{sa as default};