80 lines
2.9 KiB
Plaintext
80 lines
2.9 KiB
Plaintext
|
|
@{
|
|
ViewBag.Title = "FJLCQuery";
|
|
}
|
|
<table class="t1" style="width:100%">
|
|
<tr>
|
|
<td class="ltd" style="width:130px">第一次体检编号:</td>
|
|
<td class="rtd"><input class="l-text" id="where" /></td>
|
|
<td class="ltd" style="width:100px">复检编号:</td>
|
|
<td class="rtd"><input class="l-text" id="where1" /></td>
|
|
<td width="100" class="rtd"><input type="button" value="查询" onclick="cx();" class="l-button" /></td>
|
|
</tr>
|
|
</table>
|
|
<div id="layout1">
|
|
<div position="left">
|
|
<div id="grid1"></div>
|
|
</div>
|
|
<div position="center" title="体检流程">
|
|
<div id="grid2"></div>
|
|
</div>
|
|
</div>
|
|
|
|
@section scripts{
|
|
<script type="text/javascript">
|
|
function cx() {
|
|
liger.get("grid1").set("parms", { where: $("#where").val(), where1: $("#where1").val() });
|
|
liger.get("grid1").reload();
|
|
}
|
|
|
|
$(function () {
|
|
$("#layout1").ligerLayout({ leftWidth: 600 });
|
|
|
|
$("#grid1").ligerGrid({
|
|
title: "",
|
|
parms: {},
|
|
url: "@Url.Action("getFJLCList")",
|
|
columns: [
|
|
{ name: "physical_num", display: "体检编号", width: 100, align: "left", },
|
|
{ name: "register_date", display: "登记日期", width: 100, align: "left" },
|
|
{ name: "person_name", display: "姓名", width: 80, align: "left" },
|
|
{ name: "sex", display: "性别", width: 100, align: "left" },
|
|
{ name: "result_status", display: "是否复检", width: 100, align: "left" },
|
|
{ name: "exam_type", display: "体检类型", width: 100, align: "left" }
|
|
],
|
|
width: "98%",
|
|
height: "98%",
|
|
rownumbers: true,
|
|
usePager: false,
|
|
heightDiff: -20,
|
|
delayLoad :true,
|
|
onSelectRow: function (rowdata, rowid, rowobj) {
|
|
if(window.parent.selectedXM)
|
|
{
|
|
// window.parent.selectedXM(rowdata.);
|
|
}
|
|
}
|
|
});
|
|
$("#grid2").ligerGrid({
|
|
title: "",
|
|
parms: {},
|
|
url: "@Url.Action("getFJLCList2")",
|
|
columns: [
|
|
{ name: "project_id", display: "体检小组", width: 100, align: "left", },
|
|
{ name: "project_name", display: "结果", width: 100, align: "left" },
|
|
{ name: "pinyin_code", display: "复合", width: 80, align: "left" },
|
|
{ name: "project_id", display: "完成", width: 80, align: "left" }
|
|
],
|
|
width: "100%",
|
|
height: "100%",
|
|
rownumbers: true,
|
|
usePager: false,
|
|
heightDiff: -20,
|
|
delayLoad: true,
|
|
});
|
|
|
|
cx();
|
|
});
|
|
</script>
|
|
}
|