护理站所属区域

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

View File

@ -211,11 +211,23 @@
</template>
</el-table-column>
<el-table-column label="所属区域" align="center" prop="area">
<!-- <span>{{ scope.row.sysAreaVOList[0].provinceName }}-</span>
<span>{{ scope.row.sysAreaVOList[0].cityName }}-</span>
<span>{{ scope.row.sysAreaVOList[0].streetName }}</span> -->
 
<template slot-scope="scope">
<span>{{
scope.row.areaName !== "null-null-null-null"
? scope.row.areaName
: ""
}}</span>
</template>
</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
label="护理站简介"
align="center"
@ -602,7 +614,7 @@
</template>
<script>
import {
import {
listStation,
getStation,
delStation,
@ -614,13 +626,13 @@
getInfoLists,
nurseStationlabel,
getLabelList,
} from "@/api/system/station";
import { getInfoList } from "@/api/system/nurseItem";
import stationAcatar from "../stationAvatar/index.vue";
import { getListByUser } from "@/api/system/userlist.js";
import { getToken } from "@/utils/auth";
import editor from "@/components/Editor";
export default {
} from "@/api/system/station";
import { getInfoList } from "@/api/system/nurseItem";
import stationAcatar from "../stationAvatar/index.vue";
import { getListByUser } from "@/api/system/userlist.js";
import { getToken } from "@/utils/auth";
import editor from "@/components/Editor";
export default {
components: { stationAcatar, editor },
name: "Station",
data() {
@ -955,19 +967,6 @@
/** 搜索按钮操作 */
liststationinfo() {
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.total = response.total;
this.loading = false;