From 5b7a2edc34535e306064e1b550500db45bf9634e Mon Sep 17 00:00:00 2001
From: luoyb <412940104@qq.com>
Date: 星期五, 19 二月 2021 22:19:11 +0800
Subject: [PATCH] fix(在职员工): bug修复

---
 src/views/user/inemployees.vue |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/views/user/inemployees.vue b/src/views/user/inemployees.vue
index 7f1f410..4eceb4c 100644
--- a/src/views/user/inemployees.vue
+++ b/src/views/user/inemployees.vue
@@ -1863,8 +1863,8 @@
       this.empBaseInfoForm.archivesStatus = row.archivesStatus
       this.empBaseInfoForm.bankName = row.bankName
       this.empBaseInfoForm.bankNumb = row.bankNumb
-      this.empBaseInfoForm.InsuranceType = row.InsuranceType
-      this.empBaseInfoForm.InsuranceTypeName = row.InsuranceTypeName
+      this.empBaseInfoForm.insuranceType = row.insuranceType
+      this.empBaseInfoForm.insuranceTypeName = row.insuranceTypeName
       this.empBaseInfoForm.socialNumb = row.socialNumb
       this.empBaseInfoForm.family = row.family
       this.empBaseInfoForm.handbookStatus = row.handbookStatus
@@ -1905,6 +1905,7 @@
             ...this.queryParams,
             ...this.sort
           })
+          this.cleanEmpBase()
           this.showXzyg()
         }
       })
@@ -1920,12 +1921,13 @@
                 type: 'success'
               })
               this.cleanEmpBase()
-              this.fetch({
-                ...this.queryParams,
-                ...this.sort
-              })
             })
           }
+          this.cleanEmpBase()
+          this.fetch({
+            ...this.queryParams,
+            ...this.sort
+          })
         }
       })
     },
@@ -1965,6 +1967,10 @@
         // this.isAdd = false
         this.dialogShowXzyg = false
       }
+      this.fetch({
+        ...this.queryParams,
+        ...this.sort
+      })
     },
     handleCheckAllChange(val) {
       this.checkedCities = val ? this.cityOptions : []

--
Gitblit v1.8.0