From e5ec7976493bf4d8b3ad95a8d9958be513e983e9 Mon Sep 17 00:00:00 2001 From: hwj Date: Mon, 2 Feb 2026 15:04:40 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E5=A4=A7=E5=B1=8F=E7=AE=A1?= =?UTF-8?q?=E7=90=86-=E6=95=88=E6=9E=9C=E5=9B=BE=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/report/dashboardList/index.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/views/report/dashboardList/index.vue b/src/views/report/dashboardList/index.vue index bf98f4ee..35b35764 100644 --- a/src/views/report/dashboardList/index.vue +++ b/src/views/report/dashboardList/index.vue @@ -72,7 +72,7 @@
封面图
@@ -208,6 +208,8 @@ import { getStrDictOptions, DICT_TYPE } from '@/utils/dict' import request from '@/config/axios' import defaultImage from '@/assets/imgs/logo.png' +import dashboardImage1 from '@/assets/imgs/dashboard1.png' +import dashboardImage2 from '@/assets/imgs/dashboard2.png' import { OrganizationApi } from '@/api/mes/organization' import { handleTree } from '@/utils/tree' import { DeviceApi } from '@/api/iot/device' @@ -235,6 +237,16 @@ const loading = ref(false) const list = ref([]) const total = ref(0) +const getDashboardImage = (item: DashboardItem) => { + if (item.name === '智能制造产线任务总览') { + return dashboardImage1 + } + if (item.name === '产线运行看板') { + return dashboardImage2 + } + return item.indexImage || defaultImage +} + const queryParams = reactive({ pageNo: 1, pageSize: 10,