| | |
| | | |
| | | <ul class="ax-row ax-tab-nav ax-menu-tab"> |
| | | <a href="###" class="ax-item ax-col" style="font-size: 20px;" id="HLogoLabel">智云迈思L-MES</a> |
| | | <a class="ax-item FY_BT" id="Hlanguage" >语言</a> |
| | | <a class="ax-item FY_BT" id="Hlanguage">语言</a> |
| | | <select id="HTranSlate" style="width: 18%; margin-right: 1%; padding-left: 1px; font-size: 13px;"> |
| | | <option value="1" selected>中文</option> |
| | | <option value="2">Eeglish</option> |
| | |
| | | <script src="../../layuiadmin/layui/layui.js"></script> |
| | | <script src="../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <script src="../../layuiadmin/zgqCustom/zgqCustom.js" type="text/javascript"></script> |
| | | <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script> |
| | | <script src="../../layuiadmin/Scripts/jquery-1.4.1.js"></script> |
| | | <script src="../../layuiadmin/MESLanguage.js"></script> |
| | | <script> |
| | | layui.config({ |
| | |
| | | //获取基础信息 |
| | | getBaseInfo(login_data2.HTranSlate); |
| | | |
| | | |
| | | |
| | | if (login_data == null) { |
| | | initFunction(1,"login", 1); |
| | | initFunction(1, "login", 1); |
| | | } else { |
| | | initFunction(1,"login", login_data2.HTranSlate); |
| | | initFunction(1, "login", login_data2.HTranSlate); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | //获取登录页组织列 |
| | | var Organization = ''; |
| | |
| | | $("#HTranSlate").change(function () { |
| | | var select = $("#HTranSlate").val(); |
| | | getBaseInfo(select); |
| | | initFunction(1,HModName, select); |
| | | initFunction(1, HModName, select); |
| | | //sessionStorage["HTranSlate"] = select; |
| | | }) |
| | | |
| | |
| | | } else {//PC端 |
| | | window.location.href = '../../views/indexMenu.html' |
| | | } |
| | | |
| | | |
| | | } |
| | | else { |
| | | // $("#verifycode").click(); |
| | |
| | | |
| | | //获取基础信息 |
| | | function getBaseInfo(HTranSlate) { |
| | | if (HTranSlate == undefined) { |
| | | HTranSlate = "1"; |
| | | } |
| | | |
| | | $.ajax({ |
| | | type: "get", |
| | | url: GetWEBURL() + "/Web/BaseInfo", |
| | | url: GetWEBURL() + "Web/BaseInfo", |
| | | async: false, |
| | | data: {}, |
| | | success: function (res) { |