Parcourir la source

LY 离职逻辑修改

ly il y a 3 ans
Parent
commit
f62ce1150d
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  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;