From 367ada1f7a2144e6cec1a12fdac6c0e3f0150182 Mon Sep 17 00:00:00 2001
From: hh <2397241381@qq.com>
Date: Tue, 5 Mar 2024 17:55:40 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/addReportPage.vue | 89 +++++++++++++------
src/views/bigScreenReport/index.vue | 43 +++++----
2 files changed, 85 insertions(+), 47 deletions(-)
diff --git a/src/views/bigScreenReport/components/addReportPage.vue b/src/views/bigScreenReport/components/addReportPage.vue
index 5a9deb3..30d24fe 100644
--- a/src/views/bigScreenReport/components/addReportPage.vue
+++ b/src/views/bigScreenReport/components/addReportPage.vue
@@ -1,17 +1,17 @@
-
+
-
+
-
+
-
+
-
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/views/bigScreenReport/index.vue b/src/views/bigScreenReport/index.vue
index 88926be..e5828f3 100644
--- a/src/views/bigScreenReport/index.vue
+++ b/src/views/bigScreenReport/index.vue
@@ -15,11 +15,6 @@
-
-
-
-
-
查询
重置
@@ -27,21 +22,28 @@
+
-
![]()
+
-
+
+ {{ item.reportName }}
+
+
+ 修改
+
@@ -54,7 +56,7 @@
@size-change="handleSizeChange" @current-change="handleCurrentChange" />
-
+
@@ -83,6 +85,7 @@ export default {
sort: "update_time"
},
addVisible: false,
+ currentItem: null, // 用于保存当前的item数据
};
},
created() {
@@ -102,7 +105,8 @@ export default {
});
},
// 新增
- addReport() {
+ addReport(item) {
+ this.currentItem = item; // 保存当前的item数据
this.addVisible = true;
},
// 关闭表单的回调
@@ -238,17 +242,17 @@ export default {
header {
font-size: 32px;
text-align: center;
- line-height: 80px;
+ margin-top: 40px;
}
.center {
- margin-top: 20px;
+ margin-top: 10px;
min-height: 400px;
height: 100%;
.bg {
width: 100%;
- height: 300px;
+ height: 250px;
position: relative;
overflow: hidden;
margin: 10px 0;
@@ -259,6 +263,7 @@ export default {
position: absolute;
width: 100%;
height: 100%;
+ background-size: cover;
filter: blur(6px);
z-index: 2;
}
@@ -297,7 +302,7 @@ export default {
.block {
position: relative;
- bottom: 0;
+ bottom: 0;
padding-bottom: 10px;
}
}