vue2server7 3.0.2 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/frontEnd/public/logo.gif +0 -0
- package/frontEnd/public/logo.jpg +0 -0
- package/frontEnd/src/pages/ExportExcelPage.vue +13 -0
- package/frontEnd/src/router/routes.js +10 -0
- package/frontEnd/src/utils/exprotExcel.ts +760 -0
- package/frontEnd/vite.config.ts +18 -0
- package/package.json +18 -6
- package/test/docs.zip +0 -0
- package/1992 +0 -1
- package/frontEnd/package-lock.json +0 -3279
- package/frontEnd/package.json +0 -29
- /package/{frontEnd/vite.config.js → test/convert-java-to-ts.js} +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<button @click="handleExport">导出Excel</button>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup lang="ts">
|
|
8
|
+
import { exportBankExcelWithDefaultLogo } from '../utils/exprotExcel'
|
|
9
|
+
|
|
10
|
+
const handleExport = async (): Promise<void> => {
|
|
11
|
+
await exportBankExcelWithDefaultLogo()
|
|
12
|
+
}
|
|
13
|
+
</script>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import TablePage from '../pages/TablePage.vue'
|
|
2
2
|
import CascaderPage from '../pages/CascaderPage.vue'
|
|
3
|
+
import ExportExcelPage from '../pages/ExportExcelPage.vue'
|
|
3
4
|
|
|
4
5
|
export const routes = [
|
|
5
6
|
{
|
|
@@ -23,5 +24,14 @@ export const routes = [
|
|
|
23
24
|
title: '级联选择',
|
|
24
25
|
showInMenu: true
|
|
25
26
|
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
path: '/export-excel',
|
|
30
|
+
name: 'ExportExcel',
|
|
31
|
+
component: ExportExcelPage,
|
|
32
|
+
meta: {
|
|
33
|
+
title: '导出Excel',
|
|
34
|
+
showInMenu: true
|
|
35
|
+
}
|
|
26
36
|
}
|
|
27
37
|
]
|