Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\My\MyMeetingUserApply.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyMeetingUserApply.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyMeetingUserApply" %> <div class="well"> <div class="p_title"> <span class="title">????????</span>???????? <span> <%= this.Meeting._ListMeetingUserApply.Count %>?????? </span><span class="f_r"> <%= new HtmlAnchor("??????") { Href= WebUrl.MyMeetingEdit(this.Meeting.Guid) }%> | <%= new HtmlAnchor("??????") { Href= WebUrl.MyMeetingUserList(this.Meeting.Guid) }%> | <%= new HtmlAnchor("????????") { Href= WebUrl.MyMeetingSpeakerList(this.Meeting.Guid) }%> | <%= new HtmlAnchor("??????") { Href= WebUrl.MyMeetingAttachmentList(this.Meeting.Guid) }%> | <%= new HtmlAnchor("??????") { Href= WebUrl.MyMeetingVideoList(this.Meeting.Guid) }%> </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> </tr> <!--??? ????? ????? ?? ??????? ????? ????????? ????????? class="firstLine lastLine"--> <% for (int i = 0; i <= this.ListMeetingUserApply.Count - 1; i++) { var meetingUserApply = this.ListMeetingUserApply[i]; var user = this.ListMeetingUserApply[i].ParentUser; %> <tr class='<%= i == 0 ? "firstLine" : "" %> <%= i == this.ListMeetingUserApply.Count - 1 ? "lastLine" : "" %>'> <td class="sel"> <%= new HtmlCheckBox() { Value = SetKey(meetingUserApply.Guid, meetingUserApply.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td> <%= user.ParentUserType.ParentDomain.Name %> <br /> <%= user.UserName %> ( <%= user.TrueName %> ) </td> <td> <%= user.ParentUserType.Name %> </td> <td> <%= user.MobilePhone %> <br /> <%= user.Email %> <br /> </td> <td> <%= new HtmlSelect("GuestType", "Value", "Key", "Key") { ID = "GuestType" + SetKey(meetingUserApply.Guid, meetingUserApply.Version), SelectedValue = meetingUserApply.GuestType, Option = typeof(AVA.ResourcesPlatform.Model.Pub.MeetingUserApplyGuestTypeEnum) }%> <br /> <%= meetingUserApply.ApplyTime %> <br /> <%= meetingUserApply.ApplyRemark %> </td> <td class="action"> <%= new HtmlSelect("ApplyStatus", "Value", "Key", "Key") { ID = "ApplyStatus" + SetKey(meetingUserApply.Guid, meetingUserApply.Version), SelectedValue = meetingUserApply.ApplyStatus, Option = typeof(AVA.ResourcesPlatform.Model.Pub.MeetingUserApplyApplyStatusEnum) }%> <br /> <% if (meetingUserApply.ConfirmTime != null) { %> <%= meetingUserApply.ConfirmTime.ToLongDate() %> <br /> <% if (!string.IsNullOrEmpty(meetingUserApply.ConfirmRemark)) { //?????? %> <%= meetingUserApply.ConfirmRemark %> <br /> <% } } %> <a href="#Confirm" onclick="MeetingUserApplyConfirm(this,'<%= SetKey(meetingUserApply.Guid, meetingUserApply.Version) %>'); return false;">???</a> | <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); } }); } }; //??? function MeetingUserApplyConfirm(send, pkid) { if (confirm("????????????????????????????????") == true) { var confirmRemark = window.prompt("??????????????",""); $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.MeetingUserApplyConfirm", data: "key=" + pkid + "&ConfirmRemark=" + encodeURIComponent(confirmRemark) + "&ApplyStatus=" + $("#ApplyStatus" + pkid).val() + "&GuestType=" + $("#GuestType" + pkid).val(), 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