167 lines
7.3 KiB
Plaintext
167 lines
7.3 KiB
Plaintext
|
|
@{
|
|
ViewBag.Title = "疫苗减免审核记录";
|
|
}
|
|
|
|
|
|
,
|
|
|
|
|
|
|
|
@section scripts{
|
|
<script type="text/javascript">
|
|
var grid;
|
|
$(function () {
|
|
$("#sqsjb").ligerDateEditor({ width: 100 });
|
|
$("#sqsje").ligerDateEditor({ width: 100 });
|
|
|
|
$("#btSelect").ligerButton({
|
|
click: function () {
|
|
liger.get("chargeProjectList").set("parms", { lx: $("#ff option:selected").val(), xm: $("#xm").val(), sqsjb: $("#sqsjb").val(), sqsje: $("#sqsje").val(),all:"true" });
|
|
liger.get("chargeProjectList").changePage("first");
|
|
liger.get("chargeProjectList").reload();
|
|
}
|
|
});
|
|
|
|
grid = $("#chargeProjectList").ligerGrid({
|
|
url: "@Url.Action("GetJmsqList")",
|
|
toolbar: {
|
|
items: [
|
|
{
|
|
text: '查看明细',
|
|
click: select,
|
|
icon: 'view'
|
|
},
|
|
{
|
|
text: "删除", click: function () {
|
|
var id;
|
|
var r = liger.get("chargeProjectList").getSelectedRow();
|
|
if (!r) {
|
|
$.ligerDialog.alert("请选择要删除的数据!");
|
|
return;
|
|
}
|
|
if (r.lx != 0)
|
|
{
|
|
$.ligerDialog.alert("你选的数据不能删除!");
|
|
return;
|
|
}
|
|
id = r.id;
|
|
$.ligerDialog.confirm("你确定要删除申请吗?", function () {
|
|
$.ajax({
|
|
url: "@Url.Action("delJMSQ")", type: "post", dataType: "json", data: { id: id },
|
|
success: function (data) {
|
|
$.ligerDialog.closeWaitting();
|
|
$.ligerDialog.alert(data.Message);
|
|
if(data.State==1)
|
|
{
|
|
liger.get("chargeProjectList").reload();
|
|
}
|
|
},
|
|
beforeSend: function () {
|
|
$.ligerDialog.waitting("正在删除请稍后……");
|
|
}
|
|
});
|
|
});
|
|
},
|
|
icon:"delete"
|
|
},
|
|
{
|
|
text: "打印缴费单",
|
|
click: function () {
|
|
var id;
|
|
var r = liger.get("chargeProjectList").getSelectedRow();
|
|
if (!r) {
|
|
$.ligerDialog.alert("请选择要删除的数据!");
|
|
return;
|
|
}
|
|
id = r.id;
|
|
if (r.lx != 1)
|
|
{
|
|
$.ligerDialog.alert("只有审核过的申请才可以打印缴费单!");
|
|
return;
|
|
}
|
|
var url = "@(Request.Url.Scheme + "://" + Request.Url.Authority + Url.Content("~/"))";
|
|
|
|
try
|
|
{
|
|
|
|
if (window.top.Formium.external.Print.finit( "barcode.frx"))
|
|
{
|
|
|
|
window.top.Formium.external.Print.printJFD(r.chargeid);
|
|
}
|
|
}
|
|
catch(e)
|
|
{
|
|
$.ligerDialog.warn(e.message);
|
|
}},
|
|
icon: "print"
|
|
}
|
|
]
|
|
},
|
|
title: "减免申请列表",
|
|
parms: { lx: "0",all:"true" },
|
|
columns: [
|
|
{ name: "xm", display: "缴费人姓名", width: 80, align: "left" },
|
|
{ name: "sqrxm", display: "申请人姓名", width: 80, align: "left" },
|
|
{ name: "sqsj", display: "申请时间", width: 180, align: "left" },
|
|
{ name: "shr", display: "审核人", width: 180, align: "left" },
|
|
{ name: "shsj", display: "审核时间", width: 180, align: "left" }
|
|
, {
|
|
name: "lx", display: "审核状态", width: 82, align: "left", render: function (r, i, v) {
|
|
if (v == "0")
|
|
return "申请中";
|
|
else if (v == "1")
|
|
return "通过";
|
|
else if (v == "2")
|
|
return "未通过";
|
|
return "申请中";
|
|
}
|
|
}
|
|
], width: "98%",
|
|
height: "100%",
|
|
rownumbers: true,
|
|
usePager: false,
|
|
heightDiff: -20
|
|
});
|
|
});
|
|
var openf;
|
|
function select(item) {
|
|
var id;
|
|
var r = liger.get("chargeProjectList").getSelectedRow();
|
|
if (!r) {
|
|
$.ligerDialog.alert("请选择要查看的数据!");
|
|
return;
|
|
}
|
|
id = r.id;
|
|
openf = $.ligerDialog.open({
|
|
url: "@Url.Action("JmmxResult")?jmid=" + id,
|
|
title: item.text,
|
|
width: 600,
|
|
height: 400
|
|
});
|
|
}
|
|
|
|
|
|
</script>}
|
|
|
|
<table class="t1" style="width:100%">
|
|
<tr>
|
|
<td class="ltd">缴费人姓名:</td>
|
|
<td class="rtd">@Html.TextBox("ff1", "", new { id = "xm", @class = "l-text" })</td>
|
|
<td class="ltd">审核状态:</td>
|
|
<td class="rtd">@Html.DropDownList("ff", ViewBag.lx as SelectList, new { id = "ff" })</td>
|
|
@*<td class="rtd"><input type="text" id="djr" name="djr" style="width:100px" class="l-text" /></td>*@
|
|
<td class="ltd">申请时间:</td>
|
|
<td class="rtd"><input type="text" id="sqsjb" name="sqsjb" style="width:100px" /></td>
|
|
<td class="rtd">至</td>
|
|
<td class="rtd"><input type="text" id="sqsje" name="sqsje" style="width:100px" /></td>
|
|
<td width="100" class="rtd"><input type="button" id="btSelect" value="查询" class="l-button" /></td>
|
|
</tr>
|
|
</table>
|
|
<div id="chargeProjectList">
|
|
</div>
|
|
|
|
<div class="dispReport">
|
|
<object classid="clsid:F6A015E2-092A-4006-93DA-4CBDE3AFF4B8" id="window.top.Formium.external.Print" width="300" height="50"></object>
|
|
</div> |