var I=(a,o,n)=>new Promise((p,f)=>{var m=l=>{try{r(n.next(l))}catch(d){f(d)}},_=l=>{try{r(n.throw(l))}catch(d){f(d)}},r=l=>l.done?p(l.value):Promise.resolve(l.value).then(m,_);r((n=n.apply(a,o)).next())});import{a as A,c as B,__tla as M}from"./index-5eb30ce0.js";import{b as S,__tla as V}from"./FileReceiveController-e3069116.js";import{d as q,r as G,y as H,o as s,c as W,w as g,l as u,N as R,O as E,u as b,q as X,a as e,t as k,H as F,e as h,b as P,b$ as Y,aX as $,aY as J,_ as K,__tla as Q}from"./index-b5895273.js";import{e as Z}from"./base64-912b9db4.js";import{e as ee,__tla as te}from"./download-801edd56.js";import{L as ae,__tla as le}from"./LinkOutlined-eb2b3dd8.js";let U,z,w,ne=Promise.all([(()=>{try{return M}catch(a){}})(),(()=>{try{return V}catch(a){}})(),(()=>{try{return Q}catch(a){}})(),(()=>{try{return te}catch(a){}})(),(()=>{try{return le}catch(a){}})()]).then(()=>I(void 0,null,function*(){let a,o,n,p,f,m,_,r,l,d,C,O,L,D;U=[{title:"\u516C\u6587\u540D\u79F0",dataIndex:"name"},{title:"\u53D1\u6587\u8BF4\u660E",dataIndex:"remark"},{title:"\u53D1\u6587\u5B57\u53F7",dataIndex:"number"},{title:"\u53D1\u6587\u90E8\u95E8",dataIndex:"orgName"},{title:"\u53D1\u6587\u5355\u4F4D\u610F\u89C1",dataIndex:"institution"},{title:"\u4F1A\u529E\u5355\u4F4D\u610F\u89C1",dataIndex:"backOpinion"},{title:"\u5370\u53D1\u65E5\u671F",dataIndex:"dateOfIssue"},{title:"\u7D27\u6025\u7A0B\u5EA6",dataIndex:"urgency"},{title:"\u4FDD\u5BC6\u671F\u9650",dataIndex:"confidentialityPeriod"},{title:"\u4E3B\u9898\u8BCD",dataIndex:"tags"},{title:"\u6253\u5370\u4EFD\u6570",dataIndex:"printNumber"},{title:"\u64CD\u4F5C",dataIndex:"action",slots:{customRender:"action"}}],a={name:"\u516C\u6587\u540D\u79F0",remark:"\u53D1\u6587\u8BF4\u660E",number:"\u53D1\u6587\u5B57\u53F7",orgName:"\u53D1\u6587\u90E8\u95E8",institution:"\u53D1\u6587\u5355\u4F4D\u610F\u89C1",backOpinion:"\u4F1A\u529E\u5355\u4F4D\u610F\u89C1",dateOfIssue:"\u5370\u53D1\u65E5\u671F",urgency:"\u7D27\u6025\u7A0B\u5EA6",confidentialityPeriod:"\u4FDD\u5BC6\u671F\u9650",tags:"\u4E3B\u9898\u8BCD",printNumber:"\u6253\u5370\u4EFD\u6570"},o=y=>($("data-v-7b9cd342"),y=y(),J(),y),n=o(()=>e("div",{class:"border",style:{"font-size":"22px","font-weight":"bold",display:"flex",height:"60px","align-items":"center",flex:"1","justify-content":"center",color:"#ff4100"}},[e("span",null,"\u516C\u6587\u767B\u8BB0\u7A3F\u7EB8")],-1)),p={key:0,class:"pullDoc-Content",style:{color:"#ff4100","flex-direction":"row","flex-wrap":"wrap",display:"flex"}},f={class:"pullDoc-Content-items-item"},m={class:"pullDoc-Content-items-item-label"},_={class:"pullDoc-Content-items-item-content"},r=o(()=>e("div",{class:"pullDoc-Content-items"},null,-1)),l={class:"pullDoc-Content-fileList",style:{"margin-top":"24px","padding-left":"12px",border:"1px solid #ff4100"}},d={key:0,class:"fileLListBox"},C=o(()=>e("span",{style:{"margin-bottom":"12px","font-size":"16px",color:"#ff4100"}},"\u6750\u6599\u9644\u4EF6\u5217\u8868\uFF1A",-1)),O={style:{display:"flex","align-items":"center"}},L={style:{width:"400px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap","margin-left":"12px"}},D=q({__name:"viewModal",setup(y){const i=G(),[T]=A(c=>I(this,null,function*(){i.value=yield S({id:c.id}),delete i.value.id})),N=(c,j)=>{const x=Y().VITE_GLOB_FFFILEVIEW_URL+encodeURIComponent(Z(c.fileUrl)),t=document.createElement("a");switch(t.href=x,j){case 1:t.target="blank",t.click();break;case 2:ee(c.fileUrl,c.fileName)}t.remove()};return(c,j)=>{const x=H("a-button");return s(),W(B,{defaultFullscreen:"",onRegister:b(T),title:"\u67E5\u770B\u6536\u6587\u8BE6\u60C5",footer:null},{default:g(()=>[n,i.value?(s(),u("div",p,[(s(!0),u(R,null,E(Object.keys(b(a)),(t,v)=>(s(),u("div",{style:X([v%2===0?{borderLeft:"1px solid #ff4100"}:"",{width:"50%"}]),class:"pullDoc-Content-items",key:v},[e("div",f,[e("div",m,[e("span",null,k(b(a)[t]),1)]),e("div",_,[e("span",null,k(i.value[t]),1)])])],4))),128)),r])):F("",!0),e("div",l,[i.value&&Array.isArray(i.value.fileInfos)?(s(),u("div",d,[C,e("ul",null,[(s(!0),u(R,null,E(i.value.fileInfos,t=>(s(),u("li",{style:{display:"flex","align-items":"center","justify-content":"space-between"},key:t.id},[e("div",O,[h(b(ae)),e("div",L,k(t.fileName),1)]),e("div",null,[h(x,{type:"link",onClick:v=>N(t,1)},{default:g(()=>[P("\u9884\u89C8")]),_:2},1032,["onClick"]),h(x,{type:"link",onClick:v=>N(t,2)},{default:g(()=>[P("\u4E0B\u8F7D")]),_:2},1032,["onClick"])])]))),128))])])):F("",!0)])]),_:1},8,["onRegister"])}}}),w=K(D,[["__scopeId","data-v-7b9cd342"]]),z=Object.freeze(Object.defineProperty({__proto__:null,default:w},Symbol.toStringTag,{value:"Module"}))}));export{U as T,ne as __tla,z as a,w as v};