123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- @model EMIS.ViewModel.ExamPersonControlView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- ComboGridOptions cgopSchoolYear = new ComboGridOptions
- {
- TextField = "Code",
- ValueField = "SchoolYearID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Code", HeaderText="学年学期", Align=AlignStyle.Center ,Width=0.2},
- new BoundFieldColumn { FieldName="Years", HeaderText="学年", Align=AlignStyle.Center ,Width=0.2},
- new BoundFieldColumn { FieldName="SchoolcodeName", HeaderText="学期", Align=AlignStyle.Center ,Width=0.2},
- },
- PageSize = 5,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/SchoolYear/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- },
- //OnSelect = "cgopSchoolYearSelect",
- OnChange = "cgopSchoolYearSelect"
- };
- ComboGridOptions cgopBatch = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "ExaminationBatchID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText="考试批次", Align=AlignStyle.Center ,Width=0.3}
- },
- PageSize = 5,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExaminationBatch/GetProjectListViewGrid"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- },
- //OnSelect = "cgopBatchSelect"
- OnChange = "cgopBatchSelect"
- };
- ComboGridOptions cgopBatchProject = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "ExaminationProjectID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText="项目名称", Align=AlignStyle.Center ,Width=0.3}
- },
- PageSize = 5,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExamBatchProject/GetExamBatchProjectListViewGrid"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- },
- //OnSelect = "cgopBatchProjectSelect"
- OnChange = "cgopBatchProjectSelect"
- };
- ComboGridOptions cgopExamType = new ComboGridOptions
- {
- TextField = "ExaminationType",
- ValueField = "ExaminationTypeID",
- ID = "ExaminationTypeID",
- Name = "ExaminationTypeID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="ExaminationType", HeaderText="考试类型名称", Align=AlignStyle.Center ,Width=0.4},
- },
- PageSize = 5,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExamBatchProject/GetExamTypeListViewGrid"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- },
- //OnSelect = "cgopExamTypeSelect"
- OnChange = "cgopExamTypeSelect"
- };
- ComboGridOptions cgopProjectFee = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "ExaminationProjectFeeID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText="收费标准名称", Align=AlignStyle.Center ,Width=0.3}
- },
- PageSize = 5,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExaminationApplayStudentList/GetExaminationProjectFeeViewByBaseGrid"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- },
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/ExamManage/ExamPersonControlEdit.js" type="text/javascript"></script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions
- {
- OnSuccess = "EMISFunction.FormSuccess",
- OnBegin = "EMISFunction.FormSubmit",
- OnComplete = "EMISFunction.FormComplete"
- }))
- {
- @Html.HiddenFor(x => x.ExaminationBatchProjectPersonControlID)
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 批次报名控制信息</div>
- @if (Request.QueryString["Type"] != "1")
- {
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
- }
- </div>
- <div class="search_list popupWindowContent">
- <table cellpadding="0" cellspacing="0" id="departmenttable">
- <tr>
- <td style="width: 150px">
- @Html.LabelFor(x => x.SchoolYearCode):
- </td>
- <td>
- @Html.ComboGridFor(x => x.SchoolYearCode, cgopSchoolYear)
- </td>
- <td>
- @Html.LabelFor(x => x.ExaminationBatchID):
- </td>
- <td>
- @Html.ComboGridFor(x => x.ExaminationBatchID, cgopBatch)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.ExaminationTypeID):
- </td>
- <td>
- @Html.ComboGridFor(x => x.ExaminationTypeID, cgopExamType)
- </td>
- <td>
- @Html.LabelFor(x => x.ProjectName):
- </td>
- <td>
- @Html.ComboGridFor(x => x.ExaminationProjectID, cgopBatchProject)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.ExaminationProjectFeeID):
- </td>
- <td>
- @Html.ComboGridFor(x => x.ExaminationProjectFeeID, cgopProjectFee)
- </td>
- <td>
- @Html.LabelFor(x => x.StartDate):
- </td>
- <td>
- @Html.TextBoxFor(x => x.StartDate, new TextBoxOptions() { TextBoxType = TextBoxType.Date })
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.EndDate):
- </td>
- <td>
- @Html.TextBoxFor(x => x.EndDate, new TextBoxOptions() { TextBoxType = TextBoxType.Date })
- </td>
- <td>
- @Html.LabelFor(x => x.IsOnlinePay):
- </td>
- <td>
- @Html.CheckBox("IsOnlinePay", Model.IsOnlinePay == true)
- </td>
- </tr>
- @* <tr>
- <td>@Html.LabelFor(x => x.ExaminationProjectFeeID):
- </td>
- <td>
- @Html.ComboGridFor(x => x.ExaminationProjectFeeID, cgopProjectFee)
- </td>
- </tr>*@
- <tr>
- <td colspan="4">
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 学生信息信息列表</div>
- @if (Request.QueryString["Type"] != "1")
- {
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("EditList")</div>
- }
- </div>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn { FieldName="UserID" },
- new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Years", HeaderText="年级", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级名称", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="IDNumber", HeaderText="证件号", Align=AlignStyle.Center },
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExamPersonControl/List?ExaminationBatchProjectID=" + Model.ExaminationBatchProjectID + "&UserID=" + Model.UserID),
- IsPostBack = true,
- ID = "dgStudentList",
- IsPagination = true,
- // QueryParams = new { ExaminationBatchProjectID = Model.ExaminationBatchProjectID, UserID = Model.UserID },
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|