From acac255e5eca644cf6769be29bf41bd7882803c4 Mon Sep 17 00:00:00 2001
From: GGJ <357021191@qq.com>
Date: Tue, 2 Jan 2024 16:34:56 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E5=9C=B0=E5=9B=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 1 +
pnpm-lock.yaml | 21 +-
src/components/echarts/MyEchart.vue | 2 +-
src/components/echarts/MyEchartMap.vue | 31 +-
src/components/form/area/index.vue | 20 +-
src/layouts/admin/index.vue | 42 ++-
src/stores/dictData.ts | 11 +-
src/views/Event-boot/Region/distribution.vue | 342 +++++++++++++------
src/views/dashboard/components/echart.vue | 11 +-
src/views/dashboard/index.vue | 16 +-
10 files changed, 355 insertions(+), 142 deletions(-)
diff --git a/package.json b/package.json
index 3839c9d..68f0cbb 100644
--- a/package.json
+++ b/package.json
@@ -15,6 +15,7 @@
"axios": "^1.6.2",
"crypto-js": "^4.2.0",
"echarts": "^5.4.3",
+ "echarts4": "npm:echarts@^4.9.0",
"element-plus": "^2.4.4",
"lodash-es": "^4.17.21",
"mitt": "^3.0.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 029a350..db99871 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1,5 +1,9 @@
lockfileVersion: '6.0'
+settings:
+ autoInstallPeers: true
+ excludeLinksFromLockfile: false
+
dependencies:
'@element-plus/icons-vue':
specifier: ^2.3.1
@@ -19,6 +23,9 @@ dependencies:
echarts:
specifier: ^5.4.3
version: 5.4.3
+ echarts4:
+ specifier: npm:echarts@^4.9.0
+ version: /echarts@4.9.0
element-plus:
specifier: ^2.4.4
version: 2.4.4(vue@3.3.13)
@@ -1234,6 +1241,12 @@ packages:
resolution: {integrity: sha512-M/MERVDZ8hguvjl6MAlLWSLYLS7PzEyXaTb5gEeJ+SF+e9iUC0sdvlzqe91MMDHBoy+nqw7wKcUOrDSyvMCrRg==}
dev: false
+ /echarts@4.9.0:
+ resolution: {integrity: sha512-+ugizgtJ+KmsJyyDPxaw2Br5FqzuBnyOWwcxPKO6y0gc5caYcfnEUIlNStx02necw8jmKmTafmpHhGo4XDtEIA==}
+ dependencies:
+ zrender: 4.3.2
+ dev: false
+
/echarts@5.4.3:
resolution: {integrity: sha512-mYKxLxhzy6zyTi/FaEbJMOZU1ULGEQHaeIeuMR5L+JnJTpz+YR03mnnpBhbR4+UYJAgiXgpyTVLffPAjOTLkZA==, tarball: https://registry.npmmirror.com/echarts/-/echarts-5.4.3.tgz}
dependencies:
@@ -1956,12 +1969,12 @@ packages:
commander: 9.5.0
dev: false
+ /zrender@4.3.2:
+ resolution: {integrity: sha512-bIusJLS8c4DkIcdiK+s13HiQ/zjQQVgpNohtd8d94Y2DnJqgM1yjh/jpDb8DoL6hd7r8Awagw8e3qK/oLaWr3g==}
+ dev: false
+
/zrender@5.4.4:
resolution: {integrity: sha512-0VxCNJ7AGOMCWeHVyTrGzUgrK4asT4ml9PEkeGirAkKNYXYzoPJCLvmyfdoOXcjTHPs10OZVMfD1Rwg16AZyYw==, tarball: https://registry.npmmirror.com/zrender/-/zrender-5.4.4.tgz}
dependencies:
tslib: 2.3.0
dev: false
-
-settings:
- autoInstallPeers: true
- excludeLinksFromLockfile: false
diff --git a/src/components/echarts/MyEchart.vue b/src/components/echarts/MyEchart.vue
index fd0094f..71ff14a 100644
--- a/src/components/echarts/MyEchart.vue
+++ b/src/components/echarts/MyEchart.vue
@@ -63,7 +63,7 @@ const initChart = () => {
grid: {
top: '50px',
left: '10px',
- right: '40px',
+ right: '60px',
bottom: '40px',
containLabel: true
},
diff --git a/src/components/echarts/MyEchartMap.vue b/src/components/echarts/MyEchartMap.vue
index ad6a691..dd0f366 100644
--- a/src/components/echarts/MyEchartMap.vue
+++ b/src/components/echarts/MyEchartMap.vue
@@ -8,8 +8,9 @@
diff --git a/src/components/form/area/index.vue b/src/components/form/area/index.vue
index b227610..28480c9 100644
--- a/src/components/form/area/index.vue
+++ b/src/components/form/area/index.vue
@@ -1,9 +1,9 @@
-