This commit is contained in:
caozehui
2024-12-18 20:26:18 +08:00
parent 4fd2f10ec6
commit ebc2ac1a41
2 changed files with 66 additions and 42 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="dialog">
<div class="dialog" v-bind="dialogBig">
<div class="dialog-title">
<el-progress
style="width: 90%"
@@ -39,7 +39,7 @@
<!-- v-on:cell-click="handleClick" -->
<!-- <el-table :key="tableKey" :data="tableData" :row-class-name="tableRowClassName" row-key="id" height="545px" :header-cell-style="{ background: '#003078', color: '#eee', textAlign: 'center' } " :cell-style="{ textAlign: 'center' }" style="width: 100%" border> -->
<!-- <el-table :data="tableData" :row-class-name="tableRowClassName" row-key="id" height="545px" :header-cell-style="{ background: '#003078', color: '#eee', textAlign: 'center' } " style="width: 100%" border> -->
<div class="dialog-content ">
<div class="dialog-content">
<el-table :data="tableData" :cell-class-name="tableCell" row-key="id" height="450px"
:header-cell-style="{ background: '#003078', color: '#eee', textAlign: 'center' } " style="width: 100%"
border>
@@ -123,7 +123,7 @@
:visible="resultDialogVisible"
@update:visible="resultDialogVisible = $event"
></resultPopup>
<dataCheckSingleChannelSingleTestPopup ref="dialogRef1"/>
<dataCheckSingleChannelSingleTestPopup :append-to-body="true" ref="dialogRef1"/>
</template>
<script lang="tsx" setup name="test">
@@ -131,6 +131,7 @@ import {Check, Refresh, VideoPause} from '@element-plus/icons-vue'
import resultPopup from './resultPopup.vue'
import dataCheckSingleChannelSingleTestPopup from './dataCheckSingleChannelSingleTestPopup.vue'
import {reactive} from "vue";
import {dialogBig} from "@/utils/elementBind";
const minwidth = ref(110)
const activeIndex = ref(0)
@@ -2047,6 +2048,8 @@ watch(ts, function (newValue, oldValue) {
.dialog {
display: flex;
flex-direction: column;
overflow-y: hidden;
overflow-x: hidden;
}
.dialog-title {
@@ -2059,7 +2062,7 @@ watch(ts, function (newValue, oldValue) {
.dialog-content {
max-height: 450px;
overflow-y: auto;
overflow-y: hidden;
}
:deep(.el-collapse-item__header) {
@@ -2068,7 +2071,7 @@ watch(ts, function (newValue, oldValue) {
.dialog-log {
height: 50px;
overflow-y: auto;
overflow-y: hidden;
// flex-grow: 1;
// display: flex;
// flex-direction: column-reverse;
@@ -2080,6 +2083,7 @@ watch(ts, function (newValue, oldValue) {
}
</style>
<style lang="scss" scoped>
:deep(.el-button--small) {
height: 20px !important;