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