137 lines
5.7 KiB
Plaintext
137 lines
5.7 KiB
Plaintext
|
|
@{
|
|
ViewBag.Title = "结果录入-查漏";
|
|
}
|
|
|
|
@section scripts{
|
|
<script type="text/javascript">
|
|
function Layout() {
|
|
$("#layout").ligerLayout({ leftWidth: '50%', topHeight: 51, rightWidth: '50%' });
|
|
|
|
}
|
|
|
|
function init() {
|
|
$("#djrq_start").ligerDateEditor({
|
|
format: "yyyy-MM-dd",width:90
|
|
});
|
|
$("#djrq_end").ligerDateEditor({
|
|
format: "yyyy-MM-dd", width: 90
|
|
});
|
|
$("#tjrq_start").ligerDateEditor({width:90});
|
|
$("#tjrq_end").ligerDateEditor({ width: 90 });
|
|
|
|
var d = new Date();
|
|
d.setTime(d.getTime() - 168 * 60 * 60 * 1000);
|
|
var s = d.getFullYear() + "-" + "0" + (d.getMonth() + 1) + "-" + d.getDate();
|
|
|
|
//$("#djrq_start").ligerGetDateEditorManager().setValue(s);
|
|
//$("#djrq_end").ligerGetDateEditorManager().setValue(new Date());
|
|
//$("#tjrq_start").ligerGetDateEditorManager().setValue(s);
|
|
//$("#tjrq_end").ligerGetDateEditorManager().setValue(new Date());
|
|
|
|
//未检查询
|
|
$("#left-chaxun").ligerButton({width:40,
|
|
click: function () {
|
|
liger.get("leftList").set("parms",{ id: @ViewBag.id, djrqStr: $("#djrq_start").val(), djrqEnd: $("#djrq_end").val()});
|
|
liger.get("leftList").reload();
|
|
|
|
}
|
|
});
|
|
|
|
//已检查询
|
|
$("#right-chaxun").ligerButton({width:40,
|
|
click: function () {
|
|
liger.get("rightList").set("parms",{id: @ViewBag.id, djrqStr: $("#tjrq_start").val(), djrqEnd: $("#tjrq_end").val()});
|
|
liger.get("rightList").reload();
|
|
}
|
|
});
|
|
}
|
|
|
|
$(function () {
|
|
Layout();
|
|
init();
|
|
//debugger
|
|
$("#leftList").ligerGrid({
|
|
isScroll: true,
|
|
//headerRowHeight: 0,
|
|
//inWindow: false,
|
|
url: "@Url.Action("getWJList")",
|
|
parms:{id:@ViewBag.id,djrqStr:"@DateTime.Now.ToString("yyyy-MM-dd")",djrqEnd:"@DateTime.Now.ToString("yyyy-MM-dd")"},
|
|
columns: [
|
|
{ name: "physical_num", display: "体检编号 ", align: "left", width: 100 },
|
|
{ name: "person_name", display: "姓名", align: "centre", width: 100 },
|
|
{ name: "util_name", display: "企业名称", align: "left", width: 100 }
|
|
],
|
|
height: 400,
|
|
rownumbers: false,
|
|
fixedCellHeight: false,
|
|
usePager: false
|
|
});
|
|
//debugger
|
|
$("#rightList").ligerGrid({
|
|
isScroll: true,
|
|
//headerRowHeight: 0,
|
|
//inWindow: false,
|
|
|
|
url: "@Url.Action("getYJList")",
|
|
parms:{id:@ViewBag.id,djrqStr:"@DateTime.Now.ToString("yyyy-MM-dd")",djrqEnd:"@DateTime.Now.ToString("yyyy-MM-dd")"},
|
|
columns: [
|
|
{ name: "physical_num", display: "体检编号 ", align: "left", width: 100 },
|
|
{ name: "person_name", display: "姓名", align: "centre", width: 100 },
|
|
{ name: "util_name", display: "企业名称", align: "left", width: 100 },
|
|
{ name: "commit_doctor", display: "体检医生", align: "left", width: 100 }
|
|
],
|
|
height: 400,
|
|
rownumbers: false,
|
|
fixedCellHeight: false,
|
|
usePager: false
|
|
});
|
|
});
|
|
</script>
|
|
}
|
|
|
|
<div class="l-clear"></div>
|
|
<div id="maingrid">
|
|
<div id="layout" style="margin-left: 8px;text-align:center">
|
|
<div position="top">
|
|
<table style="width:100%">
|
|
<tr>
|
|
<td width="50%">
|
|
<table class="t1" style="width:100%;text-align:left">
|
|
<tr>
|
|
<td class="ltd" style="width:40px;text-align:left;">未检:</td>
|
|
<td class="rtd" style="width:80px;text-align:left;">登记日期:</td><td><input type="text" id="djrq_start" value="@DateTime.Now.AddDays(-7).ToString("yyyy-MM-dd")" name="djrq_start"></td><td>至</td>
|
|
<td><input type="text" id="djrq_end" name="djrq_end" value="@DateTime.Now.ToString("yyyy-MM-dd")"></td>
|
|
<td class="rtd" style="width:30px;text-align:left;"><div id="left-chaxun">查询</div></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td width="50%">
|
|
<table class="t1" style="width:100%;text-align:left">
|
|
<tr>
|
|
<td class="ltd" style="width:40px;text-align:left;">已检:</td>
|
|
<td class="rtd" style="width:80px;text-align:left;">体检日期:</td><td><input type="text" id="tjrq_start" name="tjrq_start" value="@DateTime.Now.AddDays(-7).ToString("yyyy-MM-dd")"></td><td>至</td>
|
|
<td><input type="text" id="tjrq_end" name="tjrq_end" value="@DateTime.Now.ToString("yyyy-MM-dd")"></td>
|
|
<td class="rtd" style="width:30px;text-align:left;"><div id="right-chaxun">查询</div></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="top-right"></div>
|
|
</div>
|
|
<div position="left">
|
|
<div id="leftList"></div>
|
|
</div>
|
|
|
|
<div position="right"><div id="rightList"></div></div>
|
|
</div>
|
|
</div>
|
|
<div style="display:none;">
|
|
</div>
|