修改告警级别

This commit is contained in:
guanj
2026-01-08 19:20:32 +08:00
parent 4c9b677e81
commit 4cbd2e43cb
9 changed files with 210 additions and 48 deletions

View File

@@ -5,7 +5,8 @@
:showReset="false"
ref="TableHeaderRef"
@selectChange="selectChange"
datePicker :timeKeyList="prop.timeKey"
datePicker
:timeKeyList="prop.timeKey"
v-if="fullscreen"
></TableHeader>
<my-echart
@@ -41,7 +42,7 @@ const prop = defineProps({
h: { type: [String, Number] },
width: { type: [String, Number] },
height: { type: [String, Number] },
timeKey: { type: Array as () => string[] },
timeKey: { type: Array as () => string[] },
timeValue: { type: Object },
interval: { type: Number }
})
@@ -197,6 +198,7 @@ const tableStore: any = new TableStore({
],
beforeSearchFun: () => {
setTime()
tableStore.table.params.interval = TableHeaderRef.value?.datePickerRef?.interval || 3
},
loadCallback: () => {
tableStore.table.height = `calc(${prop.height} - 80px)`
@@ -211,13 +213,12 @@ provide('tableStore', tableStore)
// 点击行
const cellClickEvent = ({ row, column }: any) => {
if (column.field != 'name') {
OverLimitDetailsRef.value.open(
row,
tableStore.table.params.searchBeginTime || prop.timeValue?.[0],
tableStore.table.params.searchEndTime || prop.timeValue?.[1]
)
}
OverLimitDetailsRef.value.open(
row,
tableStore.table.params.searchBeginTime || prop.timeValue?.[0],
tableStore.table.params.searchEndTime || prop.timeValue?.[1],
tableStore.table.params.interval || prop.interval
)
}
onMounted(() => {