大理访客登记流水显示修改及h5请假页面修改
diff --git a/src/main/resources/templates/apph5/applyforvisitor.html b/src/main/resources/templates/apph5/applyforvisitor.html
index 22a13aa..a437a0b 100644
--- a/src/main/resources/templates/apph5/applyforvisitor.html
+++ b/src/main/resources/templates/apph5/applyforvisitor.html
@@ -222,10 +222,10 @@
 
                 if (data.retcode != "0") {
                     layer.msg(data.retmsg, {icon: 2, time: 2000});
-                    window.location = "[[@{/app/getapplyqrcode?visitorid=}]]"+data.visitorid;
                 } else {
                     layer.msg('登记成功!', {icon: 1, time: 1000});
                 }
+                window.location = "[[@{/app/getapplyqrcode?visitorid=}]]"+data.visitorid;
             }
         });
     }