修改页面表格样式

This commit is contained in:
guanj
2026-06-17 13:30:31 +08:00
parent 2330b50147
commit 13f11596e4
17 changed files with 74 additions and 56 deletions

View File

@@ -100,13 +100,13 @@ const tableStore = new TableStore({
},
{ title: '发生时刻', field: 'startTime', align: 'center', minWidth: 180, sortable: true },
{
title: '监测点名称', field: 'lineName', minWidth: 130, align: 'center', formatter: (row: any) => {
title: '监测点名称', field: 'lineName', minWidth: 150, align: 'center', formatter: (row: any) => {
return row.cellValue ? row.cellValue : '/'
}
},
{ title: '设备名称', field: 'equipmentName', align: 'center', minWidth: 130 },
{ title: '项目名称', field: 'projectName', align: 'center', minWidth: 130 },
{ title: '工程名称', field: 'engineeringName', align: 'center', minWidth: 130 },
{ title: '设备名称', field: 'equipmentName', align: 'center', minWidth: 150 },
{ title: '项目名称', field: 'projectName', align: 'center', minWidth: 150 },
{ title: '工程名称', field: 'engineeringName', align: 'center', minWidth: 150 },
// { title: '监测点名称', field: 'lineName', align: 'center', minWidth: 120 },

View File

@@ -80,12 +80,12 @@ const tableStore = new TableStore({
}
},
{ title: '发生时刻', field: 'startTime', align: 'center', sortable: true, minWidth: 180, },
{ title: '监测点名称', field: 'lineName', align: 'center', minWidth: 120,formatter: (row: any) => {
{ title: '监测点名称', field: 'lineName', align: 'center', minWidth: 150,formatter: (row: any) => {
return row.cellValue ? row.cellValue : '/'
} },
{ title: '设备名称', field: 'equipmentName', align: 'center', minWidth: 120, },
{ title: '项目名称', field: 'projectName', align: 'center', minWidth: 120, },
{ title: '工程名称', field: 'engineeringName', align: 'center', minWidth: 120, },
{ title: '设备名称', field: 'equipmentName', align: 'center', minWidth: 150, },
{ title: '项目名称', field: 'projectName', align: 'center', minWidth: 150, },
{ title: '工程名称', field: 'engineeringName', align: 'center', minWidth: 150, },
{ title: '事件描述', field: 'showName', align: 'center', minWidth: 250, }

View File

@@ -102,11 +102,11 @@ const tableStore = new TableStore({
return EventTypeList.find((item: any) => item.id == row.cellValue)?.name || '其他'
}
},
{ title: '监测点名称', field: 'lineName', minWidth: 130, align: 'center' },
{ title: '监测点名称', field: 'lineName', minWidth: 150, align: 'center' },
{ title: '电压等级(kV)', field: 'lineVoltage', minWidth: 120, align: 'center', sortable: true, },
{ title: '设备名称', field: 'equipmentName', minWidth: 130, align: 'center' },
{ title: '项目名称', field: 'projectName', minWidth: 130, align: 'center' },
{ title: '工程名称', field: 'engineeringName', minWidth: 130, align: 'center' },
{ title: '设备名称', field: 'equipmentName', minWidth: 150, align: 'center' },
{ title: '项目名称', field: 'projectName', minWidth: 150, align: 'center' },
{ title: '工程名称', field: 'engineeringName', minWidth: 150, align: 'center' },
{
title: '发生位置', field: 'sagSource', minWidth: 120, align: 'center', formatter: (row: any) => {
return row.cellValue == 1 ? '上游' : row.cellValue == 2 ? '下游' : '未知'

View File

@@ -125,13 +125,13 @@
</div>
<div style="width: 370px">
<div class="custom-table-header">
<div class="title">监测点绑定</div>
<div class="title">绑定测点</div>
<el-button :icon="Select" type="primary" @click="saveIndicator" class="ml10" :loading="loading">
保存
</el-button>
</div>
<!-- <steadyStateTree /> -->
<Tree class="borderBox" ref="treeRef" show-checkbox :showBut="false" width="370px" :height="260"
<Tree class="borderBox" ref="treeRef" show-checkbox :showBut="false" width="370px" :height="250"
:data="menuTree" :checkStrictly="checkStrictly"></Tree>
</div>
<!-- 新增/编辑弹框 -->