username@email.com
2023-02-28 67a0042c5f29e4bb0e0b82f6190f2bc51480b45c
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
@{
    ViewBag.Title = "AdmEvaluate";
    Layout = "~/Views/Shared/_Layout_Search.cshtml";
}
@section headerStyle{
    <script type="text/javascript">
        var UserDept = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.UserDept))';
 
        //loseherght = 30;
        dataCol = [
            { label: 'id', name: 'Id', labtype: 'txt', hidden: true },
            { label: '部门', name: 'DeptName', labtype: 'txt', hidden: false, width: 100 },
            {
                label: '姓名', name: 'UserName', labtype: 'txt', hidden: false, width: 100
            },
            { label: '性别', name: 'SexName', labtype: 'txt', hidden: false, width: 100 },
          
            { label: '入职时间', name: 'IndateName', labtype: 'txt', hidden: false, width: 100 },
 
            { label: '基本工资', name: 'BasicPrice', labtype: 'txt', hidden: false, width: 100 },
            { label: '工龄', name: 'Gongling', labtype: 'txt', hidden: false, width: 100 },
            { label: '手机', name: 'Phone', labtype: 'txt', hidden: false, width: 100 },
            { label: '岗位', name: 'HrPositionName', labtype: 'txt', hidden: false, width: 100 },
            {
                label: '操作', name: 'UserSn', labtype: 'txt', hidden: false, width: 100,
                formatter: function (cellvalue, options, rowObject) {
                    return "<a onclick=\"OpenWindow('" + rowObject.UserName.replace(/'/g, '') + "','40%','50%', '/AdmEvaluate/Edit?userid=" + rowObject.Id + "')\"  >考评</a> " + "<a onclick=\"OpenWindow('" + rowObject.UserName.replace(/'/g, '') + "','98%','100%', '/AdmEvaluate/Index?userid=" + rowObject.Id + "')\"  >列表</a> ";
                }
            },
 
 
        ];
        dataUrl = "/AdmEvaluate/GetListUser";
        searchCol = [
          
 
            { label: '部门', name: 'DeptId', labtype: 'combox', hidden: false, data: JSON.parse(UserDept), cwidth: '5%', cccwidth: '8%' },
            { 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>
}
 
@section footerScripts{
    <script type="text/javascript">
 
 
 
 
 
    </script>
}