From a1b0ab7044100daaa7e0f1da2d2ca45e38098963 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 29 三月 2021 09:13:25 +0800
Subject: [PATCH] 2021-3-29-2
---
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
index 5018a0f..a9e3cc6 100644
--- 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