|
@@ -143,6 +143,11 @@ export default {
|
|
ids: [],
|
|
ids: [],
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ watch: {
|
|
|
|
+ 'form.channelType'(val) {
|
|
|
|
+ this.dialogForm.platformId = val === 16 ? 3 : val === 17 ? 2 : ''
|
|
|
|
+ }
|
|
|
|
+ },
|
|
mounted() {
|
|
mounted() {
|
|
this.getDetail()
|
|
this.getDetail()
|
|
this.getList()
|
|
this.getList()
|
|
@@ -174,7 +179,6 @@ export default {
|
|
// 修改频道属性
|
|
// 修改频道属性
|
|
handleChange(e) {
|
|
handleChange(e) {
|
|
let type = e === 17 ? 2 : e === 16 ? 8 : e
|
|
let type = e === 17 ? 2 : e === 16 ? 8 : e
|
|
- e === 17 ? [type = 2, this.dialogForm.platformId = 2] : e === 16 ? [type = 8, this.dialogForm.platformId = 3] : type = e
|
|
|
|
this.getPlatform({
|
|
this.getPlatform({
|
|
audioType: type
|
|
audioType: type
|
|
})
|
|
})
|