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.23c6fd11.js 1.5KB

3 maanden geleden
1
  1. import{p as _}from"./reviewMeeting.c63793ec.js";import{d as g,b as v,r as w,L as y,c as o,e as h,I as j,i as a,g as k,h as p,j as N}from"./index.d340e473.js";const T={class:"dialog-footer"},x=g({name:"meetingProjectDialog"}),B=Object.assign(x,{props:{visible:{type:Boolean,default:!1,required:!0},meetingId:{type:Number,default:null}},emits:["close"],setup(l,{emit:c}){const s=l,n=c,d=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:"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 e=await _(s.meetingId);i.value=e.data};return y(()=>s.visible,async e=>{e&&r()}),(e,t)=>{const m=o("table-list"),u=o("el-button"),b=o("el-dialog");return h(),j(b,{"model-value":l.visible,title:"\u8BC4\u5BA1\u9879\u76EE",width:"60%",onClose:t[1]||(t[1]=f=>n("close"))},{footer:a(()=>[k("span",T,[p(u,{onClick:t[0]||(t[0]=f=>n("close"))},{default:a(()=>[N("\u5173\u95ED")]),_:1})])]),default:a(()=>[p(m,{ref:"tableListRef",column:d,data:i.value,pagination:!1,onGetTableData:r},null,8,["column","data"])]),_:1},8,["model-value"])}}});export{B as default};