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'},