From e80fb60fab95a17a9a37012f54cddff056ecba9c Mon Sep 17 00:00:00 2001 From: shidongli Date: Wed, 16 Nov 2022 10:51:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9C=81=E5=B8=82=E5=8C=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/station/index.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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"); },