|
@@ -300,6 +300,8 @@
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|
|
|
+
|
|
|
+ this.getDropList();
|
|
|
//编辑时赋值
|
|
|
const editData = this.$props.editData;
|
|
|
if(editData.id){
|
|
@@ -308,7 +310,7 @@
|
|
|
}
|
|
|
|
|
|
this.$emit('submitForm', 'groups', false);
|
|
|
- this.getDropList();
|
|
|
+
|
|
|
this.$emit('changeVal', this.form, false);
|
|
|
|
|
|
},
|
|
@@ -324,6 +326,7 @@
|
|
|
this.AdscriptionsList = res.data.data[1]
|
|
|
this.labelTypesList = res.data.data[6];
|
|
|
this.form.tipLis = res.data.data[6];
|
|
|
+ this.labelTypes = this.labelTypesList;
|
|
|
this.Adscriptions = this.AdscriptionsList.filter(item => Object.keys(this.labelTypesMaps).indexOf(item.val) > -1)
|
|
|
}
|
|
|
})
|