username@email.com
2025-04-27 15eb82df2d6ec539e9d4245bfe08d531e8eb6379
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
@{
    ViewBag.Title = "AdmBreakPrecedent";
    Layout = "~/Views/Shared/_Layout_Search.cshtml";
}
@section headerStyle{
    <script type="text/javascript">
 
        var DeptId = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.DeptId))';
        loseherght = 30;
        dataCol = [
            { label: 'id', name: 'Id', labtype: 'txt', hidden: true },
 
            {
                label: '处罚时间', name: 'BreakTimeName', labtype: 'txt', hidden: false, width: 100,
                formatter: function (cellvalue, options, rowObject) {
                    return "<a onclick=\"OpenWindow('" + cellvalue.replace(/'/g, '') + "','98%','100%', '/AdmBreakPrecedent/Edit?id=" + rowObject.Id + "')\"  >" + cellvalue + "</a>";
                }
            },
 
            { label: '部门', name: 'DeptName', labtype: 'txt', hidden: false, width: 100  },
            { label: '员工姓名', name: 'UserName', labtype: 'txt', hidden: false, width: 100 },
 
            { label: '违纪事由', name: 'BreakThing', labtype: 'txt', hidden: false, width: 100 },
            { label: '违反制度', name: 'BreakPrecedent', labtype: 'txt', hidden: false, width: 100 },
 
            { label: '处罚金额(元)', name: 'Chufajine', labtype: 'txt', hidden: false, width: 100 },
            { label: '处罚签发', name: 'QianfaUserName', labtype: 'txt', hidden: false, width: 100 },
 
        ];
        dataUrl = "/AdmBreakPrecedent/GetList";
        searchCol = [
            { label: '工作时间', name: 'BreakTime', labtype: 'datearea', hidden: false },
            { label: '部门', name: 'DeptId', labtype: 'combox', hidden: false, data: JSON.parse(DeptId), cwidth: '5%', cccwidth: '8%' },
            { label: '员工姓名', name: 'UserName', labtype: 'txt', hidden: false },
 
            { label: '违纪事由', name: 'BreakThing', labtype: 'txt', hidden: false },
 
 
 
 
 
 
        ];
        var _pageAdd = function () {
            OpenWindow("新增违纪处理", "98%", "90%", "/AdmBreakPrecedent/Edit/");
        }
 
 
 
 
        var _afterSave = function (result) {
            if (result) {
                toastr.success("保存成功");
            } else {
                toastr.error("保存失败");
            }
        }
 
        var _afterDel = function (result) {
            if (result) {
                toastr.success("删除成功");
            } else {
                /**/
                toastr.error("删除成功");
        /**/
    }
}
    </script>
}
 
@section footerScripts{
    <script type="text/javascript">
 
 
 
 
 
    </script>
}