样式修改

This commit is contained in:
stt
2025-12-05 16:06:39 +08:00
parent 40fa6eba20
commit 4963dd495a
2 changed files with 6 additions and 6 deletions

View File

@@ -140,17 +140,17 @@ const tableStore: any = new TableStore({
{ {
title: '监测点名称', title: '监测点名称',
field: 'lineName', field: 'lineName',
minWidth: '70', minWidth: '120',
render: 'customTemplate', render: 'customTemplate',
customTemplate: (row: any) => { customTemplate: (row: any) => {
return `<span style='cursor: pointer;text-decoration: underline;'>${row.lineName}</span>` return `<span style='cursor: pointer;text-decoration: underline;'>${row.lineName}</span>`
} }
}, },
{ title: '监测类型', field: 'position', minWidth: '60' }, { title: '监测类型', field: 'position', minWidth: '70' },
{ {
title: '监测点状态', title: '监测点状态',
field: 'runStatus', field: 'runStatus',
minWidth: '60', minWidth: '80',
render: 'customTemplate', render: 'customTemplate',
customTemplate: (row: any) => { customTemplate: (row: any) => {
return `<span style='color: ${row.runStatus === '中断' ? '#FF0000' : ''}'>${row.runStatus}</span>` return `<span style='color: ${row.runStatus === '中断' ? '#FF0000' : ''}'>${row.runStatus}</span>`
@@ -171,7 +171,7 @@ const tableStore: any = new TableStore({
}, },
{ {
title: '操作', title: '操作',
minWidth: 120, minWidth: 80,
// fixed: 'right', // fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -86,7 +86,7 @@ const tableStore: any = new TableStore({
{ {
title: '暂态时间', title: '暂态时间',
field: 'startTime', field: 'startTime',
minWidth: '150' width: '180'
}, },
{ {
title: '测点名称', title: '测点名称',
@@ -133,7 +133,7 @@ const tableStore: any = new TableStore({
}, },
{ {
title: '波形', title: '波形',
width: '100', width: '90',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {