From 77cd3e1146ce2f521627510edb6667949870e8d6 Mon Sep 17 00:00:00 2001 From: 13176889840 <13176889840@163.com> Date: Mon, 9 May 2022 09:27:18 +0800 Subject: [PATCH] dd --- src/views/modules/base/epidemic/natFocus/natFocusList.vue | 8 ++++---- src/views/modules/base/epidemic/vaccin.vue | 3 ++- .../modules/base/epidemic/veroFocus/veroFocusList.vue | 8 ++++---- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/views/modules/base/epidemic/natFocus/natFocusList.vue b/src/views/modules/base/epidemic/natFocus/natFocusList.vue index 8d7fbc47..fc480397 100644 --- a/src/views/modules/base/epidemic/natFocus/natFocusList.vue +++ b/src/views/modules/base/epidemic/natFocus/natFocusList.vue @@ -673,16 +673,16 @@ export default { async handleEdit(row) { this.editFormTitle = "修改核酸检测关注名单"; this.editFormShow = true; - - let row2 = await this.getInfo(row); + const row1 = { ...row } + let row2 = await this.getInfo(row1); this.$refs.ref_form_edit.initForm("edit", row2); }, async handleDetail(row) { this.editFormTitle = "查看核酸检测关注名单"; this.editFormShow = true; - - let row2 = await this.getInfo(row); + const row1 = { ...row } + let row2 = await this.getInfo(row1); this.$refs.ref_form_edit.initForm("detail", row2); }, diff --git a/src/views/modules/base/epidemic/vaccin.vue b/src/views/modules/base/epidemic/vaccin.vue index 87d99e65..ddb6ca42 100644 --- a/src/views/modules/base/epidemic/vaccin.vue +++ b/src/views/modules/base/epidemic/vaccin.vue @@ -439,7 +439,8 @@ export default { async handleDetail(row) { this.formTitle = "详情"; this.formShow = true; - let row2 = await this.getInfo(row); + const row1 = { ...row } + let row2 = await this.getInfo(row1); this.$refs.ref_form.initForm("detail", row2); }, diff --git a/src/views/modules/base/epidemic/veroFocus/veroFocusList.vue b/src/views/modules/base/epidemic/veroFocus/veroFocusList.vue index 43538280..4dcc24b6 100644 --- a/src/views/modules/base/epidemic/veroFocus/veroFocusList.vue +++ b/src/views/modules/base/epidemic/veroFocus/veroFocusList.vue @@ -777,16 +777,16 @@ export default { async handleEdit(row) { this.editFormTitle = "修改疫苗接种关注名单"; this.editFormShow = true; - - let row2 = await this.getInfo(row); + const row1 = { ...row } + let row2 = await this.getInfo(row1); this.$refs.ref_form_edit.initForm("edit", row2); }, async handleDetail(row) { this.editFormTitle = "查看疫苗接种关注名单"; this.editFormShow = true; - - let row2 = await this.getInfo(row); + const row1 = { ...row } + let row2 = await this.getInfo(row1); this.$refs.ref_form_edit.initForm("detail", row2); },