/* empty css *//* empty css *//* empty css */import{d as k,r,l as L,B as V,R as B,L as b,D as C,c as u,b as e,e as a,w as i,o as _,g as N,F as U,v as q,t as f,K as D,u as F,h as M}from"./index.db1e0641.js";import{w as P}from"./application-warning.edf7707a.js";const S={class:"notice-record"},j=e("p",{class:"page-title"},"\u901A\u77E5\u8BB0\u5F55",-1),E={class:"card-list"},K={class:"info relative"},O={class:"title"},T=e("span",{class:"tag tag2"},"\u77ED\u4FE1",-1),W={class:"flex items-center"},$={class:"label items-center flex"},z=e("span",null,"\u8054\u7CFB\u65B9\u5F0F\uFF1A",-1),A={class:"value"},G={class:"flex items-center"},H={class:"label flex items-center"},I=e("span",null,"\u63D0\u9192\u65F6\u95F4\uFF1A",-1),J={class:"value"},Q={key:1,class:"text-center text-info no-data"},X=k({name:"noticeRecord"}),ne=Object.assign(X,{setup(Y){const n=r([]),l=r(!1),v=r(!1),c=r(!1),g=()=>{n.value=[],v.value=!1,l.value=!0,p()},m=F(),p=async()=>{var t,o;l.value=!0,c.value=!0;const h=await P({...m.query});n.value=((o=(t=h.data.records)==null?void 0:t.find(d=>d.id===m.query.id*1))==null?void 0:o.warnMailRecords)||[],c.value=!1,l.value=!1,v.value=!0};return L(()=>{p()}),(h,t)=>{const o=M,d=V,x=B,R=b,y=C;return _(),u("div",S,[j,e("div",E,[a(y,{modelValue:c.value,"onUpdate:modelValue":t[1]||(t[1]=s=>c.value=s),onRefresh:g},{default:i(()=>[n.value&&n.value.length?(_(),N(R,{key:0,loading:l.value,"onUpdate:loading":t[0]||(t[0]=s=>l.value=s),finished:v.value,"finished-text":"\u6CA1\u6709\u66F4\u591A\u4E86",onLoad:p},{default:i(()=>[(_(!0),u(U,null,q(n.value,(s,w)=>(_(),u("div",{key:w,class:"card-list-item"},[e("div",K,[e("div",O,[T,e("span",null,f(s.handleUserName||"-"),1)]),a(x,{gutter:"20"},{default:i(()=>[a(d,{span:"24"},{default:i(()=>[e("div",W,[e("span",$,[a(o,{name:"phone","svg-class":"svg",class:"mr-[10px]"}),z]),e("span",A,f(s.handleUserPhone||"-"),1)])]),_:2},1024),a(d,{span:"24"},{default:i(()=>[e("div",G,[e("span",H,[a(o,{name:"time","svg-class":"svg",class:"mr-[10px]"}),I]),e("span",J,f(s.sendTime),1)])]),_:2},1024)]),_:2},1024),a(o,{name:`${s.sendStatus==="\u53D1\u9001\u5931\u8D25"?"status4":"status2"}`,class:"status-icon"},null,8,["name"])])]))),128))]),_:1},8,["loading","finished"])):!c.value&&!l.value&&!n.value.length?(_(),u("p",Q,"\u6682\u65E0\u6570\u636E")):D("",!0)]),_:1},8,["modelValue"])])])}}});export{ne as default};