diff --git a/src/views/emis/emisContinent/emisContinentForm.vue b/src/views/emis/emisContinent/emisContinentForm.vue index 1c5ea4a3..15212cce 100644 --- a/src/views/emis/emisContinent/emisContinentForm.vue +++ b/src/views/emis/emisContinent/emisContinentForm.vue @@ -3,21 +3,21 @@ - - + + - + - - - + + diff --git a/src/views/emis/emisCountry/index.vue b/src/views/emis/emisCountry/index.vue index 55f82de6..a10b1354 100644 --- a/src/views/emis/emisCountry/index.vue +++ b/src/views/emis/emisCountry/index.vue @@ -246,8 +246,6 @@ import { listEmisCountry, getEmisCountry, delEmisCountry, addEmisCountry, updateEmisCountry } from "@/api/emis/emisCountry"; import { listEmisContinent, getEmisContinent, delEmisContinent, addEmisContinent, updateEmisContinent } from "@/api/emis/emisContinent"; import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker'; -import emisCountryView from '@/views/emis/emisCountry/emisCountryView'; -import emisCountryForm from '@/views/emis/emisCountry/emisCountryForm'; import emisContinentForm from '@/views/emis/emisContinent/emisContinentForm'; export default { name: "emisCountry", @@ -260,7 +258,7 @@ export default { continentName:"", continentIdsTree:[], continentIdsOptions:[], - currentContinentId:-1, + currentContinentId:null, defaultProps: { children: "children", @@ -384,15 +382,9 @@ export default { this.title = "新增"; }, handleUpdateContinent(row){ - //console.log(row); this.currentContinentId = row.id || this.ids; - this.reset(); - const id = row.id || this.ids; - getEmisContinent(id).then(response => { - this.form = response.data; - this.openForm = true; - this.titleForm = "修改"; - }); + this.openForm = true; + this.titleForm = "修改"; }, handleDeleteContinent(row){ const ids = row.id || this.ids;