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.

2 lines
1.7KB

  1. import{b as B}from"./index.95212f4a.js";import{d as D,G as S,D as h,r as _,o as v,c as i,e as j,I as k,i as f,h as N}from"./index.ce13ff81.js";const w=D({name:"basicInfo"}),g=Object.assign(w,{props:{detailData:{type:Object,default:()=>{}}},setup(y){const C=S(h.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=_([]),I=_([]);return v(async()=>{var o,e,t;const c=await B({areaCode:C.value.regionCode});I.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};