省市区修改
This commit is contained in:
parent
14096572f3
commit
e80fb60fab
@ -740,14 +740,13 @@ export default {
|
||||
},
|
||||
//点击街道
|
||||
clickstreet(item) {
|
||||
this.form.streetCode = item.areaCode;
|
||||
this.form.areaCode = item.areaCode;
|
||||
console.log(item, this.form);
|
||||
},
|
||||
//点击区县城
|
||||
clickarea(item) {
|
||||
this.form.areaCode = "";
|
||||
this.form.streetName = "";
|
||||
this.form.streetCode = "";
|
||||
getSecondaryLevelInfo(item.id).then((res) => {
|
||||
this.streetlist = res.data;
|
||||
});
|
||||
@ -756,7 +755,7 @@ export default {
|
||||
clickcity(item) {
|
||||
this.form.regionName = "";
|
||||
this.form.areaCode = "";
|
||||
this.form.streetName = "";
|
||||
this.form.streetCode = "";
|
||||
getSecondaryLevelInfo(item.id).then((res) => {
|
||||
this.arealist = res.data;
|
||||
});
|
||||
@ -766,7 +765,7 @@ export default {
|
||||
this.form.cityName = "";
|
||||
this.form.regionName = "";
|
||||
this.form.areaCode = "";
|
||||
this.form.streetName = "";
|
||||
this.form.streetCode = "";
|
||||
getSecondaryLevelInfo(item.id).then((res) => {
|
||||
this.citylist = res.data;
|
||||
});
|
||||
@ -806,7 +805,6 @@ export default {
|
||||
nurseStationCode: null,
|
||||
nurseStationName: null,
|
||||
nurseStationType: null,
|
||||
|
||||
agencyIntroduce: null,
|
||||
nurseStationDescription: null,
|
||||
longitude: null,
|
||||
@ -819,6 +817,7 @@ export default {
|
||||
stationIntroducePcitureUrl: null,
|
||||
sort: null,
|
||||
nurseStationLabelList: [],
|
||||
streetCode:null,
|
||||
};
|
||||
this.resetForm("form");
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user