添加周期
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<el-form style="flex: 1; height: 32px; display: flex; flex-wrap: wrap" ref="headerForm" @submit.prevent=""
|
||||
@keyup.enter="onComSearch" label-position="left" :inline="true">
|
||||
<el-form-item v-if="datePicker" style="grid-column: span 2; "
|
||||
:style="{ maxWidth: isStatisticData == 0 ? '750px' : '610px' }">
|
||||
:style="{ maxWidth: isStatisticData == 1 ? '750px' : '610px' }">
|
||||
<template #label>
|
||||
<el-checkbox v-if="showTimeAll" v-model="timeAll" label="统计时间" />
|
||||
<span v-else>{{ dateLabel }}</span>
|
||||
@@ -73,7 +73,7 @@ interface Props {
|
||||
showExport?: boolean //导出控制
|
||||
showTimeAll?: boolean //控制时间是否显示
|
||||
dateLabel?: string //设置时间名称
|
||||
isStatisticData?: number | string // 0分钟数据 1统计数据
|
||||
isStatisticData?: number | string // 0统计数据 1分钟数据
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
@@ -86,7 +86,7 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
showExport: false,
|
||||
showTimeAll: false,
|
||||
dateLabel: '统计日期',
|
||||
isStatisticData: 1
|
||||
isStatisticData: 0
|
||||
})
|
||||
// 动态计算table高度
|
||||
const resizeObserver = new ResizeObserver(entries => {
|
||||
|
||||
Reference in New Issue
Block a user