luoyb
2021-02-19 5b7a2edc34535e306064e1b550500db45bf9634e
fix(在职员工): bug修复

1.编辑与新增员工后没有刷新列表的bug
2.编辑时不显示已有的保险类型bug
1个文件已修改
18 ■■■■■ 已修改文件
src/views/user/inemployees.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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 : []