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] =?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 @@
- 播发 + + 播发 删除
+ + + + + + + + + @@ -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 @@ -