From fa7d172c21d4a78925ae39b3cbfe7b100c3dead9 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 23 十二月 2020 09:35:28 +0800 Subject: [PATCH] Merge branch 'CJL' into NewFilePath --- HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberPermissionPageBLL.cs | 35 ++++++++++++++++++----------------- 1 files changed, 18 insertions(+), 17 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberPermissionPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberPermissionPageBLL.cs old mode 100755 new mode 100644 index 5018a0f..a9e3cc6 --- a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberPermissionPageBLL.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberPermissionPageBLL.cs @@ -132,11 +132,11 @@ /// 涓�閿垹闄ゅ綋鍓嶆埧闂存墍鏈夊垎浜� /// </summary> /// <param name="funs_Del">闇�瑕佷竴閿垹闄ょ殑鍒嗕韩鏁版嵁</param> - /// <param name="roomFunctionList">褰撳墠鎴块棿鎵�鏈夊姛鑳藉垪琛�</param> + /// <param name="roomFunctionOrSceneList">褰撳墠鎴块棿鎵�鏈夊姛鑳藉垪琛�</param> /// <param name="roomId">濡傛灉鎴块棿ID涓虹┖锛屽垯浠h〃绠$悊鏃犲垎閰嶅尯鍩熺殑鍔熻兘锛屼笉闇�瑕佸垹闄ゆ埧闂村垎浜�</param> /// <param name="btnFunctionCount">涓暟缁熻鏁伴噺</param> /// <param name="roomView">鑳屾櫙View</param> - void DeleteRoomAllShare(List<ShareData> funs_Del, List<Function> roomFunctionList, string roomId, Button btnFunctionCount, RowLayout roomView) + void DeleteRoomAllShare(List<ShareData> funs_Del, List<RoomData> roomFunctionOrSceneList, string roomId, Button btnFunctionCount, RowLayout roomView) { //闇�瑕佸垹闄ょ殑鍒嗕韩涓�0 if (funs_Del == null || funs_Del.Count == 0) @@ -156,20 +156,21 @@ try { bool result = false; - //濡傛灉鎴块棿ID涓虹┖锛屽垯浠h〃绠$悊鏃犲垎閰嶅尯鍩熺殑鍔熻兘锛屼笉闇�瑕佸垹闄ゆ埧闂村垎浜� - if (!string.IsNullOrEmpty(roomId)) - { - //鍒犻櫎鎴块棿鍒嗕韩 - var success = DeleteShareRoom(roomId); - if (success) - { - Utlis.WriteLine("鍒犻櫎鎴块棿鍒嗕韩鎴愬姛"); - } - else - { - Utlis.WriteLine("鍒犻櫎鎴块棿鍒嗕韩澶辫触"); - } - } + //2020-12-22 灞忚斀鎴块棿鍒嗕韩绠$悊 + ////濡傛灉鎴块棿ID涓虹┖锛屽垯浠h〃绠$悊鏃犲垎閰嶅尯鍩熺殑鍔熻兘锛屼笉闇�瑕佸垹闄ゆ埧闂村垎浜� + //if (!string.IsNullOrEmpty(roomId)) + //{ + // //鍒犻櫎鎴块棿鍒嗕韩 + // var success = DeleteShareRoom(roomId); + // if (success) + // { + // Utlis.WriteLine("鍒犻櫎鎴块棿鍒嗕韩鎴愬姛"); + // } + // else + // { + // Utlis.WriteLine("鍒犻櫎鎴块棿鍒嗕韩澶辫触"); + // } + //} //2.鎵归噺鍒犻櫎鍒嗕韩 var deleteShareObj = new DeleteShareObj() @@ -209,7 +210,7 @@ //娓呯┖ funs_Del.Clear(); memberInfo.CurResidenceShareData = funs_final; - btnFunctionCount.Text = 0 + "/" + roomFunctionList.Count.ToString(); + btnFunctionCount.Text = 0 + "/" + roomFunctionOrSceneList.Count.ToString(); //鍏抽棴鍙虫粦鑿滃崟 roomView.HideMenu(); }); -- Gitblit v1.8.0