diff --git a/package-lock.json b/package-lock.json index c97ee00..7072271 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,6 +14,7 @@ "@types/qs": "^6.9.18", "@unocss/reset": "^66.0.0", "axios": "^1.8.4", + "big.js": "^7.0.1", "dayjs": "^1.11.13", "dexie": "^4.0.11", "echarts": "^5.6.0", @@ -32,6 +33,7 @@ "devDependencies": { "@iconify/json": "^2.2.310", "@tsconfig/node22": "^22.0.0", + "@types/big.js": "^6.2.2", "@types/node": "^24.2.1", "@unocss/preset-icons": "^66.0.0", "@unocss/preset-rem-to-px": "^66.0.0", @@ -2211,6 +2213,13 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/big.js": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/@types/big.js/-/big.js-6.2.2.tgz", + "integrity": "sha512-e2cOW9YlVzFY2iScnGBBkplKsrn2CsObHQ2Hiw4V1sSyiGbgWL8IyqE3zFi1Pt5o1pdAtYkDAIsF3KKUPjdzaA==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/d3-array": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.1.tgz", @@ -3680,12 +3689,16 @@ "license": "MIT" }, "node_modules/big.js": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", - "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-7.0.1.tgz", + "integrity": "sha512-iFgV784tD8kq4ccF1xtNMZnXeZzVuXWWM+ERFzKQjv+A5G9HC8CY3DuV45vgzFFcW+u2tIvmF95+AzWgs6BjCg==", "license": "MIT", "engines": { "node": "*" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/bigjs" } }, "node_modules/binary-extensions": { @@ -5724,6 +5737,15 @@ "node": ">=8.9.0" } }, + "node_modules/loader-utils/node_modules/big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "license": "MIT", + "engines": { + "node": "*" + } + }, "node_modules/local-pkg": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-1.1.1.tgz", diff --git a/package.json b/package.json index 88b8f96..9c50afe 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "@types/qs": "^6.9.18", "@unocss/reset": "^66.0.0", "axios": "^1.8.4", + "big.js": "^7.0.1", "dayjs": "^1.11.13", "dexie": "^4.0.11", "echarts": "^5.6.0", @@ -38,6 +39,7 @@ "devDependencies": { "@iconify/json": "^2.2.310", "@tsconfig/node22": "^22.0.0", + "@types/big.js": "^6.2.2", "@types/node": "^24.2.1", "@unocss/preset-icons": "^66.0.0", "@unocss/preset-rem-to-px": "^66.0.0", diff --git a/src/views/stationData/component/line-dlg.vue b/src/views/stationData/component/line-dlg.vue new file mode 100644 index 0000000..feec660 --- /dev/null +++ b/src/views/stationData/component/line-dlg.vue @@ -0,0 +1,197 @@ + + + + + diff --git a/src/views/stationData/component/newDataChart.vue b/src/views/stationData/component/newDataChart.vue index 37c16e0..92d6c58 100644 --- a/src/views/stationData/component/newDataChart.vue +++ b/src/views/stationData/component/newDataChart.vue @@ -7,22 +7,26 @@ :autoresize="autoresize" :loading-options="loadingOpt" :loading="loading" - /> + @click="onChartClick" + /> +