fix: 1. 修复系统右侧图片按钮弹框显示问题

2. 修复页面排序请求错误问题
This commit is contained in:
@changcode
2021-07-07 16:57:26 +08:00
parent 1bb2c111bd
commit 44b29b38d8
2 changed files with 15 additions and 1 deletions

View File

@@ -112,7 +112,7 @@ export default {
prop: 'labels',
show: true,
NotSet: true,
minWidth: 200
minWidth: 220
}, {
label: this.$t('alert.severity'),
prop: 'severityId',

View File

@@ -206,6 +206,20 @@ export default {
methods: {
showTableTooltip,
hideTableTooltip,
tableDataSort (item) {
let orderBy = ''
let str = item.prop
if (str === 'dc') {
orderBy = str
}
if (item.order === 'ascending') {
orderBy = str
}
if (item.order === 'descending') {
orderBy = '-' + str
}
this.$emit('orderBy', orderBy)
},
messageStyle (title, row) {
if (title.prop === 'alertNum') {
if (row.alertNum > 0) {