Explorar o código

LY 离职逻辑修改

ly %!s(int64=3) %!d(string=hai) anos
pai
achega
f62ce1150d
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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;