From 6a15d9219a9d4ebf17fa10519812029ad60239d4 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期三, 20 十月 2021 10:23:30 +0800 Subject: [PATCH] 社保单独维护 --- zhengcaioa/zhengcaioa/Views/AdmAttendance/IndexDtl.cshtml | 68 ++++++++++++++++++++++++++++++++++ 1 files changed, 68 insertions(+), 0 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/AdmAttendance/IndexDtl.cshtml b/zhengcaioa/zhengcaioa/Views/AdmAttendance/IndexDtl.cshtml new file mode 100644 index 0000000..cbdac5a --- /dev/null +++ b/zhengcaioa/zhengcaioa/Views/AdmAttendance/IndexDtl.cshtml @@ -0,0 +1,68 @@ +锘緻{ + ViewBag.Title = "宸ヨ祫鏍稿噯"; + Layout = "~/Views/Shared/_Layout_Search.cshtml"; +} + +<link href="~/css/jquery-confirm.css" rel="stylesheet"> +<script src="~/js/jquery-confirm.js" type="text/javascript"></script> + +@section headerStyle{ + + <script type="text/javascript"> + + var AttendanceId = '@Html.Raw(ViewBag.AttendanceId)'; + + //gridConfig = { multiselect: false, selectcol: "Id" }; + //shrinkToFit = false; + //footerrow = false; + + dataCol = [ + { label: '搴忓彿', name: 'Id', labtype: 'txt', hidden: true }, + { + label: '鑰冨嫟鏃ユ湡', name: 'SgninDateName', labtype: 'txt', hidden: false, width: 80 + }, + { label: '涓婂崍涓婄彮', name: 'MorningInName', labtype: 'txt', hidden: false, width: 60 }, + { label: '涓婂崍涓嬬彮', name: 'MorningOutName', labtype: 'txt', hidden: false, width: 60 }, + + { label: '涓嬪崍涓婄彮', name: 'AfternoonInName', labtype: 'txt', hidden: false, width: 80 }, + { label: '涓嬪崍涓嬬彮', name: 'AfternoonOutName', labtype: 'txt', hidden: false, width: 60 }, + { label: '鍔犵彮涓婄彮', name: 'OvertimeInName', labtype: 'txt', hidden: false, width: 60 }, + { label: '鍔犵彮涓婄彮', name: 'OvertimeOutName', labtype: 'txt', hidden: false, width: 60 }, + { label: '璇峰亣', name: 'Qingjia', labtype: 'txt', hidden: false, width: 60 }, + { label: '閿�鍋�', name: 'Xiaojia', labtype: 'txt', hidden: false, width: 60 }, + + + ]; + dataUrl = "/AdmAttendance/GetListDtl?AttendanceId=" + AttendanceId; + searchCol = [ + { label: '鑰冨嫟鏃ユ湡', name: 'SgninDate', labtype: 'date', hidden: false}, + ////{ label: '宸ヤ綔閮ㄩ棬', name: 'DeptId', labtype: 'combox', hidden: false, data: JSON.parse(dept) }, + //{ label: '鑱屽伐濮撳悕', name: 'UserName', labtype: 'txt', hidden: false }, + ]; + + + + + + + + + var _afterSave = function (result) { + if (result) { + toastr.success("淇濆瓨鎴愬姛"); + } else { + toastr.error("淇濆瓨澶辫触"); + } + } + + var _afterDel = function (result) { + if (result) { + toastr.success("鍒犻櫎鎴愬姛"); + } else { + /**/ + toastr.error("鍒犻櫎鎴愬姛"); + /**/ + } + } + </script> +} -- Gitblit v1.9.1