省市区修改

This commit is contained in:
shidongli 2022-11-16 10:51:14 +08:00
parent 14096572f3
commit e80fb60fab

View File

@ -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");
},