68 lines
2.3 KiB
Plaintext
68 lines
2.3 KiB
Plaintext
|
|
@{
|
|
ViewBag.Title = "问卷列表";
|
|
}
|
|
|
|
<table class="t1" style="width:100%">
|
|
@*<tr>
|
|
<td class="ltd" style="width:100px">筛选条件:</td>
|
|
<td class="rtd" style="width:160px"><input type="text" class="l-text" style="width:140px" id="filtrate" /></td>
|
|
<td class="rtd"><input type="button" value="查询" class="l-button" id="cx" /></td>
|
|
</tr>*@
|
|
</table>
|
|
<div id="bzuser" style="">
|
|
<input type="button" value="详情" class="l-button" id="details" />
|
|
</div>
|
|
<div id="gzList"></div>
|
|
@section scripts{
|
|
<script type="text/javascript">
|
|
function init() {
|
|
liger.get("gzList").reload();
|
|
$("#gzList").ligerDateEditor();
|
|
openf.close();
|
|
}
|
|
|
|
$(function () {
|
|
$("#gzList").ligerGrid({
|
|
|
|
title: "问卷列表", parms: {}, url: "@Url.Action("getAllWJ")",
|
|
columns: [
|
|
{ name: "name", display: "姓名", width: 100, align: "left" }
|
|
, { name: "ident", display: "身份证", width: 200, align: "left" }
|
|
, { name: "birth", display: "生日", width: 100, align: "left" }
|
|
, { name: "phone", display: "电话", width: 100, align: "left" }
|
|
], width: "98%",
|
|
height: "100%",
|
|
rownumbers: true,
|
|
usePager: false,
|
|
pageSize: 30,
|
|
heightDiff: -20
|
|
});
|
|
|
|
$("#cx").bind("click", function () {
|
|
liger.get("gzList").set("parms", { filtrate: $("#filtrate").val() });
|
|
liger.get("gzList").set("page", 1);
|
|
liger.get("gzList").reload();
|
|
});
|
|
});
|
|
|
|
//详情
|
|
$("#details").click(function () {
|
|
var r = liger.get("gzList").getSelectedRow();
|
|
if (!r)
|
|
{
|
|
$.ligerDialog.warn("请选择用户!");
|
|
return;
|
|
}
|
|
openf = $.ligerDialog.open({
|
|
url: "@Url.Action("QuestionnaireModify")?user_id=" + r.user_id,
|
|
title: "个人信息审核详情",
|
|
width: 800,
|
|
height: 600
|
|
});
|
|
});
|
|
|
|
</script>
|
|
}
|
|
|