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
2.1KB

  1. var A=(i,l,e)=>new Promise((c,n)=>{var p=a=>{try{o(e.next(a))}catch(t){n(t)}},s=a=>{try{o(e.throw(a))}catch(t){n(t)}},o=a=>a.done?c(a.value):Promise.resolve(a.value).then(p,s);o((e=e.apply(i,l)).next())});import{_ as D,d as v,G as x,D as B,r as C,o as S,c as m,e as g,I as h,j as I,i as j}from"./index.47f2a3eb.js";import{c as k}from"./index.26831aa6.js";const w=v({name:"basicInfo"}),R=Object.assign(w,{props:{detailData:{type:Object,default:()=>{}}},setup(i){const l=x(B.userStore).userInfo,e=i,c=[{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"}],n=C([]),p=C([]);return S(()=>A(this,null,function*(){var o,a,t;const s=yield k({areaCode:l.value.regionCode});p.value=s.data,n.value=((t=(a=(o=e==null?void 0:e.detailData)==null?void 0:o.baseProjSysCode)==null?void 0:a.split("\uFF1B"))==null?void 0:t.map((r,d)=>{var u,_,b,f,N,y;return{applicationCode:r,applicationName:((_=(u=e==null?void 0:e.detailData)==null?void 0:u.baseProjSys)==null?void 0:_.split("\uFF1B")[d])||"",baseAccountAppName:((f=(b=e==null?void 0:e.detailData)==null?void 0:b.baseAccountAppName)==null?void 0:f.split("\uFF1B")[d])||"",baseBrainName:((y=(N=e==null?void 0:e.detailData)==null?void 0:N.baseBrainName)==null?void 0:y.split("\uFF1B")[d])||""}}))||[]})),(s,o)=>{const a=m("table-list"),t=m("el-descriptions-item"),r=m("el-descriptions");return g(),h(r,{column:2,border:""},{default:I(()=>[j(t,{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:I(()=>[j(a,{pagination:!1,style:{width:"100%"},column:c,data:n.value,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})}}}),O=D(R,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/detail/components/applicationInfo.vue"]]);export{O as default};