|
- import{b as I}from"./index.8a59d8d8.js";import{d as S,C as h,B as v,r as _,o as D,c as i,e as j,G as k,i as f,h as N}from"./index.55251523.js";const w=S({name:"basicInfo"}),g=Object.assign(w,{props:{detailData:{type:Object,default:()=>{}}},setup(y){const C=h(v.userStore).userInfo,a=y,A=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",prop:"applicationName",key:"applicationName"},{label:"IRS\u5E94\u7528\u7F16\u7801",prop:"applicationCode",key:"applicationCode"},{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0",prop:"baseAccountAppName",key:"baseAccountAppName"},{label:'"\u9886\u57DF\u5927\u8111"\u4E00\u672C\u8D26\u540D\u79F0',prop:"baseBrainName",key:"baseBrainName"}],l=_([]),B=_([]);return D(async()=>{var o,e,t;const c=await I({areaCode:C.value.regionCode});B.value=c.data,l.value=((t=(e=(o=a==null?void 0:a.detailData)==null?void 0:o.baseProjSysCode)==null?void 0:e.split("\uFF1B"))==null?void 0:t.map((n,s)=>{var p,r,d,m,u,b;return{applicationCode:n,applicationName:((r=(p=a==null?void 0:a.detailData)==null?void 0:p.baseProjSys)==null?void 0:r.split("\uFF1B")[s])||"",baseAccountAppName:((m=(d=a==null?void 0:a.detailData)==null?void 0:d.baseAccountAppName)==null?void 0:m.split("\uFF1B")[s])||"",baseBrainName:((b=(u=a==null?void 0:a.detailData)==null?void 0:u.baseBrainName)==null?void 0:b.split("\uFF1B")[s])||""}}))||[]}),(c,o)=>{const e=i("table-list"),t=i("el-descriptions-item"),n=i("el-descriptions");return j(),k(n,{column:2,border:""},{default:f(()=>[N(t,{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:f(()=>[N(e,{pagination:!1,style:{width:"100%"},column:A,data:l.value,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})}}});export{g as default};
|