@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
评分标准列表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
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
})