CustomExport-DJhRgEuO.js 1.9 KB

1
  1. import{_ as c}from"./BasicTable.vue_vue_type_script_setup_true_lang-Bm8Sj10O.js";import"./TableImg.vue_vue_type_style_index_0_lang-CEi7QgY1.js";import"./index-CJ9IJZ6V.js";import{E as l}from"./index-DURKXKVP.js";import{c as u,d as a,j as _}from"./data-BXs1i1Pg.js";import{u as d}from"./index-BzY6kAqa.js";import{P as f}from"./index-Dp1wYNZe.js";import{d as x,a9 as C,Z as k,a7 as g,a8 as t,k as r,u as o,G as E}from"./vue-ByATgq5d.js";import"./BasicForm.vue_vue_type_script_setup_true_lang-CFZcuue5.js";import"./FormItem.vue_vue_type_script_lang-BXKcfqe-.js";import"./componentMap-BCS30Piw.js";import"./useFormItem-DmfL7Ss_.js";import"./antd-FjOLgRLC.js";import"./entry/index-C17E5Aqh.js";import"./RadioButtonGroup.vue_vue_type_script_setup_true_lang-D1TWC5U3.js";import"./index-DI1OQsgv.js";import"./IconPicker.vue_vue_type_script_setup_true_lang-DvdeuzSL.js";import"./copyTextToClipboard-D9zCzvi-.js";import"./index-B1NsfGPK.js";import"./index-gY5k7B8D.js";import"./base64Conver-bBv-IO2K.js";import"./helper-BstPbuXQ.js";import"./BasicForm.vue_vue_type_style_index_0_lang-HSLsn_ym.js";import"./useForm-BVkchyna.js";import"./uuid-D0SLUWHI.js";import"./sortable.esm-CoO8jRpa.js";import"./onMountedOrActivated-BDlj7Upy.js";import"./useWindowSizeFn-D8-jNAUn.js";import"./useSortable-ByzHqV5X.js";import"./download-BGbpuxZu.js";import"./useContentViewHeight-C55F9Pfv.js";const Y=x({__name:"CustomExport",setup(S){function p({filename:e,bookType:m}){_({data:a,filename:e,write2excelOpts:{bookType:m}})}const[i,{openModal:s}]=d();return(e,m)=>{const n=C("a-button");return k(),g(o(f),{title:"导出示例",content:"可以选择导出格式"},{default:t(()=>[r(o(c),{title:"基础表格",columns:o(u),dataSource:o(a)},{toolbar:t(()=>[r(n,{onClick:o(s)},{default:t(()=>[E(" 导出 ")]),_:1},8,["onClick"])]),_:1},8,["columns","dataSource"]),r(o(l),{onRegister:o(i),onSuccess:p},null,8,["onRegister"])]),_:1})}}});export{Y as default};