12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="~/Scripts/Business/EvaluationManage/EvaluationTable/EvaluationNorm.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;">
- @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("~/EvaluationNorm/Excel")">
- @Html.PositionCondition()
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;color: red;">评分类型:</li>
- <li class="sv">
- @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.EM_EvaluationNormType, DropdownListBindType.SelectAll,
- new ComboGridOptions
- {
- ID = "DictionaryNormType",
- Name = "DictionaryNormType",
- OnSelect = "reload"
- }, new Dictionary<string, string> { { "data-condition", "dgEvaluationNormList" } })
- </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>
- @Html.PositionBatchModify()
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="EvaluationNormID" },
- new LinkButtonColumn { FieldName="Name", HeaderText="评分标准", Align=AlignStyle.Center, Handle="edit", Width=0.05 },
- new BoundFieldColumn { FieldName="NormTypeName", HeaderText="评分类型", Align=AlignStyle.Center, OrderFieldName="NormTypeID", Width=0.03, CustomFormatFun="SetRedColumn" },
- new BoundFieldColumn { FieldName="SatisfyWeight", HeaderText="满意权重", Align=AlignStyle.Center, Width=0.04 },
- new LinkButtonColumn { FieldName="NormDetailListName", HeaderText="标准明细", Align=AlignStyle.Center, Handle="edit", OrderFieldName="", Width=0.06, OverflowLength=20 },
- new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center, Width=0.03, OverflowLength=5 },
- //new BoundFieldColumn { FieldName="CreateUserName", HeaderText="创建人", Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="ModifyUserName", HeaderText="修改人", Align=AlignStyle.Center, Width=0.04 }
- //new BoundFieldColumn { FieldName="ModifyTime", HeaderText="修改时间", Align=AlignStyle.Center, Width=0.06, Formatter= Formatter.LongDate }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/EvaluationNorm/List"),
- ID = "dgEvaluationNormList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|