From 29a89ff21b9b4cf2c860a800c5eccca0520a6e2e Mon Sep 17 00:00:00 2001 From: jiangzhe <244140623@qq.com> Date: Mon, 27 May 2024 10:45:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E5=8A=9F=E8=83=BD=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- .../activity/component/schedule/index.vue | 2 +- src/views/archive/information/index.vue | 3 +- src/views/bigScreen/index.vue | 26 +++++---- src/views/index.vue | 58 ++++++++----------- src/views/scale/SysScaleList/index.vue | 10 +++- src/views/system/user/index.vue | 16 +---- 7 files changed, 52 insertions(+), 65 deletions(-) diff --git a/src/App.vue b/src/App.vue index 41ffdd4..80172fa 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,6 @@ diff --git a/src/views/activity/component/schedule/index.vue b/src/views/activity/component/schedule/index.vue index c61fe9b..158c28d 100644 --- a/src/views/activity/component/schedule/index.vue +++ b/src/views/activity/component/schedule/index.vue @@ -24,7 +24,7 @@ {{ info.sessionName }} {{ info.createName }} - + {{ info.expireTime }} diff --git a/src/views/archive/information/index.vue b/src/views/archive/information/index.vue index c5f556e..9c8c288 100644 --- a/src/views/archive/information/index.vue +++ b/src/views/archive/information/index.vue @@ -289,7 +289,6 @@ const handleUpdate = async (row?: any) => { current.value.userId = row.userId current.value.nickName = row.nickName - getStaticList() // const _warnId = row?.warnId || ids.value[0] @@ -330,7 +329,7 @@ function handleExport(row: any) { recordId: row.recordId, userId: current.value.userId, nickName: current.value.nickName - }, `${current.value.nickName}.pdf`) + }, `${current.value.nickName}-${row.scaleName}.pdf`) } onMounted(() => { diff --git a/src/views/bigScreen/index.vue b/src/views/bigScreen/index.vue index fb51d60..8f120e6 100644 --- a/src/views/bigScreen/index.vue +++ b/src/views/bigScreen/index.vue @@ -81,7 +81,7 @@ 完成数量 时间 - +
{{ item.sessionName }} {{ item.value }} / {{ item.total }} @@ -99,7 +99,7 @@
-
预警统计
+
风险统计
当年 @@ -143,6 +143,10 @@ use([ let showTime = ref('') let timer: any = null +const classOptions = { + step: 20 +} + function time() { let dt = new Date(); let y = dt.getFullYear(); @@ -364,9 +368,9 @@ const centerBar1Option = ref({ }, grid: { top: "20%", - right: "50", + right: "40", bottom: "30", - left: "30", + left: "40", }, legend: { data: [], @@ -710,9 +714,9 @@ const rightBar1Option = ref({ axisPointer: { type: 'shadow' }, }, "grid": { "top": "15%", - "right": "10%", + "right": "6%", "bottom": "30", - "left": "10%", + "left": "6%", }, legend: { data: ['预警数', '干预数'], @@ -842,8 +846,8 @@ async function getHalfMonthData() { res.data.forEach(v => { xAxisData.push(v.name) - warnData.push(v.value) - interveneData.push(v.spareValue) + warnData.push(v.spareValue) + interveneData.push(v.value) }); rightBar1Option.value.xAxis[0].data = xAxisData @@ -884,11 +888,11 @@ const rightPie2Option = ref({ } }, series: [{ - name: '预警统计', + name: '风险统计', type: 'pie', radius: ['50%', '70%'], center: ['50%', '50%'], - color: ['rgb(131,249,103)', '#FBFE27', '#FE5050', '#1DB7E5'], //'#FBFE27','rgb(11,228,96)','#FE5050' + // color: ['rgb(131,249,103)', '#FBFE27', '#FE5050', '#1DB7E5'], //'#FBFE27','rgb(11,228,96)','#FE5050' data: [], roseType: 'radius', label: { @@ -1278,4 +1282,4 @@ li { } } } - \ No newline at end of file + diff --git a/src/views/index.vue b/src/views/index.vue index 448b332..31b2cca 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1,7 +1,7 @@