diff --git a/src/views/system/station/index.vue b/src/views/system/station/index.vue index 554b991..4dd0420 100644 --- a/src/views/system/station/index.vue +++ b/src/views/system/station/index.vue @@ -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"); },