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 = [];