Browse Source

Changed on Login Stuff and visibility control.

jason.lu 6 years ago
parent
commit
47213d0628
2 changed files with 4 additions and 4 deletions
  1. 2 2
      js/entrance.js
  2. 2 2
      sign-in1.html

+ 2 - 2
js/entrance.js

@@ -16,10 +16,10 @@ function getUserId() {
         }
     }
     if(userId == null || userId === undefined){
-        location.href = "sign-in1.html?from=entrance-3&msg=userId-repeated-notdefined";
+        location.href = "sign-in1.html?from=entrance-3&msg=from-cookie-userId-repeated-notdefined";
     }else{
         if(parseInt(userId) <= 0){
-            location.href = "sign-in1.html?from=entrance-4";
+            location.href = "sign-in1.html?from=entrance-4&msg=from-cookie-parseOut0";
         }
     }
 }

+ 2 - 2
sign-in1.html

@@ -5,7 +5,7 @@
     <meta charset="UTF-8">
     <meta http-equiv="X-UA-Compatible" content="IE=Edge">
     <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
-    <title>流水线管理页</title>
+    <title>生产人员入口 - 产能监控系统登陆</title>
     <!-- Favicon-->
     <link rel="icon" href="favicon.ico" type="image/x-icon">
     <!-- Google Fonts -->
@@ -45,7 +45,7 @@
 <body class="login-page ls-closed " style="background-color: #303030 ">
     <div class="login-box text-center" style="">
         <div class="logo">
-            <a href="javascript:void(0);">工厂产能监控登陆</a>
+            <a href="javascript:void(0);">生产人员入口 - 工厂产能监控登陆</a>
         </div>
         <div class="alert alert-warning" id="mpAlert" style="display:none">
         </div>