Commit 9d84a766 authored by 李苏's avatar 李苏 💬

登录页面

parent 74ec4bb2
...@@ -40,7 +40,6 @@ $(function () { ...@@ -40,7 +40,6 @@ $(function () {
let smkid=hash.substring(hashindex+1,idindex) let smkid=hash.substring(hashindex+1,idindex)
let sbzlx=hash.substring(idindex+1,gxindex) let sbzlx=hash.substring(idindex+1,gxindex)
let gxname=hash.substring(gxindex+1,hash.length) let gxname=hash.substring(gxindex+1,hash.length)
console.log("gxname")
window.bzlx=sbzlx window.bzlx=sbzlx
HTTP.post("frame/init", {}, function (result) { HTTP.post("frame/init", {}, function (result) {
let isShow=false let isShow=false
......
...@@ -45,6 +45,8 @@ ...@@ -45,6 +45,8 @@
/* 取登录值 */ /* 取登录值 */
/* 通用代码 */ /* 通用代码 */
/* 通用pdf参数 */
const pdfUr="kmes/gpfk/queryPdfByWoidAndZpgx"
/* 大屏内部弹框 */ /* 大屏内部弹框 */
function screenAlert(dom,msg,timeNum){ function screenAlert(dom,msg,timeNum){
let getdom=$(dom) let getdom=$(dom)
...@@ -176,7 +178,7 @@ ...@@ -176,7 +178,7 @@
function zpfk_pdfshow(e,woid){ function zpfk_pdfshow(e,woid){
console.log("pdf") console.log("pdf")
let that=e let that=e
let newpdfurl=that.pdfurl+"/"+woid+"/"+window.bzlx let newpdfurl=pdfUr+"/"+woid+"/"+window.bzlx
if (newpdfurl!=that.pdfurl){ if (newpdfurl!=that.pdfurl){
that.pdfurl=newpdfurl that.pdfurl=newpdfurl
if(that.sivpdf){ if(that.sivpdf){
......
...@@ -129,6 +129,7 @@ ...@@ -129,6 +129,7 @@
let bzgxsn=$gylx.val() let bzgxsn=$gylx.val()
HTTP.post("kmes/gpfk/login ", {usersn:usersn,bzgxsn:bzgxsn}, function(result) { HTTP.post("kmes/gpfk/login ", {usersn:usersn,bzgxsn:bzgxsn}, function(result) {
if (result['success']) { if (result['success']) {
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
let mkid=result.data.records.modulecode let mkid=result.data.records.modulecode
......
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