|
@@ -9,8 +9,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="频道属性:" prop="channelType">
|
|
|
<el-select v-model="form.channelType" placeholder="请选择频道属性" @change="handleChange">
|
|
|
- <el-option v-for="item in channelTypeOptions" :key="item.value" :value="item.value"
|
|
|
- :label="item.label" />
|
|
|
+ <el-option v-for="item in channelTypeOptions" :key="item.value" :value="item.value" :label="item.label" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="频道名称:" prop="channelName">
|
|
@@ -18,7 +17,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="频道介绍:" prop="channelDescribe">
|
|
|
<el-input v-model="form.channelDescribe" type="textarea" placeholder="请输入频道简介"
|
|
|
- :autosize="{ minRows: 5, maxRows: 10}" maxlength="300" show-word-limit />
|
|
|
+ :autosize="{ minRows: 5, maxRows: 10 }" maxlength="300" show-word-limit />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="频道封面:" prop="channelCover">
|
|
|
<Upload listType="picture-card" :url="form.channelCover" @upload="upload" :disabled="disabled" />
|
|
@@ -51,19 +50,17 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- 弹窗 -->
|
|
|
- <Dialog :visible="dialogVisible" :data="form.listagCategoryAudio" :channelType="form.channelType"
|
|
|
- @close="close" />
|
|
|
+ <Dialog :visible="dialogVisible" :data="form.listagCategoryAudio" :channelType="form.channelType" @close="close" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import Dialog from '@/components/Dialog/index.vue'
|
|
|
-import Upload from '@/components/Upload/index.vue'
|
|
|
import { submitThree, detail } from '@/api/operation/tag'
|
|
|
import { platformMixin, isFreeMixin, audioMixin } from '@/mixin/index'
|
|
|
export default {
|
|
|
components: {
|
|
|
- Upload, Dialog
|
|
|
+ Dialog
|
|
|
},
|
|
|
mixins: [platformMixin, isFreeMixin, audioMixin],
|
|
|
data() {
|