This commit is contained in:
曹辉 2022-10-31 16:49:40 +08:00
parent 73036e7dbb
commit 3afafd012f

View File

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