Commit f4ea9e17 authored by yff's avatar yff

Merge branch 'master' of gitlab.gavelinfo.com:gavelinfo/kwell-mes

parents 2395ce3c 8cd2735a
...@@ -133,6 +133,13 @@ ...@@ -133,6 +133,13 @@
localStorage.setItem("username",result.data.username||"未知用户"); localStorage.setItem("username",result.data.username||"未知用户");
// window.location.href = "index"; // window.location.href = "index";
let mkurl=result.data.records.fkurl let mkurl=result.data.records.fkurl
if(!mkurl){
logalert(result.message||"该工序无法登录!")
$rygh.val("")
$gylx.val("")
$rygh.focus()
return
}
let mkid=result.data.records.modulecode let mkid=result.data.records.modulecode
let bzlx=result.data.records.id let bzlx=result.data.records.id
let gx=result.data.records.name let gx=result.data.records.name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment