1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
-
- ComboGridOptions cgopCollege = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "CollegeID",
- OnSelect = "reload",
- Name = "cgbCollege",
- ID = "cgbCollege",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center, Width=0.2 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/College/ListOnlyCollege"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- }
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/PaymentManage/WorktimeRate.js" type="text/javascript"></script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- <div class="p_SearchTitle">
- <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
- 查询条件
- </div>
- </div>
- <form id="formQuery" method="post" action="@Url.Content("~/WorktimeRate/List")">
- @Html.PositionCondition()
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("College"):</li>
- <li class="sv">
- @Html.ComboGrid(cgopCollege, new Dictionary<string, string> { { "data-condition", "dgWorktimeRateList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">授课方式:</li>
- <li class="sv">
- @Html.DictionaryDropDownListForSearch(EMIS.ViewModel.DictionaryItem.CF_TeachingMode, "dgWorktimeRateList", new DropdownListOptions { ID = "ddlTeachingMode", Name = "ddlTeachingMode", OnSelect = "reload" })
- </li>
- <li class="sn" style="padding-left: 5px;">任课方式:</li>
- <li class="sv">
- @Html.DictionaryDropDownListForSearch(EMIS.ViewModel.DictionaryItem.EM_TeachingMethod, "dgWorktimeRateList", new DropdownListOptions { ID = "ddlTeachingMethod", Name = "ddlTeachingMethod", OnSelect = "reload" })
- </li>
- <li class="sn" style="padding-left: 5px;">课酬级别:</li>
- <li class="sv">
- @Html.DictionaryDropDownListForSearch(EMIS.ViewModel.DictionaryItem.TP_PaymentLevel, "dgWorktimeRateList", new DropdownListOptions { ID = "ddlPaymentLevel", Name = "ddlPaymentLevel", OnSelect = "reload" })
- </li>
- </ul>
- </div>
- </div>
- <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>
- </form>
- @Html.PositionBatchModify()
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="WorktimeRateID" },
- new BoundFieldColumn { FieldName="PaymentLevelDesc", HeaderText="课酬级别", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CollegeName", HeaderText=EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="TeachingModeDesc", HeaderText="授课方式", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="TeachingMethodDesc", HeaderText="任课方式", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="StudentCountStart", HeaderText="人数(起)", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="StudentCountEnd", HeaderText="人数(止)", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="WorktimeRate", HeaderText="系数", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/WorktimeRate/List"),
- ID = "dgWorktimeRateList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|