升级easyUI到1.9.4版本
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
<meta http-equiv="Expires" content="-1">
|
||||
<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>
|
||||
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
|
||||
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
|
||||
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
|
||||
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
|
||||
<script type="text/javascript" src="/js/common/common.js"></script>
|
||||
<script src="/js/My97DatePicker/WdatePicker.js"></script>
|
||||
</head>
|
||||
@@ -31,9 +31,9 @@
|
||||
<tr>
|
||||
<td>上级机构</td>
|
||||
<td style="padding:5px">
|
||||
<input name="orgParentName" id="orgParentName" style="width: 200px;height: 20px" readonly="readonly"/>
|
||||
<input name="orgParentName" id="orgParentName" class="easyui-textbox" style="width: 200px;" readonly="readonly"/>
|
||||
<a href="javascript:void(0)" class="l-btn l-btn-plain" group="" id="lookForSelectOrganization">
|
||||
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left"></span></span></a>
|
||||
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left" style="height:20px;"></span></span></a>
|
||||
<input name="orgParentNo" id="orgParentNo" type="hidden"/>
|
||||
<input name="selectType" id="selectType" type="hidden"/>
|
||||
</td>
|
||||
@@ -41,22 +41,23 @@
|
||||
<tr>
|
||||
<td>全称</td>
|
||||
<td style="padding:5px">
|
||||
<input name="orgFullName" id="orgFullName" class="easyui-validatebox"
|
||||
data-options="required:true,validType:'length[2,30]'" style="width: 200px;height: 20px"/>
|
||||
<input name="orgFullName" id="orgFullName" class="easyui-textbox"
|
||||
data-options="required:true,validType:'length[2,30]'" style="width: 200px;"/>
|
||||
<input name="id" id="id" type="hidden"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>简称</td>
|
||||
<td style="padding:5px">
|
||||
<input name="orgAbr" id="orgAbr" class="easyui-validatebox"
|
||||
data-options="required:true,validType:'length[2,20]'" style="width: 200px;height: 20px"/>
|
||||
<input name="orgAbr" id="orgAbr" class="easyui-textbox"
|
||||
data-options="required:true,validType:'length[2,20]'" style="width: 200px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>状态</td>
|
||||
<td style="padding:5px">
|
||||
<select name="orgStcd" id="orgStcd" style="width: 200px;height: 20px">
|
||||
<select name="orgStcd" id="orgStcd" class="easyui-combobox"
|
||||
data-options="panelHeight:'auto'" style="width:200px;">
|
||||
<option value="1">未营业</option>
|
||||
<option value="2">正常营业</option>
|
||||
<option value="3">暂停营业</option>
|
||||
@@ -67,36 +68,34 @@
|
||||
<tr>
|
||||
<td>编号</td>
|
||||
<td style="padding:5px">
|
||||
<input name="orgNo" id="orgNo" class="easyui-validatebox"
|
||||
data-options="required:true,validType:'length[2,20]'" style="width: 200px;height: 20px"/>
|
||||
<input name="orgNo" id="orgNo" class="easyui-textbox"
|
||||
data-options="required:true,validType:'length[2,20]'" style="width: 200px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>序号</td>
|
||||
<td>排序</td>
|
||||
<td style="padding:5px">
|
||||
<input name="sort" id="sort" class="easyui-validatebox"
|
||||
data-options="required:true,validType:'length[2,20]'" style="width: 200px;height: 20px"/>
|
||||
<input name="sort" id="sort" class="easyui-textbox"
|
||||
data-options="required:true,validType:'length[2,20]'" style="width: 200px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>开创时间</td>
|
||||
<td style="padding:5px">
|
||||
<input type="text" name="orgCreateTime" id="orgCreateTime"
|
||||
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:200px;"/>
|
||||
<input type="text" name="orgCreateTime" id="orgCreateTime" class="easyui-datetimebox" style="width:200px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>停业时间</td>
|
||||
<td style="padding:5px">
|
||||
<input type="text" name="orgStopTime" id="orgStopTime"
|
||||
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:200px;"/>
|
||||
<input type="text" name="orgStopTime" id="orgStopTime" class="easyui-datetimebox" style="width:200px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>备注</td>
|
||||
<td style="padding:5px">
|
||||
<textarea name="remark" id="remark" placeholder="暂无备注信息"
|
||||
style="width: 200px; height:40px;"></textarea>
|
||||
<input name="remark" id="remark" class="easyui-textbox" data-options="multiline:true"
|
||||
placeholder="暂无备注信息" style="width: 200px; height:40px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -157,21 +156,9 @@
|
||||
if(checkPower()){
|
||||
return;
|
||||
}
|
||||
$('#OrganizationFM').form('clear');
|
||||
$('#organizationDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加机构信息');
|
||||
$('#organizationFM').form('clear');
|
||||
$('#organizationDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/> 增加机构信息');
|
||||
$(".window-mask").css({width: webW, height: webH});
|
||||
$("#orgAbr").val("").focus();
|
||||
$("#orgParentName").val("");
|
||||
$("#orgParentNo").val("");
|
||||
$("#orgFullName").val("");
|
||||
$("#orgTpcd").val("");
|
||||
$("#orgStcd").val("");
|
||||
$("#orgNo").val("");
|
||||
$("#sort").val("");
|
||||
$("#orgCreateTime").val("");
|
||||
$("#orgStopTime").val("");
|
||||
$("#remark").val("");
|
||||
$("#id").val("");
|
||||
//机构父级选择
|
||||
$("#selectType").val("orgParent");
|
||||
url = '/organization/addOrganization';
|
||||
@@ -192,20 +179,18 @@
|
||||
return;
|
||||
}
|
||||
$('#organizationFM').form('clear');
|
||||
$('#organizationDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 修改机构信息');
|
||||
$('#organizationDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/> 修改机构信息');
|
||||
$(".window-mask").css({width: webW, height: webH});
|
||||
$("#orgAbr").val(res.data.orgAbr).focus();
|
||||
$("#orgParentName").val(res.data.orgParentName);
|
||||
$("#orgAbr").textbox("setValue", res.data.orgAbr).focus();
|
||||
$("#orgParentName").textbox("setValue", res.data.orgParentName);
|
||||
$("#orgParentNo").val(res.data.orgParentNo);
|
||||
$("#orgFullName").val(res.data.orgFullName);
|
||||
$("#orgTpcd").val(res.data.orgTpcd);
|
||||
$("#orgStcd").val(res.data.orgStcd);
|
||||
$("#orgNo").val(res.data.orgNo);
|
||||
$("#orgFullName").val(res.data.orgFullName);
|
||||
$("#sort").val(res.data.sort);
|
||||
$("#orgCreateTime").val(res.data.orgCreateTime);
|
||||
$("#orgStopTime").val(res.data.orgStopTime);
|
||||
$("#remark").val(res.data.remark);
|
||||
$("#orgFullName").textbox("setValue", res.data.orgFullName);
|
||||
$("#orgStcd").combobox("setValue", res.data.orgStcd);
|
||||
$("#orgNo").textbox("setValue", res.data.orgNo);
|
||||
$("#sort").textbox("setValue", res.data.sort);
|
||||
$("#orgCreateTime").textbox("setValue", res.data.orgCreateTime);
|
||||
$("#orgStopTime").textbox("setValue", res.data.orgStopTime);
|
||||
$("#remark").textbox("setValue", res.data.remark);
|
||||
$("#id").val(res.data.id);
|
||||
//机构父级选择
|
||||
$("#selectType").val("orgParent");
|
||||
|
||||
Reference in New Issue
Block a user