From aa29ef5646f0353e3425bfb8256d37c6e107afe2 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Fri, 22 Nov 2024 13:56:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=AF=86=E9=85=8D=E7=BD=AE=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 + public/index.html | 6 +- public/static/map/map_city.js | 48 ----- public/static/map/map_load.js | 5 +- public/static/map/map_plus.js | 4 - src/components/home/locationDialog.vue | 20 +- src/components/substation/manDetect.vue | 20 +- src/main.js | 12 +- src/utils/aescbc.js | 45 +++++ src/utils/bonus.js | 234 +++++++++++++++++++++ src/utils/jsencrypt.js | 12 +- src/utils/passwordConfig.js | 14 ++ src/utils/permission.js | 12 +- src/utils/request.js | 258 +++++++++++++----------- src/utils/sm.js | 17 ++ src/utils/validate.js | 137 ++++++++++++- 16 files changed, 621 insertions(+), 225 deletions(-) delete mode 100644 public/static/map/map_city.js delete mode 100644 public/static/map/map_plus.js create mode 100644 src/utils/aescbc.js create mode 100644 src/utils/bonus.js create mode 100644 src/utils/passwordConfig.js create mode 100644 src/utils/sm.js diff --git a/package.json b/package.json index 734ae03..8dcecac 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "axios": "0.24.0", "clipboard": "2.0.8", "core-js": "^3.38.0", + "crypto-js": "^4.2.0", "echarts": "5.4.0", "element-ui": "2.15.13", "file-saver": "^2.0.5", @@ -60,6 +61,7 @@ "qrcodejs2": "0.0.2", "quill": "1.3.7", "screenfull": "5.0.2", + "sm-crypto": "^0.3.13", "sortablejs": "1.10.2", "uuid": "^9.0.1", "vue": "2.6.12", diff --git a/public/index.html b/public/index.html index c636e07..459ed2c 100644 --- a/public/index.html +++ b/public/index.html @@ -10,10 +10,10 @@ <%= webpackConfig.name %> - - + +