Commit 8cd2735a authored by 李苏's avatar 李苏 💬

无法进入看板工序判定

parent f4098342
...@@ -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