Pārlūkot izejas kodu

LY 离职逻辑修改

ly 3 gadi atpakaļ
vecāks
revīzija
f62ce1150d
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      ui/src/views/training/regular/index.vue

+ 3 - 1
ui/src/views/training/regular/index.vue

@@ -510,7 +510,8 @@
             }
           })
           this.staffmgrQueryParams.actualposts = designatedId;
-          listStaffmgr(this.staffmgrQueryParams).then(response => {
+          this.staffmgrQueryParams.leftYear = this.form.year
+          listAllStaffmgr(this.staffmgrQueryParams).then(response => {
             this.stffmgrOptions = response.rows;
           });
 
@@ -654,6 +655,7 @@
               }
             })
             this.staffmgrQueryParams.actualposts = designatedId;
+            this.staffmgrQueryParams.leftYear = this.form.year
             this.$nextTick(() => {
               listStaffmgr(this.staffmgrQueryParams).then(response => {
                 this.stffmgrOptions = response.rows;