添加查询条件

This commit is contained in:
stt
2025-11-06 16:21:39 +08:00
parent 24afa84f29
commit 0e76ab66f3

View File

@@ -1,16 +1,30 @@
<template> <template>
<div> <div>
<!--指标越限概率分布 --> <!--指标越限概率分布 -->
<TableHeader :showReset="false" @selectChange="selectChange" datePicker v-if="fullscreen"></TableHeader> <TableHeader :showReset="false" @selectChange="selectChange" datePicker v-if="fullscreen">
<template v-slot:select>
<el-form-item>
<el-select size="small" v-model="tableStore.table.params.searchValue">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
</el-form-item>
</template>
</TableHeader>
<my-echart <my-echart
class="tall" class="tall"
:options="echartList" :options="echartList"
:style="{ width: prop.width, height: `calc(${prop.height} / 2 - ${headerHeight / 2}px + ${fullscreen ? 0 : 28}px )` }" :style="{
width: prop.width,
height: `calc(${prop.height} / 2 - ${headerHeight / 2}px + ${fullscreen ? 0 : 28}px )`
}"
/> />
<my-echart <my-echart
class="mt10" class="mt10"
:options="echartList1" :options="echartList1"
:style="{ width: prop.width, height: `calc(${prop.height} / 2 - ${headerHeight / 2}px + ${fullscreen ? 0 : 28}px )` }" :style="{
width: prop.width,
height: `calc(${prop.height} / 2 - ${headerHeight / 2}px + ${fullscreen ? 0 : 28}px )`
}"
/> />
</div> </div>
</template> </template>
@@ -32,6 +46,14 @@ const prop = defineProps({
timeValue: { type: Object } timeValue: { type: Object }
}) })
const options = [
{
value: '1',
label: '35V进线',
},
]
const headerHeight = ref(57) const headerHeight = ref(57)
const route = useRoute() const route = useRoute()
@@ -411,6 +433,7 @@ const tableStore: any = new TableStore({
}) })
const tableRef = ref() const tableRef = ref()
tableStore.table.params.searchValue = '1'
provide('tableRef', tableRef) provide('tableRef', tableRef)
provide('tableStore', tableStore) provide('tableStore', tableStore)