1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3496],{19525:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/withdrawal-vnd",function(){return c(66427)}])},66427:function(a,b,c){"use strict";c.r(b);var d=c(85893),e=c(67294),f=c(88767),g=c(25617),h=c(98199),i=c(75514),j=c(93364),k=c(93702);function l(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function m(a){for(var b=1;b<arguments.length;b++){var c=null!=arguments[b]?arguments[b]:{},d=Object.keys(c);"function"==typeof Object.getOwnPropertySymbols&&(d=d.concat(Object.getOwnPropertySymbols(c).filter(function(a){return Object.getOwnPropertyDescriptor(c,a).enumerable}))),d.forEach(function(b){l(a,b,c[b])})}return a}var n=function(){var a,b=(0,g.v9)(function(a){return a.userCurrentInfo}),c=(0,f.useQueryClient)(),k=e.useRef(),l=(0,e.useState)(!1),n=l[0],o=l[1],p=(0,e.useState)(j.G2),q=p[0],r=p[1],s=(0,f.useQuery)(["withdrawList",{Current:q.current,PageSize:q.pageSize},],function(){return h.XW.getList({PageIndex:q.current,PageSize:q.pageSize,OrderBy:"Id desc",UID:null==b?void 0:b.Id,Type:2}).then(function(a){return a.Data})},{keepPreviousData:!0,onSuccess:function(a){return r(m({},q,{total:null==a?void 0:a.TotalItem}))},onError:function(a){var b,c,d;i.Amu.error(null===(b=a)|| void 0===b?void 0:null===(c=b.response)|| void 0===c?void 0:null===(d=c.data)|| void 0===d?void 0:d.ResultMessage)}}),t=s.isFetching,u=s.data,v=s.refetch,w=function(a){k.current=a,o(!n)},x=(0,f.useMutation)(h.XW.updateStatusCancel,{onSuccess:function(){w(void 0),x.reset(),c.invalidateQueries("articleList"),c.invalidateQueries("clientData"),v(),i.Amu.success("Y\xeau cầu há»§y th\xe0nh c\xf4ng!")},onError:function(a){var b,c,d;i.Amu.error(null===(b=a)|| void 0===b?void 0:null===(c=b.response)|| void 0===c?void 0:null===(d=c.data)|| void 0===d?void 0:d.ResultMessage)}});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.Suw,{data:null==u?void 0:u.Items,loading:t,pagination:q,handleModal:w,handlePagination:function(a){return r(a)}}),(0,d.jsx)(i.tcN,{id:null===(a=k.current)|| void 0===a?void 0:a.Id,onCancel:function(){return w(void 0)},onConfirm:function(){o(!1),i.Amu.info("Äang xá» l\xfd, vui l\xf2ng Äợi!"),x.mutateAsync(m({},k.current,{Status:3}))},visible:n,title:"Bạn c\xf3 chắc muá»n huá»· y\xeau cầu"})]})};n.displayName=k.W.financialManagement.withdrawMoneyVND,n.breadcrumb="Tạo y\xeau cầu r\xfat",n.Layout=i.rfd,b.default=n}},function(a){a.O(0,[9774,675,7570,3801,7042,2888,179],function(){return a(a.s=19525)}),_N_E=a.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.