yubo
2026-03-11 4c72dd4e55dbfae3dca4a7ac4342220e93f25a8b
src/views/dashboard/ygUser.vue
@@ -126,21 +126,23 @@
    }
  },
  mounted() {
    this.getDicts('EDUCATION').then(response => {
      this.educationOptions = response.data
    })
    this.getDicts('NATIVEPLACE').then(response => {
      this.nativePlaceOptions = response.data
    })
    this.getDicts('sex').then(response => {
      this.sexOptions = response.data
    })
    this.getDicts('empType').then(response => {
      this.empTypeOptions = response.data
    })
    this.getDicts('NATION').then(response => {
      this.nationOptions = response.data
    })
    setTimeout(() => {
      this.getDicts('EDUCATION').then(response => {
        this.educationOptions = response.data
      })
      this.getDicts('NATIVEPLACE').then(response => {
        this.nativePlaceOptions = response.data
      })
      this.getDicts('sex').then(response => {
        this.sexOptions = response.data
      })
      this.getDicts('empType').then(response => {
        this.empTypeOptions = response.data
      })
      this.getDicts('NATION').then(response => {
        this.nationOptions = response.data
      })
    }, 1000)
  },
  methods: {
    educationFormat(row, column) {
@@ -186,7 +188,6 @@
      this.$get('hr/statistics/empBaseInfoList', {
        ...params
      }).then((r) => {
        debugger
        const data = r.data.data
        that.total = data.total
        that.list = data.rows