实时趋势修改

This commit is contained in:
zhujiyan
2024-10-17 14:08:58 +08:00
parent 82019e377c
commit 8a1a9d31ab
6 changed files with 343 additions and 277 deletions

View File

@@ -1,6 +1,6 @@
<!-- 解析列表 -->
<!-- 补召日志 -->
<template>
<el-dialog v-model="dialogVisible" title="解析列表" width="70%" draggable @closed="close">
<el-dialog modal-class="analysisList" v-model="dialogVisible" title="补召日志" width="70%" draggable @closed="close">
<TableHeader date-picker></TableHeader>
<Table ref="tableRef" />
</el-dialog>
@@ -12,15 +12,16 @@ import TableStore from '@/utils/tableStore'
import Table from '@/components/table/index.vue'
import TableHeader from '@/components/table/header/index.vue'
import { ArrowLeft } from '@element-plus/icons-vue'
import { mainHeight } from '@/utils/layout'
import popup from './popup.vue'
const emit = defineEmits(['back'])
const dialogVisible = ref(false)
const height = ref(0)
height.value = window.innerHeight < 1080 ? 230 : 450
const detailRef:any=ref()
const detailRef: any = ref()
const tableStore: any = new TableStore({
url: '/cs-device-boot/portableOfflLog/queryMainLogPage',
publicHeight: height.value,
publicHeight: 200,
method: 'POST',
column: [
// { width: '60', type: 'checkbox', fixed: 'left' },
@@ -113,7 +114,8 @@ onBeforeUnmount(() => {
defineExpose({ open })
</script>
<style lang="scss" scoped>
::v-deep .el-dialog_body {
overflow-y: hidden !important;
::v-deep .el-dialog__body{
overflow-y: hidden !important;
height: 70vh !important;
}
</style>

View File

@@ -1,12 +1,7 @@
<!-- 解析列表 -->
<template>
<el-dialog v-model="dialogVisible" title="详情" width="70%" draggable @closed="close">
<vxe-table
border
auto-resize
:data="tableData"
v-bind="defaultAttribute"
>
<vxe-table border auto-resize height="500" :data="tableData" v-bind="defaultAttribute">
<vxe-column field="name" align="center" title="文件名称"></vxe-column>
<vxe-column field="createTime" align="center" title="导入时间"></vxe-column>
<vxe-column field="allCount" align="center" title="数据总数(条)" width="120"></vxe-column>
@@ -121,10 +116,8 @@ onBeforeUnmount(() => {
defineExpose({ open })
</script>
<style lang="scss" scoped>
::v-deep .el-dialog_body {
overflow-y: hidden !important;
.analysisTable {
height: 400px !important;
}
::v-deep .el-dialog__body {
overflow-y: none !important;
max-height: 70vh !important;
}
</style>