From f788a1e320b8505435ed66e2456ddb2d0a838f76 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期四, 19 十一月 2020 19:58:14 +0800
Subject: [PATCH] 2020-11-19 1.优化绑定和解绑页面。2.修改密码功能实现,UI界面实现,接口实现。

---
 HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs
index 99ac86f..534cb3a 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs
@@ -1,5 +1,6 @@
 锘縰sing System;
 using System.Collections.Generic;
+using HDL_ON.DAL.Server;
 using HDL_ON.Entity;
 using Shared;
 
@@ -42,9 +43,9 @@
                     {
                         try
                         {
-                            var responsePack = new DAL.Server.HttpServerRequest().EditResidenceInfo();
+                            var responsePack = new HttpServerRequest().EditResidenceInfo();
 
-                            if (responsePack.StateCode.ToUpper() == "SUCCESS")
+                            if (responsePack.StateCode.ToUpper() == StateCode.SUCCESS)
                             {
                                 Application.RunOnMainThread(() =>
                                 {
@@ -112,7 +113,7 @@
                     DB_ResidenceData.residenceData.residecenInfo.Address = str;
                     var responsePack = new DAL.Server.HttpServerRequest().EditResidenceInfo();
 
-                    if (responsePack.StateCode.ToUpper() == "SUCCESS")
+                    if (responsePack.StateCode.ToUpper() == StateCode.SUCCESS)
                     {
                         btnResidenceAddress.Text = str;
                         OnAppConfig.Instance.SaveUserConfig();
@@ -142,7 +143,7 @@
                         });
                     }
                 };
-                new PublicAssmebly().LoadDialog_EditParater(StringId.ResidenceAddress, DB_ResidenceData.residenceData.residecenInfo.Name, callBack,StringId.HouseAddressCannotBeEmpty,0,new List<string>());
+                new PublicAssmebly().LoadDialog_EditParater(StringId.ResidenceAddress, DB_ResidenceData.residenceData.residecenInfo.Name, callBack, StringId.HouseAddressCannotBeEmpty, 0, new List<string>());
             };
             btnResidenceAddress.MouseUpEventHandler = eventHandler;
             btnLocationAddressIcon.MouseUpEventHandler = eventHandler;

--
Gitblit v1.8.0