70 lines
3.3 KiB
Plaintext
70 lines
3.3 KiB
Plaintext
|
|
@{
|
|
ViewBag.Title = "choosccsqView";
|
|
}
|
|
|
|
@using Newtonsoft.Json;
|
|
<div id="maingrid"></div>
|
|
@section scripts{
|
|
<script type="text/javascript" src="@Url.Content("~/Scripts/public.js")"></script>
|
|
<script type="text/javascript">
|
|
|
|
$(function () {
|
|
$("#maingrid").ligerGrid({
|
|
height: '100%',
|
|
columns: [
|
|
{ display: '编号', name: 'id', align: 'left', width: 60 },
|
|
{ display: '申请单号', name: 'sqdh', align: 'left', width: 90 },
|
|
{ display: '申请科室', name: 'ksmc', align: 'left', width: 80 },
|
|
{ display: '申请人', name: 'sqr', align: 'left', width: 80 },
|
|
{ display: '出差人数', name: 'ccrs', align: 'right', width: 60 },
|
|
{ display: '出差时间', name: 'ccsj', width: 100, render: function (r, i, v) { if (v) return formatTime(v) } },
|
|
{ display: '出差天数', name: 'ccts', align: 'right', width: 60 },
|
|
{ display: '出差类别', name: 'cclb', align: 'left', width: 80 },
|
|
{ display: '出差省市', name: 'area', align: 'left', width: 120 },
|
|
{ display: '出差地点', name: 'ccdd', align: 'left', width: 120 },
|
|
{ display: '申请时间', name: 'sqsj', width: 100, render: function (r, i, v) { if (v) return formatTime(v) } },
|
|
{ display: '事由', name: 'sy', align: 'left', width: 200 },
|
|
{
|
|
display: '状态', name: 'zt', width: 110, render: function (r, i, v) {
|
|
switch (v) {
|
|
case 1: return "等待科室领导审批";
|
|
case 2: return "等待分管领导审批";
|
|
case 3: return "等待内审领导审批";
|
|
case 4: return "等待所有会签审批";
|
|
case 5: return "等待备案领导审批";
|
|
case 6: return "等待财务领导审批";
|
|
case 7: return "等待中心领导审批";
|
|
case 8: return "审核完成";
|
|
case -1: return "科室领导驳回";
|
|
case -2: return "分管领导驳回";
|
|
case -3: return "内审领导驳回";
|
|
case -4: return "会签驳回";
|
|
case -5: return "备案领导驳回";
|
|
case -6: return "财务领导驳回";
|
|
case -7: return "中心领导驳回";
|
|
}
|
|
}
|
|
}
|
|
],
|
|
url: "@Url.Action("getccsq")?type=@ViewBag.type&dydh=@ViewBag.dydh",
|
|
pageSize: 10,
|
|
rownumbers: true,
|
|
usePager: true,
|
|
heightDiff: -20,
|
|
onSelectRow: function (rowdata, rowid, rowobj) {
|
|
if(window.parent.selectedCCSQ)
|
|
{
|
|
window.parent.selectedCCSQ(rowdata);
|
|
}
|
|
}
|
|
|
|
});
|
|
});
|
|
</script>
|
|
}
|
|
|
|
|
|
|
|
|