CustomExport.bf45a48e.js 2.6 KB

1
  1. import{B as d}from"./TableImg.36d2dab8.js";import"./index.bc2ce3a3.js";import{E as f}from"./index.2a9b8ed3.js";import{c as _,d as n,j as E}from"./data.37ffff9d.js";import{b as C}from"./index.5dfb37d9.js";import{P as F}from"./index.ab16c1d0.js";import{av as B,a as x,a_ as t,o as b,j as g,y as r,n as p,z as M}from"./index.f9240906.js";import"./index.7133fb8f.js";import"./Checkbox.d036b137.js";import"./index.c77d3359.js";import"./index.58e9abd1.js";import"./eagerComputed.938959e2.js";import"./FileOutlined.3b0f12f3.js";import"./BasicForm.77d882bb.js";/* empty css *//* empty css */import"./index.db62f8f7.js";import"./index.fe79a0f6.js";import"./index.14dde92d.js";import"./index.6ebf08b3.js";import"./get.10de1502.js";import"./DeleteOutlined.a5ce7fb8.js";import"./transButton.bc515676.js";import"./index.12dee4f1.js";import"./index.48100a2d.js";import"./Col.46372180.js";import"./useFlexGapSupport.3936e9ba.js";import"./index.4c8ee6bd.js";import"./Form.01cea6c8.js";import"./_baseIteratee.dc5455db.js";import"./useSize.3965ca89.js";import"./uniqBy.8dd4637c.js";import"./useForm.241a9971.js";import"./FormOutlined.317a5749.js";import"./index.837faab1.js";import"./index.beaefc64.js";import"./useRefs.704645bf.js";import"./useWindowSizeFn.e05ba499.js";import"./sortable.esm.a0907b1f.js";import"./RedoOutlined.74a164b2.js";import"./FullscreenOutlined.16e551d7.js";import"./index.e73b9811.js";import"./fromPairs.84aabb58.js";import"./scrollTo.dad4e7d2.js";import"./index.41b7c2b6.js";import"./Group.1f288892.js";import"./index.4910aef7.js";import"./index.e280a527.js";import"./download.f0b284ec.js";import"./base64Conver.08b9f4ec.js";import"./index.963f7d97.js";import"./index.e6f3c6c4.js";import"./useContentViewHeight.51fb01ea.js";import"./ArrowLeftOutlined.8ef55b3d.js";import"./index.ae5f4215.js";const A=x({components:{BasicTable:d,ExpExcelModal:f,PageWrapper:F},setup(){function o({filename:i,bookType:a}){E({data:n,filename:i,write2excelOpts:{bookType:a}})}const[e,{openModal:m}]=C();return{defaultHeader:o,columns:_,data:n,register:e,openModal:m}}});function S(o,e,m,i,a,T){const s=t("a-button"),u=t("BasicTable"),c=t("ExpExcelModal"),l=t("PageWrapper");return b(),g(l,{title:"\u5BFC\u51FA\u793A\u4F8B",content:"\u53EF\u4EE5\u9009\u62E9\u5BFC\u51FA\u683C\u5F0F"},{default:r(()=>[p(u,{title:"\u57FA\u7840\u8868\u683C",columns:o.columns,dataSource:o.data},{toolbar:r(()=>[p(s,{onClick:o.openModal},{default:r(()=>[M(" \u5BFC\u51FA ")]),_:1},8,["onClick"])]),_:1},8,["columns","dataSource"]),p(c,{onRegister:o.register,onSuccess:o.defaultHeader},null,8,["onRegister","onSuccess"])]),_:1})}var $o=B(A,[["render",S]]);export{$o as default};