|
@@ -75,7 +75,8 @@
|
|
<el-table-column label="播放时长" prop="playTime" align="center" />
|
|
<el-table-column label="播放时长" prop="playTime" align="center" />
|
|
<el-table-column label="操作" align="center">
|
|
<el-table-column label="操作" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button type="text" @click="getChecked(scope.row)" :disabled="disabledChecked">
|
|
|
|
|
|
+ <el-button type="text" @click="getChecked(scope.row)"
|
|
|
|
+ :disabled="form.programList.findIndex(i => i.id === scope.row.id) === -1 ? false : true">
|
|
选择
|
|
选择
|
|
</el-button>
|
|
</el-button>
|
|
</template>
|
|
</template>
|
|
@@ -138,7 +139,8 @@ export default {
|
|
// 弹窗表单
|
|
// 弹窗表单
|
|
dialogForm: {
|
|
dialogForm: {
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
- pageSize: 10
|
|
|
|
|
|
+ pageSize: 10,
|
|
|
|
+ status: 1
|
|
},
|
|
},
|
|
// 总数据
|
|
// 总数据
|
|
total: 0,
|
|
total: 0,
|
|
@@ -167,9 +169,6 @@ export default {
|
|
if (res.code === 0) {
|
|
if (res.code === 0) {
|
|
this.form = res.data
|
|
this.form = res.data
|
|
this.form_loading = false
|
|
this.form_loading = false
|
|
- if (res.data.programList) {
|
|
|
|
- this.disabledChecked = this.form.programList.findIndex(i => i.id === scope.row.id) === -1 ? false : true
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -206,7 +205,8 @@ export default {
|
|
getRefresh() {
|
|
getRefresh() {
|
|
this.dialogForm = {
|
|
this.dialogForm = {
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
- pageSize: 10
|
|
|
|
|
|
+ pageSize: 10,
|
|
|
|
+ status: 1
|
|
}
|
|
}
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|