From 6cedf36ce40f8262e107bc3944f94002b4b1a9e9 Mon Sep 17 00:00:00 2001 From: luojiayi <1712054227@qq.com> Date: Tue, 1 Apr 2025 13:52:57 +0800 Subject: [PATCH] =?UTF-8?q?2025=E5=B9=B404=E6=9C=8801=E6=97=A513:52:54?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/main.css | 27 ++++++++- src/components/table-edit.vue | 12 ++++ src/components/table-search.vue | 3 +- src/layout/index.vue | 19 ++++-- src/views/incidentDispose/index.vue | 25 ++++++-- src/views/monitoringCenter/deviceHistory.vue | 1 + src/views/monitoringCenter/deviceRecord.vue | 1 + src/views/monitoringCenter/index.vue | 6 +- src/views/monitoringCenter/monitoringTop.vue | 10 +++- src/views/statisticalCenter/deviceHistory.vue | 3 + src/views/statisticalCenter/emergencyList.vue | 3 + src/views/statisticalCenter/index.vue | 2 +- src/views/statisticalCenter/monitoringTop.vue | 8 ++- .../statisticalCenter/onLineStatistics.vue | 3 + .../synthesizeManage/areaManage/index.vue | 36 ++++++----- .../synthesizeManage/deviceInfo/index.vue | 2 +- .../synthesizeManage/deviceManage/index.vue | 31 +++++----- .../synthesizeManage/mapLocation/index.vue | 22 ++++++- .../synthesizeManage/userManage/index.vue | 59 ++++++++++++------- 19 files changed, 197 insertions(+), 76 deletions(-) diff --git a/src/assets/css/main.css b/src/assets/css/main.css index 54da371..985595e 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -18,9 +18,9 @@ i { } .container { - padding: 20px; + flex: 1; + padding: 0 20px; box-sizing: border-box; - } .table-container { @@ -28,6 +28,7 @@ i { padding: 22px 17px; box-sizing: border-box; border-radius: 5px; + box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12); } .el-table th { @@ -98,4 +99,26 @@ i { .noScrollbar { scrollbar-width: none; -ms-overflow-style: none; +} + +.scrollbar { + overflow: auto; +} + +.scrollbar::-webkit-scrollbar { + width: 6px; + height: 6px; +} + +.scrollbar::-webkit-scrollbar-thumb { + background-color: #B2B2B2; + border-radius: 4px; +} + +.scrollbar::-webkit-scrollbar-track:hover { + background-color: #fff; +} + +.scrollbar::-webkit-scrollbar-thumb:hover { + background-color: #909399; } \ No newline at end of file diff --git a/src/components/table-edit.vue b/src/components/table-edit.vue index b5058e4..fee210a 100644 --- a/src/components/table-edit.vue +++ b/src/components/table-edit.vue @@ -19,6 +19,15 @@ + + + 保 存 @@ -68,6 +78,8 @@ const { options, formData, edit, update } = defineProps({ }, }); +const emit = defineEmits(["cancel"]); + const form = ref({ ...(edit ? formData : {}) }); const rules: FormRules = options.list diff --git a/src/components/table-search.vue b/src/components/table-search.vue index 451f5b9..84d75a6 100644 --- a/src/components/table-search.vue +++ b/src/components/table-search.vue @@ -69,10 +69,11 @@ const resetForm = (formEl: FormInstance | undefined) => {