样式调整
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user