调整播发广播在任意时刻可撤回
This commit is contained in:
@@ -32,9 +32,7 @@
|
||||
<template slot-scope="{ row }">
|
||||
<!-- <el-button type="text" @click="onAdd(row.id)">复制</el-button> -->
|
||||
<el-button type="text" @click="toDetail(row.id)">详情</el-button>
|
||||
<el-button type="text" @click="reset(row.id)"
|
||||
v-if="row.taskType == 1 && (row.broadcastStatus == 0 || row.broadcastStatus == 1 || row.broadcastStatus == 2 )">撤回
|
||||
</el-button>
|
||||
<el-button type="text" @click="reset(row.id)">撤回</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</ai-table>
|
||||
@@ -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'},
|
||||
|
||||
Reference in New Issue
Block a user