This commit is contained in:
shijingjing
2022-06-13 14:14:47 +08:00
parent bf6d86bf4e
commit 2f1e902885
2 changed files with 8 additions and 4 deletions

View File

@@ -79,7 +79,11 @@ export default {
return h('span', null, (row.taskType == 1? '定时播放':'立即播放'))}, return h('span', null, (row.taskType == 1? '定时播放':'立即播放'))},
}, },
{prop: 'startTime', label: '开始时间', align: 'center', width: 180}, {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: 'areaName', label: '地区', align: 'center'},
{prop: 'createUserName', label: '创建人', align: 'center'}, {prop: 'createUserName', label: '创建人', align: 'center'},
{slot: 'options'}, {slot: 'options'},

View File

@@ -86,8 +86,8 @@ export default {
label: '状态', label: '状态',
align: 'center', align: 'center',
render: (h, { row })=>{ render: (h, { row })=>{
return h('span',null,this.dict.getLabel('dlbBroadcastStatus',row.broadcastStatus)) return h('span',null, (row.broadcastStatus == 0? '已下发': row.broadcastStatus == 3? '播发成功': row.broadcastStatus == 6? '已取消': ''))
}, }
}, },
{ {
prop: 'createUserName', prop: 'createUserName',