From 90c6a3c9e7ce7e17f85076aaa9fb7fe63b107d0d Mon Sep 17 00:00:00 2001
From: 艺术家 <10819716+q100102@user.noreply.gitee.com>
Date: 星期一, 09 六月 2025 11:34:16 +0800
Subject: [PATCH] 代码优化
---
项目代码/可视化大屏/client/src/views/Index.vue | 33 +++++++++++++--------------------
1 files changed, 13 insertions(+), 20 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/\345\217\257\350\247\206\345\214\226\345\244\247\345\261\217/client/src/views/Index.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/\345\217\257\350\247\206\345\214\226\345\244\247\345\261\217/client/src/views/Index.vue"
index b4c48e9..757d75b 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/\345\217\257\350\247\206\345\214\226\345\244\247\345\261\217/client/src/views/Index.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/\345\217\257\350\247\206\345\214\226\345\244\247\345\261\217/client/src/views/Index.vue"
@@ -5,7 +5,7 @@
display: flex;
justify-content: center;
color: #fff;
- font-size: 15rem;
+ font-size: 20rem;
letter-spacing: 5rem;
font-weight: bold;
"
@@ -20,7 +20,7 @@
align-items: center;
color: #fff;
font-size: 3rem;
- margin-top: 3rem;
+ margin-top: 1rem;
"
>
<div
@@ -47,7 +47,7 @@
color: #fff;
font-weight: bold;
margin-top: 5rem;
- font-size: 10rem;
+ font-size: 12rem;
"
>
<span> CR400AF</span>
@@ -83,7 +83,7 @@
<div
style="
height: 5rem;
- font-size: 6rem;
+ font-size: 7rem;
font-weight: bold;
display: flex;
align-items: center;
@@ -121,7 +121,7 @@
<div
style="
width: 40%;
- font-size: 6rem;
+ font-size: 7rem;
color: #fff;
background-color: #058f66;
border-radius: 1.5rem;
@@ -134,7 +134,7 @@
<div
style="
width: 40%;
- font-size: 6rem;
+ font-size: 7rem;
color: #fff;
background-color: #d9001b;
border-radius: 1.5rem;
@@ -160,11 +160,11 @@
<div style="color: #fff">妫�淇汉鍛樺垪琛�</div>
<div style="color: #fff">
姝e湪妫�淇汉鍛樻暟閲�:
- <span style="font-size: 4rem">{{ totalCount }}</span
+ <span style="font-size: 4rem">{{ pageTotal }}</span
>浣�
</div>
</div>
- <div style="width: 90%; margin-top: 2rem">
+ <div style="width: 98%; margin-top: 2rem">
<el-table
empty-text="鏆傛棤鏁版嵁"
:data="tableData"
@@ -179,14 +179,9 @@
:cell-style="{
color: '#fff',
background: 'rgba(23, 87, 149, 0.9)',
+ fontSize: '2.5rem',
}"
>
- <el-table-column
- prop="userTrueName"
- label="搴忓彿"
- align="center"
- min-width="1%"
- />
<el-table-column
prop="userTrueName"
label="濮撳悕"
@@ -194,7 +189,7 @@
min-width="1%"
/>
<el-table-column
- prop="userteam"
+ prop="unit"
label="鍗曚綅"
align="center"
min-width="1%"
@@ -217,14 +212,14 @@
>
</el-table-column>
<el-table-column
- prop="maintenanceDate"
+ prop="createDate"
label="鏃ユ湡"
align="center"
min-width="2%"
/>
<el-table-column
- prop="maintenanceDate"
- label="涓婄嚎鏃堕棿"
+ prop="maintenancStartTime"
+ label="寮�濮嬫椂闂�"
align="center"
min-width="2%"
/>
@@ -276,8 +271,6 @@
pageIndex: pageQuery.value.page,
pageSize: pageQuery.value.rows,
searchKeyword: queryForm.value.inputcontent,
- status: queryForm.value.selectType,
- account: "admin",
}).then((res) => {
tableData.value = res.data.items;
pageTotal.value = res.data.totalCount;
--
Gitblit v1.9.3