稳态数据调整

This commit is contained in:
sjl
2025-12-25 13:17:49 +08:00
parent 454d612a32
commit eb38fdd601
6 changed files with 12 additions and 12 deletions

View File

@@ -248,7 +248,7 @@ const setTheDate = (val: any) => {
} }
// 导出 // 导出
const onExport = () => { const onExport = () => {
console.log('222')
tableStore.onTableAction('export', { showAllFlag: true }) tableStore.onTableAction('export', { showAllFlag: true })
} }

View File

@@ -215,7 +215,7 @@ export default class TableStore {
) )
).then(res => { ).then(res => {
this.table.allData = filtration(res.data.records || res.data) this.table.allData = filtration(res.data.records || res.data)
console.log('11111',this.table.allData) console.log('11111',this.table)
this.table.exportProcessingData && this.table.exportProcessingData() this.table.exportProcessingData && this.table.exportProcessingData()
this.table.allFlag = data.showAllFlag || true this.table.allFlag = data.showAllFlag || true
}) })

View File

@@ -1796,8 +1796,7 @@ const getEcharts = () => {
echarts.connect('group') echarts.connect('group')
} }
const conditionChange = () => { const conditionChange = () => {
console.log(123)
//判断一个指标时 //判断一个指标时
if (formData.condition.length == 1) { if (formData.condition.length == 1) {
if ( if (
@@ -1933,9 +1932,9 @@ const conditionChange = () => {
] ]
} }
setTimeout(() => { setTimeout(() => {
// console.log('🚀 ~ setTimeout ~ tableHeaderRef.value:', tableHeaderRef.value) //console.log('🚀 ~ setTimeout ~ tableHeaderRef.value:', tableHeaderRef.value)
tableHeaderRef.value && tableHeaderRef.value?.computedSearchRow() //tableHeaderRef.value && tableHeaderRef.value?.computedSearchRow()
}, 100) }, 100)
} }

View File

@@ -236,9 +236,9 @@ const init = () => {
msg += params[0].name + '<br/>' msg += params[0].name + '<br/>'
for (let i in params) { for (let i in params) {
if (params[i].data == 3.14159) { if (params[i].data == 3.14159) {
msg +=params[i].marker+ params[i].seriesName + ': 暂无数据<br/>' msg +=params[i].marker + ': 暂无数据<br/>'
} else { } else {
msg += params[i].marker+ params[i].seriesName + ': ' + params[i].data + '<br/>' msg += params[i].marker + ': ' + params[i].data + '<br/>'
} }
} }
return msg return msg

View File

@@ -41,7 +41,7 @@
</template> </template>
<template #operation> <template #operation>
<el-button icon="el-icon-Download" type="primary" @click="exportEvent">导出excel</el-button> <el-button icon="el-icon-Download" type="primary" @click="exportEvent">导出excel</el-button>
<el-button icon="el-icon-Download" :loading="loading" @click="exportReport" type="primary"> <el-button icon="el-icon-Download" :loading="loading" @click="exportReport" type="primary" v-if="VITE_FLAG">
下载报告 下载报告
</el-button> </el-button>
</template> </template>
@@ -69,6 +69,7 @@ import { ElMessage } from 'element-plus'
defineOptions({ defineOptions({
name: 'harmonic-boot/xieboReport' name: 'harmonic-boot/xieboReport'
}) })
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
const showTree = ref(false) const showTree = ref(false)
const height = mainHeight(20) const height = mainHeight(20)
const size = ref(23) const size = ref(23)

View File

@@ -44,9 +44,9 @@ import EventUploadPopup from '@/views/pqs/voltageSags/sagGovern/businessUser/eve
import UserPopup from './userPopup.vue' import UserPopup from './userPopup.vue'
defineOptions({ // defineOptions({
name: 'businessUser' // name: 'businessUser'
}) // })
const { push } = useRouter() const { push } = useRouter()
//区域联级选择 //区域联级选择