<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectST" %> <%--<%= new MySubjectUserNavTopInstance(this) { Local= MySubjectUserNavTopItem.我的评审任务 }.ToHtml()%>--%>
我的评审任务:我有<%= this.Query.RecordCount %>个评审任务
优课评比名称: <%= new HtmlText("Name", this.Name) { Width = 120 }%> 日期从 <%= new HtmlText("CutoffTime", this.CutoffTime.ToShortDate()) { Width = 80 }%> 至 <%= new HtmlText("EndTime", this.EndTime.ToShortDate()) { Width = 80 }%> <%= new HtmlHidden("Key","MySubjectST") %> <%= new HtmlSubmit("查询") %> <%= new HtmlReset("清除") { Class="btn"}%>
<% for (int i = 0; i <= this.ListSTUser.Count - 1; i++) { var subject = this.ListSTUser[i].ParentSubject; %> <% } %>
优课评比封面 名称 状态 评审日期
  • <%= new HtmlAnchor( new HtmlImg(SettingGroup.SubjectCover(subject), subject.Name) { Width=100, Height=62, OnErrorImg=SettingGroup.DefaultImg} ) { Href = WebUrl.MySubjectSTVideo(subject.Guid),Title = subject.Name }%>
<%= new HtmlAnchor(subject.Name) { Href = WebUrl.MySubjectSTVideo(subject.Guid)}%> <% int videoCount; int scoreVideoCount; int scoreVideoPartCount; CreateInstance.STUserDao.UserScore(this.ListSTUser[i], out videoCount, out scoreVideoCount, out scoreVideoPartCount); %>
视频总数:<%= videoCount %> 我的评审视频数<%= CreateInstance.STUserVideoDao.Count(l=>l.ParentSTUser.ParentUser == this.User && l.ParentSubjectVideo.ParentSubject == subject ) %>
已评课:<%= scoreVideoCount %> <% if (scoreVideoPartCount > 0) { %>
评审未完视频:<%= scoreVideoPartCount %> <% } %>

<% if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.审核通过 && subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.启动 && subject.CutoffTime<= DateTime.Now && subject.EndTime >= DateTime.Now) { %> 评审期 <% } else if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.审核通过 && subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.启动 && subject.CutoffTime > DateTime.Now) { %> 未到评审期 <% } else if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.审核通过 && subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.启动 && subject.CutoffTime > DateTime.Now) { %> 已过评审期 <% } %>

<%= subject.CutoffTime.ToShortDate()%>

<%= subject.EndTime.ToShortDate()%>
<%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MySubjectST(int.MaxValue, this.Name, this.CutoffTime.ToString(null), this.EndTime.ToString(null)) }.ToHtml()%>