Browse Source

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

hejq 8 years ago
parent
commit
44f23f7b2a
1 changed files with 3 additions and 0 deletions
  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);
         }