告警单添加是否已解决字段

This commit is contained in:
GGJ
2024-11-04 09:34:32 +08:00
parent b16ab9ed0a
commit 6e9dd840db
3 changed files with 20 additions and 4 deletions

View File

@@ -160,7 +160,7 @@ const tableStore = new TableStore({
},
{
name: 'edit',
title: '告警单详情',
title: '详情',
type: 'primary',
icon: 'el-icon-Open',
render: 'basicButton',
@@ -171,7 +171,7 @@ const tableStore = new TableStore({
click: row => {
detailRef.value.open({
row: row,
title: '告警单详情',
title: '详情',
})

View File

@@ -187,7 +187,7 @@ const tableStore = new TableStore({
},
{
name: 'edit',
title: '告警单详情',
title: '详情',
type: 'primary',
icon: 'el-icon-Open',
render: 'basicButton',
@@ -198,7 +198,7 @@ const tableStore = new TableStore({
click: row => {
detailRef.value.open({
row: row,
title: '告警单详情',
title: '详情',
})

View File

@@ -120,6 +120,22 @@ const tableStore = new TableStore({
return dictData.state.userList.filter(item => item.id == row.cellValue)[0]?.name
}
},
{
field: 'dealState',
title: '是否解决',
minWidth: 100,
render: 'tag',
custom: {
0: 'warning',
1: 'primary',
},
replaceValue: {
0: '未解决',
1: '已解决',
}
},
// {
// title: '报告',
// minWidth: '150',