|
@@ -65,7 +65,7 @@
|
|
|
>
|
|
|
<template slot-scope="scope" slot="roomNumber">
|
|
|
<div class="table-list" v-for="(item, index) in scope.row.houseList" :key="index">
|
|
|
- {{ item.buildingName }}-{{ item.unitName }}-{{ item.roomNumber }}
|
|
|
+ {{ item.buildingName }}-{{ item.unitName.indexOf('单元') === -1 ? item.unitName + '单元' : item.unitName }}-{{ item.roomNumber }}
|
|
|
</div>
|
|
|
</template>
|
|
|
<template slot-scope="scope" slot="householdType">
|
|
@@ -270,7 +270,9 @@ export default {
|
|
|
if (row.residentStatus === 0) {
|
|
|
status = 1;
|
|
|
}
|
|
|
- let title = `您确定要修改状态住户“${buildingName}${unitName}${roomNumber}”`;
|
|
|
+ let title = `您确定要修改状态住户“${buildingName}${
|
|
|
+ unitName.indexOf('单元') === -1 ? unitName + '单元' : unitName
|
|
|
+ }${roomNumber}”`;
|
|
|
this.$msgBox('是否修改住户状态', title)
|
|
|
.then(() => {
|
|
|
this.$http
|