|
|
@ -1,17 +1,55 @@ |
|
|
|
<template> |
|
|
|
<div class="table"> |
|
|
|
<el-table v-if="list.length > 0" :data="list" max-height="390px" height="390px"> |
|
|
|
<el-table |
|
|
|
v-if="list.length > 0" |
|
|
|
:data="list" |
|
|
|
max-height="390px" |
|
|
|
height="390px" |
|
|
|
> |
|
|
|
<el-table-column label="序号" type="index" width="80" /> |
|
|
|
<el-table-column label="变更人" prop="resiName" width="140" /> |
|
|
|
<el-table-column label="变更类型" prop="typeName" width="" /> |
|
|
|
<el-table-column label="变更前" prop="beforeChange" width="120" /> |
|
|
|
<el-table-column label="变更后" prop="afterChange" width="120" /> |
|
|
|
<el-table-column label="变更前" prop="beforeChange" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div> |
|
|
|
<el-tooltip |
|
|
|
class="item" |
|
|
|
effect="dark" |
|
|
|
:content="scope.row.beforeChange" |
|
|
|
placement="top-start" |
|
|
|
> |
|
|
|
<span>{{ scope.row.beforeChange }}</span> |
|
|
|
</el-tooltip> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="变更后" prop="afterChange" width="120" > |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div> |
|
|
|
<el-tooltip |
|
|
|
class="item" |
|
|
|
effect="dark" |
|
|
|
:content="scope.row.afterChange" |
|
|
|
placement="top-start" |
|
|
|
> |
|
|
|
<span>{{ scope.row.afterChange }}</span> |
|
|
|
</el-tooltip> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="操作人" prop="operatorName" width="120" /> |
|
|
|
<el-table-column label="调整时间" prop="changeTime" width="190" /> |
|
|
|
</el-table> |
|
|
|
|
|
|
|
<div v-else style="width: 100%; height: 100%; text-align: center; padding-top: 120px"> |
|
|
|
<img width="268px" height="128px" src="~@/assets/images/overview/zanwu.png" /> |
|
|
|
<div |
|
|
|
v-else |
|
|
|
style="width: 100%; height: 100%; text-align: center; padding-top: 120px" |
|
|
|
> |
|
|
|
<img |
|
|
|
width="268px" |
|
|
|
height="128px" |
|
|
|
src="~@/assets/images/overview/zanwu.png" |
|
|
|
/> |
|
|
|
<div style="color: #fff">暂无数据</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -53,7 +91,12 @@ export default { |
|
|
|
1: "已回访", |
|
|
|
}; |
|
|
|
// 省满意度列表 |
|
|
|
this.$http.get("/actual/base/peopleRoomOverview/houseResidentChangeRecord?houseId=" + this.houseId).then(({ data: res }) => { |
|
|
|
this.$http |
|
|
|
.get( |
|
|
|
"/actual/base/peopleRoomOverview/houseResidentChangeRecord?houseId=" + |
|
|
|
this.houseId |
|
|
|
) |
|
|
|
.then(({ data: res }) => { |
|
|
|
this.list = res.data.map((item) => { |
|
|
|
return { |
|
|
|
...item, |
|
|
|