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