30 lines
760 B
Vue
30 lines
760 B
Vue
<template>
|
||
|
||
<div class="table-main">
|
||
<el-table :data="tableData" stripe border :header-cell-style="{ textAlign: 'center' } "
|
||
:cell-style="{ textAlign: 'center' }" height="335px"
|
||
style="width: 100%;">
|
||
<el-table-column type="index" label="序号" width="70" fixed="left"/>
|
||
<el-table-column prop="updateTime" label="数据时间"/>
|
||
<el-table-column prop="L1" label="L1(V)"/>
|
||
<el-table-column prop="L2" label="L2(V)"/>
|
||
<el-table-column prop="L3" label="L3(V)"/>
|
||
</el-table>
|
||
</div>
|
||
|
||
</template>
|
||
|
||
<script lang="tsx" setup>
|
||
|
||
import type {RawDataItem} from "@/api/check/interface";
|
||
|
||
const {tableData} = defineProps<{
|
||
tableData: RawDataItem[]
|
||
}>()
|
||
|
||
|
||
</script>
|
||
|
||
<style scoped>
|
||
|
||
</style> |