feat(报表分析): 临时隐藏报表页顶部标题区
This commit is contained in:
@@ -54,6 +54,12 @@ const metaText = computed(() =>
|
||||
generatedAt.value ? `数据截至 ${generatedAt.value}` : '正在读取数据…',
|
||||
)
|
||||
|
||||
/**
|
||||
* 临时开关:是否渲染页面顶部标题区(标题 + 描述 + 筛选条数 / 数据截至)。
|
||||
* 当前先隐藏,后续确认布局后再置为 true 恢复。
|
||||
*/
|
||||
const showPageIntro = ref(false)
|
||||
|
||||
onMounted(async () => {
|
||||
await appStore.loadCampuses()
|
||||
await loadReportDataset()
|
||||
@@ -62,7 +68,7 @@ onMounted(async () => {
|
||||
|
||||
<template>
|
||||
<section class="report-page">
|
||||
<div class="page-intro">
|
||||
<div v-if="showPageIntro" class="page-intro">
|
||||
<div>
|
||||
<h1>{{ props.title }}</h1>
|
||||
<p>{{ props.description }}</p>
|
||||
|
||||
Reference in New Issue
Block a user