From ab88bc38ee51a583980cb30ad1d7ba3682db2522 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 15 Mar 2023 16:58:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=A1=E8=AE=B0=E5=BD=95=E5=AF=BC?= =?UTF-8?q?=E5=87=BAexcel=E5=B8=A6=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 +- public/index.html | 1 + public/xlsx.full.min.js | 20 ++++ src/views/hrm/clock_record.vue | 198 +++++++++++++++++++++++++++------ vue.config.js | 10 ++ 5 files changed, 199 insertions(+), 34 deletions(-) create mode 100644 public/xlsx.full.min.js diff --git a/package.json b/package.json index 72b9b337..07abbbc8 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "codemirror": "5.65.5", "core-js": "3.22.8", "cropperjs": "1.5.12", + "crypto-browserify": "^3.12.0", "crypto-js": "4.1.1", "d3": "^7.6.1", "dagre": "^0.8.5", @@ -34,7 +35,8 @@ "vuex": "4.0.2", "xgplayer": "2.31.6", "xgplayer-hls": "2.5.2", - "xlsx": "^0.18.5" + "xlsx": "^0.18.5", + "xlsx-style": "^0.8.13" }, "devDependencies": { "@babel/core": "7.18.2", diff --git a/public/index.html b/public/index.html index 3eda4202..881a32cb 100644 --- a/public/index.html +++ b/public/index.html @@ -11,6 +11,7 @@ +