修改 变电站总数量 趋势图

This commit is contained in:
GGJ
2024-08-08 12:40:56 +08:00
parent 455c7be84f
commit d04336e1c8
4 changed files with 96 additions and 91 deletions

View File

@@ -1,86 +1,88 @@
{ {
"name": "canneng-admin", "name": "canneng-admin",
"private": true, "private": true,
"version": "0.0.0", "version": "0.0.0",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite --mode dev",
"build": "vite build ", "dev:jibei": "vite --mode jibei",
"preview": "vite preview" "build": "vite build --mode dev",
}, "build:jibei": "vite build --mode jibei",
"dependencies": { "preview": "vite preview"
"@ant-design/colors": "^7.0.2", },
"@element-plus/icons-vue": "^2.3.1", "dependencies": {
"@form-create/designer": "^3.1.3", "@ant-design/colors": "^7.0.2",
"@form-create/element-ui": "^3.1.24", "@element-plus/icons-vue": "^2.3.1",
"@fortawesome/fontawesome-free": "^6.5.1", "@form-create/designer": "^3.1.3",
"@vue-office/docx": "^1.6.2", "@form-create/element-ui": "^3.1.24",
"@vue-office/excel": "^1.7.8", "@fortawesome/fontawesome-free": "^6.5.1",
"@vue-office/pdf": "^2.0.2", "@vue-office/docx": "^1.6.2",
"@vueuse/core": "^10.7.0", "@vue-office/excel": "^1.7.8",
"@wangeditor/editor": "^5.1.23", "@vue-office/pdf": "^2.0.2",
"@wangeditor/editor-for-vue": "^5.1.12", "@vueuse/core": "^10.7.0",
"axios": "^1.6.2", "@wangeditor/editor": "^5.1.23",
"bpmn-js": "8.9.0", "@wangeditor/editor-for-vue": "^5.1.12",
"bpmn-js-properties-panel": "0.46.0", "axios": "^1.6.2",
"bpmn-js-token-simulation": "^0.10.0", "bpmn-js": "8.9.0",
"bpmn-moddle": "^6.0.0", "bpmn-js-properties-panel": "0.46.0",
"camunda-bpmn-moddle": "^7.0.1", "bpmn-js-token-simulation": "^0.10.0",
"crypto-js": "^4.2.0", "bpmn-moddle": "^6.0.0",
"dayjs": "^1.11.10", "camunda-bpmn-moddle": "^7.0.1",
"diagram-js": "^11.4.1", "crypto-js": "^4.2.0",
"diagram-js-minimap": "^2.0.4", "dayjs": "^1.11.10",
"echarts": "^5.4.3", "diagram-js": "^11.4.1",
"echarts-gl": "^2.0.9", "diagram-js-minimap": "^2.0.4",
"echarts-liquidfill": "^3.1.0", "echarts": "^5.4.3",
"echarts4": "npm:echarts@^4.9.0", "echarts-gl": "^2.0.9",
"element-plus": "^2.7.2", "echarts-liquidfill": "^3.1.0",
"exceljs": "^4.4.0", "echarts4": "npm:echarts@^4.9.0",
"file-saver": "^2.0.5", "element-plus": "^2.7.2",
"html2canvas": "^1.4.1", "exceljs": "^4.4.0",
"jquery": "^3.7.1", "file-saver": "^2.0.5",
"js-pinyin": "^0.2.5", "html2canvas": "^1.4.1",
"jsencrypt": "^3.3.2", "jquery": "^3.7.1",
"less": "^4.2.0", "js-pinyin": "^0.2.5",
"lodash-es": "^4.17.21", "jsencrypt": "^3.3.2",
"luckyexcel": "^1.0.1", "less": "^4.2.0",
"luckysheet": "^2.1.13", "lodash-es": "^4.17.21",
"min-dash": "^4.2.1", "luckyexcel": "^1.0.1",
"mitt": "^3.0.1", "luckysheet": "^2.1.13",
"nprogress": "^0.2.0", "min-dash": "^4.2.1",
"pinia": "^2.1.7", "mitt": "^3.0.1",
"pinia-plugin-persistedstate": "^3.2.1", "nprogress": "^0.2.0",
"qs": "^6.12.0", "pinia": "^2.1.7",
"screenfull": "^6.0.2", "pinia-plugin-persistedstate": "^3.2.1",
"splitpanes": "^3.1.5", "qs": "^6.12.0",
"steady-xml": "0.1.0", "screenfull": "^6.0.2",
"use-element-plus-theme": "^0.0.5", "splitpanes": "^3.1.5",
"vue": "^3.3.11", "steady-xml": "0.1.0",
"vue-baidu-map-3x": "^1.0.35", "use-element-plus-theme": "^0.0.5",
"vue-baidu-map-offline": "^1.0.7", "vue": "^3.3.11",
"vue-demi": "^0.14.8", "vue-baidu-map-3x": "^1.0.35",
"vue-draggable-resizable": "3.0.0-beta.2", "vue-baidu-map-offline": "^1.0.7",
"vue-i18n": "9.10.2", "vue-demi": "^0.14.8",
"vue-router": "4", "vue-draggable-resizable": "3.0.0-beta.2",
"vue-types": "^5.1.1", "vue-i18n": "9.10.2",
"vxe-table": "^4.5.17", "vue-router": "4",
"vxe-table-plugin-export-xlsx": "^4.0.1", "vue-types": "^5.1.1",
"web-storage-cache": "^1.1.1", "vxe-table": "^4.5.17",
"xe-utils": "^3.5.14", "vxe-table-plugin-export-xlsx": "^4.0.1",
"yarn": "^1.22.22" "web-storage-cache": "^1.1.1",
}, "xe-utils": "^3.5.14",
"devDependencies": { "yarn": "^1.22.22"
"@purge-icons/generated": "^0.9.0", },
"@types/lodash-es": "^4.17.12", "devDependencies": {
"@types/node": "^20.10.5", "@purge-icons/generated": "^0.9.0",
"@types/splitpanes": "^2.2.6", "@types/lodash-es": "^4.17.12",
"@vitejs/plugin-vue": "^4.5.2", "@types/node": "^20.10.5",
"@vitejs/plugin-vue-jsx": "^3.1.0", "@types/splitpanes": "^2.2.6",
"sass": "^1.69.5", "@vitejs/plugin-vue": "^4.5.2",
"typescript": "^5.2.2", "@vitejs/plugin-vue-jsx": "^3.1.0",
"unplugin-auto-import": "^0.16.7", "sass": "^1.69.5",
"vite": "^5.0.8", "typescript": "^5.2.2",
"vite-plugin-mkcert": "^1.17.3", "unplugin-auto-import": "^0.16.7",
"vue-tsc": "^1.8.25" "vite": "^5.0.8",
} "vite-plugin-mkcert": "^1.17.3",
"vue-tsc": "^1.8.25"
}
} }

View File

@@ -42,7 +42,7 @@
<vxe-column field="num" title="监测点个数" sortable :formatter="formatter" /> <vxe-column field="num" title="监测点个数" sortable :formatter="formatter" />
<vxe-column field="integrityRate" sortable title="完整率(%)" /> <vxe-column field="integrityRate" sortable title="完整率(%)" />
<vxe-column field="onLineRate" sortable title="在线率(%)" /> <vxe-column field="onLineRate" sortable title="在线率(%)" />
<vxe-column field="outOfStandardRate" sortable title="超标监测点占比(%)" /> <vxe-column field="outOfStandardRate" sortable title="超标监测点占比(%)" />
</vxe-table> </vxe-table>
</div> </div>
</el-dialog> </el-dialog>
@@ -68,6 +68,7 @@ const trendEChart: any = ref()
const picEChart = ref() const picEChart = ref()
const open = async (row: any) => { const open = async (row: any) => {
time.value = '1'
rowList.value = { rowList.value = {
deviceInfoParam: { deviceInfoParam: {
...row ...row
@@ -99,8 +100,8 @@ const analysis = (e: any) => {
let num = 0 let num = 0
for (let k in res.data) { for (let k in res.data) {
name.push(k) name.push(k)
num = num + res.data[k] // num = num + res.data[k]
data.push(num) data.push(res.data[k])
} }
trendEChart.value = { trendEChart.value = {

View File

@@ -101,6 +101,7 @@ const tableData: any = ref([])
const picEChart: any = ref([{}, {}, {}, {}, {}]) const picEChart: any = ref([{}, {}, {}, {}, {}])
const open = async (row: any) => { const open = async (row: any) => {
time.value = '1'
rowList.value = { rowList.value = {
deviceInfoParam: { deviceInfoParam: {
...row ...row
@@ -289,8 +290,8 @@ const analysis = (e: any) => {
let num = 0 let num = 0
for (let k in res.data) { for (let k in res.data) {
name.push(k) name.push(k)
num = num + res.data[k] // num = num + res.data[k]
data.push(num) data.push(res.data[k])
} }
trendEChart.value = { trendEChart.value = {

View File

@@ -84,6 +84,7 @@ const trendEChart: any = ref({})
const picEChart = ref() const picEChart = ref()
const open = async (row: any) => { const open = async (row: any) => {
time.value = '1'
rowList.value = { rowList.value = {
deviceInfoParam: { deviceInfoParam: {
...row ...row
@@ -184,8 +185,8 @@ const analysis = (e: any) => {
let num = 0 let num = 0
for (let k in res.data) { for (let k in res.data) {
name.push(k) name.push(k)
num = num + res.data[k] // num = num + res.data[k]
data.push(num) data.push(res.data[k])
} }
trendEChart.value = { trendEChart.value = {