From f33e0a4d96c34fcb7c26342e880bafc4d68c4e07 Mon Sep 17 00:00:00 2001
From: Gary Gu <garygu@Garydebijibendiannao.local>
Date: Thu, 24 Jul 2025 09:14:37 +0800
Subject: [PATCH] feat: 新增智慧工地跳转URL
---
src/views/EquipmentView.vue | 43 ++++++++++++++++++++++++++++++++-----------
1 files changed, 32 insertions(+), 11 deletions(-)
diff --git a/src/views/EquipmentView.vue b/src/views/EquipmentView.vue
index 4f1d4f6..5d4161b 100644
--- a/src/views/EquipmentView.vue
+++ b/src/views/EquipmentView.vue
@@ -7,8 +7,13 @@
backgroundRepeat: 'no-repeat',
backgroundPosition: 'center center',
backgroundSize: '100% 100%',
+ display: 'flex',
+ alignItems: 'center',
}"
>
+ <span style="font-family: PangMenZhengDaoBiaoTiTi !important; font-size: 24px; letter-spacing: 2px; white-space: nowrap; margin-left: 30px"
+ >人员管理</span
+ >
</div>
<div class="bottom-nav">
<div class="top-section mb-[20px]">
@@ -45,8 +50,13 @@
backgroundRepeat: 'no-repeat',
backgroundPosition: 'center center',
backgroundSize: '100% 100%',
+ display: 'flex',
+ alignItems: 'center',
}"
>
+ <span style="font-family: PangMenZhengDaoBiaoTiTi !important; font-size: 24px; letter-spacing: 2px; white-space: nowrap; margin-left: 30px"
+ >重要设备状态</span
+ >
</div>
<div class="equipment-status" :style="sectionStyle">
<el-select v-model="deviceSelected" placeholder="请选择" @change="handleSelectChange">
@@ -105,8 +115,13 @@
backgroundRepeat: 'no-repeat',
backgroundPosition: 'center center',
backgroundSize: '100% 100%',
+ display: 'flex',
+ alignItems: 'center',
}"
>
+ <span style="font-family: PangMenZhengDaoBiaoTiTi !important; font-size: 24px; letter-spacing: 2px; white-space: nowrap; margin-left: 30px"
+ >环境监测</span
+ >
</div>
<div class="environment-grid" :style="sectionStyle">
<div class="env-item">
@@ -201,9 +216,9 @@
deviceSelected: "",
options: [],
backgroundImage: new URL("@/assets/images/backgrounds/cover_bg.png", import.meta.url).href,
- titleImage: new URL("@/assets/images/titles/renyuan.png", import.meta.url).href,
- middleImage: new URL("@/assets/images/titles/shebei.png", import.meta.url).href,
- bottomImage: new URL("@/assets/images/titles/huanjing.png", import.meta.url).href,
+ titleImage: new URL("@/assets/images/titles/xiangmu.png", import.meta.url).href,
+ middleImage: new URL("@/assets/images/titles/xiangmu.png", import.meta.url).href,
+ bottomImage: new URL("@/assets/images/titles/xiangmu.png", import.meta.url).href,
bgImage: new URL("@/assets/images/titles/title_second.png", import.meta.url).href,
enviorImage: new URL("@/assets/images/titles/wendu_bg.png", import.meta.url).href,
deviceOnline: 0,
@@ -280,14 +295,14 @@
},
data: [
{
- value: 81.5,
+ value: 0,
name: "",
itemStyle: {
color: "#00FFFF",
},
},
{
- value: 18.5,
+ value: 100,
name: "",
itemStyle: {
color: "transparent",
@@ -368,14 +383,14 @@
},
data: [
{
- value: 33,
+ value: 0,
name: "",
itemStyle: {
color: "#00FFFF",
},
},
{
- value: 77,
+ value: 100,
name: "",
itemStyle: {
color: "transparent",
@@ -456,14 +471,14 @@
},
data: [
{
- value: 20,
+ value: 0,
name: "",
itemStyle: {
color: "#00FFFF",
},
},
{
- value: 80,
+ value: 100,
name: "",
itemStyle: {
color: "transparent",
@@ -516,8 +531,8 @@
*/
handleSelectChange(val) {
this.getDeviceState(val);
- this.getEnvData(val);
- this.getUserData(val);
+ // this.getEnvData(val);
+ // this.getUserData(val);
},
/**
* 获取人员数据
@@ -1129,3 +1144,9 @@
display: none;
}
</style>
+<style lang="scss">
+ .el-scrollbar__wrap {
+ overflow-x: hidden;
+ overflow-y: scroll;
+ }
+</style>
--
Gitblit v1.9.3