Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\DefaultTheme\Control\My\MyMeetingUser.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyMeetingUser.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyMeetingUser" %> <%= new MyMeetingNavInstance(this) { Local = MyMeetingNavItem.?????? }.ToHtml()%> <div class="box well"> <div class="p_title"> <span class="title">????????</span>??????<span> <%= this.ListMeetingUser.Count %>????? </span> </div> <div class="dataControl box"> <%= new HtmlButton("???...", "window.location.href='" + WebUrl.MyMeetingUserAdd(this.Meeting.Guid) + "';")%> <%= new HtmlButton("???", "MeetingUserBatchDelete(this);")%> </div> <div id="MyMeetingUserData" 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.ListMeetingUser.Count - 1; i++) { var meetingUser = this.ListMeetingUser[i]; %> <tr class='<%= i == 0 ? "firstLine" : "" %> <%= i == this.ListMeetingUser.Count - 1 ? "lastLine" : "" %>'> <td class="sel"> <%= new HtmlCheckBox() { Value = SetKey(meetingUser.Guid, meetingUser.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td class="v"> <%= meetingUser.ParentUser.ParentDomain.Name %> <br /> <%= meetingUser.ParentUser.TrueName %> <br /> <%= meetingUser.ParentUser.UserName %> </td> <td> <%= new HtmlHidden("", meetingUser.GuestType) { ID = "GuestType" + SetKey(meetingUser.Guid, meetingUser.Version) }%> <%= new HtmlSelect(null, "Value", "Key", "Key") { OnChange = "MeetingUserChangeGuestTypeClient('" + SetKey(meetingUser.Guid, meetingUser.Version) + "',this);", Option = typeof(AVA.ResourcesPlatform.Model.Pub.MeetingUserGuestTypeEnum), SelectedValue = meetingUser.GuestType }%> </td> <td> <%= ((AVA.ResourcesPlatform.Model.Pub.MeetingUserSendStatusEnum)meetingUser.SendStatus).Define()%> </td> <td> <%= ((AVA.ResourcesPlatform.Model.Pub.MeetingUserConfirmStatusEnum)meetingUser.ConfirmStatus).Define()%> <% if (meetingUser.ConfirmStatus != (int)AVA.ResourcesPlatform.Model.Pub.MeetingUserConfirmStatusEnum.?????) { %> <%= meetingUser.ConfirmTime %> <br /> <%= new HtmlSpan(meetingUser.ConfirmRemark) { Size = 20, WideWord = true, Suffix = "..." }%> <% } %> </td> <td> <%= ((AVA.ResourcesPlatform.Model.Pub.MeetingUserSignInStatusEnum)meetingUser.SignInStatus).Define()%> <% if (meetingUser.SignInStatus != (int)AVA.ResourcesPlatform.Model.Pub.MeetingUserSignInStatusEnum.?????) { %> <%= meetingUser.ConfirmTime %> <br /> <%= new HtmlSpan(meetingUser.SignInRemark) { Size = 20, WideWord = true, Suffix = "..." }%> <% } %> </td> <td class="action"><a href="#delete" onclick="MeetingUserDelete(this,'<%= SetKey(meetingUser.Guid, meetingUser.Version) %>'); return false;">???</a></td> </tr> <% } %> </tbody> </table> </div> <script type="text/javascript"> $("#MyMeetingUserData .trselall").click(function () { if (this.checked == true) { $("#MyMeetingUserData .trsel").attr("checked", "checked"); } else { $("#MyMeetingUserData .trsel").removeAttr("checked"); } }) function SelectMyMeetingUserAll() { var bool = $("#MyMeetingUserData .trselall").attr("checked"); bool = !bool; if (bool == true) { $("#MyMeetingUserData .trsel").attr("checked", "checked"); $("#MyMeetingUserData .trselall").attr("checked", "checked"); } else { $("#MyMeetingUserData .trsel").removeAttr("checked"); $("#MyMeetingUserData .trselall").removeAttr("checked"); } } </script> <script type="text/javascript"> //?????? function MeetingUserBatchDelete(send) { var items = $("#MyMeetingUserData .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.MeetingUserBatchDelete", 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 MeetingUserDelete(send, pkid) { if (confirm("??????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.MeetingUserDelete", 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 MeetingUserChangeGuestTypeClient(pkid, send) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.MeetingUserChangeGuestType", data: "key=" + pkid + "&GuestType=" + $(send).val(), async: true, dataType: 'json', success: function (result) { alert("????????????") $("#GuestType" + pkid).val($(send).val()); Global.Disabled(send, false); }, beforeSend: function () { Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { Global.Disabled(send, false); $(send).val($("#GuestType" + pkid).val()); var message = XMLHttpRequest.responseText; Global.Error(message); } }); }; </script> <div> <a onclick="SelectMyMeetingUserAll(); return false;" href="#">???? - ???</a> </div> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de