123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- @model EMIS.ViewModel.RetakeManage.RetakeParameterView
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
-
- //收费项目
- ComboGridOptions cgopChargeProject = new ComboGridOptions
- {
- ID = "ChargeProjectComboGrid",
- Name = "ChargeProjectComboGrid",
- TextField = "ChrageProjectName",
- ValueField = "ChargeProjectID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="ChrageProjectName", HeaderText="收费项目", Align=AlignStyle.Center, Width=0.2 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ChargeProject/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/RetakeManage/RetakeParamter.js" type="text/javascript"></script>
- @* <script 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.Position()
- <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("Index")</div>
- </div>
- <div style="position: relative; top: 0px;">
- <table cellpadding="0" cellspacing="1" style="width: 100%;">
- <tr style="border:1px solid #D6D6D6; height:30px;">
- <th style=" background-color:#e8e8e8; border:1px solid #D6D6D6; text-align:center; width: 100px;">
- @Html.LabelFor(x => x.SchoolyearID):
- </th>
- <td style="border:1px solid #D6D6D6; text-align:left;">
- @Html.DropdownListFor(x => x.SchoolyearID, new DropdownListOptions()
- {
- BindType = DropdownListBindType.PleaseSelect,
- ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid")
- })
- </td>
- </tr>
- <tr style="border:1px solid #D6D6D6; height:30px;">
- <th style=" background-color:#e8e8e8; border:1px solid #D6D6D6; text-align:center; width: 100px;">
- @Html.LabelFor(x => x.ExamsCategoryID):
- </th>
- <td style="border:1px solid #D6D6D6; text-align:left;">
- @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_ExamsCategory, x => x.ExamsCategoryID, new DropdownListOptions()
- {
- BindType = DropdownListBindType.PleaseSelect
- })
- </td>
- </tr>
- <tr style="border:1px solid #D6D6D6; height:30px;">
- <th style=" background-color:#e8e8e8; border:1px solid #D6D6D6; text-align:center; width: 100px;">
- @Html.LabelFor(x => x.RetakeChargeProjectID):
- </th>
- <td style="border:1px solid #D6D6D6; text-align:left;">
- @Html.ComboGridFor(x => x.RetakeChargeProjectID, cgopChargeProject)
- </td>
- </tr>
- <tr style="border:1px solid #D6D6D6; height:30px;">
- <th style=" background-color:#e8e8e8; border:1px solid #D6D6D6; text-align:center; width: 100px;">
- @Html.LabelFor(x => x.IsRetakeChargeControl):
- </th>
- <td style="border:1px solid #D6D6D6; text-align:left; color: red;">
- @Html.CheckBoxFor(x => x.IsRetakeChargeControl) (选中表示控制)
- </td>
- </tr>
- <tr style="border:1px solid #D6D6D6; height:30px;">
- <th style=" background-color:#e8e8e8; border:1px solid #D6D6D6; text-align:center; width: 100px; color: red;">
- 预查考试性质:
- </th>
- <td style="border:1px solid #D6D6D6; text-align:left;">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="ExamsCategoryDesc", HeaderText="考试性质", Align=AlignStyle.Center, Width=0.1 },
- new CheckButtonColumn{ HeaderText="是否选中", FieldName="IsSelected", Align=AlignStyle.Center, Width=0.1 }
- },
- IsCheckOnSelect = true,
- IsPostBack = true,
- DataSourceUrl = Url.Content("~/RetakeParameter/RetakeExamsCategoryList"),
- ID = "dgRetakeExamsCategoryList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|