From 3afafd012fd6bb0b2e9d459f57533faa8410ccb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Mon, 31 Oct 2022 16:49:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/station/index.vue | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/views/system/station/index.vue b/src/views/system/station/index.vue index 0b14622..7b7f4b8 100644 --- a/src/views/system/station/index.vue +++ b/src/views/system/station/index.vue @@ -1043,8 +1043,8 @@ export default { const id = row.id || this.ids; getStation(id) .then((response) => { - this.resid = response.data.id; - this.form = response.data; + this.resid = response.data.nurseStationList.id; + this.form = response.data.nurseStationList; if ( !this.form.nurseStationType || this.form.nurseStationType == null || @@ -1056,15 +1056,17 @@ export default { } // this.form.nurseStationLabelList = []; this.title = "修改护理站信息"; - getSubordinateRegions(response.data.areaCode).then((res) => { - if (res.data) { - this.value = String(res.data.provinceCode); - this.value1 = res.data.cityName; - this.value2 = res.data.regionName; - this.value3 = res.data.streetName; - console.log(typeof this.value); + getSubordinateRegions(response.data.sysAreaVOList.streetCode).then( + (res) => { + if (res.data) { + this.value = String(res.data.provinceCode); + this.value1 = res.data.cityName; + this.value2 = res.data.regionName; + this.value3 = res.data.streetName; + console.log(typeof this.value); + } } - }); + ); }) .then(() => { this.looknurseStationLabel = [];