From 2f1e902885992528f1a686485fbebb1c594048c6 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Mon, 13 Jun 2022 14:14:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/device/AppBroadcast/components/List.vue | 6 +++++- packages/device/AppEquipmentManage/components/taskList.vue | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/device/AppBroadcast/components/List.vue b/packages/device/AppBroadcast/components/List.vue index cf234bf5..52d7c28d 100644 --- a/packages/device/AppBroadcast/components/List.vue +++ b/packages/device/AppBroadcast/components/List.vue @@ -79,7 +79,11 @@ export default { return h('span', null, (row.taskType == 1? '定时播放':'立即播放'))}, }, {prop: 'startTime', label: '开始时间', align: 'center', width: 180}, - {prop: 'broadcastStatus', label: '状态', align: 'center', dict: "dlbBroadcastStatus"}, + {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'}, {prop: 'createUserName', label: '创建人', align: 'center'}, {slot: 'options'}, diff --git a/packages/device/AppEquipmentManage/components/taskList.vue b/packages/device/AppEquipmentManage/components/taskList.vue index 47da1bb7..4f75d3c4 100644 --- a/packages/device/AppEquipmentManage/components/taskList.vue +++ b/packages/device/AppEquipmentManage/components/taskList.vue @@ -85,9 +85,9 @@ export default { prop: 'broadcastStatus', label: '状态', align: 'center', - render: (h, {row}) => { - return h('span',null,this.dict.getLabel('dlbBroadcastStatus',row.broadcastStatus)) - }, + render: (h, { row })=>{ + return h('span',null, (row.broadcastStatus == 0? '已下发': row.broadcastStatus == 3? '播发成功': row.broadcastStatus == 6? '已取消': '')) + } }, { prop: 'createUserName',