护理站所属区域

This commit is contained in:
闫晓茹 2022-11-04 09:55:48 +08:00
parent 1e2531f95b
commit 2f1e347b70

View File

@ -211,11 +211,23 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="所属区域" align="center" prop="area"> <el-table-column label="所属区域" align="center" prop="area">
<!-- <span>{{ scope.row.sysAreaVOList[0].provinceName }}-</span>  
<span>{{ scope.row.sysAreaVOList[0].cityName }}-</span> <template slot-scope="scope">
<span>{{ scope.row.sysAreaVOList[0].streetName }}</span> -->
<span>{{
scope.row.areaName !== "null-null-null-null"
? scope.row.areaName
: ""
}}</span>
</template>
</el-table-column> </el-table-column>
<el-table-column label="护理站地址" align="center" prop="address" :show-overflow-tooltip="true"/> <el-table-column
label="护理站地址"
align="center"
prop="address"
:show-overflow-tooltip="true"
/>
<!-- <el-table-column <!-- <el-table-column
label="护理站简介" label="护理站简介"
align="center" align="center"
@ -955,19 +967,6 @@
/** 搜索按钮操作 */ /** 搜索按钮操作 */
liststationinfo() { liststationinfo() {
listStation(this.queryParams).then((response) => { listStation(this.queryParams).then((response) => {
response.rows.forEach((e) => {
if (e.provinceName) {
e.area =
e.provinceName +
"-" +
e.cityName +
"-" +
e.regionName +
"-" +
e.streetName;
}
} );
this.stationList = response.rows; this.stationList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;