From fca39122a8e4d0a2379f25e4705b018258981370 Mon Sep 17 00:00:00 2001 From: liuye Date: Sat, 11 Jun 2022 13:43:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=96=87=E5=8F=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppBroadcast1/AppEquipment/detail.vue | 5 ++- .../AppBroadcast1/AppPlayList/AppPlayList.vue | 2 +- src/apps/AppBroadcast1/AppPlayList/detail.vue | 10 +++--- .../AppPlayList/equipmentList.vue | 35 +++++++++---------- .../AppResourcesManage/AppResourcesManage.vue | 7 ++-- 5 files changed, 31 insertions(+), 28 deletions(-) diff --git a/src/apps/AppBroadcast1/AppEquipment/detail.vue b/src/apps/AppBroadcast1/AppEquipment/detail.vue index bf06fd29..ceba3c87 100644 --- a/src/apps/AppBroadcast1/AppEquipment/detail.vue +++ b/src/apps/AppBroadcast1/AppEquipment/detail.vue @@ -108,11 +108,10 @@ export default { }, setVolume() { this.isShow = true - this.volume = this.info.volume * 10 || 10 + this.volume = this.info.volume }, confirmAdd() { - var volume = parseInt(this.volume/10) - this.$http.post(`/app/appdlbquipment/volumeControl?deviceId=${this.info.deviceId}&volume=${volume}`).then((res) => { + this.$http.post(`/app/appdlbquipment/volumeControl?deviceId=${this.info.deviceId}&volume=${this.volume}`).then((res) => { if (res.code == 0) { this.getDetail() this.isShow = false diff --git a/src/apps/AppBroadcast1/AppPlayList/AppPlayList.vue b/src/apps/AppBroadcast1/AppPlayList/AppPlayList.vue index 1e15fd43..096b8bbc 100644 --- a/src/apps/AppBroadcast1/AppPlayList/AppPlayList.vue +++ b/src/apps/AppBroadcast1/AppPlayList/AppPlayList.vue @@ -17,7 +17,7 @@
已下发
-
撤销
+
撤销
撤销
diff --git a/src/apps/AppBroadcast1/AppPlayList/detail.vue b/src/apps/AppBroadcast1/AppPlayList/detail.vue index e3d99db7..da13bee7 100644 --- a/src/apps/AppBroadcast1/AppPlayList/detail.vue +++ b/src/apps/AppBroadcast1/AppPlayList/detail.vue @@ -11,7 +11,9 @@
播放方式 - {{info.taskType == 1 ? '定时播放' : '立即播放'}}-{{ $dict.getLabel('dlbDyclingType', info.cyclingType) }} + {{info.taskType == 1 ? '定时播放' : '立即播放'}} + -{{ $dict.getLabel('dlbDyclingType', info.cyclingType) }} +
@@ -45,7 +47,7 @@
播发设备 - 10个设备 + {{info.devices.length}}个设备
@@ -58,7 +60,7 @@
-
撤销任务
+
撤销任务
@@ -98,7 +100,7 @@ export default { this.isShow = tru }, toEquipmentList() { - uni.navigateTo({url: `./equipmentList`}) + uni.navigateTo({url: `./equipmentList?id=${this.id}`}) }, getDetail() { this.$http.post(`/app/appzyvideobroadcast/queryDetailById?id=${this.id}`).then(res => { diff --git a/src/apps/AppBroadcast1/AppPlayList/equipmentList.vue b/src/apps/AppBroadcast1/AppPlayList/equipmentList.vue index a8ebefcf..dfa737eb 100644 --- a/src/apps/AppBroadcast1/AppPlayList/equipmentList.vue +++ b/src/apps/AppBroadcast1/AppPlayList/equipmentList.vue @@ -1,22 +1,13 @@