From 87d4f6103826f56ec87cd61a76de971dc34607bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?= =?UTF-8?q?=E9=98=B4?= <185154740@qq.com> Date: Wed, 12 Jan 2022 09:53:32 +0800 Subject: [PATCH] createName --- src/apps/AppEpidemicSituation/ErrorDetail.vue | 33 +++++++++++++++---- 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/src/apps/AppEpidemicSituation/ErrorDetail.vue b/src/apps/AppEpidemicSituation/ErrorDetail.vue index f98bbd9f..24b2aac8 100644 --- a/src/apps/AppEpidemicSituation/ErrorDetail.vue +++ b/src/apps/AppEpidemicSituation/ErrorDetail.vue @@ -8,15 +8,15 @@

身份证号:

{{ userList.idNumber && userList.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1******$2') }}

异常情况:

-
-

+

+

{{ $dict.getLabel('epidemicRecentHealth', items) }}

- +

暂无异常情况

@@ -27,12 +27,12 @@

{{ item.content }}

{{ item.createTime }} - 网格员: 李依云 + 网格员: {{ item.createUserName }}
- - + + @@ -67,6 +67,7 @@ export default { value: '', userList: [], data: [], + datas: [], } }, computed: { @@ -79,6 +80,7 @@ export default { this.id = o.id this.getUser() this.getRecord() + this.getErrThing() } }) }, @@ -103,6 +105,25 @@ export default { }) }, + // 异常情况 + getErrThing() { + this.$loading() + this.$http + .post(`/app/appepidemichealthreport/list?memberId=${this.id}&status=0`) + .then((res) => { + if (res?.code == 0) { + this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records + this.$hideLoading() + } else { + this.$hideLoading() + } + }) + .catch(() => { + this.$hideLoading() + }) + }, + + // 异常情况记录 getRecord() { this.$loading() this.$http