yubo
2026-03-12 d62d67dc663b2b45411e11da11357419926cc76f
src/views/dashboard/ctUser.vue
@@ -106,7 +106,7 @@
      }, // 查询参数
      sort: {}, // 排序
      pagination: { // 分页参数
        size: 5,
        size: 15,
        num: 1
      },
      list: [], // 给table显示的数据
@@ -129,21 +129,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) {