@Html.HiddenFor(x => x.DocumentID)
@Html.Hidden("hidRoleData", Model.RoleList.ToJson())
@Html.Hidden("hidDepartmentData", Model.DepartmentList.ToJson())
@Html.LabelFor(x => x.Title):
|
@Html.TextBoxFor(x => x.Title, new TextBoxOptions { }, new Dictionary { { "style", "width: 95%;" } })
|
@Html.LabelFor(x => x.SOCDocTypeID):
|
@Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.DQP_SOCDocType, (x => x.SOCDocTypeID), new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect })
|
@Html.LabelFor(x => x.IsShow):
|
@Html.CheckBoxFor(x => x.IsShow)
|
@Html.LabelFor(x => x.Content):
|
@Html.RichTextFor(x => x.Content, new RichTextOptions { Width = 830 })
|
@Html.LabelFor(x => x.RoleType):
|
@Html.CheckBoxFor(x => x.RoleType, new Dictionary { { "onclick", "changeRoleType()" } })
所有角色
|
@Html.ContextMenuBar("Edit-RoleViewGrid")
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="RoleID"},
new BoundFieldColumn { FieldName="RoleName", HeaderText="角色名称", Align=AlignStyle.Center }
},
IsCheckOnSelect = true,
IsPostBack = true,
IsAutoLoad = false,
ID = "dgRoleList",
IsPagination = false,
MaxHeight = 200,
IsShowRowNumbers = true,
IsSingleSelect = false,
IsShowHeader = false
})
|
|
@Html.LabelFor(x => x.CollegeType):
|
@Html.CheckBoxFor(x => x.CollegeType, new Dictionary { { "onclick", "changeCollegeType()" } })
所有部门
|
@Html.ContextMenuBar("Edit-CollegeViewGrid")
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="DepartmentID"},
new BoundFieldColumn { FieldName="Name", HeaderText="名称", Align=AlignStyle.Center }
},
IsCheckOnSelect = true,
IsPostBack = true,
IsAutoLoad = false,
ID = "dgDepartmentList",
IsPagination = false,
MaxHeight = 200,
IsShowRowNumbers = true,
IsSingleSelect = false,
IsShowHeader = false
})
|
|