Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

2 Zeilen
3.1KB

  1. import B from"./meetingProjectDialog.b4286817.js";import{d as S,C as A,B as P,b as k,Z as s,r as d,J as F,c,e as u,f as p,h as o,i as n,g as y,j as R,F as V}from"./index.55251523.js";import W from"./leaveDialog.fc20bca3.js";import{m as O}from"./expertReview.4a22769d.js";import"./reviewMeeting.d6e6302c.js";const q=["onClick"],E=["onClick"],G={key:1},J={class:"dialog-footer"},M=S({name:"meetingsLeaveDialog"}),U=Object.assign(M,{props:{visible:{type:Boolean,default:!1,required:!0}},emits:["close"],setup(b,{emit:h}){const x=b,C=A(P.userStore).userInfo||{},v=h,T=k([{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u4F1A\u8BAE\u540D\u79F0",key:"meetingName",prop:"meetingName",minWidth:"180",showOverflowTooltip:!0},{label:"\u8BC4\u5BA1\u7C7B\u578B",key:"meetingTypeName",prop:"meetingTypeName"},{label:"\u8BC4\u5BA1\u9879\u76EE",key:"projectName",slot:"projectName",minWidth:"80"},{label:"\u8054\u7CFB\u4EBA/\u8054\u7CFB\u65B9\u5F0F",key:"contact",prop:"contact",minWidth:"180",render:e=>s("span",e.connecter+"/"+e.contact)},{label:"\u662F\u5426\u53C2\u4E0E",key:"isAbsent",prop:"isAbsent",width:"80",render:e=>s("span",e.expertStatus===3||e.expertStatus===5?"\u662F":"\u5426")},{label:"\u662F\u5426\u8BF7\u5047",key:"isAbsent",prop:"isAbsent",width:"80",render:e=>s("span",e.expertStatus===5?"\u662F":"\u5426")},{label:"\u4F1A\u8BAE\u72B6\u6001",key:"status",prop:"status",width:"80",render:e=>[s("span",{class:["dot mr-4",`${e.status===1?"bg-success":e.status===3?"bg-danger":""}`]}),s("span",{class:`${e.status===1?"text-success":e.status===3?"text-danger":""}`},e.status===1?"\u6B63\u5E38":"\u5DF2\u53D6\u6D88")]},{label:"\u8BC4\u5BA1\u65F6\u95F4",key:"startTime",prop:"startTime",width:"280",render:e=>s("span",e.startTime+"~"+e.endTime)},{label:"\u64CD\u4F5C",slot:"action",width:"80",fixed:"right"}]),f=d(),g=d(0),_=d(),m=async(e=(t=>(t=_.value)==null?void 0:t.pageParams)())=>{const r=await O({...e,expertId:C.value.userId});g.value=r.data.total,f.value=r.data.records},D=e=>{l.value.visible=!0,l.value.meetingId=e.meetingId},l=d({visible:!1,meetingId:void 0}),N=()=>{l.value.visible=!1},i=k({visible:!1,data:void 0}),w=e=>{i.visible=!0,i.data=e},j=e=>{i.visible=!1,e&&m()};return F(()=>x.visible,async e=>{e&&m()}),(e,t)=>{const r=c("table-list"),I=c("el-button"),$=c("el-dialog");return u(),p(V,null,[o($,{"model-value":b.visible,title:"\u4F1A\u8BAE\u8BF7\u5047",width:"80%",onClose:t[1]||(t[1]=a=>v("close"))},{footer:n(()=>[y("span",J,[o(I,{onClick:t[0]||(t[0]=a=>v("close"))},{default:n(()=>t[2]||(t[2]=[R("\u5173\u95ED")])),_:1})])]),default:n(()=>[o(r,{ref_key:"tableListRef",ref:_,column:T,total:g.value,data:f.value,onGetTableData:m},{projectName:n(({scope:a})=>[y("a",{onClick:L=>D(a.row)},"\u67E5\u770B",8,q)]),action:n(({scope:a})=>[a.row.expertStatus!==5?(u(),p("a",{key:0,onClick:L=>w(a.row)},"\u8BF7\u5047",8,E)):(u(),p("span",G,"-"))]),_:1},8,["column","total","data"])]),_:1},8,["model-value"]),o(B,{visible:l.value.visible,"meeting-id":l.value.meetingId,onClose:N},null,8,["visible","meeting-id"]),o(W,{visible:i.visible,data:i.data,onClose:j},null,8,["visible","data"])],64)}}});export{U as default};