25613
This commit is contained in:
@@ -31,9 +31,10 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column slot="options" label="操作" align="center" width="180" fixed="right">
|
||||
<template slot-scope="{ row }">
|
||||
<div class="table-options" slot-scope="{ row }">
|
||||
<el-button type="text" @click="play(row.id)">播发</el-button>
|
||||
<el-button type="text" @click="remove(row.id)">删除</el-button>
|
||||
</template>
|
||||
</div>
|
||||
</el-table-column>
|
||||
</ai-table>
|
||||
</template>
|
||||
@@ -136,6 +137,15 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
play (id) {
|
||||
this.$emit('change', {
|
||||
type: 'Play',
|
||||
params: {
|
||||
id: id || ''
|
||||
},
|
||||
})
|
||||
},
|
||||
|
||||
// 添加
|
||||
onAdd(id) {
|
||||
this.$emit('change', {
|
||||
|
||||
Reference in New Issue
Block a user