import g from"./TableItemShow-c2b3e38a-1782729249161v=1.0.0.js";import{y as T,r as k,al as o,z as e,A as n,Q as d,a4 as c,I as r,J as s,R as _,u as v,M as w}from"./vendor-1e24e3ad-1782729249161v=1.0.0.js";import{_ as F}from"./index-b309bf9f-1782729249161v=1.0.0.js";import"./eleVendor-5008d1ec-1782729249161v=1.0.0.js";const x={class:"pa-protable"},B=T({__name:"PersonalTable",props:{tableData:{default:()=>[]},loading:{type:Boolean,default:!1}},setup(C){const i=k(!1);return(p,D)=>{const l=o("el-table-column"),u=o("el-table"),m=o("el-empty");return e(),n("div",x,[(e(!0),n(d,null,c(p.tableData,(t,f)=>(e(),r(u,{key:f,data:t.customFieldData,isFlex:!1,loading:v(i),border:""},{default:s(()=>[_(l,{label:t.title,align:"center"},{default:s(()=>[_(l,{label:"\u5E8F\u53F7",type:"index",width:"60",align:"center"}),(e(!0),n(d,null,c(t.customFieldHeader,(a,b)=>(e(),r(l,{key:b,label:a.fieldName,prop:a.fieldValue,fieldType:a.fieldType,align:"center"},{default:s(y=>[_(g,{row:y.row,item:a},null,8,["row","item"])]),_:2},1032,["label","prop","fieldType"]))),128))]),_:2},1032,["label"])]),_:2},1032,["data","loading"]))),128)),p.tableData.length===0?(e(),r(m,{key:0,description:"\u6682\u65E0\u6570\u636E"})):w("v-if",!0)])}}});const P=F(B,[["__scopeId","data-v-a2827b1d"]]);export{P as default};
