1import{d as F,i as x,s,C as T,o as $,e as a,f as l,n as t,F as D,ag as I,x as _,v,q as f,A as O,p as U,z as m}from"./index.e6a4d251.js";import{l as V}from"./layoutFooter.31f20afd.js";import"./index.eb9321cd.js";const G={class:"m-hunjang-wrap"},H={class:"h-popup-wrap"},q={class:"h-m-popup popup-goback"},z={class:"pop-header"},W=t("p",{class:"pop-title text-h3"},"\uC54C\uB9BC",-1),Y={class:"menuBtnBox"},j=t("img",{src:"/images/mobile/m_icon_allmenu_gray.png",alt:""},null,-1),J=[j],K={class:"pop-body"},Q={class:"pop-container p0",id:"mobileHomeTop"},X={class:"m-app-notfctnList"},Z={class:"ndate"},tt={class:"ntftn-Info"},et={class:"boardNm"},ot={class:"ntime"},ut={class:"ntftnCo"},nt={key:2,class:"no-data"},st=t("strong",null,"\uC54C\uB9BC\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",-1),at=t("img",{src:"/images/mobile/m_arrow_left_white.png"},null,-1),lt={key:3,class:"no-data"},Ct=t("img",{src:"/images/mobile/m_arrow_left_white.png"},null,-1),pt=F({__name:"notiList",setup(rt){const C=x.setup(),u=U.setup(),h=s(T.get().AESDecrypt(u.getLocalStorage("platfmSrvcCd")).replace(/\"/g,"")),b=u.getGlobalProperties("$PLATFORM_SERVICE"),k=u.getGlobalProperties("$HUN_MBR_CONM"),w=s({}),y=s({}),p=s([]),A=s([]),c=s(0),g=s(0),N=s(parseInt(u.getGlobalProperties("$pageRowCount")));let r=s({pageNow:1,pageRowCount:N.value});$(()=>{R()});const R=()=>{var o;w.value=(o=u.getLocalStorage("userInfo"))==null?void 0:o.userInfo,y.value=u.getLocalStorage("conmInfo");let i={mbrConmId:"",mbrConmCd:"",ctlPageRowCount:r.value.pageRowCount};h.value==b.INSTRUCTOR?(i.mbrConmCd=k.MBR,i.mbrConmId=w.value.encMbrNo):h.value==b.ACADEMY&&(i.mbrConmCd=k.COMN,i.mbrConmId=y.value.encConmId),C.dbList({url:"/hunApi/common/notiset/notiList",params:i,success:e=>{if(g.value=e.data.count,e.data.res&&(c.value=e.data.res.rowCount?e.data.res.rowCount:0,p.value=e.data.res.trgtList?e.data.res.trgtList:[],p.value.length>0)){let B=p.value.reduce((n,d)=>(n.find(M=>M.date===u.formatDateDot(d.frstRegDt))||n.push({date:u.formatDateDot(d.frstRegDt),week:u.getDayOfWeek(d.frstRegDt)}),n),[]);A.value=B}},error:e=>{console.error("error : ",e)}})},S=()=>{if(!C.loginCheck()){alert("\uB85C\uADF8\uC778 \uD6C4 \uC774\uC6A9 \uAC00\uB2A5\uD569\uB2C8\uB2E4."),C.routerPush("/login",null);return}C.routerPush("/mobile/notiset/notisetList",null)},L=()=>{C.routerPush("/mobile/main/hunjangSideMenu",null)},E=()=>{C.routerBack(null)},P=()=>{r.value.pageNow+=1,r.value.pageRowCount=N.value*r.value.pageNow,R()};return(i,o)=>(a(),l("div",G,[t("div",H,[t("div",q,[t("div",z,[W,t("div",Y,[t("button",{type:"button",class:"btn-allmenu",onClick:o[0]||(o[0]=e=>L())},J)])]),t("div",K,[t("div",Q,[t("div",X,[g.value!=0&&c.value!=0?(a(!0),l(D,{key:0},I(A.value,(e,B)=>(a(),l(D,{key:B},[t("span",Z,m(e.date)+" "+m(e.week)+"\uC694\uC77C",1),(a(!0),l(D,null,I(p.value.filter(n=>v(u).formatDateDot(n.frstRegDt)===e.date),(n,d)=>(a(),l("div",{key:d,class:"ntftn-Box"},[t("div",tt,[t("div",et,m(n.msgUseTyNm),1),t("div",ot,m(v(u).getTimePmAm(n.frstRegDt)),1)]),t("a",ut,m(n.msgCn),1)]))),128))],64))),128)):_("",!0),c.value!=0&&c.value>=v(r).pageRowCount?(a(),l("button",{key:1,type:"button",class:"readmore_btn h-button-ml h-button-white",style:{"margin-bottom":"120px"},onClick:o[1]||(o[1]=e=>P())},"\uB354\uBCF4\uAE30")):_("",!0),g.value==0?(a(),l("p",nt,[st,f(" \uC8FC\uC694 \uC18C\uC2DD\uC5D0 \uB300\uD55C \uC548\uB0B4\uB97C \uBC1B\uC73C\uC2DC\uB824\uBA74 \uC54C\uB9BC \uC124\uC815\uC744 \uBCC0\uACBD\uD574 \uC8FC\uC138\uC694. "),t("a",{class:"h-button-ml",onClick:o[2]||(o[2]=e=>S())},[f("\uC54C\uB9BC \uC124\uC815\uD558\uAE30"),at])])):_("",!0),g.value!=0&&c.value<=v(r).pageRowCount?(a(),l("p",lt,[f(" \uCD5C\uADFC 30\uC77C \uB3D9\uC548\uC758 \uC18C\uC2DD\uB9CC \uD655\uC778 \uAC00\uB2A5\uD569\uB2C8\uB2E4. "),t("a",{class:"h-button-ml",onClick:o[3]||(o[3]=e=>S())},[f("\uC54C\uB9BC \uC124\uC815\uD558\uAE30"),Ct])])):_("",!0)]),O(V)])]),t("button",{type:"button",class:"close srchPopClose",title:"\uD31D\uC5C5 \uB2EB\uAE30",onClick:o[4]||(o[4]=e=>E())})])])]))}});export{pt as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.