|
@@ -12,32 +12,32 @@
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
function mySubmit(){
|
|
|
-
|
|
|
+
|
|
|
var username = $.trim($('#username').val());
|
|
|
var pwd = $.trim($('#pwd').val());
|
|
|
-
|
|
|
+
|
|
|
if(!username){
|
|
|
layer.alert('请输入账号');
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if(!pwd){
|
|
|
layer.aletr('请输入密码');
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
$('#mySubmit').submit();
|
|
|
}
|
|
|
|
|
|
$(function(){
|
|
|
-
|
|
|
- document.onkeydown = function(e){
|
|
|
+
|
|
|
+ document.onkeydown = function(e){
|
|
|
var ev = document.all ? window.event : e;
|
|
|
if(ev.keyCode==13) {
|
|
|
mySubmit();
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
});
|
|
|
|
|
|
</script>
|
|
@@ -50,7 +50,7 @@ $(function(){
|
|
|
<div class="m_txt">
|
|
|
<c:choose>
|
|
|
<c:when test="${not empty msg }">${msg }</c:when>
|
|
|
- <c:otherwise>CMS管理系统</c:otherwise>
|
|
|
+ <c:otherwise>医政沙龙管理系统</c:otherwise>
|
|
|
</c:choose>
|
|
|
</div>
|
|
|
<div class="m_input">
|
|
@@ -66,7 +66,7 @@ $(function(){
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<%@ include file="common/footer.jsp" %>
|
|
|
</body>
|
|
|
-</html>
|
|
|
+</html>
|