任务详情

This commit is contained in:
shijingjing
2022-06-08 17:57:19 +08:00
parent fc220c7868
commit d24898b558
6 changed files with 133 additions and 12 deletions

View File

@@ -31,6 +31,7 @@
<el-table-column slot="options" label="操作" align="center" width="180" fixed="right">
<template slot-scope="{ row }">
<el-button type="text" @click="onAdd(row.broadcastId)">复制</el-button>
<el-button type="text" @click="toDetail(row.broadcastId)">详情</el-button>
<el-button type="text" @click="cancel(row.broadcastId)"
v-if="row.broadcastStatus == 0 || row.broadcastStatus == 1 || row.broadcastStatus == 2">撤回
</el-button>
@@ -126,6 +127,14 @@ export default {
}
})
},
toDetail(id) {
this.$emit('change', {
type: 'detail',
params: {
id: id || ''
}
})
},
cancel(id) {
this.$confirm('确定撤回该广播?').then(() => {
this.instance.post(`/app/appzyvideobroadcast/getBroadcastRecall?broadcastId=${id}`).then((res) => {