|
@@ -26,7 +26,7 @@
|
|
</el-select>
|
|
</el-select>
|
|
<el-input v-model="threeTag.threeName" placeholder="请输入三级标签" style="margin-right: 10px;" />
|
|
<el-input v-model="threeTag.threeName" placeholder="请输入三级标签" style="margin-right: 10px;" />
|
|
<el-select v-model="threeTag.propertyId" placeholder="请选择标签属性" style="margin-right: 10px;">
|
|
<el-select v-model="threeTag.propertyId" placeholder="请选择标签属性" style="margin-right: 10px;">
|
|
- <el-option v-for="item in dict.type.audio_type" :key="item.value" :label="item.label"
|
|
|
|
|
|
+ <el-option v-for="item in lableTypeOptions" :key="item.value" :label="item.label"
|
|
:value="item.value" />
|
|
:value="item.value" />
|
|
</el-select>
|
|
</el-select>
|
|
<el-button type="primary" icon="el-icon-plus" @click="getInput">添加</el-button>
|
|
<el-button type="primary" icon="el-icon-plus" @click="getInput">添加</el-button>
|
|
@@ -156,6 +156,18 @@ export default {
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
},
|
|
},
|
|
total: 0,
|
|
total: 0,
|
|
|
|
+
|
|
|
|
+ // 标签属性
|
|
|
|
+ lableTypeOptions: [{
|
|
|
|
+ value: 2,
|
|
|
|
+ label: '广播'
|
|
|
|
+ }, {
|
|
|
|
+ value: 6,
|
|
|
|
+ label: '节目'
|
|
|
|
+ }, {
|
|
|
|
+ value: 8,
|
|
|
|
+ label: '专辑'
|
|
|
|
+ }]
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -380,10 +392,10 @@ export default {
|
|
|
|
|
|
// 字典翻译
|
|
// 字典翻译
|
|
propertyFormatter(row) {
|
|
propertyFormatter(row) {
|
|
- return this.selectDictLabel(this.dict.type.audio_type, row)
|
|
|
|
|
|
+ return this.selectDictLabel(this.lableTypeOptions, row)
|
|
},
|
|
},
|
|
typeFormatter(row) {
|
|
typeFormatter(row) {
|
|
- return this.selectDictLabel(this.dict.type.audio_type, row.audioType)
|
|
|
|
|
|
+ return this.selectDictLabel(this.lableTypeOptions, row.audioType)
|
|
},
|
|
},
|
|
freeFormatter(row) {
|
|
freeFormatter(row) {
|
|
return this.selectDictLabel(this.dict.type.free_yes_no, row.isFree)
|
|
return this.selectDictLabel(this.dict.type.free_yes_no, row.isFree)
|