<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyApplicationAdd.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyApplicationAdd" %> <%= new MyApplicationNavTopInstance(this) { Local= MyApplicationNavTopItem.申请录制 }.ToHtml()%>
申请录制
<% if (this.Application == null) { %> <% } else { %> <% } %> <% if (CreateInstance.ConfigDao.ApplicationLessonTag() == null) { //如果有课表的话,这一个肯定是单选的 %> <% } %> <% if (CreateInstance.ConfigDao.ApplicationLessonTag() != null) { %> <% } //如果这里是要有单元课的话,那么他这里肯定是只能选择一个学科 %> <%----%>
*实训室: <%= new HtmlSelect("ParentRecordEquipment", "Name", "Guid", "Guid") { Option = this.ListRecordEquipment,DefaultSelectValue= ViewData.Val("ParentRecordEquipment.Guid", this.Application) }.InsertOption("::选择::", "", 0)%> <%= new HtmlYKTip("ParentRecordEquipment")%>
*实训日期: <%= new HtmlText("ApplicationDate", ViewData.Val("ApplicationDate", this.Application).ToDateTimeN().ToAutoShortDate()) { OnChange = "GetTimeRange();" }%> <%= new HtmlYKTip("ApplicationDate") %>
*实训时间:
请先选择授课教室和录制日期
*开始时间: <%= new HtmlText("StartTime", ViewData.Val("StartTime", this.Application).ToDateTimeN().ToAutoShortDate()) { Class = "" }%> <%= new HtmlYKTip("StartTime") %>
*结束时间: <%= new HtmlText("EndTime", ViewData.Val("EndTime", this.Application).ToDateTimeN().ToAutoShortDate()) { Class = " " }%> <%= new HtmlYKTip("EndTime") %>
<%= CreateInstance.ConfigDao.ApplicationTitleTag("*") %>标题: <%= new HtmlText("Title", ViewData.Val("Title", this.Application), 200) { }%> <%= new HtmlYKTip("Title") %>
<%= CreateInstance.ConfigDao.ApplicationSpeakerTag("*") %>主讲人: <% var speaker = ViewData.Val("Speaker", this.Application); if (speaker == null) { speaker = this.UserName; } %> <%= new HtmlText("Speaker", speaker, 200) { }%> <%= new HtmlYKTip("Speaker")%>
<%= CreateInstance.ConfigDao.ApplicationChannelTag("*") %>*申请学院: <%= new HtmlSelect("Category", "Name", "Guid", "Guid") { Option = this.ListAllCategory, OptGroup= CreateInstance.CategoryDao.GetOptGroup(this.ListAllCategory), DefaultSelectValue = "", OnChange = "GetTextbook();", SelectedValue = (this.Application != null ? (this.Application._ListApplicationCategory.Count > 0? (this.Application._ListApplicationCategory[0].ParentCategory.ParentCategory==null?this.Application._ListApplicationCategory[1].ParentCategory.Guid:this.Application._ListApplicationCategory[0].ParentCategory.Guid) : "" ): CookieGroup.ListUserCategory.FirstResult()) }.InsertOption("::选择::", "", 0)%> <%= new HtmlYKTip("Category") { }%>
*出版社: <%= new HtmlSelect("ParentPress", "Name", "Guid", "Guid") { Option = this.ListAllPress, DefaultSelectValue = "", SelectedValue = ViewData.Val("ParentLesson.ParentTextbook.ParentPress.Guid", this.Application), OnChange = "GetTextbook();" }.InsertOption("::选择::", "", 0)%> <%= new HtmlYKTip("ParentPress") { }%>
<%= Define.Get("Application_是否发布预约通知").ToScriptTag() %>: <%= new HtmlCheckBox("IsPubNotice", ViewData.Val("IsPubNotice", this.Application), true, false) { Class = ""}%>
发布高清视频: <%= new HtmlCheckBox("IsHDVideo", ViewData.Val("IsHDVideo", this.Application), true, false) { Class = ""}%>
<%= CreateInstance.ConfigDao.ApplicationDescriptionTag("*") %>实训内容: <%= new HtmlTextArea("Description", ViewData.Val("Description", this.Application), 2000)%> <%= new HtmlYKTip("Description") %>
*实训人数: <%= new HtmlText("NumberOfPeople", 1) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("NumberOfPeople") %>
<%= new HtmlHidden("Key", this.KEY)%> <%= new HtmlHidden("ParentUser", this.User.Guid)%> <%= new HtmlSubmit("提交", "ApplicationEdit",this.Application==null? "ApplicationAddClient(this);":"ApplicationEditClient(this);").Style(new { Width = "100px" })%>