<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyGroupApplication.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyGroupApplication" %>
小组专辑:我的<%= this.Query.RecordCount %>个小组专辑
设备: <%= new HtmlSelect("Name", "Name", "Guid", "Guid") { Option = this.ListRecordEquipment }.InsertOption("::选择::", "", 0).SelectValue(this.Name)%> 时间从 <%= new HtmlText("StartTime", this.StartTime.ToLongDate()) { Width = 120 }%> 至 <%= new HtmlText("EndTime", this.EndTime.ToLongDate()) { Width = 120 }%> 状态: <%= new HtmlSelect("Status", "Value", "Key", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum) }.InsertOption("::选择::", "", 0).SelectValue(this.Status)%> <%= new HtmlHidden("Key","MyGroupApplication") %> <%= new HtmlSubmit("查询") %> <%= new HtmlReset("清除") { Class="btn"}%> <%= new HtmlButton("删除", "GroupApplicationBatchDelete(this);")%>
<% for (int i = 0; i <= this.ListApplication.Count - 1; i++) { var application = this.ListApplication[i]; %> <% } %>
直播 状态 直播时间 操作
<%= new HtmlCheckBox() { Value = SetKey(application.Guid, application.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%>
  • <%= new HtmlAnchor(application.ParentRecordEquipment.Name) { Href = WebUrl.LivePlay(application.Guid), Target = "_Blank" }%> <%= ((AVA.ResourcesPlatform.Model.Pub.ApplicationShareEnum)application.Share).Define() %>
    <% if (!string.IsNullOrEmpty(application.Title) && !string.IsNullOrEmpty(application.Title)) { %> <%= application.Title%> (<%= application.Speaker%>) <% } %>

<% if (application.Status == (int)AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum.批准 || application.Status == (int)AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum.签到) { %> <%= ((AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum)application.Status).Define() %> <% } else if (application.Status == (int)AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum.取消 || application.Status == (int)AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum.拒绝) { %> <%= ((AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum)application.Status).Define()%> <% } else { %> <%= ((AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum)application.Status).Define()%> <% } %> <%= application.ApplicationDate.ToShortDate() %>
<%= application.StartTime.ToShortTimeString() %> 至 <%= application.EndTime.ToShortTimeString()%>
<% if (application.ApplicationDate.Date == DateTime.Now.Date) { %> <%= new HtmlAnchor("查看") { Href = WebUrl.LivePlay(application.Guid), Target = "_Blank" }%> <% } %>
全选 - 取消
<%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageRecordSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MyGroupApplication(int.MaxValue, this.Name, this.StartTime.ToString(null), this.EndTime.ToString(null), this.Status.ToString(null)) }.ToHtml()%>
<%= new HtmlButton("批准", "ApplicationBatchApply(this);")%> <%= new HtmlButton("确认", "ApplicationBatchConfirm(this);")%> <%= new HtmlButton("作废", "ApplicationBatchCancel(this);")%> <%= new HtmlButton("删除", "ApplicationBatchDelete(this);")%>