|
@@ -341,6 +341,10 @@ U.MD.D.getuser = function () {
|
|
|
window.location.reload();
|
|
|
}, [], { "type": "POST", "withCredentials": true });
|
|
|
} else {
|
|
|
+ if(res.value[0][0].isLogin1 == 2 || res.value[0][0].isLogin2 == 2){
|
|
|
+ U.MD.U.LO.logoutSystem2();
|
|
|
+ return;
|
|
|
+ }
|
|
|
U.A.Request(US.Config.pbl + "addLoginOperation", [_user.userid], function (res) {
|
|
|
}, [], { "type": "POST", "withCredentials": true });
|
|
|
|
|
@@ -435,8 +439,8 @@ U.MD.D.getuser = function () {
|
|
|
$("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/dseiBg.png")'
|
|
|
US.Config.background = 'url("/img/icon/dseiBg.png")'
|
|
|
} else if (res.value[0][0].org == '1973f6c7-1561-11ee-91d8-005056b86db5') {
|
|
|
- $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/szjkyBg.png")'
|
|
|
- US.Config.background = 'url("/img/icon/szjkyBg.png")'
|
|
|
+ $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/szjkyBg2.png")'
|
|
|
+ US.Config.background = 'url("/img/icon/szjkyBg2.png")'
|
|
|
} else if (res.value[0][0].org == '2fa75e51-189a-11ee-91d8-005056b86db5') {
|
|
|
$("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/chjyjBg.png")'
|
|
|
US.Config.background = 'url("/img/icon/chjyjBg.png")'
|
|
@@ -558,7 +562,7 @@ U.MD.D.getuser = function () {
|
|
|
} else if (userInfo.org == '7b016f69-0f4f-11ee-91d8-005056b86db5') {
|
|
|
$("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/dseiBg.png")'
|
|
|
} else if (userInfo.org == '1973f6c7-1561-11ee-91d8-005056b86db5') {
|
|
|
- $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/szjkyBg.png")'
|
|
|
+ $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/szjkyBg2.png")'
|
|
|
} else if (userInfo.org == '2fa75e51-189a-11ee-91d8-005056b86db5') {
|
|
|
$("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/chjyjBg.png")'
|
|
|
} else if (userInfo.org == '2a9f32ea-88df-49eb-aba1-0a286f691474') {
|
|
@@ -581,6 +585,10 @@ U.MD.D.getuser2 = function (userid, cid) {
|
|
|
if ($("#U_MD_HomeC_Pop")[0]) {
|
|
|
$("#U_MD_HomeC_Pop")[0].close(); //关闭登陆
|
|
|
}
|
|
|
+ if(res.value[0][0].isLogin1 == 2 || res.value[0][0].isLogin2 == 2){
|
|
|
+ U.MD.U.LO.logoutSystem2();
|
|
|
+ return;
|
|
|
+ }
|
|
|
U.A.Request(US.Config.pbl + "addLoginOperation", [userid], function (res) {
|
|
|
}, [], { "type": "POST", "withCredentials": true });
|
|
|
|
|
@@ -670,8 +678,8 @@ U.MD.D.getuser2 = function (userid, cid) {
|
|
|
$("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/dseiBg.png")'
|
|
|
US.Config.background = 'url("/img/icon/dseiBg.png")'
|
|
|
} else if (res.value[0][0].org == '1973f6c7-1561-11ee-91d8-005056b86db5') {
|
|
|
- $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/szjkyBg.png")'
|
|
|
- US.Config.background = 'url("/img/icon/szjkyBg.png")'
|
|
|
+ $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/szjkyBg2.png")'
|
|
|
+ US.Config.background = 'url("/img/icon/szjkyBg2.png")'
|
|
|
} else if (res.value[0][0].org == '2fa75e51-189a-11ee-91d8-005056b86db5') {
|
|
|
$("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/chjyjBg.png")'
|
|
|
US.Config.background = 'url("/img/icon/chjyjBg.png")'
|