Browse Source

问题修改

feature
张若晨 2 years ago
parent
commit
e1398efc4c
  1. 69
      src/views/dataBoard/cpts/family/modules/EnjoyService.vue
  2. 2
      src/views/dataBoard/cpts/resi-details.vue

69
src/views/dataBoard/cpts/family/modules/EnjoyService.vue

@ -1,17 +1,55 @@
<template> <template>
<div class="table"> <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="序号" type="index" width="80" />
<el-table-column label="变更人" prop="resiName" width="140" /> <el-table-column label="变更人" prop="resiName" width="140" />
<el-table-column label="变更类型" prop="typeName" width="" /> <el-table-column label="变更类型" prop="typeName" width="" />
<el-table-column label="变更前" prop="beforeChange" width="120" /> <el-table-column label="变更前" prop="beforeChange" width="120">
<el-table-column label="变更后" prop="afterChange" 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="operatorName" width="120" />
<el-table-column label="调整时间" prop="changeTime" width="190" /> <el-table-column label="调整时间" prop="changeTime" width="190" />
</el-table> </el-table>
<div v-else style="width: 100%; height: 100%; text-align: center; padding-top: 120px"> <div
<img width="268px" height="128px" src="~@/assets/images/overview/zanwu.png" /> 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 style="color: #fff">暂无数据</div>
</div> </div>
</div> </div>
@ -53,15 +91,20 @@ export default {
1: "已回访", 1: "已回访",
}; };
// //
this.$http.get("/actual/base/peopleRoomOverview/houseResidentChangeRecord?houseId=" + this.houseId).then(({ data: res }) => { this.$http
this.list = res.data.map((item) => { .get(
return { "/actual/base/peopleRoomOverview/houseResidentChangeRecord?houseId=" +
...item, this.houseId
completeFlag: completeFlags[item.completeFlag], )
}; .then(({ data: res }) => {
this.list = res.data.map((item) => {
return {
...item,
completeFlag: completeFlags[item.completeFlag],
};
});
this.total = res.data.length;
}); });
this.total = res.data.length;
});
}, },
}, },
}; };

2
src/views/dataBoard/cpts/resi-details.vue

@ -52,7 +52,7 @@
</div> </div>
<div class="item"> <div class="item">
<div class="field">证件号</div> <div class="field">证件号</div>
<div class="value">{{ info.idcard ? info.idcard : "" }}</div> <div class="value">{{ info.idcard ? $sensitive(info.idcard, 0, 14) : "" }}</div>
</div> </div>
<div class="item"> <div class="item">
<div class="field">备注</div> <div class="field">备注</div>

Loading…
Cancel
Save