|
- import{p as v}from"./reviewMeeting-39e99ddc.js";import{a as _,r as g,B as w,b as o,c as y,L as j,h as a,e as k,f as p,i as h,k as N}from"./index-dd5fae99.js";const T={class:"dialog-footer"},x=N({name:"meetingProjectDialog"}),O=Object.assign(x,{props:{visible:{type:Boolean,default:!1,required:!0},meetingId:{type:Number,default:null}},emits:["close"],setup(l,{emit:d}){const s=l,n=d,c=_([{label:"序号",type:"index",width:"60"},{label:"项目名称",key:"projectName",prop:"projectName",minWidth:"150",showOverflowTooltip:!0},{label:"申报单位",key:"buildOrg",prop:"buildOrg",minWidth:"80",showOverflowTooltip:!0},{label:"项目类型",key:"projectTypeName",prop:"projectTypeName",width:"100"},{label:"申报金额(万元)",key:"declaredAmount",prop:"declaredAmount",width:"150"},{label:"预算年度",key:"projectYear",prop:"projectYear",width:"80"}]),i=g(),r=async()=>{const t=await v(s.meetingId);i.value=t.data};return w(()=>s.visible,async t=>{t&&r()}),(t,e)=>{const m=o("table-list"),u=o("el-button"),b=o("el-dialog");return y(),j(b,{"model-value":l.visible,title:"评审项目",width:"60%",onClose:e[1]||(e[1]=f=>n("close"))},{footer:a(()=>[k("span",T,[p(u,{onClick:e[0]||(e[0]=f=>n("close"))},{default:a(()=>e[2]||(e[2]=[h("关闭")])),_:1})])]),default:a(()=>[p(m,{ref:"tableListRef",column:c,data:i.value,pagination:!1,onGetTableData:r},null,8,["column","data"])]),_:1},8,["model-value"])}}});export{O as default};
|