viewModal-eb65139c.js 4.5 KB

1
  1. var g=(l,o,n)=>new Promise((p,f)=>{var m=a=>{try{r(n.next(a))}catch(d){f(d)}},_=a=>{try{r(n.throw(a))}catch(d){f(d)}},r=a=>a.done?p(a.value):Promise.resolve(a.value).then(m,_);r((n=n.apply(l,o)).next())});import{a as T,c as A,__tla as B}from"./index-2901f384.js";import{g as M,__tla as P}from"./FileReceiveController-56a7fddf.js";import{d as V,r as q,y as G,o as s,c as W,w as I,l as u,N as R,O as E,u as b,q as X,a as e,t as h,H as F,e as w,b as S,b$ as Y,aX as $,aY as J,_ as K,__tla as Q}from"./index-fd0fd824.js";import{e as Z}from"./base64-10c35a1f.js";import{e as ee,__tla as te}from"./download-1f0cd2f2.js";import{L as le,__tla as ae}from"./LinkOutlined-3bd37156.js";let U,z,k,ne=Promise.all([(()=>{try{return B}catch(l){}})(),(()=>{try{return P}catch(l){}})(),(()=>{try{return Q}catch(l){}})(),(()=>{try{return te}catch(l){}})(),(()=>{try{return ae}catch(l){}})()]).then(()=>g(void 0,null,function*(){let l,o,n,p,f,m,_,r,a,d,C,D,L,N;U=[{title:"\u6536\u6587\u4EBA",dataIndex:"userNameCn"},{title:"\u6765\u6587\u673A\u5173",dataIndex:"institution"},{title:"\u6765\u6587\u6807\u9898",dataIndex:"title"},{title:"\u6765\u6587\u5B57\u53F7",dataIndex:"pullNumber"},{title:"\u6536\u6587\u7F16\u53F7",dataIndex:"number"},{title:"\u5BC6\u7EA7",dataIndex:"classification"},{title:"\u7F13\u6025",dataIndex:"urgency"},{title:"\u6765\u6587\u65E5\u671F",dataIndex:"pullDate"},{title:"\u9886\u5BFC\u6279\u793A",dataIndex:"leaderOpinion"},{title:"\u62DF\u529E\u610F\u89C1",dataIndex:"opinion"},{title:"\u90E8\u95E8\u529E\u7406\u60C5\u51B5",dataIndex:"organHandleStatus"},{title:"\u64CD\u4F5C",dataIndex:"action",slots:{customRender:"action"}}],l={userNameCn:"\u6536\u6587\u4EBA",institution:"\u6765\u6587\u673A\u5173",title:"\u6765\u6587\u6807\u9898",pullNumber:"\u6765\u6587\u5B57\u53F7",number:"\u6536\u6587\u7F16\u53F7",classification:"\u5BC6\u7EA7",urgency:"\u7F13\u6025",pullDate:"\u6765\u6587\u65E5\u671F",leaderOpinion:"\u9886\u5BFC\u6279\u793A",organHandleStatus:"\u90E8\u95E8\u529E\u7406\u60C5\u51B5",opinion:"\u62DF\u529E\u610F\u89C1"},o=y=>($("data-v-5cf91c4a"),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,"\u6536\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)),a={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)),D={style:{display:"flex","align-items":"center"}},L={style:{width:"400px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap","margin-left":"12px"}},N=V({__name:"viewModal",setup(y){const i=q(),[H]=T(c=>g(this,null,function*(){i.value=yield M({id:c.id}),delete i.value.id})),O=(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=G("a-button");return s(),W(A,{defaultFullscreen:"",onRegister:b(H),title:"\u67E5\u770B\u6536\u6587\u8BE6\u60C5",footer:null},{default:I(()=>[n,i.value?(s(),u("div",p,[(s(!0),u(R,null,E(Object.keys(b(l)),(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,h(b(l)[t]),1)]),e("div",_,[e("span",null,h(i.value[t]),1)])])],4))),128)),r])):F("",!0),e("div",a,[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",D,[w(b(le)),e("div",L,h(t.fileName),1)]),e("div",null,[w(x,{type:"link",onClick:v=>O(t,1)},{default:I(()=>[S("\u9884\u89C8")]),_:2},1032,["onClick"]),w(x,{type:"link",onClick:v=>O(t,2)},{default:I(()=>[S("\u4E0B\u8F7D")]),_:2},1032,["onClick"])])]))),128))])])):F("",!0)])]),_:1},8,["onRegister"])}}}),k=K(N,[["__scopeId","data-v-5cf91c4a"]]),z=Object.freeze(Object.defineProperty({__proto__:null,default:k},Symbol.toStringTag,{value:"Module"}))}));export{U as T,ne as __tla,z as a,k as v};