12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @using Bowin.Common.Utility;
- @using EMIS.ViewModel;
- @{
- ViewBag.Title = "List";
- Guid? evaluationSettingID = Request.QueryString["evaluationSettingID"].ParseStrTo<Guid>();
- }
- @section scripts{
- <script src="~/Scripts/Business/EvaluationManage/EvaluationManage/EvaluationSettingEdit.js"></script>
- <script type="text/javascript">
- $(document).ready(function () {
- var JsonDate = top.$("#@(Request["WindowID"])").data("inputData");
- $("#evaluationSettingID").val(JsonDate.evaluationSettingID);
- });
- function EvaluationStudent_Save() {
- $("#SaveType").val(1);
- $(document.forms[0]).submit(); //提交表单
- }
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions { Url = "/EvaluationSetting/Save", OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
- {
- <div class="p_title">
- @Html.Hidden("evaluationSettingID")
- @Html.Hidden("SaveType")
- @*<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;">
- @if (ViewBag.OpenStatus != CF_GeneralPurpose.IsYes.ToString())//如果已经提交、那么删除、增加按钮不显示
- {
- @Html.ContextMenuBar("TeaConfirm")
- }
- </div>
- </div>
- <div class="search_list">
- @if (ViewBag.OpenStatus != CF_GeneralPurpose.IsYes.ToString())//如果已经提交、那么删除、增加按钮不显示
- {
- @Html.ContextMenuBar("Edit-TeacherGrid")
- }
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID"},
- new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=0.08 },
- new BoundFieldColumn { FieldName="StaffCode", HeaderText="教职工", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center, Width=0.05 },
- new BoundFieldColumn { FieldName="DepartmentName", HeaderText="教研室", Align=AlignStyle.Center, Width=0.1, OverflowLength=10 },
- //new BoundFieldColumn { FieldName="EvaluationTypeName", HeaderText="参评类型", Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="UserCodes", HeaderText="被评教师编号", Align=AlignStyle.Center, Width=0.06, OverflowLength=8 },
- new BoundFieldColumn { FieldName="UserNames", HeaderText="被评教师",Align=AlignStyle.Center, Width=0.04, OverflowLength=4 },
- new BoundFieldColumn { FieldName="EvaluationTableName", HeaderText="评价表名",Align=AlignStyle.Center, Width=0.05, OverflowLength=8 }
- },
- PageSize =50,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/EvaluationSetting/GetStaffDetail?evaluationSettingID=" + evaluationSettingID),
- ID = "dgEvaluationSettingStaffDetailList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsPostBack = true,
- IsSingleSelect = false
- })
- </div>
- }
- </div>
|