This commit is contained in:
仲么了
2024-02-28 09:42:14 +08:00
6 changed files with 59 additions and 27 deletions

View File

@@ -0,0 +1,11 @@
<template>
<div> </div>
</template>
<script setup lang='ts'>
import { ref, reactive } from 'vue'
</script>
<style lang="scss" scoped>
</style>

View File

@@ -1,6 +1,6 @@
<template>
<div class="default-main">
<TableHeader datePicker>
<TableHeader datePicker ref="TableHeaderRef">
<template #select>
<el-form-item label="筛选">
<el-input v-model="tableStore.table.params.searchValue" clearable placeholder="输入关键字筛选" />
@@ -45,6 +45,7 @@ defineOptions({
const dialogAnalysis = ref(false)
const AnalysisData = ref([])
const tableRef = ref()
const TableHeaderRef = ref()
const tableStore = new TableStore({
url: '/advance-boot/process/queryEventsAssPage',
method: 'POST',
@@ -101,6 +102,12 @@ const tableStore = new TableStore({
provide('tableStore', tableStore)
onMounted(() => {
tableStore.index()
TableHeaderRef.value.setDatePicker([
{ label: '年份', value: 1 },
{ label: '季度', value: 2 },
{ label: '月份', value: 3 },
{ label: '周', value: 4 }
])
})
//分析记录管理
const analysis = () => {