123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- @model EMIS.ViewModel.EvaluationManage.EvaluationTable.EvaluationTableView
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- //评价表名
- ComboGridOptions cgopEvaluationTable = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "EvaluationTableID",
- OnSelect = "queryEvaluationTable",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Code", HeaderText="编号", Align=AlignStyle.Center, Width=0.1 },
- new BoundFieldColumn { FieldName="Name", HeaderText="评价表名", Align=AlignStyle.Center, Width=0.25 },
- //new BoundFieldColumn { FieldName="ParticipateTypeName", HeaderText="参评类型", Align=AlignStyle.Center, Width=0.12, OrderFieldName="ParticipateTypeID" },
- //new BoundFieldColumn { FieldName="IsStudentName", HeaderText="学生用", Align=AlignStyle.Center, Width=0.1, OrderFieldName="IsStudent", CustomFormatFun="SetRedColumn" },
- //new BoundFieldColumn { FieldName="EvaluationTypeName", HeaderText="评价类型", Align=AlignStyle.Center, Width=0.1 },
- new BoundFieldColumn { FieldName="IsEnabledName", HeaderText="是否启用", Align=AlignStyle.Center, Width=0.1, OrderFieldName="IsEnabled", CustomFormatFun="SetRedColumn" }
- },
- OnLoadSuccessFun = "loadSuccessEvaluationTable",
- PageSize = 5,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/EvaluationTable/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/EvaluationManage/EvaluationTable/EvaluationForm.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </script>
- }
- <style>
- .target td div
- {
- font-weight: bold;
- }
- .datagrid-btable .datagrid-cell
- {
- text-overflow: ellipsis;
- }
- </style>
- <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("~/EvaluationTarget/Excel")">
- @*@Html.PositionCondition()*@
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">评价表名:</li>
- <li class="sv">
- @Html.ComboGridFor(x => x.EvaluationTableID, cgopEvaluationTable)
- </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">
- <div id="dgEvaluationFormList"></div>
- </div>
- </div>
|