@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; //参评类型 ComboGridOptions cgopEvaluationParticipateType = new ComboGridOptions { TextField = "ParticipateTypeName", ValueField = "EvaluationParticipateTypeID", ID = "EvaluationParticipateTypeDropdown", Name = "EvaluationParticipateTypeDropdown", OnSelect = "queryEvaluationParticipateType", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="ParticipateTypeName", HeaderText="参评类型", Align=AlignStyle.Center, Width=0.1, OrderFieldName="ParticipateTypeID" }, new BoundFieldColumn { FieldName="IsStudentName", HeaderText="学生用", Align=AlignStyle.Center, Width=0.05, OrderFieldName="IsStudent", CustomFormatFun="SetRedColumn"} }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/EvaluationParticipateType/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; //评价类型 ComboGridOptions cgopEvaluationType = new ComboGridOptions { TextField = "Name", ValueField = "EvaluationIntTypeID", ID = "EvaluationTypeDropdown", Name = "EvaluationTypeDropdown", OnSelect = "queryEvaluationType", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Code", HeaderText="编号", Align=AlignStyle.Center, Width=0.05 }, new BoundFieldColumn { FieldName="Name", HeaderText="名称", Align=AlignStyle.Center, Width=0.08 }, new BoundFieldColumn { FieldName="TeachingModeIDListName", HeaderText="授课方式", Align=AlignStyle.Center, Width=0.08, OrderFieldName="", CustomFormatFun="SetRedColumn" } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/EvaluationIntType/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; //评价表名 ComboGridOptions cgopEvaluationTable = new ComboGridOptions { TextField = "Name", ValueField = "EvaluationTableID", Name = "EvaluationTableDropdown", ID = "EvaluationTableDropdown", OnSelect = "reload", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Code", HeaderText="编号", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="Name", HeaderText="评价表名", Align=AlignStyle.Center, Width=0.2 }, //new BoundFieldColumn { FieldName="ParticipateTypeName", HeaderText="参评类型", Align=AlignStyle.Center, Width=0.06, OrderFieldName="ParticipateTypeID" }, new BoundFieldColumn { FieldName="IsStudentName", HeaderText="学生用", Align=AlignStyle.Center, Width=0.04, OrderFieldName="IsStudent", CustomFormatFun="SetRedColumn" }, //new BoundFieldColumn { FieldName="EvaluationTypeName", HeaderText="评价类型", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="IsEnabledName", HeaderText="是否启用", Align=AlignStyle.Center, Width=0.04, OrderFieldName="IsEnabled", CustomFormatFun="SetRedColumn" } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/EvaluationTable/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; //评分标准 ComboGridOptions cgopEvaluationNorm = new ComboGridOptions { TextField = "Name", ValueField = "EvaluationNormID", ID = "EvaluationNormDropdown", Name = "EvaluationNormDropdown", OnSelect = "reload", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText="评分标准", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="NormTypeName", HeaderText="评分类型", Align=AlignStyle.Center, Width=0.05, OrderFieldName="NormTypeID", CustomFormatFun="SetRedColumn" }, new BoundFieldColumn { FieldName="NormDetailListName", HeaderText="标准明细", Align=AlignStyle.Center, Width=0.1, OrderFieldName="", CustomFormatFun="SetRedColumn" } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/EvaluationNorm/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; } @section scripts{ }
@Html.Position()
查询条件
@Html.PositionCondition()
  • 参评类型:
  • @Html.ComboGrid(cgopEvaluationParticipateType, new Dictionary { { "data-condition", "dgEvaluationTargetList" } })
  • 评价类型:
  • @Html.ComboGrid(cgopEvaluationType, new Dictionary { { "data-condition", "dgEvaluationTargetList" } })
  • 评价表名:
  • @Html.ComboGrid(cgopEvaluationTable, new Dictionary { { "data-condition", "dgEvaluationTargetList" } })
  • 评分标准:
  • @Html.ComboGrid(cgopEvaluationNorm, new Dictionary { { "data-condition", "dgEvaluationTargetList" } })
评价指标列表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="EvaluationTargetID" }, new BoundFieldColumn { FieldName="OrderNo", HeaderText="次序", Align=AlignStyle.Center, Width=0.03 }, new LinkButtonColumn { FieldName="Code", HeaderText="指标编号", Align=AlignStyle.Center, Handle="edit", Width=0.04 }, new BoundFieldColumn { FieldName="Name", HeaderText="指标名称", Align=AlignStyle.Center, Width=0.08 }, //new BoundFieldColumn { FieldName="EvaluationTableCode", HeaderText="评价表编号", Align=AlignStyle.Center, Width=0.05 }, new BoundFieldColumn { FieldName="EvaluationTableName", HeaderText="评价表名", Align=AlignStyle.Center, Width=0.1, CustomFormatFun="SetRedColumn" }, new BoundFieldColumn { FieldName="ParticipateTypeName", HeaderText="参评类型", Align=AlignStyle.Center, Width=0.04, OrderFieldName="ParticipateTypeID" }, new BoundFieldColumn { FieldName="IsStudentName", HeaderText="学生用", Align=AlignStyle.Center, OrderFieldName="IsStudent", Width=0.03, CustomFormatFun="SetRedColumn" }, //new BoundFieldColumn { FieldName="EvaluationTypeCode", HeaderText="评价类型编号", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="EvaluationTypeName", HeaderText="评价类型", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="TeachingModeIDListName", HeaderText="授课方式", Align=AlignStyle.Center, OrderFieldName="", Width=0.05, OverflowLength=5, CustomFormatFun="SetRedColumn" }, new BoundFieldColumn { FieldName="EvaluationNormName", HeaderText="评分标准", Align=AlignStyle.Center, Width=0.05 }, new BoundFieldColumn { FieldName="NormTypeName", HeaderText="评分类型", Align=AlignStyle.Center, OrderFieldName="NormTypeID", Width=0.04 }, new BoundFieldColumn { FieldName="Weight", HeaderText="权重", Align=AlignStyle.Center, Width=0.03, CustomFormatFun="SetRedColumn" }, new LinkButtonColumn { FieldName="ProjectCount", HeaderText="项目个数", Align=AlignStyle.Center, Handle="editProject", Width=0.04 }, 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("~/EvaluationTarget/List"), ID = "dgEvaluationTargetList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })