mirror of
https://gitee.com/farsunset/cim.git
synced 2025-07-06 00:41:05 +08:00
no message
This commit is contained in:
parent
ce15aeba68
commit
9312f051a2
@ -1,4 +1,4 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
|
||||
<%
|
||||
String headerBasePath = request.getScheme() + "://"
|
||||
@ -35,30 +35,7 @@
|
||||
|
||||
});
|
||||
|
||||
|
||||
function doLogin()
|
||||
{
|
||||
var account = $('#account').val();
|
||||
var password = $('#password').val();
|
||||
if($.trim(account)=='' || $.trim(password)=='')
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
showProcess('正在登录请稍后......');
|
||||
$.post("<%=headerBasePath%>/system/system_login.action", {account:account,password:password},
|
||||
function(data){
|
||||
hideProcess();
|
||||
if(data == 403)
|
||||
{
|
||||
showETip("账号或者密码错误");
|
||||
return ;
|
||||
}
|
||||
doHideDialog('LoginDialog');
|
||||
$("#loginButton").text("系统管理员");
|
||||
$("#loginButton").removeAttr("onclick");
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
|
||||
<%
|
||||
String headerBasePath = request.getScheme() + "://"
|
||||
@ -35,30 +35,7 @@
|
||||
|
||||
});
|
||||
|
||||
|
||||
function doLogin()
|
||||
{
|
||||
var account = $('#account').val();
|
||||
var password = $('#password').val();
|
||||
if($.trim(account)=='' || $.trim(password)=='')
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
showProcess('正在登录请稍后......');
|
||||
$.post("<%=headerBasePath%>/system/system_login.action", {account:account,password:password},
|
||||
function(data){
|
||||
hideProcess();
|
||||
if(data == 403)
|
||||
{
|
||||
showETip("账号或者密码错误");
|
||||
return ;
|
||||
}
|
||||
doHideDialog('LoginDialog');
|
||||
$("#loginButton").text("系统管理员");
|
||||
$("#loginButton").removeAttr("onclick");
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user