From 8e38cc8536cfda9b6bda8548d63778cbf5f4d634 Mon Sep 17 00:00:00 2001 From: web <candymxq888@outlook.com> Date: 星期六, 26 四月 2025 17:27:57 +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