123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- @model EMIS.ViewModel.EducationManage.TrainingClassSplitView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Split";
- }
- @section scripts{
- <script src="~/Scripts/Business/EducationManage/TrainingClassSplit.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;">
- @using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
- {
- <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("Split")</div>
- </div>
- <div class="search_list">
- <table cellpadding="0" cellspacing="0">
- <tr>
- <td style="width: 45%">
- <table cellpadding="0" cellspacing="0">
- <tr>
- <td>
- <table cellpadding="0" cellspacing="0" style="width: 100%;">
- <tr>
- <td>校区</td>
- <td width="10"></td>
- <td>
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_SchoolArea, new DropdownListOptions
- {
- BindType = DropdownListBindType.SelectAll,
- ID = "ddlSchoolArea",
- Name = "ddlSchoolArea",
- OnSelect = "getStandardList"
- }, new Dictionary<string, string> { { "data-condition", "dgStudentList" } })
- </td>
- <td width="10"></td>
- <td>@EMIS.Utility.RSL.Get("College")</td>
- <td width="10"></td>
- <td>
- @Html.DropdownList(new DropdownListOptions
- {
- BindType = DropdownListBindType.SelectAll,
- ID = "ddlCollege",
- Name = "ddlCollege",
- ItemSourceUrl = Url.Content("~/College/CollegeDropdownListOnlyCollege?bindType=1"),
- OnSelect = "collegeChange",
- OnLoadSuccess = "collegeChange"
- }, new Dictionary<string, string> { { "data-condition", "dgStudentList" } })
- </td>
- </tr>
- <tr>
- <td>年级</td>
- <td></td>
- <td>
- @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlYear", Name = "ddlYear", OnSelect = "getStandardList" }, new Dictionary<string, string> { { "data-condition", "dgStudentList" } })
- </td>
- <td></td>
- <td>专业</td>
- <td></td>
- <td>
- @Html.ComboGrid(new ComboGridOptions
- {
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="StandardName", HeaderText="专业", Align=AlignStyle.Center }
- },
- OnLoadSuccessFun = "standardChange",
- IsAutoLoad = false,
- DataSourceUrl = Url.Content("~/Grademajor/StandardList"),
- IsPagination = true
- },
- TextField = "StandardName",
- ValueField = "StandardID",
- Name = "cgbStandard",
- ID = "cgbStandard",
- OnSelect = "standardChange"
- }, new Dictionary<string, string> { { "data-condition", "dgStudentList" } })
- </td>
- </tr>
- <tr>
- <td>班级</td>
- <td></td>
- <td>
- @Html.ComboGrid(new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "ClassmajorID",
- Name = "cgbClassmajor",
- ID = "cgbClassmajor",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Align=AlignStyle.Center }
- },
- IsAutoLoad = false,
- DataSourceUrl = Url.Content("~/Classmajor/List"),
- IsPagination = true
- }
- }, new Dictionary<string, string> { { "data-condition", "dgStudentList" } })
- </td>
- <td></td>
- <td>姓名</td>
- <td></td>
- <td>
- @Html.TextBox(new TextBoxOptions { ID = "txtName", Name = "txtName" }, new Dictionary<string, string> { { "data-condition", "dgStudentList" } })
- </td>
- </tr>
- <tr>
- <td>证件号码</td>
- <td></td>
- <td>
- @Html.TextBox(new TextBoxOptions { ID = "txtIDNumber", Name = "txtIDNumber" }, new Dictionary<string, string> { { "data-condition", "dgStudentList" } })
- </td>
- <td colspan="4">
- @Html.Button(new ButtonOptions { Text = "查询", OnClick = "reload()" })
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td style="width: 10%;">
- </td>
- <td style="width: 45%" valign="bottom">
- 新班级名称:
- @Html.TextBox(new TextBoxOptions { ID = "txtNewClassName", Name = "txtNewClassName", Value = Model.Name + "(1)" }, new Dictionary<string, string> { { "style", "width: 98%;" } })
- </td>
- </tr>
- <tr>
- <td valign="top">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID"},
- new BoundFieldColumn { FieldName="CollegeName", HeaderText=EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="IDNumber", HeaderText="证件号码", Align=AlignStyle.Center }
- },
- IsAutoLoad = true,
- DataSourceUrl = Url.Content("~/TrainingClass/StudentList?trainingClassID=" + Model.TrainingClassID.ToString()),
- ID = "dgStudentList",
- IsPagination = false
- })
- </td>
- <td align="center">
- @Html.Button(new ButtonOptions { Text = ">>", OnClick = "addStudent()" })
- @Html.Button(new ButtonOptions { Text = "<<", OnClick = "removeStudent()" })
- </td>
- <td valign="top">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID"},
- new BoundFieldColumn { FieldName="CollegeName", HeaderText=EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="IDNumber", HeaderText="证件号码", Align=AlignStyle.Center }
- },
- IsPostBack = true,
- IsAutoLoad = false,
- ID = "dgTargetStudentList",
- IsPagination = false
- })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|