Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\My\MyMeetingSignup.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyMeetingSignup.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyMeetingSignup" %> <div class="well"> <div class="p_title"> <span class="title">????????</span>?????? <span>???????1??????????? </span><span class="f_r"></span> </div> <div class="dataControl box"> <%= new HtmlButton("???", "MeetingUserApplyBatchDelete(this);")%> </div> <div id="MyMeetingUserApplyData" class="data"> <table cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr id="dataHead" class="dataHead"> <td valign="middle" class="sel" style="width: 20px;"> <input type="checkbox" class="trselall" /> </td> <td valign="middle"> ??? </td> <td valign="middle" class="disabled"> ?????? </td> <td valign="middle" class="disabled"> ?????????? </td> <td valign="middle" class="disabled"> ?????? </td> <td valign="middle" class="disabled"> ??????? </td> <td valign="middle" class="disabled"> ??? </td> </tr> <!--??? ????? ????? ?? ??????? ????? ????????? ????????? class="firstLine lastLine"--> <% for (int i = 0; i <= this.ListMeetingUserApply.Count - 1; i++) { var meetingUserApply = this.ListMeetingUserApply[i]; var meeting = meetingUserApply.ParentMeeting; %> <tr class='<%= i == 0 ? "firstLine" : "" %> <%= i == this.ListMeetingUserApply.Count - 1 ? "lastLine" : "" %>'> <td> <%= new HtmlCheckBox() { Value = SetKey(meetingUserApply.Guid, meetingUserApply.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td> <%= new HtmlAnchor(meetingUserApply.ParentMeeting.Name) { Target = "_blank", Href = WebUrl.MeetingView(meetingUserApply.ParentMeeting.Guid) }%> <br /> <% 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 = ""; } %> <span class="<%=classExamine %>"> <nobr> <%= ((AVA.ResourcesPlatform.Model.Pub.MeetingExamineEnum)meeting.Examine).Define() %> </nobr> </span> <% 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.??) { %> <br /> ?????? <% } %> <br /> ?????<%= meeting.VideoView%> ?????<%= meeting.CommentCount%> </td> <td> <%= meetingUserApply.ParentMeeting.BeginTime.ToLongDate()%> <br /> ?? <br /> <%= meetingUserApply.ParentMeeting.EndTime.ToLongDate()%> </td> <td> <%= meetingUserApply.ParentMeeting.CutoffTime.ToLongDate()%> </td> <td> <%= ((AVA.ResourcesPlatform.Model.Pub.MeetingUserApplyGuestTypeEnum)meetingUserApply.GuestType).Define()%> <br /> <%= meetingUserApply.ApplyTime.ToLongDate() %> <br /> <%= new HtmlSpan(meetingUserApply.ApplyRemark) { Size=30, WideWord=true, Suffix="..." }%> </td> <td> <%= ((AVA.ResourcesPlatform.Model.Pub.MeetingUserApplyApplyStatusEnum)meetingUserApply.ApplyStatus).Define()%> <br /> <% if (meetingUserApply.ConfirmTime != null) { %> <%=meetingUserApply.ConfirmTime%> <br /> <%= new HtmlSpan(meetingUserApply.ConfirmRemark) { Size=30, WideWord=true, Suffix="..." }%> <% } %> </td> <td> <a href="#delete" onclick="MeetingUserApplyDelete(this,'<%= SetKey(meetingUserApply.Guid, meetingUserApply.Version) %>'); return false;">???</a> </td> </tr> <% } %> </tbody> </table> </div> <script type="text/javascript"> $("#MyMeetingUserApplyData .trselall").click(function () { if (this.checked == true) { $("#MyMeetingUserApplyData .trsel").attr("checked", "checked"); } else { $("#MyMeetingUserApplyData .trsel").removeAttr("checked"); } }) function SelectMyMeetingUserApplyAll() { var bool = $("#MyMeetingUserApplyData .trselall").attr("checked"); bool = !bool; if (bool == true) { $("#MyMeetingUserApplyData .trsel").attr("checked", "checked"); $("#MyMeetingUserApplyData .trselall").attr("checked", "checked"); } else { $("#MyMeetingUserApplyData .trsel").removeAttr("checked"); $("#MyMeetingUserApplyData .trselall").removeAttr("checked"); } } </script> <script type="text/javascript"> //?????? function MeetingUserApplyBatchDelete(send) { var items = $("#MyMeetingUserApplyData .trsel:checked"); var key = ""; for (var i = 0; i <= items.length - 1; i++) { key += "pkid=" + encodeURIComponent(items[i].value); if (i != items.length - 1) { key += "&"; } } if (key != "") { if (confirm("????????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.MeetingUserApplyBatchDelete", data: key, async: true, dataType: 'json', success: function (result) { $(send).val("???"); alert("????????????") Global.Disabled(send, false); window.location.href = window.location.href; }, beforeSend: function () { $(send).val("??????..."); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val("???"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } } else { alert("??????????????????"); } }; //?????? function MeetingUserApplyDelete(send, pkid) { if (confirm("??????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.MeetingUserApplyDelete", data: "key=" + pkid, async: true, dataType: 'json', success: function (result) { $(send).html("???"); alert("????????????") Global.Disabled(send, false); window.location.href = window.location.href; }, beforeSend: function () { $(send).html("?????"); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).html("???"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } }; </script> <div> <a onclick="SelectMyMeetingUserApplyAll(); return false;" href="#">???? - ???</a> </div> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de