护理站所属区域

This commit is contained in:
闫晓茹 2022-11-03 18:02:31 +08:00
parent 62a7dd9bec
commit 1e2531f95b

View File

@ -956,21 +956,18 @@
liststationinfo() { liststationinfo() {
listStation(this.queryParams).then((response) => { listStation(this.queryParams).then((response) => {
response.rows.forEach((e) => { response.rows.forEach((e) => {
if (e.sysAreaVOList == []) { if (e.provinceName) {
} else if (e.sysAreaVOList == null) {
} else if (!e.sysAreaVOList) {
} else if (e.sysAreaVOList.length == 0) {
} else if (e.sysAreaVOList.length > 0) {
e.area = e.area =
e.sysAreaVOList[0].provinceName + e.provinceName +
"-" + "-" +
e.sysAreaVOList[0].cityName + e.cityName +
"-" + "-" +
e.sysAreaVOList[0].regionName + e.regionName +
"-" + "-" +
e.sysAreaVOList[0].streetName; e.streetName;
} }
}); } );
this.stationList = response.rows; this.stationList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;