修改江西测试问题

This commit is contained in:
guanj
2025-07-28 08:53:15 +08:00
parent b874da9f96
commit e90cecfb5b
14 changed files with 271 additions and 96 deletions

View File

@@ -26,7 +26,7 @@
</div>
<div v-loading="loading" id="trend">
<div :style="height" v-for="(item, index) in searchForm.index" :key="index">
<MyEchart ref="MyEchartRef" :options="item.echartsData" :isInterVal="true"></MyEchart>
<MyEchart ref="MyEchartRef" :options="item.echartsData" :isInterVal="true" @group="group"></MyEchart>
</div>
</div>
</div>
@@ -163,6 +163,9 @@ const indexOptions: any = ref([
data: []
}
])
const group = (e: any) => {
e.group = 'group'
}
const change = () => {
height.value = mainHeight(150, searchForm.value.index.length)
// let name = searchForm.value.index.map(item => item.name)

View File

@@ -74,6 +74,7 @@
style="min-height: 210px"
:style="height"
@triggerPoint="triggerPoint"
@group="group"
/>
</div>
</div>
@@ -143,7 +144,7 @@ const typeOptions = ref([
{ label: 'cp95值', value: 4 }
])
onMounted(() => {
datePickerRef.value.setTheDate(5)
datePickerRef.value.setTheDate(5)
init()
})
const height: any = ref(mainHeight(200, 1))
@@ -159,6 +160,9 @@ const checkChange = () => {
init()
}
}
const group = (e: any) => {
e.group = 'group'
}
const init = () => {
if (formData.condition.length == 0) {
return ElMessage.warning('请选择指标类型')