40 lines
25 KiB
Java
40 lines
25 KiB
Java
|
|
var ue=(a,l,n)=>new Promise((d,w)=>{var e=v=>{try{h(n.next(v))}catch(L){w(L)}},s=v=>{try{h(n.throw(v))}catch(L){w(L)}},h=v=>v.done?d(v.value):Promise.resolve(v.value).then(e,s);h((n=n.apply(a,l)).next())});import{d as Pe,aq as Oe,ah as z,aC as ce,as as G,aF as M,k as N,ar as J,ag as Y,au as O,f as ee,av as te,G as de,u as V,F as ge,aD as qe,aG as Fe}from"./vue-vendor-C7Zq48Yl.js";import{B as Ne}from"./index-Du0A3ksf.js";import{a as Ve,bm as pe,bn as De,bo as We,bp as me}from"./antd-vue-vendor-BPnV8VqP.js";import{a as Ue}from"./notice.api-cF0ZeRtr.js";import{q as $e,ak as Be,b as he,k as Ge,bp as Xe,bv as He,bK as ze,f as Me,d as Qe}from"./index-BI6CMai0.js";import"./BasicModal-0sAdFEk_.js";import"./ModalHeader-keHdAHWH.js";import"./useTimeout-DDl4l82I.js";import"./vxe-table-vendor-B88kchpX.js";import"./index-DeEq83Ov.js";import"./useWindowSizeFn-PRZSD86C.js";import"./index-pxs5MULf.js";import"./index-BgYCgfME.js";import"./index-f8O7TghW.js";import"./useIntersectionObserver-BMxdTqP3.js";var Z={exports:{}},_={},K={exports:{}},X={},ve;function Se(){if(ve)return X;ve=1;function a(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-c
|
|||
|
|
`&&L()}return a.trim(v)}return ie=l,ie}var ne,we;function Je(){if(we)return ne;we=1;var a=Se(),l=je(),n=Ee();function d(s){return s==null}function w(s){var h={};for(var v in s)h[v]=s[v];return h}function e(s){s=w(s||{}),s.whiteList=s.whiteList||a.whiteList,s.onAttr=s.onAttr||a.onAttr,s.onIgnoreAttr=s.onIgnoreAttr||a.onIgnoreAttr,s.safeAttrValue=s.safeAttrValue||a.safeAttrValue,this.options=s}return e.prototype.process=function(s){if(s=s||"",s=s.toString(),!s)return"";var h=this,v=h.options,L=v.whiteList,R=v.onAttr,t=v.onIgnoreAttr,u=v.safeAttrValue,r=l(s,function(T,I,m,C,b){var i=L[m],o=!1;if(i===!0?o=i:typeof i=="function"?o=i(C):i instanceof RegExp&&(o=i.test(C)),o!==!0&&(o=!1),C=u(m,C),!!C){var g={position:I,sourcePosition:T,source:b,isWhite:o};if(o){var p=R(m,C,g);return d(p)?m+":"+C:p}else{var p=t(m,C,g);if(!d(p))return p}}});return r},ne=e,ne}var Ct=K.exports,Ae;function le(){return Ae||(Ae=1,(function(a,l){var n=Se(),d=Je();function w(s,h){var v=new d(h);return v.process(s)}l=a.exports=w,l.FilterCSS=d;for(var e in n)l[e]=n[e];typeof window!="undefined"&&(window.filterCSS=a.exports)})(K,K.exports)),K.exports}var se,ke;function fe(){return ke||(ke=1,se={indexOf:function(a,l){var n,d;if(Array.prototype.indexOf)return a.indexOf(l);for(n=0,d=a.length;n<d;n++)if(a[n]===l)return n;return-1},forEach:function(a,l,n){var d,w;if(Array.prototype.forEach)return a.forEach(l,n);for(d=0,w=a.length;d<w;d++)l.call(n,a[d],d,a)},trim:function(a){return String.prototype.trim?a.trim():a.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(a){var l=/\s|\n|\t/,n=l.exec(a);return n?n.index:-1}}),se}var xe;function Le(){if(xe)return _;xe=1;var a=le().FilterCSS,l=le().getDefaultWhiteList,n=fe();function d(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var w=new a;function e(f,x,c){}function s(f,x,c){}function h(f,x,c){}function v(f,x,c){}function L(f){return f.replace(t,"<").replace(u,">")}function R(f,x,c,A){if(c=D(c),x==="href"||x==="src"){if(c=n.trim(c),c==="#")return"#";if(!(c.substr(0,7)==="http://"||c.substr(0,8)==="https://"||c.substr(0,7)==="mailto:"||c.substr(0,4)==="tel:"||c.substr(0,11)==="data:image/"||c.substr(0,6)==="ftp://"||c.substr(0,2)==="./"||c.substr(0,3)==="../"||c[0]==="#"||c[0]==="/"))return""}else if(x==="background"){if(b.lastIndex=0,b.test(c))return""}else if(x==="style"){if(i.lastIndex=0,i.test(c)||(o.lastIndex=0,o.test(c)&&(b.lastIndex=0,b.test(c))))return"";A!==!1&&(A=A||w,c=A.process(c))}return c=S(c),c}var t=/</g,u=/>/g,r=/"/g,T=/"/g,I=/&#([a-zA-Z0-9]*);?/gim,m=/:?/gim,C=/&newline;?/gim,b=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,i=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,o=/u\s*r\s*l\s*\(.*/gi;function g(f){return f.replace(r,""")}function p(f){return f.replace(T,'"')}function k(f){return f.replace(I,function(c,A){return A[0]==="x"||A[0]==="X"?String.fromCharCode(parseInt(A.substr(1),16)):String.fromCharCode(parseInt(A,10))})}function y(f){return f.replace(m,":").repla
|
|||
|
|
body {
|
|||
|
|
margin: 0;
|
|||
|
|
padding: 15px;
|
|||
|
|
font-family: Arial, sans-serif;
|
|||
|
|
}
|
|||
|
|
img {
|
|||
|
|
max-width: 100%;
|
|||
|
|
height: auto;
|
|||
|
|
}
|
|||
|
|
@page {
|
|||
|
|
size: auto;
|
|||
|
|
margin: 15mm;
|
|||
|
|
}
|
|||
|
|
@media print {
|
|||
|
|
body {
|
|||
|
|
padding: 0;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
.ant-card-meta-detail {
|
|||
|
|
display: flex !important ;
|
|||
|
|
justify-content: center !important;
|
|||
|
|
align-items: center !important;
|
|||
|
|
flex-direction: column !important;
|
|||
|
|
}
|
|||
|
|
.ant-card-meta-title {
|
|||
|
|
font-size: 22px !important;
|
|||
|
|
color: rgba(51, 51, 51, 0.88);
|
|||
|
|
font-weight: 600;
|
|||
|
|
font-size: 16px;
|
|||
|
|
overflow: hidden;
|
|||
|
|
white-space: nowrap;
|
|||
|
|
text-overflow: ellipsis;
|
|||
|
|
}
|
|||
|
|
.ant-card .ant-card-meta-description {
|
|||
|
|
color: rgba(51, 51, 51, 0.45);
|
|||
|
|
}
|
|||
|
|
`,g.head.appendChild(k);const y=g.getElementsByTagName("img");let P=y.length;const D=()=>{P===0&&setTimeout(()=>{var E,$;(E=o.contentWindow)==null||E.focus(),($=o.contentWindow)==null||$.print(),document.body.removeChild(o)},300)};P===0?D():Array.from(y).forEach(E=>{E.onload=()=>{P--,D()},E.complete&&E.naturalWidth!==0&&(P--,D())})},document.body.appendChild(o)}function m(i){window.open(he(i),"_blank")}function C(i){if(i){let o=encodeURIComponent(Xe(i)),g=`${d.viewUrl}?url=`+o;He.isElectron()&&(g=ze(i)),window.open(g,"_blank")}}function b(i){i||v("close")}return(i,o)=>{const g=z("Icon"),p=z("a-tooltip"),k=z("a-card-meta"),y=z("a-divider"),P=z("a-button"),D=z("a-card");return G(),ce(V(Ne),Fe(i.$attrs,{onRegister:V(L),title:"查看详情",width:800,minHeight:600,showCancelBtn:!1,showOkBtn:!1,height:88,destroyOnClose:!0,onVisibleChange:b}),{title:M(()=>[o[1]||(o[1]=O("span",{class:"basic-title"},"查看详情",-1)),O("div",{class:"print-btn",onClick:I},[N(g,{icon:"ant-design:printer-filled"}),o[0]||(o[0]=O("span",{class:"print-text"},"打印",-1))])]),default:M(()=>[N(D,{class:"daily-article"},{default:M(()=>[N(k,{title:e.value.titile},{description:M(()=>[O("div",rt,[O("span",null,"发布人:"+te(e.value.sender),1),O("span",null,"发布时间:"+te(e.value.sendTime),1),e.value.visitsNum?(G(),J("span",at,[N(p,{placement:"top",title:"访问次数",autoAdjustOverflow:!0},{default:M(()=>[N(V(pe),{class:"item-icon"}),de(" "+te(e.value.visitsNum),1)]),_:1})])):Y("",!0)])]),_:1},8,["title"]),N(y),O("div",{innerHTML:e.value.msgContent,class:"article-content"},null,8,it),O("div",null,[u.value?(G(),ce(P,{key:0,onClick:T},{default:M(()=>[o[2]||(o[2]=de("前往办理",-1)),N(V(De))]),_:1})):Y("",!0)])]),_:1}),s.value&&s.value.length>0?(G(),J(ge,{key:0},[o[4]||(o[4]=O("div",{class:"files-title"},"相关附件:",-1)),(G(!0),J(ge,null,qe(s.value,(S,E)=>(G(),J("div",{key:E,class:"files-area"},[O("div",nt,[O("span",null,[N(V(We)),O("a",{target:"_blank",rel:"noopener noreferrer",title:S.fileName,href:V(he)(S.filePath),class:"ant-upload-list-item-name"},te(S.fileName),9,st)])]),O("div",ot,[N(V(me),{class:"item-icon",onClick:$=>m(S.filePath)},null,8,["onClick"]),N(V(pe),{class:"item-icon",onClick:$=>C(S.filePath)},null,8,["onClick"])])]))),128)),s.value.length>1?(G(),J("a",{key:0,href:h+"?id="+e.value.id+"&token="+V(Ge)(),target:"_blank",style:{margin:"15px 6px",color:"#5ac0fa"}},[N(V(me),{class:"item-icon",style:{"margin-right":"5px"}}),o[3]||(o[3]=O("span",null,"批量下载所有附件",-1))],8,lt)):Y("",!0)],64)):Y("",!0)]),_:1},16,["onRegister"])}}}),Et=Qe(ft,[["__scopeId","data-v-f7140848"]]);export{Et as default};
|