|
|
|
|
@ -77,6 +77,7 @@ import { useMessage } from '@/composables/useMessage'
@@ -77,6 +77,7 @@ import { useMessage } from '@/composables/useMessage'
|
|
|
|
|
import dayjs from 'dayjs' |
|
|
|
|
import { nextTick } from "vue"; |
|
|
|
|
import EdfsWrap from "@/components/Edfs-wrap.vue"; |
|
|
|
|
import { bms_cellRewriteName } from "@/views/stationData/utils"; |
|
|
|
|
|
|
|
|
|
const time = ref<[string, string]>() |
|
|
|
|
|
|
|
|
|
@ -189,7 +190,6 @@ async function loadChardData() {
@@ -189,7 +190,6 @@ async function loadChardData() {
|
|
|
|
|
message.error('请选择点位') |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
onCollapse(true) |
|
|
|
|
clearData() |
|
|
|
|
const limit = chartLimit.value |
|
|
|
|
const offset = chartOffset.value |
|
|
|
|
@ -357,7 +357,7 @@ async function loadPointGroup() {
@@ -357,7 +357,7 @@ async function loadPointGroup() {
|
|
|
|
|
if (res.code === 0) { |
|
|
|
|
curGroup.value = res.data[0]?.type |
|
|
|
|
curGroupName.value = res.data[0]?.name |
|
|
|
|
pointGroup.value = Array.isArray(res?.data) ? res.data : [] |
|
|
|
|
pointGroup.value = Array.isArray(res?.data) ? bms_cellRewriteName(res.data) : [] |
|
|
|
|
return Promise.resolve() |
|
|
|
|
} else { |
|
|
|
|
return Promise.reject() |
|
|
|
|
@ -401,7 +401,8 @@ const disabledDate = (time: any) => {
@@ -401,7 +401,8 @@ const disabledDate = (time: any) => {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const collapsed = ref(false) |
|
|
|
|
function onCollapse(value?:boolean) { |
|
|
|
|
|
|
|
|
|
function onCollapse(value?: boolean) { |
|
|
|
|
collapsed.value = value ?? !collapsed.value |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|