| | |
| | | , laydate = layui.laydate |
| | | , util = layui.util; |
| | | |
| | | //获取数据库名 |
| | | $.ajax({ |
| | | type: "get", |
| | | url: GetWEBURL() + "/Web/GetDataBases", |
| | | success: function (result) { |
| | | if (result.count == 1) { // 说明验证成功了, |
| | | sessionStorage["数据库"] = result.data[0].Name; |
| | | } |
| | | layer.closeAll("loading"); |
| | | } |
| | | }) |
| | | |
| | | //form.render(); |
| | | |
| | | //提交 |
| | |
| | | sessionStorage["HWorkCenterID"] = result.data[0].HWorkCenterID; |
| | | sessionStorage["HProcName"] = result.data[0].HProcName; |
| | | sessionStorage["HProcID"] = result.data[0].HProcID; |
| | | sessionStorage["login"] = "login"; |
| | | //sessionStorage["IP"] = System.Configuration.ConfigurationSettings.AppSettings("name"); |
| | | |
| | | window.location.href = '../../views/index.html' |
| | |
| | | sessionStorage["HWorkCenterID"] = result.data[0].HWorkCenterID; |
| | | sessionStorage["HProcName"] = result.data[0].HProcName; |
| | | sessionStorage["HProcID"] = result.data[0].HProcID; |
| | | sessionStorage["login"] = "login"; |
| | | |
| | | //sessionStorage["IP"] = System.Configuration.ConfigurationSettings.AppSettings("name"); |
| | | |