Explorar o código

hr用户点击我要招人不能跳转到招聘页面的bug的处理

hejq %!s(int64=8) %!d(string=hai) anos
pai
achega
44f23f7b2a
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/main/webapp/resources/js/common/common.js

+ 3 - 0
src/main/webapp/resources/js/common/common.js

@@ -136,6 +136,9 @@ function jobUuzcGet() {
                     toastr.error('您的账号非HR账号,不可进行此操作');
                 }
             }
+        } else if(data.usertype =='hr') {
+            loginJobUuzc(user, loginUrl, 'hr');
+            setTimeout(window.location.href = url, 200);
         } else {
             data.content && (window.location.href = data.content);
         }