From ba6c5c55246f6a76adb45c5eed1a0479b3b19af9 Mon Sep 17 00:00:00 2001 From: Fluyan <754122931@qq.com> Date: Sun, 14 May 2023 12:49:40 +0800 Subject: [PATCH] you hua --- src/utils/api/index.js | 10 ++++ .../components/setdevice.vue | 54 ++++++++++++++++--- 2 files changed, 56 insertions(+), 8 deletions(-) diff --git a/src/utils/api/index.js b/src/utils/api/index.js index 57fdcee..4f0a025 100644 --- a/src/utils/api/index.js +++ b/src/utils/api/index.js @@ -386,3 +386,13 @@ export function getTerminalInfoJoggle(data) { data, }); } + + +//根据通道编号获取设备列表 +export function getTermListByChannelJoggle(data) { + return request({ + url: "/api/getTermListByChannel ", + method: "post", + data, + }); +} diff --git a/src/views/devicePhotoSchedule/components/setdevice.vue b/src/views/devicePhotoSchedule/components/setdevice.vue index f37e6eb..316d3f7 100644 --- a/src/views/devicePhotoSchedule/components/setdevice.vue +++ b/src/views/devicePhotoSchedule/components/setdevice.vue @@ -8,7 +8,12 @@ >

时间表规则

- + {{ val.startTime }} ~ + {{ val.endTime }} + 间隔:{{ val.span }}分钟 +

+

设置通道

@@ -53,6 +58,25 @@
+
+

电压等级:{{ dyitem.name }}

+
+

线路:{{ xlitem.name }}

+
+ + + +
+
+