From 536bc8fecd45139bba59d1bafcbe7d4f4e1f4d34 Mon Sep 17 00:00:00 2001 From: tzy <hxb@hdlchina.com.cn> Date: 星期四, 01 七月 2021 11:06:44 +0800 Subject: [PATCH] 完成管理员权限迁移的功能 --- HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferUserConfirmPage.cs | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferUserConfirmPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferUserConfirmPage.cs index 4a5c393..4c40acb 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferUserConfirmPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferUserConfirmPage.cs @@ -99,8 +99,23 @@ //濡傛灉璁剧疆鏈夊畨鍏ㄩ獙璇�,鍒欓渶瑕侀獙璇� HdlCheckLogic.Current.CheckUnlockSecurity(true, (div) => { - var form = new TransferingResidenceForm(); - form.AddForm(this.accountInfo); + //濡傛灉娌℃湁璁剧疆鏈夊畨鍏ㄩ獙璇� + if (div == 0) + { + //纭杩囨埛{0}鐨勭鐞嗗憳璐﹀彿缁欒处鍙穥1} + string msg = Language.StringByID(StringId.TransferreConfirmMsg2).Replace("{0}", Entity.DB_ResidenceData.Instance.CurrentRegion.homeName); + msg = msg.Replace("{1}", btnName.Text); + HdlMessageLogic.Current.ShowMassage(ShowMsgType.Confirm, Language.StringByID(StringId.TransferreConfirmMsg2), () => + { + var form = new TransferingResidenceForm(); + form.AddForm(this.accountInfo); + }); + } + else + { + var form = new TransferingResidenceForm(); + form.AddForm(this.accountInfo); + } }); }; -- Gitblit v1.8.0