指标越限程度取值修改

This commit is contained in:
stt
2025-11-17 09:51:31 +08:00
parent f66dd649c7
commit 0f090666e9
5 changed files with 40 additions and 43 deletions

View File

@@ -14,7 +14,7 @@
isGroup
></Table>
<!-- 指标日趋势图 -->
<DailyTrendChart ref="dailyTrendChartRef" />
<DailyTrendChart v-if="dialogTrendChart" ref="dailyTrendChartRef" @close="dialogTrendChart = false" />
</div>
</template>
<script setup lang="ts">
@@ -39,8 +39,7 @@ const prop = defineProps({
const headerHeight = ref(57)
const route = useRoute()
const timeCacheStore = useTimeCacheStore()
const dialogTrendChart = ref(false)
const selectChange = (showSelect: any, height: any, datePickerValue?: any) => {
headerHeight.value = height
@@ -200,8 +199,11 @@ provide('tableStore', tableStore)
// 点击行
const cellClickEvent = ({ row, column }: any) => {
dialogTrendChart.value = true
if (column.field == 'maxValue' && row.lineId) {
dailyTrendChartRef.value.open(row)
nextTick(() => {
dailyTrendChartRef.value.open(row)
})
}
}