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
@{
    ViewBag.Title = "Hr_post_dept_relation";
    Layout = "~/Views/Shared/_Layout_DataEdit.cshtml";
}
@section headerStyle{
    <script type="text/javascript">
        controllist = [{
            label: '表单信息', name: 'data', labtype: 'panel', islist: 'false', data: [
                { label: '编制ID', name: 'Id', labtype: 'txt', addvisible: false, editvisible: false, reg: '', ismust: true },
                { label: '岗位id', name: 'Post_id', labtype: 'txt', addvisible: true, editvisible: true, reg: '', ismust: true },
                { label: '组织id', name: 'Dept_id', labtype: 'txt', addvisible: true, editvisible: true, reg: '', ismust: true },
                { label: '编制', name: 'Limitation', labtype: 'txt', addvisible: true, editvisible: true, reg: '', ismust: true },
                { label: '状态', name: 'Rec_status', labtype: 'txt', addvisible: false, editvisible: false, reg: '', ismust: true },
                { label: '创建人', name: 'Creater', labtype: 'txt', addvisible: false, editvisible: false, reg: '', ismust: true },
                { label: '创建时间', name: 'Createtime', labtype: 'txt', addvisible: false, editvisible: false, reg: '', ismust: true },
                { label: '修改人', name: 'Modifier', labtype: 'txt', addvisible: false, editvisible: false, reg: '', ismust: true },
                { label: '修改时间', name: 'Modifytime', labtype: 'txt', addvisible: false, editvisible: false, reg: '', ismust: true }
            ]
        }];
        saveurl = "/HR/Hr_post_dept_relation/Save";
        editurl = "/HR/Hr_post_dept_relation/Get";
        nullifyurl = "/HR/Hr_post_dept_relation/Nullify";
        var _afterLoadData = function () {
            if ($("input[name='Id']").val() != 0) {
                $('.ibox-title').html("<h5><i class='fa fa-list'></i>&nbsp;编辑合同信息</h5>");
                $(".timebg").attr("disabled", "true");
                $("input[name='Month']").attr("disabled", "true");
            }
        }
    </script>
}