|
@@ -126,7 +126,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="音频类型:">
|
|
|
<el-select v-model="form.audioType" placeholder="请选择类型" :disabled="disabled">
|
|
|
- <el-option v-for="item in dict.type.audio_type" :key="item.value" :label="item.label"
|
|
|
+ <el-option v-for="item in audioTypeOptions" :key="item.value" :label="item.label"
|
|
|
:value="Number(item.value)" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -457,7 +457,7 @@ export default {
|
|
|
getDialog(index) {
|
|
|
this.dialogVisible = true
|
|
|
this.index = index
|
|
|
- if (this.list[index].forwardType) {
|
|
|
+ if (this.list[index].forwardType !== null) {
|
|
|
this.form.audioType = this.typeOptions.find(i => i.value === this.list[index].forwardType).type
|
|
|
}
|
|
|
this.disabled = this.tabIndex == 2 && this.active === 1 || this.list[index].forwardType !== null ? true : false
|