-
-
![]()
+
-
-
-
@@ -169,13 +155,12 @@
time: undefined, //时间
time_interval: 'day',
})
- const baseDate = ref([])
+ const baseDate = ref
([])
const pointDate = ref([])
const statisData = ref({})
// 预警数量
const earlyNums = ref({})
- // 选中
- const activeKey = ref('chlorine')
+
interface EarlyWarningItem {
icon: String
title: String
@@ -209,10 +194,7 @@
})
return arr
})
- const currentActiveLable = computed(
- () => tagMenus.find((e) => e.value === activeKey.value)?.lable ?? '',
- )
- const chartData = computed(() => statisData.value[activeKey.value])
+
const extra = computed(() => {
const name1 = baseDate.value?.find((e: any) => e.id === formState.base_id)?.name
const name2 = pointDate.value?.find((e: any) => e.value === formState.device_id)?.label ?? ''
@@ -336,10 +318,7 @@
const handleSuccess = () => {
message.success('操作成功')
}
- //
- const onChangeTag = (e: string) => {
- activeKey.value = e
- }
+
onMounted(() => {
getBase()
})
diff --git a/src/views/main/water-quality/index1.vue b/src/views/main/water-quality/index1.vue
new file mode 100644
index 00000000..eeab77e0
--- /dev/null
+++ b/src/views/main/water-quality/index1.vue
@@ -0,0 +1,352 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 预警数据统计
+
+
+
+
+
+
+
+
![]()
+
{{ item.lable }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+