修改页面表格样式
This commit is contained in:
@@ -129,11 +129,11 @@ const tableStore: any = new TableStore({
|
||||
{
|
||||
title: '监测点名称',
|
||||
field: 'lineName',
|
||||
minWidth: 120
|
||||
minWidth: 150
|
||||
},
|
||||
{ title: '设备名称', field: 'devName', minWidth: 130, align: 'center', },
|
||||
{ title: '项目名称', field: 'projectName', minWidth: 130, align: 'center' },
|
||||
{ title: '工程名称', field: 'engineeringName', minWidth: 130, align: 'center' },
|
||||
{ title: '设备名称', field: 'devName', minWidth: 150, align: 'center', },
|
||||
{ title: '项目名称', field: 'projectName', minWidth: 150, align: 'center' },
|
||||
{ title: '工程名称', field: 'engineeringName', minWidth: 150, align: 'center' },
|
||||
{
|
||||
title: '越限占比(%)',
|
||||
children: [
|
||||
|
||||
@@ -83,7 +83,7 @@ const tableStore: any = new TableStore({
|
||||
{
|
||||
title: '监测点名称',
|
||||
field: 'lineName',
|
||||
width: '120'
|
||||
width: '150'
|
||||
},
|
||||
{
|
||||
title: '长时闪变越限(分钟)',
|
||||
|
||||
@@ -83,13 +83,13 @@ const tableStore: any = new TableStore({
|
||||
{
|
||||
title: '监测点名称',
|
||||
field: 'lineName',
|
||||
minWidth: 120,
|
||||
minWidth: 150,
|
||||
|
||||
|
||||
},
|
||||
{ title: '设备名称', field: 'devName', minWidth: 130, align: 'center' },
|
||||
{ title: '项目名称', field: 'projectName', minWidth: 130, align: 'center' },
|
||||
{ title: '工程名称', field: 'engineeringName', minWidth: 130, align: 'center' },
|
||||
{ title: '设备名称', field: 'devName', minWidth: 150, align: 'center' },
|
||||
{ title: '项目名称', field: 'projectName', minWidth: 150, align: 'center' },
|
||||
{ title: '工程名称', field: 'engineeringName', minWidth: 150, align: 'center' },
|
||||
{
|
||||
title: '监测对象类型',
|
||||
field: 'objType',
|
||||
|
||||
@@ -107,15 +107,15 @@ const tableStore: any = new TableStore({
|
||||
{
|
||||
title: '监测点名称',
|
||||
field: 'lineName',
|
||||
minWidth: 120,
|
||||
minWidth: 150,
|
||||
render: 'customTemplate',
|
||||
customTemplate: (row: any) => {
|
||||
return `<span style='cursor: pointer;text-decoration: underline;'>${row.lineName}</span>`
|
||||
}
|
||||
},
|
||||
{ title: '设备名称', field: 'devName', minWidth: 130, align: 'center' },
|
||||
{ title: '项目名称', field: 'projectName', minWidth: 130, align: 'center' },
|
||||
{ title: '工程名称', field: 'engineeringName', minWidth: 130, align: 'center' },
|
||||
{ title: '设备名称', field: 'devName', minWidth: 150, align: 'center' },
|
||||
{ title: '项目名称', field: 'projectName', minWidth: 150, align: 'center' },
|
||||
{ title: '工程名称', field: 'engineeringName', minWidth: 150, align: 'center' },
|
||||
// {
|
||||
// title: '监测类型',
|
||||
// field: 'position',
|
||||
|
||||
@@ -144,11 +144,11 @@ const tableStore: any = new TableStore({
|
||||
{
|
||||
title: '监测点名称',
|
||||
field: 'lineName',
|
||||
minWidth: 120
|
||||
minWidth: 150
|
||||
},
|
||||
{ title: '设备名称', field: 'devName', minWidth: 130, align: 'center' },
|
||||
{ title: '项目名称', field: 'projectName', minWidth: 130, align: 'center' },
|
||||
{ title: '工程名称', field: 'engineeringName', minWidth: 130, align: 'center' },
|
||||
{ title: '设备名称', field: 'devName', minWidth: 150, align: 'center' },
|
||||
{ title: '项目名称', field: 'projectName', minWidth: 150, align: 'center' },
|
||||
{ title: '工程名称', field: 'engineeringName', minWidth: 150, align: 'center' },
|
||||
{
|
||||
title: '越限占比(%)',
|
||||
children: [
|
||||
|
||||
@@ -95,11 +95,11 @@ const tableStore: any = new TableStore({
|
||||
align: 'center',
|
||||
formatter: (row: any) => 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',
|
||||
|
||||
@@ -166,20 +166,20 @@ const tableStore: any = new TableStore({
|
||||
{
|
||||
title: '监测点名称',
|
||||
field: 'name',
|
||||
minWidth: 120
|
||||
minWidth: 150
|
||||
},
|
||||
{
|
||||
title: '设备名称', field: 'devName', minWidth: 130, align: 'center', formatter: (row: any) => {
|
||||
title: '设备名称', field: 'devName', minWidth: 150, align: 'center', formatter: (row: any) => {
|
||||
return row.cellValue || '/'
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '项目名称', field: 'projectName', minWidth: 130, align: 'center', formatter: (row: any) => {
|
||||
title: '项目名称', field: 'projectName', minWidth: 150, align: 'center', formatter: (row: any) => {
|
||||
return row.cellValue || '/'
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '工程名称', field: 'engineeringName', minWidth: 130, align: 'center', formatter: (row: any) => {
|
||||
title: '工程名称', field: 'engineeringName', minWidth: 150, align: 'center', formatter: (row: any) => {
|
||||
return row.cellValue || '/'
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user