fix: 1. 修复系统右侧图片按钮弹框显示问题
2. 修复页面排序请求错误问题
This commit is contained in:
@@ -112,7 +112,7 @@ export default {
|
||||
prop: 'labels',
|
||||
show: true,
|
||||
NotSet: true,
|
||||
minWidth: 200
|
||||
minWidth: 220
|
||||
}, {
|
||||
label: this.$t('alert.severity'),
|
||||
prop: 'severityId',
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user