From eeda4040a76399c6b51e72b64c0d61c79cf3d7c0 Mon Sep 17 00:00:00 2001 From: biancangming <942242856@qq.com> Date: Fri, 15 Mar 2024 17:45:32 +0800 Subject: [PATCH] =?UTF-8?q?excel=E6=89=A9=E5=B1=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/xlsxView/demo/xlsxExport/index.md | 1 + .../views/xlsxView/demo/xlsxExport/index.vue | 55 +++++++++++++++++ .../views/xlsxView/demo/xlsxImport/index.vue | 13 +++- example/src/views/xlsxView/index.vue | 10 +++- package.json | 3 - src/utils/util.ts | 4 +- src/xlsx/index.ts | 4 +- src/xlsx/tools/xlsx-json.ts | 60 +++++++++++++++++-- 8 files changed, 136 insertions(+), 14 deletions(-) create mode 100644 example/src/views/xlsxView/demo/xlsxExport/index.md create mode 100644 example/src/views/xlsxView/demo/xlsxExport/index.vue diff --git a/example/src/views/xlsxView/demo/xlsxExport/index.md b/example/src/views/xlsxView/demo/xlsxExport/index.md new file mode 100644 index 0000000..29c95ce --- /dev/null +++ b/example/src/views/xlsxView/demo/xlsxExport/index.md @@ -0,0 +1 @@ +@[js](./src/views/echartsView/demo/BarEchart/index.vue) diff --git a/example/src/views/xlsxView/demo/xlsxExport/index.vue b/example/src/views/xlsxView/demo/xlsxExport/index.vue new file mode 100644 index 0000000..5d5e2a6 --- /dev/null +++ b/example/src/views/xlsxView/demo/xlsxExport/index.vue @@ -0,0 +1,55 @@ + + diff --git a/example/src/views/xlsxView/demo/xlsxImport/index.vue b/example/src/views/xlsxView/demo/xlsxImport/index.vue index 1b7c22e..b0b6107 100644 --- a/example/src/views/xlsxView/demo/xlsxImport/index.vue +++ b/example/src/views/xlsxView/demo/xlsxImport/index.vue @@ -1,14 +1,25 @@ diff --git a/example/src/views/xlsxView/index.vue b/example/src/views/xlsxView/index.vue index 40bafc5..8fdf6f2 100644 --- a/example/src/views/xlsxView/index.vue +++ b/example/src/views/xlsxView/index.vue @@ -1,5 +1,11 @@