<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MySubjectMeeting.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectMeeting" %> <%= new MySubjectNavInstance(this) { Local = MySubjectNavItem.关联教研互动, Subject = this.Subject }.ToHtml()%>
<%= Define.Get("Client_优课评比")%>"<%= this.Subject.Name %>"共<%= this.Query.RecordCount %>个教研
教研名称: <%= new HtmlText("Name", this.Name) { Width = 120 }%> 确认状态: <%= new HtmlSelect("ConfirmStatus", "Value", "Key", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.SubjectMeetingConfirmStatusEnum) }.InsertOption("::选择::", "", 0).SelectValue(this.ConfirmStatus)%> <%= new HtmlHidden("Key","MySubjectMeeting") %> <%= new HtmlHidden("ParentSubject",this.Subject.Guid) %> <%= new HtmlSubmit("查询") %> <%= new HtmlReset("清除") { Class="btn"}%> <%= new HtmlButton("添加教研", "window.location.href='" + WebUrl.MySubjectMeetingAdd(this.Subject.Guid) + "';"){ Class="btn btn-default " }%>
<%= new HtmlButton("确认", "SubjectMeetingBatchConfirm(this);"){ Class="btn btn-success " }%> <%= new HtmlButton("拒绝", "SubjectMeetingBatchUnConfirm(this);"){ Class="btn btn-warning " }%>
<%= new HtmlButton("删除", "SubjectMeetingBatchDelete(this);"){ Class="btn btn-danger pull-right" }%>
<% for (int i = 0; i <= this.ListSubjectMeeting.Count - 1; i++) { var subjectMeeting = this.ListSubjectMeeting[i]; var subject = this.ListSubjectMeeting[i].ParentSubject; var meeting = this.ListSubjectMeeting[i].ParentMeeting; %> <% } %>
教研 教研时间 提交时间 操作
<%= new HtmlCheckBox() { Value = SetKey(subjectMeeting.Guid, subjectMeeting.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%>
  • <%= new HtmlAnchor( new HtmlImg(SettingGroup.MeetingCover(meeting), meeting.Name) { OnErrorImg=SettingGroup.DefaultImg} ) { Href = WebUrl.MeetingView(meeting.Guid), Target = "_blank" }%>

<%= new HtmlAnchor(meeting.Name) { Href = WebUrl.MeetingView(meeting.Guid), Target = "_blank" }%>
<% var classStatus = ""; if (meeting.Status == (int)AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum.公示 || meeting.Status == (int)AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum.启动) { classStatus = "pass"; } else { classStatus = ""; } %> <%= ((AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum)meeting.Status).Define() %> <% var classExamine = ""; if (meeting.Examine == (int)AVA.ResourcesPlatform.Model.Pub.MeetingExamineEnum.审核通过) { classExamine = "pass"; } else if (meeting.Examine == (int)AVA.ResourcesPlatform.Model.Pub.MeetingExamineEnum.审核不通过) { } else { classExamine = ""; } %> <%= ((AVA.ResourcesPlatform.Model.Pub.MeetingExamineEnum)meeting.Examine).Define() %> <% if (meeting.LockMeeting == (int)AVA.ResourcesPlatform.Model.Pub.MeetingLockMeetingEnum.锁定) { %> <%= new HtmlSpan("锁定") { Title = meeting.ParentLockUser.UserName + " " + meeting.LockDateTime + " " + meeting.LockDescription }.Style(new { Color = "Red" })%> <% } %> <% if (meeting.ShareUpload == (int)AVA.ResourcesPlatform.Model.Pub.MeetingShareUploadEnum.是) { %>
公开上传 <% } %>
播放:<%= meeting.VideoView%> 评论:<%= meeting.CommentCount%>

<%= meeting.ParentUser.ParentDomain.Name %>
<%= new HtmlAnchor(meeting.ParentUser.TrueName) { Href = WebUrl.Show(meeting.ParentUser.ParentDomain.Code, meeting.ParentUser.UserName) }%> ( <%= new HtmlAnchor(meeting.ParentUser.UserName) { Href = WebUrl.Show(meeting.ParentUser.ParentDomain.Code, meeting.ParentUser.UserName) }%> )
<%= meeting.BeginTime.ToLongDate() %>

<%= meeting.EndTime.ToLongDate() %>
申请: <%= new HtmlSpan(subjectMeeting.SubmissionTime.ToShortDate()) { Title = subjectMeeting.SubmissionRemark }%>
<% if (subjectMeeting.ConfirmStatus == (int)AVA.ResourcesPlatform.Model.Pub.SubjectMeetingConfirmStatusEnum.通过) { %> 确认: <% } else if (subjectMeeting.ConfirmStatus == (int)AVA.ResourcesPlatform.Model.Pub.SubjectMeetingConfirmStatusEnum.拒绝) { %> 拒绝: <% } else if (subjectMeeting.ConfirmStatus == (int)AVA.ResourcesPlatform.Model.Pub.SubjectMeetingConfirmStatusEnum.未审核) { %> 未审核: <% } %> <%= new HtmlSpan(subjectMeeting.ConfirmTime.ToShortDate()) { Title = subjectMeeting.ConfirmRemark }%>
删除 | <%= new HtmlAnchor("预览") { Href = WebUrl.SubjectPlay(subject.Guid, meeting.Guid) }%>
<%= new HtmlText("SortNumber", subjectMeeting.SortNumber) { OnKeyUp = "this.value=this.value.replace(/[^\\d]/g,'');", OnBlur = "this.value=this.value.replace(/[^\\d]/g,'');if(this.value==''){this.value=this.lang};SubjectMeetingChangeSortNumberClient(this,'" + SetKey(subjectMeeting.Guid, subjectMeeting.Version) + "')", Lang = subjectMeeting.SortNumber.ToString(), Width = 50, Title = "修改当前教研在"+Define.Get("Client_评课")+"活动中的位置" }%>
全选 - 取消
<%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MySubjectMeeting(this.Subject.Guid, int.MaxValue, this.Name, this.ConfirmStatus.ToString(null)) }.ToHtml()%>