luoyb
2021-03-10 a6c4d573907730c2e0a70dd5a1d1937888efabb5
fix(bug修复): 可选岗位从数据库中获取
2个文件已修改
12 ■■■■■ 已修改文件
src/views/user/Informationinput.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/inemployees.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/Informationinput.vue
@@ -3119,6 +3119,7 @@
    this.initDept()
    this.thisShowIndex = 1
    this.isShow(false, 0)
    this.initJob()
  },
  methods: {
    importHandleAvatarError() {
@@ -3389,6 +3390,11 @@
    resetDeptTree() {
      this.$refs.deptTree.setCheckedKeys([])
    },
    initJob() {
      this.$get('system/position/dicJob').then((r) => {
        this.restaurJob = r.data.data
      })
    },
    butDelete() {
      let selected
      switch (this.thisShowIndex) {
src/views/user/inemployees.vue
@@ -1224,6 +1224,7 @@
    this.getDicts('LZTYPE').then(response => {
      this.dimissionTypeOptions = response.data
    })
    this.initJob()
  },
  methods: {
    exportExcel() {
@@ -1265,6 +1266,11 @@
      }
      this.search()
    },
    initJob() {
      this.$get('system/position/dicJob').then((r) => {
        this.restaurJob = r.data.data
      })
    },
    // 翻页方法
    search() {
      this.queryParams.vague = ''