From 75840e02a4e3febb65dd40588dcd2597e8c1192a Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 12 Jan 2022 17:34:01 +0800 Subject: [PATCH] 26668 --- .../3.0.0/AppHealthReport/components/Detail.vue | 14 +++++++------- .../AppReturnHomeRegister/components/Detail.vue | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/3.0.0/AppHealthReport/components/Detail.vue b/packages/3.0.0/AppHealthReport/components/Detail.vue index e90d2f2d..3dfd15ae 100644 --- a/packages/3.0.0/AppHealthReport/components/Detail.vue +++ b/packages/3.0.0/AppHealthReport/components/Detail.vue @@ -194,8 +194,8 @@ this.id = this.params.id this.dict.load(['epidemicRecentHealth', 'epidemicRecentTravel', 'epidemicTouchInFourteen', 'epidemicMemberType', 'epidemicRecentTestResult']).then(() => { this.getInfo(this.params.id) - this.getList(this.params.id) - this.getRecordList(this.params.id) + this.getList() + this.getRecordList() }) } }, @@ -210,11 +210,11 @@ }) }, - getRecordList (id) { + getRecordList () { this.instance.post(`/app/appepidemicunusuallog/list`, null, { params: { ...this.search, - recordId: id + recordId: this.params.id } }).then(res => { if (res.code == 0) { @@ -260,7 +260,7 @@ this.instance.post(`/app/appepidemicunusuallog/delete?ids=${id}`).then(res => { if (res.code == 0) { this.$message.success('删除成功!') - this.getList(this.params.id) + this.getList() } }) }) @@ -286,11 +286,11 @@ }) }, - getList (id) { + getList () { this.instance.post(`/app/appepidemichealthreport/list`, null, { params: { ...this.search, - memberId: id + memberId: this.params.id } }).then(res => { if (res.code == 0) { diff --git a/packages/3.0.0/AppReturnHomeRegister/components/Detail.vue b/packages/3.0.0/AppReturnHomeRegister/components/Detail.vue index 6e76606d..f8da4536 100644 --- a/packages/3.0.0/AppReturnHomeRegister/components/Detail.vue +++ b/packages/3.0.0/AppReturnHomeRegister/components/Detail.vue @@ -164,7 +164,7 @@ this.getInfo(this.params.id) }) - this.getList(this.params.id) + this.getList() } }, @@ -206,7 +206,7 @@ this.instance.post(`/app/appepidemicunusuallog/delete?ids=${id}`).then(res => { if (res.code == 0) { this.$message.success('删除成功!') - this.getList(this.params.id) + this.getList() } }) }) @@ -221,7 +221,7 @@ }).then(res => { if (res?.code == 0) { this.isShow = false - this.getList(this.params.id) + this.getList() this.$message.success('添加成功!') } }) @@ -229,11 +229,11 @@ }) }, - getList (id) { + getList () { this.instance.post(`/app/appepidemicunusuallog/list`, null, { params: { ...this.search, - recordId: id + recordId: this.params.id } }).then(res => { if (res.code == 0) {