diff --git a/src/apps/AppEpidemicSituation/BackUserList.vue b/src/apps/AppEpidemicSituation/BackUserList.vue index 119cc288..280c6f1d 100644 --- a/src/apps/AppEpidemicSituation/BackUserList.vue +++ b/src/apps/AppEpidemicSituation/BackUserList.vue @@ -39,7 +39,7 @@

{{item.idNumber}}

{{item.startAreaName}}

{{item.arriveAreaName}}

-

{{item.checkTime}}

+

{{item.createTime}}

@@ -64,7 +64,7 @@ export default { computed: { ...mapState(['user']) }, onShow() { this.areaId = this.user.areaId - document.title = '疫情防控' + document.title = '返乡人员信息' this.getList() this.getTotal() uni.$on('updateList', () => { @@ -92,6 +92,9 @@ export default { this.$http.post(`/app/appepidemicbackhomerecord/list?current=${this.current}&size=10&status=${status}&name=${this.name}&arriveAreaId=${this.areaId}`) .then((res) => { if (res.code == 0) { + res.data.records.map((item) => { + item.idNumber = item.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2") + }) this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records } }) diff --git a/src/apps/AppEpidemicSituation/ErrorInfo.vue b/src/apps/AppEpidemicSituation/ErrorInfo.vue index 5ab5373d..adc68edc 100644 --- a/src/apps/AppEpidemicSituation/ErrorInfo.vue +++ b/src/apps/AppEpidemicSituation/ErrorInfo.vue @@ -26,11 +26,11 @@
- -

字数0/1000

+ +

字数{{value.length}}/1000

- 清空内容 + 清空内容 保存
@@ -76,6 +76,7 @@ export default { getDetail() { this.$http.post(`/app/appepidemicbackhomerecord/queryDetailById?id=${this.id}`).then((res) => { if (res.code == 0) { + res.data.idNumber = res.data.idNumber.replace(/(.{10}).*(.{4})/,"$1****$2") this.info = res.data this.info.health = this.info.health.split(',') } diff --git a/src/apps/AppEpidemicSituation/UserInfo.vue b/src/apps/AppEpidemicSituation/UserInfo.vue index c4f0303b..90d93883 100644 --- a/src/apps/AppEpidemicSituation/UserInfo.vue +++ b/src/apps/AppEpidemicSituation/UserInfo.vue @@ -26,7 +26,7 @@
人员类别
-
{{$dict.getLabel('epidemicMemberType', info.type)}}
+
{{$dict.getLabel('epidemicMemberType', info.type)}}