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.

meetingProjectDialog.de43675a.js 1.5KB

пре 2 месеци
1
  1. import{p as g}from"./reviewMeeting.07ab9323.js";import{d as v,b as _,r as w,J as y,c as o,e as j,G as h,i as a,g as k,h as p,j as N}from"./index.0018c8ef.js";const T={class:"dialog-footer"},x=v({name:"meetingProjectDialog"}),B=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:"\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:"100"},{label:"\u7533\u62A5\u91D1\u989D\uFF08\u4E07\u5143\uFF09",key:"declaredAmount",prop:"declaredAmount",width:"150"},{label:"\u9884\u7B97\u5E74\u5EA6",key:"projectYear",prop:"projectYear",width:"80"}]),i=w(),r=async()=>{const t=await g(s.meetingId);i.value=t.data};return y(()=>s.visible,async t=>{t&&r()}),(t,e)=>{const m=o("table-list"),u=o("el-button"),b=o("el-dialog");return j(),h(b,{"model-value":l.visible,title:"\u8BC4\u5BA1\u9879\u76EE",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]=[N("\u5173\u95ED")])),_: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{B as default};