Merge remote-tracking branch 'origin/zjfnwcs' into zjfnwcs
 
	
	
	
	
	
	
	
	
	
	
	
	
	
 |  |  | 
 |  |  |  | 
 |  |  |                     //启动、完成、暂停测试系统测试 | 
 |  |  |                     mainService.packTest(); | 
 |  |  |                     //火警,给堆垛机发送火警警报 | 
 |  |  |                     mainService.fierCrn(); | 
 |  |  | //                    //火警,给堆垛机发送火警警报 | 
 |  |  | //                    mainService.fierCrn(); | 
 |  |  |  | 
 |  |  |                 } catch (Exception e) { | 
 |  |  |                     e.printStackTrace(); | 
 
 |  |  | 
 |  |  |                     if (res.code === 200){ | 
 |  |  |                         localStorage.setItem("token", res.data.token); | 
 |  |  |                         localStorage.setItem("username", res.data.username); | 
 |  |  |                         window.location.href = "index.html"; | 
 |  |  |                         if (mobile==="dsj1"){ | 
 |  |  |                             window.location.href = "index.html"; | 
 |  |  |                         }else { | 
 |  |  |                             window.location.href = "index2.html"; | 
 |  |  |                         } | 
 |  |  |  | 
 |  |  |                     } else { | 
 |  |  |                         layer.msg(res.msg, {offset: '150px'}); | 
 |  |  |                     } |