From 5fbcb497c6c3a2d098fd53a2a3c6440ee68545c7 Mon Sep 17 00:00:00 2001 From: liuyi Date: Sat, 6 May 2023 14:38:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E8=BD=AE=E5=B7=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/api/index.js | 12 ++ src/views/pictureRotation/index.vue | 275 +++++++++++----------------- 2 files changed, 123 insertions(+), 164 deletions(-) diff --git a/src/utils/api/index.js b/src/utils/api/index.js index 1c06ebc..8248494 100644 --- a/src/utils/api/index.js +++ b/src/utils/api/index.js @@ -36,6 +36,18 @@ export function getChannelByTermidJoggle(data) { }); } + +//图片轮巡 +//获取图片轮巡接口 +export function getPictureList(data){ + return request({ + url: "/test/getPhotoBanner", + method: "post", + data + }) +} + + //拍照时间表设置 //1.获取任务规则列表接口 export function getScheduleRulelListJoggle(data) { diff --git a/src/views/pictureRotation/index.vue b/src/views/pictureRotation/index.vue index 83d3630..af63311 100644 --- a/src/views/pictureRotation/index.vue +++ b/src/views/pictureRotation/index.vue @@ -16,8 +16,8 @@ {{ isRuning ? "暂停轮巡" : "开始轮巡" }} - 设置 - 轮询条件 + 设置 + {{ isRuning ? remainingTime : "已暂停" }} -
+

{{ item.channelId }}-{{ item.termId }}-{{ item.fileSize }}

-

{{ item.photoTime }}

+

{{ $moment(item.photoTime).format("yy-MM-DD HH:mm:ss") }} 

+ + + + + + + + + + +