修改样式

This commit is contained in:
stt
2025-11-27 16:21:52 +08:00
parent 1a146afcd7
commit 8ce2968bee
2 changed files with 5 additions and 28 deletions

View File

@@ -429,7 +429,8 @@ const handleTolerableEventClick = async (row: any) => {
isWaveCharts.value = true
nextTick(() => {
if (waveFormAnalysisRef.value) {
waveFormAnalysisRef.value.setHeight(false, 360)
//waveFormAnalysisRef.value.setHeight(false, 360)
waveFormAnalysisRef.value.setHeight(999, 130, 1.6666666)
}
})
await analyseWave(row.value[3])

View File

@@ -16,7 +16,7 @@
</el-form-item>
</template>
</TableHeader>
<Table ref="tableRef" @cell-click="cellClickEvent" isGroup :height="heightRef"></Table>
<Table ref="tableRef" isGroup :height="heightRef"></Table>
</el-dialog>
<!-- 查看波形 -->
<el-dialog
@@ -81,7 +81,8 @@ const tableStore: any = new TableStore({
},
{
title: '暂态时间',
field: 'startTime'
field: 'startTime',
minWidth: '150'
},
{
title: '测点名称',
@@ -177,7 +178,6 @@ const tableStore: any = new TableStore({
nextTick(() => {
waveFormAnalysisRef.value &&
waveFormAnalysisRef.value.getWpData(wp.value, boxoList.value, true)
// waveFormAnalysisRef.value && waveFormAnalysisRef.value.setHeight(false, 360)
})
}
},
@@ -196,23 +196,6 @@ const tableStore: any = new TableStore({
],
beforeSearchFun: () => {},
loadCallback: () => {
// tableStore.table.data = [
// {
// time: '2024-01-01 00:00:00',
// name: '35kV进线',
// flicker: '0'
// },
// {
// time: '2024-01-01 00:00:00',
// name: '35kV进线',
// flicker: '0'
// },
// {
// time: '2024-01-01 00:00:00',
// name: '35kV进线',
// flicker: '0'
// }
// ]
}
})
@@ -233,13 +216,6 @@ const handleHideCharts = () => {
dialogVisible.value = true
}
// 点击行
const cellClickEvent = ({ row, column }: any) => {
if (column.field != 'name') {
isWaveCharts.value = true
}
}
defineExpose({ open })
</script>
<style lang="scss" scoped></style>