Showing
1 changed file
with
2 additions
and
2 deletions
@@ -150,7 +150,7 @@ export const alarmColumns: BasicColumn[] = [ | @@ -150,7 +150,7 @@ export const alarmColumns: BasicColumn[] = [ | ||
150 | dataIndex: 'status', | 150 | dataIndex: 'status', |
151 | customRender({ record }: { record }) { | 151 | customRender({ record }: { record }) { |
152 | const flag = handleAlarmStatus(record.status); | 152 | const flag = handleAlarmStatus(record.status); |
153 | - return h(Tag, { color: flag ? 'green' : 'red' }, () => (flag ? '激活' : '清除')); | 153 | + return h(Tag, { color: flag ? 'red' : 'green' }, () => (flag ? '激活' : '清除')); |
154 | }, | 154 | }, |
155 | width: 90, | 155 | width: 90, |
156 | }, | 156 | }, |
@@ -185,7 +185,7 @@ export const alarmColumns: BasicColumn[] = [ | @@ -185,7 +185,7 @@ export const alarmColumns: BasicColumn[] = [ | ||
185 | dataIndex: 'ackStatus', | 185 | dataIndex: 'ackStatus', |
186 | customRender({ record }: { record }) { | 186 | customRender({ record }: { record }) { |
187 | const flag = handleAlarmAckStatus(record.status); | 187 | const flag = handleAlarmAckStatus(record.status); |
188 | - return h(Tag, { color: flag ? 'green' : 'red' }, () => (flag ? '已确认' : '未确认')); | 188 | + return h(Tag, { color: flag ? 'blue' : 'orange' }, () => (flag ? '已确认' : '未确认')); |
189 | }, | 189 | }, |
190 | width: 110, | 190 | width: 110, |
191 | }, | 191 | }, |