You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
3.4 KiB
Plaintext
88 lines
3.4 KiB
Plaintext
11 months ago
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<title>CCFlowCloud administrator </title>
|
||
|
<meta charset="UTF-8" />
|
||
|
<link href="login.css" rel="stylesheet" />
|
||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
|
||
|
<link href="../../../WF/Scripts/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />
|
||
|
<script src="config.js" type="text/javascript"></script>
|
||
|
<script type="text/javascript" language="javascript">
|
||
|
document.onkeydown = function (e) {
|
||
|
e = e || window.event;
|
||
|
if (e.keyCode == 13) {
|
||
|
Login();
|
||
|
return false;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function Login() {
|
||
|
|
||
|
var userNo = $("#TB_No").val();
|
||
|
var userPass = $("#TB_PW").val();
|
||
|
|
||
|
if (userNo == "" || userPass == "") {
|
||
|
layer.msg('请输入用户名与密码');
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
var handler = new HttpHandler("BP.Cloud.HttpHandler.Admin");
|
||
|
handler.AddPara("TB_No", userNo);
|
||
|
handler.AddPara("TB_PW", userPass);
|
||
|
var data = handler.DoMethodReturnString("Login_AdminOnlySaas");
|
||
|
if (data.indexOf('err@') == 0) {
|
||
|
alert(data);
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
var webUser = new WebUser();
|
||
|
|
||
|
var url = GetQueryString("FromUrl");
|
||
|
if (url == null || url == undefined)
|
||
|
url = "Home.htm?OrgNo=" + webUser.OrgNo + "&UserNo=" + webUser.No;
|
||
|
|
||
|
location.href = url;
|
||
|
}
|
||
|
function LoginEmp() {
|
||
|
window.location.href = "../Login.htm";
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body class="login-bg login-bg-login">
|
||
|
|
||
|
<div class="login-box">
|
||
|
|
||
|
<h1 class="logo-name"></h1>
|
||
|
|
||
|
<div class="login_title">驰骋BPM多租户-超级管理员登陆</div>
|
||
|
<div class="login-form">
|
||
|
<form id="Form1">
|
||
|
<div class="form-group">
|
||
|
<!-- 输入框只读 -->
|
||
|
<input type="text" id="TB_No" name="TB_No" value="admin" placeholder="请输入账号" readonly="readonly" lay-verify="required" class="form-control" />
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<input type="password" id="TB_PW" name="TB_PW" placeholder="请输入密码" lay-verify="required" class="form-control" />
|
||
|
</div>
|
||
|
<div class="login-btn-active">
|
||
|
<input type="button" id="Btn_Login" onclick="Login()"
|
||
|
class="btn btn-primary btn-block"
|
||
|
value="超级管理员admin登录" />
|
||
|
|
||
|
<input type="button" id="Btn_Login" onclick="LoginEmp()"
|
||
|
class="btn btn-primary btn-block"
|
||
|
value="返回普通用户登陆" />
|
||
|
</div>
|
||
|
<div id="msg"></div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
<script type="text/javascript" src="../../../WF/Scripts/QueryString.js"></script>
|
||
|
<script src="../../../WF/Scripts/layui/layui/layui.js" type="text/javascript"></script>
|
||
|
<script src="../../../WF/Scripts/jquery-1.11.0.min.js" type="text/javascript"></script>
|
||
|
<!-- 引用通用的js文件. -->
|
||
|
<script type="text/javascript" src="../../../WF/Scripts/config.js"></script>
|
||
|
<script type="text/javascript" src="../../../WF/Comm/Gener.js"></script>
|
||
|
|
||
|
</body>
|
||
|
</html>
|