123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- ComboGridOptions collegeOption = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "CollegeID",
- Name = "cbgCollege",
- ID = "cbgCollege",
- OnSelect = "reload",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center }
- },
- OnLoadSuccessFun = "reload",
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/College/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- }
- @section scripts{
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- var startStatusID = @ViewBag.StartStatusID;
- </script>
- <script src="~/Scripts/Business/EvaluationManage/SatisfyRateReport.js" type="text/javascript"></script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- <form id="formQuery" method="post" action="@Url.Content("~/SatisfyRateReport/Excel")">
- @Html.Position()
- <div class="p_SearchTitle">
- <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
- 查询条件
- </div>
- </div>
- @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(collegeOption, new Dictionary<string, string> { { "data-condition", "dgSatisfyRateList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">参评类型:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { ID = "ddlEvaluationType", Name = "ddlEvaluationType", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgSatisfyRateList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">教师类型:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_TeacherType, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlTeacherType", Name = "ddlTeacherType", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgSatisfyRateList" } })
- </li>
- </ul>
- </div>
- </div>
- </form>
- <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">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID" },
- new BoundFieldColumn { FieldName="LoginID", HeaderText="教师工号", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Name", HeaderText="教师姓名", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="TeacherTypeDesc", HeaderText="教师类型", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CollegeName", HeaderText="所在教学点", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="EvaluationTypeName", HeaderText="参评类型", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="SatisfyRate", HeaderText="满意率", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/SatisfyRateReport/List"),
- ID = "dgSatisfyRateList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|