用户模块代码优化
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
<head>
|
||||
<title>用户管理</title>
|
||||
<meta charset="utf-8">
|
||||
<!-- 指定以IE8的方式来渲染 -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
|
||||
<script type="text/javascript" src="/js/colorbox/jquery.colorbox-min.js"></script>
|
||||
@@ -110,7 +108,6 @@
|
||||
initConfig();
|
||||
initTableData();
|
||||
ininPager();
|
||||
browserFit();
|
||||
});
|
||||
|
||||
//初始化配置
|
||||
@@ -128,36 +125,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
//浏览器适配
|
||||
function browserFit() {
|
||||
if (getOs() == 'MSIE') {
|
||||
$("#usernameLabel").empty().append("用户姓名 ");
|
||||
$("#loginameLabel").empty().append("登录名称 ");
|
||||
$("#orgAbrLabel").empty().append("部 门 ");
|
||||
$("#userBlngOrgaDsplSeqLabel").empty().append("用户排序 ");
|
||||
$("#positionLabel").empty().append("职 位 ");
|
||||
$("#phonenumLabel").empty().append("联系电话 ");
|
||||
$("#emailLabel").empty().append("电子邮箱 ");
|
||||
$("#descriptionLabel").empty().append("描 述 ");
|
||||
$("#searchPositionLabel").empty().append("职 位:");
|
||||
$("#searchDeptLabel").empty().append("部 门:");
|
||||
$("#searchDescLabel").empty().append("描 述:");
|
||||
}
|
||||
else {
|
||||
$("#usernameLabel").empty().append("用户姓名 ");
|
||||
$("#loginameLabel").empty().append("登录名称 ");
|
||||
$("#orgAbrLabel").empty().append("部 门 ");
|
||||
$("#userBlngOrgaDsplSeqLabel").empty().append("用户排序 ");
|
||||
$("#positionLabel").empty().append("职 位 ");
|
||||
$("#phonenumLabel").empty().append("联系电话 ");
|
||||
$("#emailLabel").empty().append("电子邮箱 ");
|
||||
$("#descriptionLabel").empty().append("描 述 ");
|
||||
$("#searchPositionLabel").empty().append("职 位:");
|
||||
$("#searchDeptLabel").empty().append("部 门:");
|
||||
$("#searchDescLabel").empty().append("描 述:");
|
||||
}
|
||||
}
|
||||
|
||||
//初始化表格数据
|
||||
function initTableData() {
|
||||
$('#tableData').datagrid({
|
||||
|
||||
Reference in New Issue
Block a user