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.

coreBusiness.d9764429.js 1.1KB

1
  1. import{d as f,C as b,B as N,r as y,o as C,c as l,e as B,G as g,i as m,h as d}from"./index.2dada31c.js";const h=f({name:"coreBusiness"}),v=Object.assign(h,{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 B(),g(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};