From 3a4b094461e11002287a667b8bea49b362a2fc6f Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期五, 02 二月 2024 18:55:12 +0800 Subject: [PATCH] config配置修改、获取任务列表、设备列表、获取问题列表接口联调 --- src/views/dashboard/index.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index fea5c74..8420dff 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -75,7 +75,7 @@ </div> </template> <template #rightBlock2> - <DeviceStatusInfo :plc="plcStore.plcInfo" :type="1"></DeviceStatusInfo> + <DeviceStatusInfo :type="1"></DeviceStatusInfo> <DeviceStatusInfo :device="deviceStore.deviceInfo" :type="2"></DeviceStatusInfo> <DeviceNumberInfo></DeviceNumberInfo> </template> @@ -122,7 +122,7 @@ import TaskControl from '@/views/dashboard/components/TaskControl.vue' import SubTitle from '@/views/dashboard/components/SubTitle.vue' import DashboardTitle from '@/views/dashboard/components/DashboardTitle.vue' -import { usePLCStore } from '@/stores/plc' +// import { usePLCStore } from '@/stores/plc' import { useDevicesStore } from '@/stores/devices' import { useCraftModelStore } from '@/stores/craftModel' import CraftDetailModal from '@/views/dashboard/components/CraftDetailModal.vue' @@ -173,7 +173,7 @@ */ function reloadChannel(task: Task) { tasksStore.reloadChannel(task.Channel).then(() => { - plcStore.startPollingPLC() + // plcStore.startPollingPLC() }) } @@ -182,8 +182,8 @@ location.reload() } // 鍚姩plc 杞 -const plcStore = usePLCStore() -plcStore.startPollingPLC() +// const plcStore = usePLCStore() +// plcStore.startPollingPLC() // 鍚姩 璁惧 杞 const deviceStore = useDevicesStore() deviceStore.startPollingDevice() -- Gitblit v1.8.0