<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyLLScoreItem.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyLLScoreItem" %> <%= new MyListenLessonNavInstance(this) { Local = MyListenLessonNavItem.教学质量评价表 }.ToHtml()%>
我的听课:听课活动评分项添加

<%-- --%> <%-- --%>
*评分类型: <%= new HtmlSelect("ParentSTScoreType","Name", "Guid", "Guid") { Option = this._ListSTScoreType }.InsertOption("::" + DefineEnum.选择.Define() + "::", null, 0)%> <% if (this._ListSTScoreType.Count == 0) { %> 请先在后台添加评分类型 <% } %> <%= new HtmlYKTip("ParentSTScoreType") %>
*评分项名称: <%= new HtmlText("Name", null, 256) { }%> <%= new HtmlYKTip("Name")%>
*评分比例: <%= new HtmlText("ScoreRatio", null) { }%> <%= new HtmlYKTip("ScoreRatio")%>
详细描述: <%= new HtmlTextArea("Description", null, 2000)%>
*排名优先: <%= new HtmlText("SortNumber", null, 4) { DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %>
<%= new HtmlHidden("Key",this.KEY)%> <%= new HtmlHidden("ParentListenLesson", this.ListenLesson.Guid)%> <%= new HtmlSubmit("添加评分项", "LLScoreItemEdit", "LLScoreItemEditClient(this);").Style(new { Width = "100px" })%>
我的听课:听课活动评分项 <%= this.ListenLesson._ListLLScoreItem.Count %>个评分项
<%= new HtmlButton("添加...", "","ShowEdit(this);")%> <%= new HtmlButton("删除", "LLScoreItemBatchDelete(this);")%> <% var allScore = this.ListLLScoreItem.Sum(l => l.ScoreRatio); if (allScore != 100) { %> 评分比例合计不为100,当前为<%= allScore %> <% } %>
<% for (int i = 0; i <= this.ListLLScoreItem.Count - 1; i++) { var llScore = this.ListLLScoreItem[i]; %> <% } %>
评分类型 评分项 评分比例 操作
<%= new HtmlCheckBox() { Value = SetKey(llScore.Guid, llScore.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= llScore.ParentSTScoreType.Name %> <%= llScore.Name %> <%= llScore.ScoreRatio %> <%= new HtmlAnchor("编辑") { Href = WebUrl.MyLLScoreItemEdit(llScore.Guid) }%> | 删除
全选 - 取消