From 33294ac8e79a7ccb9f6193debce90e72dc49ee36 Mon Sep 17 00:00:00 2001
From: shijingjing <1789544664@qq.com>
Date: Wed, 8 Jun 2022 16:51:45 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E8=AF=A6=E6=83=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../device/AppMediaManage/components/List.vue | 52 +++++++++++++++++--
.../extra/AppAddressBook/components/Add.vue | 2 +-
2 files changed, 49 insertions(+), 5 deletions(-)
diff --git a/packages/device/AppMediaManage/components/List.vue b/packages/device/AppMediaManage/components/List.vue
index 30f9485d..07218b84 100644
--- a/packages/device/AppMediaManage/components/List.vue
+++ b/packages/device/AppMediaManage/components/List.vue
@@ -32,13 +32,41 @@
- 播发
+
+ 播发
删除
+
+
+
+
+
+
+
+
+ {{$dict.getLabel('dlbResourceType', info.type)}}
+
+
+
+
+
+
+
+
@@ -82,9 +110,9 @@ export default {
return h('span', null, this.dict.getLabel('dlbResourceType', row.type))
},
},
- {
- slot: 'content',
- },
+ // {
+ // slot: 'content',
+ // },
{prop: 'createTime', label: '创建时间', align: 'center'},
{
prop: 'createUserName',
@@ -101,6 +129,8 @@ export default {
],
tableData: [],
areaId: '',
+ detailDialog: false,
+ info: {},
}
},
@@ -137,7 +167,18 @@ export default {
})
},
+ getItemInfo (id) {
+ this.instance.post(`/app/appdlbresource/queryDetailById?id=${id}`).then(res => {
+ if (res?.data) {
+ console.log(res);
+ this.info = res.data
+ this.detailDialog = true
+ }
+ })
+ },
+
play (id) {
+ this.detailDialog = false
this.$emit('change', {
type: 'Play',
params: {
@@ -184,5 +225,8 @@ export default {
.mar-t10 {
margin-top: 10px;
}
+ .audios {
+ padding-left: 40px;
+ }
}
diff --git a/packages/extra/AppAddressBook/components/Add.vue b/packages/extra/AppAddressBook/components/Add.vue
index 1366ad2b..542f1cae 100644
--- a/packages/extra/AppAddressBook/components/Add.vue
+++ b/packages/extra/AppAddressBook/components/Add.vue
@@ -4,7 +4,7 @@
-
+
From fc220c78687be03e8d3dcc530ec19a9c01e54881 Mon Sep 17 00:00:00 2001
From: shijingjing <1789544664@qq.com>
Date: Wed, 8 Jun 2022 17:19:32 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=88=97=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../AppEquipmentManage/AppEquipmentManage.vue | 10 +-
.../AppEquipmentManage/components/List.vue | 26 ++--
.../components/taskList.vue | 130 ++++++++++++++++++
3 files changed, 150 insertions(+), 16 deletions(-)
create mode 100644 packages/device/AppEquipmentManage/components/taskList.vue
diff --git a/packages/device/AppEquipmentManage/AppEquipmentManage.vue b/packages/device/AppEquipmentManage/AppEquipmentManage.vue
index fb34f2a6..5acc23f9 100644
--- a/packages/device/AppEquipmentManage/AppEquipmentManage.vue
+++ b/packages/device/AppEquipmentManage/AppEquipmentManage.vue
@@ -8,6 +8,7 @@
diff --git a/packages/device/AppEquipmentManage/components/taskList.vue b/packages/device/AppEquipmentManage/components/taskList.vue
new file mode 100644
index 00000000..426236cf
--- /dev/null
+++ b/packages/device/AppEquipmentManage/components/taskList.vue
@@ -0,0 +1,130 @@
+
+
+
+
+
+
+
+
+
+
+ (ids = v.map((e) => e.id))">
+
+
+ 撤回任务
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
From d24898b55857fa48c32e78b2bde30623a5a66203 Mon Sep 17 00:00:00 2001
From: shijingjing <1789544664@qq.com>
Date: Wed, 8 Jun 2022 17:57:19 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E8=AF=A6=E6=83=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
packages/device/AppBroadcast/AppBroadcast.vue | 11 ++-
.../device/AppBroadcast/components/Detail.vue | 96 +++++++++++++++++++
.../device/AppBroadcast/components/List.vue | 9 ++
.../AppEquipmentManage/AppEquipmentManage.vue | 8 +-
.../AppEquipmentManage/components/List.vue | 11 ++-
.../components/taskList.vue | 10 +-
6 files changed, 133 insertions(+), 12 deletions(-)
create mode 100644 packages/device/AppBroadcast/components/Detail.vue
diff --git a/packages/device/AppBroadcast/AppBroadcast.vue b/packages/device/AppBroadcast/AppBroadcast.vue
index 151f99d3..b1cac578 100644
--- a/packages/device/AppBroadcast/AppBroadcast.vue
+++ b/packages/device/AppBroadcast/AppBroadcast.vue
@@ -9,6 +9,7 @@
+
+
\ No newline at end of file
diff --git a/packages/device/AppBroadcast/components/List.vue b/packages/device/AppBroadcast/components/List.vue
index 17682cee..c79d6bc2 100644
--- a/packages/device/AppBroadcast/components/List.vue
+++ b/packages/device/AppBroadcast/components/List.vue
@@ -31,6 +31,7 @@
复制
+ 详情
撤回
@@ -126,6 +127,14 @@ export default {
}
})
},
+ toDetail(id) {
+ this.$emit('change', {
+ type: 'detail',
+ params: {
+ id: id || ''
+ }
+ })
+ },
cancel(id) {
this.$confirm('确定撤回该广播?').then(() => {
this.instance.post(`/app/appzyvideobroadcast/getBroadcastRecall?broadcastId=${id}`).then((res) => {
diff --git a/packages/device/AppEquipmentManage/AppEquipmentManage.vue b/packages/device/AppEquipmentManage/AppEquipmentManage.vue
index 5acc23f9..ba5792fe 100644
--- a/packages/device/AppEquipmentManage/AppEquipmentManage.vue
+++ b/packages/device/AppEquipmentManage/AppEquipmentManage.vue
@@ -8,7 +8,7 @@
\ No newline at end of file