|
@@ -12,8 +12,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="播客分类:" prop="categoryIds">
|
|
|
<el-select v-model="form.categoryIds" multiple placeholder="请选择播客分类">
|
|
|
- <el-option v-for="item in classifyOptions" :key="item.value" :value="item.value.toString()"
|
|
|
- :label="item.label" />
|
|
|
+ <el-option v-for="item in blogClassOptions" :key="item.value" :value="item.value" :label="item.label" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="播客介绍:" prop="description">
|
|
@@ -45,7 +44,7 @@
|
|
|
<el-button @click="getDelete" :disabled="ids.length > 0 ? false : true">解除关联</el-button>
|
|
|
</el-form-item>
|
|
|
<el-form-item style="width: 100%">
|
|
|
- <el-table :data="form.adminPodCastProgramDetailResp" height="497" @selection-change="handleSelect">
|
|
|
+ <el-table :data="form.adminPodCastProgramDetailResp" @selection-change="handleSelect">
|
|
|
<el-table-column type="selection" align="center" />
|
|
|
<el-table-column label="ID" prop="id" align="center" show-overflow-tooltip />
|
|
|
<el-table-column label="节目名称" prop="name" align="center" show-overflow-tooltip />
|
|
@@ -106,11 +105,11 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { classifyMixin, platformMixin, payTypeMixin, onOrOffMixin, isFreeMixin } from '@/mixin/index'
|
|
|
+import { blogClassMixin, platformMixin, payTypeMixin, onOrOffMixin, isFreeMixin } from '@/mixin/index'
|
|
|
import { selectAnchor } from '@/api/music/anchor'
|
|
|
import { detail, submit, relieve, checkList } from '@/api/music/blog'
|
|
|
export default {
|
|
|
- mixins: [classifyMixin, platformMixin, payTypeMixin, onOrOffMixin, isFreeMixin],
|
|
|
+ mixins: [blogClassMixin, platformMixin, payTypeMixin, onOrOffMixin, isFreeMixin],
|
|
|
data() {
|
|
|
// 判断原价是否大于折扣价
|
|
|
var checkPrice = (rule, value, callback) => {
|
|
@@ -199,8 +198,6 @@ export default {
|
|
|
this.getPlatform({
|
|
|
audioType: 8
|
|
|
})
|
|
|
- // 分类
|
|
|
- this.getClassify(8)
|
|
|
if (this.$route.query.id) {
|
|
|
this.form.id = this.$route.query.id
|
|
|
this.disabled = Boolean(this.$route.query.disabled)
|