1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="~/Scripts/Business/StudentWeb/Evaluation/StudentEvaluationEnter.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- <div class="p_SearchTitle">
- <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">查询条件</div>
- </div>
- <form id="formQuery" method="post" action="@Url.Content("~/StudentEvaluationEnter/Excel")">
- @Html.PositionCondition()
- @*<div class="search_keyword">
- <div class="search_input">
- </div>
- </div>*@
- </form>
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">进入评价列表</div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
- </div>
- @*Html.PositionBatchModify()*@
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="EvaluationStudentID" },
- new LinkButtonColumn { Text="进入评价", HeaderText="操作", Align=AlignStyle.Center, Handle="enterEdit", Width=0.04 },
- new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=0.06 },
- //new BoundFieldColumn { FieldName="MissionName", HeaderText="任务名称", Align=AlignStyle.Center, Width=0.06, OverflowLength=6, OverflowLength=6 },
- //new BoundFieldColumn { FieldName="MissionClassName", HeaderText="任务班名称", Align=AlignStyle.Center, Width=0.05, OverflowLength=5 },
- //new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.06, OverflowLength=6 },
- new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.1, OverflowLength=10 },
- //new BoundFieldColumn { FieldName="CourseStructureName", HeaderText="课程结构", Align=AlignStyle.Center, OrderFieldName="CourseStructureID", Width=0.05, OverflowLength=5 },
- //new BoundFieldColumn { FieldName="CourseCategoryName", HeaderText="课程属性", Align=AlignStyle.Center, OrderFieldName="CourseCategoryID", Width=0.05, OverflowLength=5 },
- new BoundFieldColumn { FieldName="CourseTypeName", HeaderText="课程类型", Align=AlignStyle.Center, OrderFieldName="CourseTypeID", Width=0.05, OverflowLength=5 },
- //new BoundFieldColumn { FieldName="CourseQualityName", HeaderText="课程性质", Align=AlignStyle.Center, OrderFieldName="CourseQualityID", Width=0.05, OverflowLength=5 },
- //new BoundFieldColumn { FieldName="Credit", HeaderText="课程学分", Align=AlignStyle.Center, Width=0.04 },
- //new BoundFieldColumn { FieldName="DepartmentNo", HeaderText="开课教研室代码", Align=AlignStyle.Center, Width=0.08 },
- //new BoundFieldColumn { FieldName="DepartmentName", HeaderText="开课教研室", Align=AlignStyle.Center, Width=0.05, OverflowLength=5 },
- new BoundFieldColumn { FieldName="HandleModeName", HeaderText="处理方式", Align=AlignStyle.Center, OrderFieldName="HandleModeID", Width=0.04, CustomFormatFun="SetRedColumn" },
- new BoundFieldColumn { FieldName="TeachingModeName", HeaderText="授课方式", Align=AlignStyle.Center, OrderFieldName="TeachingModeID", Width=0.04, CustomFormatFun="SetRedColumn" },
- //new BoundFieldColumn { FieldName="MissionClassStatusName", HeaderText="任务状态", Align=AlignStyle.Center, OrderFieldName="MissionClassStatus", Width=0.04, CustomFormatFun="SetRedColumn" },
- //new BoundFieldColumn { FieldName="StaffCode", HeaderText="教师工号", Align=AlignStyle.Center, Width=0.04, OverflowLength=4 },
- new BoundFieldColumn { FieldName="StaffName", HeaderText="任课教师", Align=AlignStyle.Center, Width=0.04, OverflowLength=4 },
- //new BoundFieldColumn { FieldName="TitleName", HeaderText="职称", Align=AlignStyle.Center, OrderFieldName="TitleID", Width=0.03 },
- new BoundFieldColumn { FieldName="TeachingMethodName", HeaderText="任课方式", Align=AlignStyle.Center, OrderFieldName="TeachingMethodID", Width=0.04 },
- //new BoundFieldColumn { FieldName="ParticipateTypeName", HeaderText="参评类型", Align=AlignStyle.Center, OrderFieldName="ParticipateTypeID", Width=0.04 },
- //new BoundFieldColumn { FieldName="EvaluationTypeCode", HeaderText="评价类型编号", Align=AlignStyle.Center, Width=0.06 },
- //new BoundFieldColumn { FieldName="EvaluationTypeName", HeaderText="评价类型", Align=AlignStyle.Center, Width=0.04 },
- //new BoundFieldColumn { FieldName="EvaluationTableCode", HeaderText="评价表编号", Align=AlignStyle.Center, Width=0.05 },
- new BoundFieldColumn { FieldName="EvaluationTableName", HeaderText="评价表名", Align=AlignStyle.Center, Width=0.12 },
- new BoundFieldColumn { FieldName="Number", HeaderText="可评次数", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" },
- new BoundFieldColumn { FieldName="Numbered", HeaderText="已评次数", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/StudentEvaluationEnter/List"),
- ID = "dgStudentEvaluationEnterList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|