|
@@ -120,9 +120,11 @@ export default {
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
const editData = this.$props.editData;
|
|
const editData = this.$props.editData;
|
|
|
|
+ let templateOwn = localStorage.getItem('icssEnumsData') ? JSON.parse(localStorage.getItem('icssEnumsData')).moduleTypeEnum : []
|
|
if(editData.id){ //修改
|
|
if(editData.id){ //修改
|
|
// const trans = utils.transformKeys(editData,2);
|
|
// const trans = utils.transformKeys(editData,2);
|
|
this.form = Object.assign({},this.form,editData);
|
|
this.form = Object.assign({},this.form,editData);
|
|
|
|
+ this.Adscriptions = templateOwn
|
|
this.form.region1 = (editData.type+'')
|
|
this.form.region1 = (editData.type+'')
|
|
this.form.region2 = editData.name
|
|
this.form.region2 = editData.name
|
|
}
|
|
}
|