From a7e6761ba0cfccdf33ed552eb2d3b783c8e4ab4a Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 16 Apr 2025 20:49:12 +0800
Subject: [PATCH] feat:事件弹窗显示调整

---
 src/views/SignMachineNest/MachineRight/MachineStatus/MachineTableDetails/DeviceJob/DeviceJob.vue |   31 +++++++++++++------------------
 1 files changed, 13 insertions(+), 18 deletions(-)

diff --git a/src/views/SignMachineNest/MachineRight/MachineStatus/MachineTableDetails/DeviceJob/DeviceJob.vue b/src/views/SignMachineNest/MachineRight/MachineStatus/MachineTableDetails/DeviceJob/DeviceJob.vue
index 19c3a42..4d904db 100644
--- a/src/views/SignMachineNest/MachineRight/MachineStatus/MachineTableDetails/DeviceJob/DeviceJob.vue
+++ b/src/views/SignMachineNest/MachineRight/MachineStatus/MachineTableDetails/DeviceJob/DeviceJob.vue
@@ -2,8 +2,9 @@
 	<div class="devicejob-container">
 		<div class="machineTableDetailsTitle">
 			<p>
-				相关任务<span>{{ total }}</span
-				>次
+				相关任务
+				<span>{{ total }}</span>
+				次
 			</p>
 		</div>
 		<div class="devicelob-table ztzf-table">
@@ -11,8 +12,8 @@
 				:data="list"
 				:row-class-name="tableRowClassName"
 				style="width: 100%"
-				:row-style="{ height: '38px', fontSize: '14px', 'text-align': 'center' }"
-				:header-cell-style="{ 'text-align': 'center', height: '36px', fontSize: '14px' }"
+				:row-style="{ height: '35px', fontSize: '14px', 'text-align': 'center' }"
+				:header-cell-style="{ 'text-align': 'center', height: '30px', fontSize: '14px' }"
 			>
 				<el-table-column label="序号" type="index" width="60">
 					<template #default="{ $index }">
@@ -32,16 +33,16 @@
 				</el-table-column>
 			</el-table>
 		</div>
-		<!-- <el-pagination
+		<el-pagination
 		class="ztzf-pagination"
 			background
-			:page-sizes="[10, 20, 30, 50]"
+			
 			v-model:current-page="sizeParams.current"
 			v-model:page-size="sizeParams.size"
-			layout=" prev, pager, next,sizes, jumper"
+			layout=" prev, pager, next, jumper"
 			:total="total"
 			@change="pageChange"
-		/> -->
+		/>
 	</div>
 
 	<DeviceJobDetails v-model:show="deviceJobDetailsShow" />
@@ -57,7 +58,7 @@
 })
 const sizeParams = ref({
 	current: 1,
-	size: 99999,
+	size: 5,
 })
 const store = useStore()
 const device_sn = computed(() => store.state.home.singleUavHome.device_sn)
@@ -99,7 +100,7 @@
 // 标题
 .machineTableDetailsTitle {
 	margin: 0 24px;
-	margin-bottom: 16px;
+	margin-bottom: 10px;
 	background: url('/src/assets/images/signMachineNest/machineRight/detailtitle.png') no-repeat center;
 	background-size: 100% 100%;
 	p {
@@ -120,15 +121,9 @@
 // 表格
 .devicelob-table {
 	padding: 0 17px;
-	height: 280px;
-	overflow: hidden;
-		overflow-y: scroll !important;
+
 }
-:deep(::-webkit-scrollbar ){
-				width: 0;
-				display: none;
-				background: none !important;
-			}
+
 
 // 分页
 :deep(.el-pagination) {

--
Gitblit v1.9.3