1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="../../Scripts/Business/StudentWeb/InfoCenter/PostPractice.js" type="text/javascript"></script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @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("List")</div>
- </div>
- <div class="search_list">
- @using (Ajax.BeginForm("Edit", "PostPractice", new AjaxOptions
- {
- OnSuccess = "EMISFunction.FormSuccess",
- OnBegin = "EMISFunction.FormSubmit",
- OnComplete = "EMISFunction.FormComplete"
- }))
- {
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="StudentPostPracticeID", IsHidden=true },
- new TextBoxColumn { FieldName="PracticePlace", HeaderText="实习地点", Align=AlignStyle.Center, Width=0.1 },
- new TextBoxColumn { FieldName="StartYear", HeaderText="开始年份", Validator=new OnlyNumberValidator() { Required = false }, IsRequired=false,
- Align=AlignStyle.Center, Width=0.03 },
- new TextBoxColumn { FieldName="StartMonth", HeaderText="月", Validator=new OnlyNumberValidator() { Required = false }, IsRequired=false,
- Align=AlignStyle.Center, Width=0.02 },
- new TextBoxColumn { FieldName="EndYear", HeaderText="至年", Validator=new OnlyNumberValidator() { Required = false }, IsRequired=false,
- Align=AlignStyle.Center, Width=0.03 },
- new TextBoxColumn { FieldName="EndMonth", HeaderText="月", Validator=new OnlyNumberValidator() { Required = false }, IsRequired=false,
- Align=AlignStyle.Center, Width=0.02 },
- new TextBoxColumn { FieldName="PracticeMentor", HeaderText="指导教师", Align=AlignStyle.Center, Width=0.04 },
- new TextBoxColumn { FieldName="PracticeContent", HeaderText="实习内容", Align=AlignStyle.Center, Width=0.2 },
- new TextBoxColumn { FieldName="SelfAppraise", HeaderText="自我鉴定", Align=AlignStyle.Center, Width=0.2 }
- },
- IsPostBack = true,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/PostPractice/List"),
- ID = "dgStudentPostPracticeList",
- IsPagination = false,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- IsAutoHeight = false,
- })
- }
- </div>
- </div>
|