设备列表

This commit is contained in:
fengerli
2025-11-17 11:17:40 +08:00
parent aa7229e21b
commit 30079ec854
3 changed files with 5 additions and 179 deletions

View File

@ -6,8 +6,8 @@ VITE_APP_ENV = 'development'
# 开发环境 # 开发环境
#VITE_APP_BASE_API = 'https://fuyuanshen.com/backend' #VITE_APP_BASE_API = 'https://fuyuanshen.com/backend'
VITE_APP_BASE_API = 'https://www.cnxhyc.com/jq' VITE_APP_BASE_API = 'https://www.cnxhyc.com/jq'
#VITE_APP_BASE_API = 'http://192.168.2.34:8000' #VITE_APP_BASE_API = 'http://192.168.2.23:8000'
#代永飞接口 #代永飞接口
# VITE_APP_BASE_API = 'http://457102h2d6.qicp.vip:24689' # VITE_APP_BASE_API = 'http://457102h2d6.qicp.vip:24689'

View File

@ -1,174 +0,0 @@
<style scoped>
.dashboard-container {
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
position: relative;
overflow: hidden;
background: radial-gradient( 0% 0% at 0% 0%, #091B2D 0%, #0C2644 100%), #267AD0;
}
/* 全屏地图 - 背景图层 */
.fullscreen-map {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
pointer-events: none;
}
/* 顶部栏 */
.top-bar {
position: relative;
z-index: 10;
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 20px;
background-color: rgba(74, 85, 104, 0.9);
color: #fff;
font-size: 14px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar h1 {
font-size: 18px;
margin: 0;
font-weight: 600;
}
.header-info {
display: flex;
gap: 16px;
align-items: center;
}
.header-info span {
font-size: 12px;
}
/* 悬浮模块容器 */
.floating-modules {
display: flex;
flex-direction: column;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: calc(100% - 60px); /* 减去顶部栏高度 */
z-index: 5;
padding: 20px;
box-sizing: border-box;
pointer-events: none;
}
.left-modules,
.right-modules {
display: flex;
flex-direction: column;
gap: 16px;
width: 100%;
flex: 1;
pointer-events: auto;
}
.bottom-middle-module {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
max-width: 800px;
pointer-events: auto;
}
.module-card {
background-color: rgba(107, 114, 128, 0.9);
border-radius: 6px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
width: 100%;
box-sizing: border-box;
overflow: hidden;
}
.module-card:hover {
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.module-header {
padding: 10px 14px;
font-size: 14px;
font-weight: 600;
color: #fff;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
display: flex;
align-items: center;
background: linear-gradient(90deg, #3b82f6, #60a5fa);
}
.module-header::before {
content: '';
display: inline-block;
width: 8px;
height: 16px;
margin-right: 8px;
border-radius: 2px;
background-color: inherit;
}
.module-content {
padding: 14px;
color: #e5e7eb;
font-size: 13px;
height: calc(100% - 36px);
box-sizing: border-box;
overflow: auto;
}
.overview-card .module-header::before { background-color: #3b82f6; }
.alarm-card .module-header::before { background-color: #ef4444; }
.realtime-card .module-header::before { background-color: #f97316; }
.module-card:nth-child(2) .module-header::before { background-color: #8b5cf6; }
.module-card:nth-child(3) .module-header::before { background-color: #06b6d4; }
@media (max-width: 1400px) {
.left-modules,
.right-modules {
width: 100%;
}
}
@media (max-width: 1200px) {
.left-modules,
.right-modules {
width: 100%;
}
.bottom-middle-module {
max-width: 600px;
}
}
@media (max-width: 900px) {
.left-modules,
.right-modules {
width: 100%;
}
.bottom-middle-module {
max-width: 500px;
}
}
@media (max-width: 768px) {
.left-modules,
.right-modules {
width: 100%;
}
.bottom-middle-module {
max-width: 100%;
}
}
</style>

View File

@ -312,11 +312,11 @@
<span style="color: #409eff">批量导入完成共检测到 <span style="color: #e6a23c">{{ importResult.total }}</span> 条数据导入成功 <span style="color: #409eff">批量导入完成共检测到 <span style="color: #e6a23c">{{ importResult.total }}</span> 条数据导入成功
<span style="color: #67c23a">{{ importResult.succeed }}</span> 失败 <span style="color: #67c23a">{{ importResult.succeed }}</span> 失败
<span style="color: red">{{ importResult.errorSun }}</span> </span> <span style="color: red">{{ importResult.errorSun }}</span> </span>
<p v-if="importResult.errorSun > 0" style="padding: 10px">
<a :href="importResult.link">>>> 上传失败明细下载 <i class="el-icon-download" /></a>
</p>
</div> </div>
</el-upload> </el-upload>
<p v-if="importResult.errorSun > 0" style="padding: 10px">
<a :href="importResult.link">>>> 上传失败明细下载 <i class="el-icon-download" /></a>
</p>
<template #footer> <template #footer>
<div class="dialog-footer"> <div class="dialog-footer">
<el-button @click="importDialogVisible = false"> </el-button> <el-button @click="importDialogVisible = false"> </el-button>