From 551b7df58898b4f481b7bd5aa07b5ed222886a7c Mon Sep 17 00:00:00 2001 From: lichong <18518571399@163.com> Date: Thu, 14 Nov 2024 12:01:03 +0800 Subject: [PATCH] 11.14 --- package.json | 4 +- .../src/assets/excel/数据导入.xlsx | Bin 0 -> 8771 bytes src/renderer/src/views/shujudui.vue | 89 ++++++++++++++++++ 3 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 src/renderer/src/assets/excel/数据导入.xlsx diff --git a/package.json b/package.json index d66c209..3a6c1a6 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,9 @@ "dexie": "^4.0.8", "element-plus": "^2.7.1", "lodash": "^4.17.21", - "vxe-table": "^4.7.87" + "vxe-pc-ui": "^4.2.26", + "vxe-table": "^4.7.94", + "xlsx": "^0.18.5" }, "devDependencies": { "@rushstack/eslint-patch": "^1.2.0", diff --git a/src/renderer/src/assets/excel/数据导入.xlsx b/src/renderer/src/assets/excel/数据导入.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..57f45bd1cc51cf5f79aab1eea57cab67992f7e15 GIT binary patch literal 8771 zcmeHM1y@|zvTnTb#yz;Z1cC>*;O@btaVNNIf_0{*CDh(ARWI_Nc00;m8XaSZ7`SxZA06;P_06+i$ zA{xuMx_H^Rc$w??yV-b}a``zs(Y!)NWGMn5!k_=|_z&KJs`N3nJ|2+Vx#Eq?Ca3ap z!(-sX@8LuEY?>0?{b_?0R>lPm4tE7{*C6R)B1fTm{Hf&tzM~2I1{de%@Yun2Ev$sF z;ci_s3L)-+At+-P30bO#ks+*zkm4~fnYsCM+g!j)_xF8T0^N#L_CmKO;p z8dq(CME2&K#s!bVXv1e00UF?hM&fEdm#LtBNurV`V~4#oE7y!01eE=26xMA8Ny*k~ zq;$?4>!m{lvg*P@Y~jIghDTZ+b*q23q6~B?n?c(|mbyayqZ5=;MiYx?hZzm38m?Mi)F8}DYk#kfu6r+3w3jxO z8?umDwu>zpEBpjHn@u$AX=(SlCUDq^_VkimSKD6Lq0X|vL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+?dKG&%SD#g0xm7JY$Y4B``4(HKjy?F zzt+jQF{U$HxDKNZ879CUa&{bC%uYCx01e_3Kvgps4$7DFJ3DE$Jl7xQpQ2DFgzsb) z!Ag4a$5E)?Sia4O5+)l{{)`+hNz(tY+{FRY#xnKQfFUM%(0J;l8d%ikbG7pH24R)% z3`&CW@33yZ$TZzd%#uQH)_rn`NsJH@j!zf zp0Y@HFyuPCrA$s9l06RI64a15{XpCXS;L|>QJZ4AjLDl6sX)KI$=ITYpUnTJR|G^( zI5YkGcKyH3?_cx3Y2It7{N2Id8;k!k{55C6LGqV2<9);X&6Yn+KfqPvz1GWpv=Foo||33xl`+n}%DgX3@iuHdl@sFzIeJ}TGG=F;0fVYw0OSxaMx$oeLeP4du_waX){nH)*P=nW;{=vBS&HtVg|7yNM`4{s) ZGNgtI3jA~d01Wsq6i({Zzho5Pe*nTa2yp-a literal 0 HcmV?d00001 diff --git a/src/renderer/src/views/shujudui.vue b/src/renderer/src/views/shujudui.vue index 78a71ae..163b02e 100644 --- a/src/renderer/src/views/shujudui.vue +++ b/src/renderer/src/views/shujudui.vue @@ -22,6 +22,22 @@ 清空 + + + + + + 导入 + + + + + + + 导入示例模板 + @@ -58,6 +74,7 @@