样式调整

This commit is contained in:
sjl
2024-12-18 15:49:29 +08:00
parent 53ead0e62f
commit 4cfca89895
9 changed files with 280 additions and 156 deletions

View File

@@ -1,13 +1,34 @@
<template>
<div class="table-container table-main">
<el-table :data="tableData" :header-cell-style="{ textAlign: 'center' } " :cell-style="{ textAlign: 'center' }" style="width: 100%" >
<el-table-column prop="id" label="序号" width="70" />
<el-table-column prop="updateTime" label="上送时刻" width="180"/>
<el-table :data="tableData"
:header-cell-style="{ textAlign: 'center' } "
:cell-style="{ textAlign: 'center' }"
style="width: 100%"
max-height="400px">
<el-table-column type="expand">
<template #default="props">
<div style="display: flex">
<p >大电压A相57.74V,</p>
<p >大电压B相57.74V,</p>
<p >大电压C相57.74V,</p>
<p >大电流A相1A,</p>
<p >大电流B相1A,</p>
<p >大电流C相1A</p>
</div>
<div style="display: flex">
<p >小电压A相57.74V,</p>
<p >小电压B相57.74V,</p>
<p >小电压C相57.74V,</p>
<p >小电流A相1A,</p>
<p >小电流B相1A,</p>
<p >小电流C相1A</p>
</div>
</template>
</el-table-column>
<el-table-column prop="MonitorIdx" label="监测点序号"/>
<!-- <el-table-column prop="updateTime" label="上送时刻" width="180"/> -->
<!-- <el-table-column prop="deviceName" label="设备名称" /> -->
<el-table-column prop="MonitorIdx" label="监测点序号" />
<el-table-column label="电压通道" >
<el-table-column prop="Ua" label="L1">
@@ -39,9 +60,6 @@
</el-table>
</div>
</template>
<script lang="ts" setup name="ErrorSystemDialog">