fix:修改底部弹窗 alertMessage 时间错误的问题
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
<alertMessageTable
|
||||
ref="dataTable"
|
||||
:api="url"
|
||||
:orderByFa="'id'"
|
||||
:loading="tools.loading"
|
||||
:custom-table-title="tools.customTableTitle"
|
||||
:height="subTableHeight"
|
||||
@@ -300,8 +301,8 @@ export default {
|
||||
this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize)
|
||||
this.$set(this.searchLabel, 'state', this.state)
|
||||
if (this.searchTimeHeader && this.searchTimeHeader.length > 1) {
|
||||
this.$set(this.searchLabel, 'startAt', this.timezoneToUtcTimeStr(this.searchTimeHeader[0]))
|
||||
this.$set(this.searchLabel, 'endAt', this.timezoneToUtcTimeStr(this.searchTimeHeader[1]))
|
||||
this.$set(this.searchLabel, 'startAt', bus.timeFormate(this.timezoneToUtcTime(bus.formateTimeToTime(this.searchTimeHeader[0])), 'YYYY-MM-DD HH:mm:ss'))
|
||||
this.$set(this.searchLabel, 'endAt', bus.timeFormate(this.timezoneToUtcTime(bus.formateTimeToTime(this.searchTimeHeader[1])), 'YYYY-MM-DD HH:mm:ss'))
|
||||
} else {
|
||||
delete this.searchLabel.startAt
|
||||
delete this.searchLabel.endAt
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
<template v-slot>
|
||||
<alertRuleEvalLogTable
|
||||
ref="dataTable"
|
||||
:orderByFa="'id'"
|
||||
v-loading="tools.loading"
|
||||
:loading="tools.loading"
|
||||
:api="url"
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
<asset-table
|
||||
ref="dataTable"
|
||||
:api="url"
|
||||
:orderByFa="'id'"
|
||||
v-loading="tools.loading"
|
||||
:loading="tools.loading"
|
||||
:custom-table-title="tools.customTableTitle"
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
<asset-table
|
||||
ref="dataTable"
|
||||
:api="url"
|
||||
:orderByFa="'id'"
|
||||
v-loading="tools.loading"
|
||||
:loading="tools.loading"
|
||||
:custom-table-title="tools.customTableTitle"
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
<template v-slot>
|
||||
<cabinet-table
|
||||
ref="dataTable"
|
||||
:orderByFa="'id'"
|
||||
v-loading="tools.loading"
|
||||
:loading="tools.loading"
|
||||
:api="url"
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
<template v-slot>
|
||||
<endpointQueryTab
|
||||
ref="endpointQueryTab"
|
||||
:orderByFa="'id'"
|
||||
:from="from"
|
||||
:obj="obj"
|
||||
:formatTime="formatTime"
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
<template v-slot>
|
||||
<endpoint-table
|
||||
ref="dataTable"
|
||||
:orderByFa="'id'"
|
||||
v-loading="tools.loading"
|
||||
:loading="tools.loading"
|
||||
:api="url"
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
<template v-slot>
|
||||
<operation-log-table
|
||||
ref="dataTable"
|
||||
:orderByFa="'id'"
|
||||
v-loading="tools.loading"
|
||||
:loading="tools.loading"
|
||||
:api="url"
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
<template v-slot>
|
||||
<scrape-endpoint-table
|
||||
ref="dataTable"
|
||||
:orderByFa="'id'"
|
||||
v-loading="tools.loading"
|
||||
:loading="tools.loading"
|
||||
:api="url"
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
<template v-slot>
|
||||
<terminal-log-table
|
||||
ref="dataTable"
|
||||
:orderByFa="'id'"
|
||||
v-loading="tools.loading"
|
||||
:loading="tools.loading"
|
||||
:api="url"
|
||||
|
||||
Reference in New Issue
Block a user