样式修改
This commit is contained in:
@@ -140,17 +140,17 @@ const tableStore: any = new TableStore({
|
||||
{
|
||||
title: '监测点名称',
|
||||
field: 'lineName',
|
||||
minWidth: '70',
|
||||
minWidth: '120',
|
||||
render: 'customTemplate',
|
||||
customTemplate: (row: any) => {
|
||||
return `<span style='cursor: pointer;text-decoration: underline;'>${row.lineName}</span>`
|
||||
}
|
||||
},
|
||||
{ title: '监测类型', field: 'position', minWidth: '60' },
|
||||
{ title: '监测类型', field: 'position', minWidth: '70' },
|
||||
{
|
||||
title: '监测点状态',
|
||||
field: 'runStatus',
|
||||
minWidth: '60',
|
||||
minWidth: '80',
|
||||
render: 'customTemplate',
|
||||
customTemplate: (row: any) => {
|
||||
return `<span style='color: ${row.runStatus === '中断' ? '#FF0000' : ''}'>${row.runStatus}</span>`
|
||||
@@ -171,7 +171,7 @@ const tableStore: any = new TableStore({
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
minWidth: 120,
|
||||
minWidth: 80,
|
||||
// fixed: 'right',
|
||||
render: 'buttons',
|
||||
buttons: [
|
||||
|
||||
@@ -86,7 +86,7 @@ const tableStore: any = new TableStore({
|
||||
{
|
||||
title: '暂态时间',
|
||||
field: 'startTime',
|
||||
minWidth: '150'
|
||||
width: '180'
|
||||
},
|
||||
{
|
||||
title: '测点名称',
|
||||
@@ -133,7 +133,7 @@ const tableStore: any = new TableStore({
|
||||
},
|
||||
{
|
||||
title: '波形',
|
||||
width: '100',
|
||||
width: '90',
|
||||
render: 'buttons',
|
||||
buttons: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user