From 9631059731ceb3e119101de3f7e27f6dd76da324 Mon Sep 17 00:00:00 2001 From: web <candymxq888@outlook.com> Date: 星期三, 23 四月 2025 17:21:55 +0800 Subject: [PATCH] fix:修改水温报表,配置测试环境 --- src/views/screen/temperature/shebei/index.vue | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/views/screen/temperature/shebei/index.vue b/src/views/screen/temperature/shebei/index.vue index 3ce6d4e..4a3434f 100644 --- a/src/views/screen/temperature/shebei/index.vue +++ b/src/views/screen/temperature/shebei/index.vue @@ -1,9 +1,8 @@ <script setup> import {ref, onMounted} from "vue"; import facilityApi from "@/api/facility/index"; -import { getTemperatureMenu } from '@/api/screen/shebei/index.js' +import { getTemperatureMenu, getTempShebeiList } from '@/api/screen/shebei/index.js' import {getUserType} from '@/utils/auth.js' -import setPostParams from "@/utils/searchParams.js"; import {useRouter} from "vue-router"; const router = useRouter(); const imgBaseUrl = import.meta.env.VITE_APP_IMG_BASEURL; //图片前缀 @@ -29,9 +28,8 @@ // 获取设备 const getDataList = () => { - let postParam = setPostParams() - facilityApi().search({ ...postParam, keywords: searchVal.value }).then(res => { - deviceList.value = res.data.list + getTempShebeiList({ facilityName: searchVal.value }).then(res => { + deviceList.value = res.data }) } @@ -196,7 +194,6 @@ flex-shrink: 0; width: 80%; height: 100%; - background: linear-gradient( 180deg, #91BDDB 0%, rgba(102, 102, 102, 0.5) 100%); .monitor-tool{ width: 100%; height: 60px; @@ -223,6 +220,7 @@ } } .monitor-box{ + background: linear-gradient( 180deg, #91BDDB 0%, rgba(102, 102, 102, 0.5) 100%); height: calc(100% - 60px); padding-top: 10px; .list{ -- Gitblit v1.9.3