Commit 683b0569 authored by 马超's avatar 马超

值班

parent a9e3f218
......@@ -17,6 +17,7 @@
}
String year = pub.trimNull(request.getParameter("year"));
String zb_type = pub.trimNull(request.getParameter("zb_type"));
zb_type=java.net.URLDecoder.decode(zb_type,"UTF-8");
String action = pub.trimNull(request.getParameter("action"));
StringBuffer sql = new StringBuffer();
List list = new ArrayList();
......
......@@ -133,6 +133,7 @@
document.form1.submit();
}
function editUser(year,zb_type) {
zb_type=encodeURI(encodeURI(zb_type));
var url = './selectUser-t.jsp?year='+year+"&zb_type="+zb_type;
var abc = layer.open({
title: '选择人员',
......
......@@ -76,7 +76,7 @@
<label class="form-label col-xs-4 col-sm-2">
<span class="c-red">*</span>日期&nbsp;
</label>
<div class="formControls col-xs-8 col-sm-4">
<div class="formControls col-xs-4 col-sm-4">
<input type="text" autocomplete="off" class="input-text Wdate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" name="h_day" id="h_day" value="<%=pub.trimNull((String)ht.get("h_day"))%>" >
</div>
</div>
......@@ -84,9 +84,9 @@
<label class="form-label col-xs-4 col-sm-2">
<span class="c-red">*</span>休息日&nbsp;
</label>
<div class="formControls col-xs-8 col-sm-4">
<input type="text" style="width: 45%;" autocomplete="off" class="input-text Wdate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" name="b_time" id="b_time" value="<%=pub.trimNull((String)ht.get("b_time"))%>" >
- <input type="text" style="width: 45%;" autocomplete="off" class="input-text Wdate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" name="e_time" id="e_time" value="<%=pub.trimNull((String)ht.get("e_time"))%>" >
<div class="formControls col-xs-4 col-sm-4">
<input type="text" style="width: 47%;" autocomplete="off" class="input-text Wdate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" name="b_time" id="b_time" value="<%=pub.trimNull((String)ht.get("b_time"))%>" >
- <input type="text" style="width: 48%;" autocomplete="off" class="input-text Wdate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" name="e_time" id="e_time" value="<%=pub.trimNull((String)ht.get("e_time"))%>" >
</div>
</div>
</div>
......
......@@ -17,6 +17,7 @@
}
String year = pub.trimNull(request.getParameter("year"));
String zb_type = pub.trimNull(request.getParameter("zb_type"));
zb_type=java.net.URLDecoder.decode(zb_type,"UTF-8");
String action = pub.trimNull(request.getParameter("action"));
StringBuffer sql = new StringBuffer();
List list = new ArrayList();
......
......@@ -133,6 +133,7 @@
document.form1.submit();
}
function editUser(year,zb_type) {
zb_type=encodeURI(encodeURI(zb_type));
var url = './selectUser-t.jsp?year='+year+"&zb_type="+zb_type;
var abc = layer.open({
title: '选择人员',
......
......@@ -13,7 +13,7 @@
<div class="left-tree">
<button class="btn btn-success" onclick="optMx('add');" style="text-align:center;float:left;">
新建</button>
<button class="btn btn-success" onclick="updateMx();" style="text-align:center;float:left;margin-left: 20px;">
<button class="btn btn-success" onclick="updateMx();" style="text-align:center;float:left;margin-left: 10px;">
修改</button>
<button class="btn btn-success" onclick="delMx();" style="text-align:center;float:right;">
删除</button>
......
......@@ -16,7 +16,7 @@
<div class="left-tree">
<button class="btn btn-success" onclick="optMx('add');" style="text-align:center;float:left;">
新建</button>
<button class="btn btn-success" onclick="updateMx();" style="text-align:center;float:left;margin-left: 20px;">
<button class="btn btn-success" onclick="updateMx();" style="text-align:center;float:left;margin-left: 10px;">
修改</button>
<button class="btn btn-success" onclick="delMx();" style="text-align:center;float:right;">
删除</button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment