From 809897c2ec67c55f7badac67ac1bddbce8679c07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Tue, 25 Jun 2024 17:20:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9B=BE=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jsconfig.json | 19 + package.json | 2 +- src/components/Charts/Chart.vue | 35 ++ .../ems/report/currentVoltageCurve/index.vue | 348 ++++++++++++++++-- 4 files changed, 371 insertions(+), 33 deletions(-) create mode 100644 jsconfig.json create mode 100644 src/components/Charts/Chart.vue diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..4aafc5f --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "target": "es5", + "module": "esnext", + "baseUrl": "./", + "moduleResolution": "node", + "paths": { + "@/*": [ + "src/*" + ] + }, + "lib": [ + "esnext", + "dom", + "dom.iterable", + "scripthost" + ] + } +} diff --git a/package.json b/package.json index d9f6b64..f0a3beb 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "af-table-column": "^1.0.3", "axios": "0.24.0", "clipboard": "2.0.8", - "core-js": "3.25.3", + "core-js": "^3.37.1", "echarts": "5.4.0", "element-ui": "2.15.14", "file-saver": "2.0.5", diff --git a/src/components/Charts/Chart.vue b/src/components/Charts/Chart.vue new file mode 100644 index 0000000..0899129 --- /dev/null +++ b/src/components/Charts/Chart.vue @@ -0,0 +1,35 @@ + + + diff --git a/src/views/ems/report/currentVoltageCurve/index.vue b/src/views/ems/report/currentVoltageCurve/index.vue index 00427bb..ee85e43 100644 --- a/src/views/ems/report/currentVoltageCurve/index.vue +++ b/src/views/ems/report/currentVoltageCurve/index.vue @@ -54,9 +54,9 @@ 重置 - - - + + + @@ -109,17 +109,19 @@ + + + - @@ -127,17 +129,20 @@ +