Bläddra i källkod

LY 离职逻辑修改

ly 3 år sedan
förälder
incheckning
f62ce1150d
1 ändrade filer med 3 tillägg och 1 borttagningar
  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;