From 2235f5411ca58f7b7f11d7e5d79f2ce796b56e1d Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 27 Dec 2022 11:48:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=92=AD=E5=8F=91=E5=B9=BF?= =?UTF-8?q?=E6=92=AD=E5=9C=A8=E4=BB=BB=E6=84=8F=E6=97=B6=E5=88=BB=E5=8F=AF?= =?UTF-8?q?=E6=92=A4=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../device/AppBroadcast/components/List.vue | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/packages/device/AppBroadcast/components/List.vue b/packages/device/AppBroadcast/components/List.vue index e5033ae1..a68c3a15 100644 --- a/packages/device/AppBroadcast/components/List.vue +++ b/packages/device/AppBroadcast/components/List.vue @@ -32,9 +32,7 @@ @@ -71,17 +69,22 @@ export default { ids: [], colConfigs: [ {prop: 'sourceName', label: '媒资名称', width: 200}, - {prop: 'type', label: '媒资类型', align: 'center', render: (h, {row}) => { - return h('span', null, this.dict.getLabel('dlbResourceType',row.type))}, + { + prop: 'type', label: '媒资类型', align: 'center', render: (h, {row}) => { + return h('span', null, this.dict.getLabel('dlbResourceType', row.type)) + }, }, {prop: 'messageLevel', label: '级别', align: 'center', dict: "dlbMessageUrgency"}, - {prop: 'taskType', label: '播发方式', align: 'center', render: (h, {row}) => { - return h('span', null, (row.taskType == 1? '定时播放':'立即播放'))}, + { + prop: 'taskType', label: '播发方式', align: 'center', render: (h, {row}) => { + return h('span', null, (row.taskType == 1 ? '定时播放' : '立即播放')) + }, }, {prop: 'startTime', label: '开始时间', align: 'center', width: 180}, - {prop: 'broadcastStatus', label: '状态', align: 'center', - render: (h, { row })=>{ - return h('span',null, (row.broadcastStatus == 0? '已下发': row.broadcastStatus == 3? '播发成功': row.broadcastStatus == 6? '已取消': '')) + { + prop: 'broadcastStatus', label: '状态', align: 'center', + render: (h, {row}) => { + return h('span', null, (row.broadcastStatus == 0 ? '已下发' : row.broadcastStatus == 3 ? '播发成功' : row.broadcastStatus == 6 ? '已取消' : '')) } }, // {prop: 'areaName', label: '地区', align: 'center'},