|
- import{d as f,G as b,D as N,r as y,o as C,c as l,e as g,I as h,i as m,h as d}from"./index.5bb861d3.js";const B=f({name:"coreBusiness"}),v=Object.assign(B,{props:{detailData:{type:Object,default:()=>{}}},setup(u){const p=b(N.userStore).userInfo,e=u,_=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}],r=y([]);return C(async()=>{var a,s,t;r.value=((t=(s=(a=e==null?void 0:e.detailData)==null?void 0:a.baseCoreBusinessCode)==null?void 0:s.split("\uFF1B"))==null?void 0:t.map((o,n)=>{var i,c;return{oid:o,matterName:(c=(i=e==null?void 0:e.detailData)==null?void 0:i.baseCoreBusiness)==null?void 0:c.split("\uFF1B")[n],orgName:p.value.empPosUnitName}}))||[]}),(a,s)=>{const t=l("table-list"),o=l("el-descriptions-item"),n=l("el-descriptions");return g(),h(n,{column:2,border:""},{default:m(()=>[d(o,{label:"\u6838\u5FC3\u4E1A\u52A1"},{default:m(()=>[d(t,{pagination:!1,style:{width:"100%"},column:_,data:r.value,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})}}});export{v as default};
|