PageSourceSearch

https://nxavis.com/assets/ItemList.2ca5b8c6.js

js nxavis.com collected 2026-10-03 21:11:46 UTC 3,557 bytes, 1 lines download raw bytes

1import{a as S,o as h,a5 as w,Q as C,x as _,f as E,g as I,h as u,i as s,w as m,O as D,z as R,c as y}from"./index.e4c430e7.js";/* empty css               *//* empty css             *//* empty css                        */import{A as G}from"./AgGridVue.f2b5d7ab.js";import{u as L}from"./index.82728178.js";import{e as k}from"./exportGridToExcel.71e623d0.js";import{_ as z}from"./_plugin-vue_export-helper.cdc0426e.js";import"./helper.68fbba0b.js";import"./gridSettings.ec8857e1.js";import"./hangulSearch.ca95db2a.js";import"./exceljs.min.81b0ef3f.js";import"./_commonjs-dynamic-modules.30ae7933.js";const F={name:"ItemList",components:{AgGridVue:G},setup(){const n=L(),t=S(null),f=S(null),o=e=>{t.value=e.api,f.value=e.columnApi,setTimeout(()=>{t.value.forEachNode(a=>{a.setSelected(a.rowIndex===0)})},300)},p=e=>e.data.extraServiceSn,v=e=>{n.itemForm.setFormData(e.data),n.itemList.setInputExtraServiceSn(e.data.extraServiceSn)},l=()=>{const e=t.value.getSelectedRows();n.itemForm.setFormData(e[0]);const a=e[0].extraServiceSn;n.itemListPay.payInfo.extraServiceSn=a,n.storeGetExtraServicePay(a)},i=()=>{t.value.sizeColumnsToFit({defaultMinWidth:70,columnLimits:[{key:"cloudGroupName",minWidth:130}]})};h(()=>{setTimeout(()=>t.value.sizeColumnsToFit(),500),c()}),w(()=>{window.removeEventListener("resize",i)});const c=()=>{window.addEventListener("resize",i)},d=()=>{if(t.value==null)return;let e=null;const a=t.value.paginationGetPageSize(),x=n.itemList.getInputExtraServiceSn;t.value.forEachNode(r=>{r.data.extraServiceSn===x&&(r.setSelected(!0),e=Math.floor(r.rowIndex/a),t.value.paginationGoToPage(e),t.value.ensureNodeVisible(r,"middle"))})},g=async()=>{const e=t.value.getColumnDefs(),a={fileName:"\uBCC4\uB3C4\uC11C\uBE44\uC2A4\uB9AC\uC2A4\uD2B8-"+D().format("YYYY-MM-DD"),sheetName:"\uBCC4\uB3C4\uC11C\uBE44\uC2A4\uB9AC\uC2A4\uD2B8"};await k(t.value,e,a)};return C([()=>n.itemSearch.searchInfo.cloudGroupName,()=>n.itemSearch.searchInfo.extraServiceInvoiceContent,()=>n.itemSearch.searchInfo.salesUserName],()=>t.value.onFilterChanged()),{store:n,getRowId:p,onGridReady:o,onRowClicked:v,onSelectionChanged:l,onRowDataUpdated:d,onBtnExport:g}}},N={style:{height:"100%"}},B={class:"flex justify-between pb-1"},b=u("div",{class:"text_black_250B"}," \uBCC4\uB3C4 \uC11C\uBE44\uC2A4 \uB9AC\uC2A4\uD2B8 ",-1),P=u("span",null," \uC5D1\uC140 \uB2E4\uC6B4\uB85C\uB4DC ",-1);function T(n,t,f,o,p,v){const l=_("Download"),i=R,c=y,d=_("ag-grid-vue");return E(),I("div",N,[u("div",B,[b,s(c,{id:"extraServiceDetailDownloadCsvBtn",class:"el-button_green text-sm",size:"small",plain:"",onClick:o.onBtnExport},{icon:m(()=>[s(i,null,{default:m(()=>[s(l)]),_:1})]),default:m(()=>[P]),_:1},8,["onClick"])]),s(d,{class:"ag-theme-alpine",style:{height:"calc(100vh - 267px)"},"column-defs":o.store.itemList.gridInfo.columnDefs,"row-data":o.store.itemList.gridInfo.rowData,"default-col-def":o.store.itemList.gridInfo.defaultColDef,"animate-rows":"true","row-selection":"single","enable-cell-text-selection":"true",pagination:!0,"get-row-id":o.getRowId,"on-row-clicked":o.onRowClicked,"is-external-filter-present":o.store.itemSearch.isExternalFilterPresent,"does-external-filter-pass":o.store.itemSearch.doesExternalFilterPass,onGridReady:o.onGridReady,onSelectionChanged:o.onSelectionChanged,onRowDataUpdated:o.onRowDataUpdated},null,8,["column-defs","row-data","default-col-def","get-row-id","on-row-clicked","is-external-filter-present","does-external-filter-pass","onGridReady","onSelectionChanged","onRowDataUpdated"])])}const X=z(F,[["render",T]]);export{X 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.