现场代码同步

This commit is contained in:
GGJ
2024-05-16 17:55:09 +08:00
parent 7167d52de4
commit eb3713f8cf
7 changed files with 46 additions and 29 deletions

View File

@@ -33,8 +33,12 @@
数据质量
</h3>
<div style="display: flex">
<MyEChart :style="`height: calc(${rowHeight} - 31px)`" :options="ComCharts" />
<MyEChart :style="`height: calc(${rowHeight} - 31px)`" :options="onLineCharts" />
<MyEChart :style="`height: calc(${rowHeight} - 31px)`" :options="ComCharts" @click="Integrity" />
<MyEChart
:style="`height: calc(${rowHeight} - 31px)`"
:options="onLineCharts"
@click="OnlineRate"
/>
</div>
</el-col>
<el-col :span="8">
@@ -109,7 +113,8 @@ import { color } from '@/components/echarts/color'
import DatePicker from '@/components/form/datePicker/index.vue'
import MyEChart from '@/components/echarts/MyEchart.vue'
import echarts from '@/components/echarts/echarts'
import { useRouter } from 'vue-router'
const router = useRouter()
import { getLineDetailData } from '@/api/advance-boot/bearingCapacity'
import {
getTotalIntegrityByLineIds,
@@ -565,6 +570,16 @@ const echart = (row: any) => {
chart.setOption(option)
}
// 跳转
const Integrity = () => {
router.push({
name:'harmonic-boot/harmonic/getIntegrityData'
})
}
const OnlineRate = () => {
router.push({
name:'harmonic-boot/area/OnlineRate'})
}
onMounted(() => {
// open('4c87b7dff2281254fc55c25a4da31506')