样式修改

This commit is contained in:
stt
2025-11-14 10:33:34 +08:00
parent 4c2ed4aade
commit f82ef923ae
2 changed files with 8 additions and 15 deletions

View File

@@ -78,7 +78,7 @@
</template> </template>
</TableHeader> </TableHeader>
</div> </div>
<div class="history_chart" :style="pageHeight" v-loading="loading"> <div class="history_chart" :style="pageHeight" v-loading="loading">
<MyEchart <MyEchart
ref="historyChart" ref="historyChart"
:options="echartsData" :options="echartsData"
@@ -117,7 +117,7 @@ const showEchart = ref(true)
const num = ref(0) const num = ref(0)
const timeControl = ref(false) const timeControl = ref(false)
//值类型 //值类型
const pageHeight = ref(mainHeight(412)) const pageHeight = ref(mainHeight(57 * 1.6, 1.6))
const loading = ref(true) const loading = ref(true)
const searchForm: any = ref({}) const searchForm: any = ref({})
const tableHeaderRef = ref() const tableHeaderRef = ref()
@@ -575,12 +575,9 @@ const setTimeControl = () => {
setEchart() setEchart()
} }
const selectChange = (flag: boolean) => { const selectChange = (flag: boolean, height: any) => {
if (flag) {
pageHeight.value = mainHeight(452) pageHeight.value = mainHeight(height * 1.6, 1.6)
} else {
pageHeight.value = mainHeight(412)
}
} }
//导出 //导出
const historyChart = ref() const historyChart = ref()

View File

@@ -117,7 +117,7 @@ const showEchart = ref(true)
const num = ref(0) const num = ref(0)
const timeControl = ref(false) const timeControl = ref(false)
//值类型 //值类型
const pageHeight = ref(mainHeight(412)) const pageHeight = ref(mainHeight(57 * 1.6, 1.6))
const loading = ref(true) const loading = ref(true)
const searchForm: any = ref({}) const searchForm: any = ref({})
const tableHeaderRef = ref() const tableHeaderRef = ref()
@@ -575,12 +575,8 @@ const setTimeControl = () => {
setEchart() setEchart()
} }
const selectChange = (flag: boolean) => { const selectChange = (flag: boolean, height: any) => {
if (flag) { pageHeight.value = mainHeight(height * 1.6, 1.6)
pageHeight.value = mainHeight(452)
} else {
pageHeight.value = mainHeight(412)
}
} }
//导出 //导出
const historyChart = ref() const historyChart = ref()