PageSourceSearch

https://npeople.co.kr/_next/static/chunks/pages/member-4efdcfdd40a6e76b.js

js npeople.co.kr collected 2026-10-06 20:42:24 UTC 3,988 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5809],{8675:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/member",function(){return i(54639)}])},54639:function(e,n,i){"use strict";i.r(n);var t=i(14924),r=i(85893),o=i(99226),s=i(15861),a=i(295),l=i(53816),c=i(36560),d=i(41980),p=i(11163),u=i(13528),h=i(58643),f=i(7485),g=i(71365),m=i(67294),x=i(42698),w=i(49644),b=i(4480),j=i(78807),k=i(17319),Z=i(18340),v=i(42761),y=(0,f.Z)(function(){return{pcView:(0,t.Z)({display:"block"},u.Z.breakpoints.down(g.ct.LG),{display:"none"}),mobileView:(0,t.Z)({display:"none"},u.Z.breakpoints.down(g.ct.LG),{display:"block"}),pcWrapper:(0,t.Z)({display:"flex",padding:u.Z.spacing(4,0)},u.Z.breakpoints.down(g.ct.LG),{display:"none",padding:u.Z.spacing(2,0)}),listLabelWrappeer:(0,t.Z)({marginBottom:u.Z.spacing(3),display:"flex",justifyContent:"space-between"},u.Z.breakpoints.down(g.ct.LG),{margin:u.Z.spacing(2,0,0)})}}),E=function(){var e=y(),n=(0,m.useState)([]),i=n[0],t=n[1],a=(0,m.useState)(void 0),l=a[0],u=a[1],h=(0,p.useRouter)(),f=(0,k.ku)(h.query.page)||"1",g=(0,b.sJ)(w.L4),Z=(0,k.ku)(h.query.title)||"";(0,m.useEffect)(function(){E()},[h,g]);var E=function(){(0,x.xk)().get("".concat("https://api.dkwangfood.com","/artworks/member/page"),{params:{curPage:f,rowPerPage:10,title:Z,pagePerBlock:5,orderBy:"title-ASC",detail:"menu.title,properties",menuBranchType:"direct",isMember:!0}}).then(function(e){var n=(0,x.WC)(e).data;t(n?n.list:[]),u(n?n.page:void 0)}).catch(function(e){alert((0,x.ou)(e).data.message),t([]),u(void 0)})},C=function(e){var n={title:Z,page:e},i="";Object.keys(n).forEach(function(e){n[e]?i+="".concat(e,"=").concat(n[e],"&"):delete n[e]}),i.endsWith("&")&&(i=i.substring(0,i.length-1));var t=i?"/member?"+i:"/member";h.push({pathname:h.pathname,query:n},t,{shallow:!0})},N=function(){h.push("/member/write")};return(0,r.jsx)(c.Z,{children:(0,r.jsxs)(o.Z,{width:"100%",paddingBottom:5,children:[(0,r.jsx)(o.Z,{className:e.pcWrapper,alignItems:"center",justifyContent:"space-between",children:(0,r.jsx)(s.Z,{sx:{paddingRight:2},color:"#222 ",variant:"subtitle2",className:"bold",children:"회원사 현황"})}),(0,r.jsx)(v.SearchBox,{placeholder:"업체명을 입력해주세요",page:"member"}),(0,r.jsx)(o.Z,{overflow:"auto",whiteSpace:"nowrap",children:(0,r.jsx)(_,{list:i})}),(0,r.jsx)(o.Z,{paddingTop:2,children:(0,r.jsx)(j.Z,{paging:l,handleClick:C})}),(0,r.jsx)(o.Z,{marginY:2,display:"flex",justifyContent:"flex-end",color:"white",children:(0,r.jsx)(d.Z,{onClick:N,size:"small",text:"작성",color:"inherit",bgColor:"primary"})})]})})};n.default=E;var C=(0,f.Z)(function(){return{table:{backgroundColor:"white","& th":{borderRight:"none",textOverflow:"ellipsis",textAlign:"center"},"& td":{padding:u.Z.spacing(2,0),borderRight:"none",textAlign:"center",textOverflow:"ellipsis"},"& tbody tr":{cursor:"pointer","&:hover":{backgroundColor:"#eee"}}}}}),_=function(e){var n=e.list,i=C();return(0,r.jsxs)(h.IJ,{className:i.table,children:[(0,r.jsxs)(h.FB,{children:[(0,r.jsx)(h.En,{width:"5%",children:"번호"}),(0,r.jsx)(h.En,{width:"10%",children:"업체명"}),(0,r.jsx)(h.En,{width:"5%",children:"대표자"}),(0,r.jsx)(h.En,{width:"5%",children:"직위"}),(0,r.jsx)(h.En,{width:"20%",children:"이메일"})]}),(0,r.jsx)(a.Z,{children:n.map(function(e){return(0,r.jsx)(N,{info:e},e.id)})})]})},N=function(e){var n,i,t,o=e.info,s="/member/write?uk=".concat(o.uk),a=(0,p.useRouter)();return(0,r.jsxs)(l.Z,{onClick:function(e){return a.push(s)},children:[(0,r.jsx)(h.En,{children:o.id}),(0,r.jsx)(h.En,{children:o.title}),(0,r.jsx)(h.En,{children:(null===(n=o.properties)||void 0===n?void 0:n.name)||"-"}),(0,r.jsx)(h.En,{children:(0,Z.parseMemberWork)(null===(i=o.properties)||void 0===i?void 0:i.work)||"-"}),(0,r.jsx)(h.En,{ellipsis:!0,children:(null===(t=o.properties)||void 0===t?void 0:t.email)||"-"})]})}}},function(e){e.O(0,[3532,6135,7058,1683,6279,6318,6560,8340,2761,9774,2888,179],function(){return e(e.s=8675)}),_N_E=e.O()}]);

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.