From 66a9965c44ecc32a6696abca876ab9d1cd091584 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 28 二月 2020 15:25:13 +0800
Subject: [PATCH] 2020.2.28

---
 ZigbeeApp/Shared/Phone/UserCenter/Member/AddMemberByIdForm.cs |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Member/AddMemberByIdForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Member/AddMemberByIdForm.cs
index a0d45c7..f9b943a 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Member/AddMemberByIdForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Member/AddMemberByIdForm.cs
@@ -43,13 +43,15 @@
             rowAccount.Y = Application.GetRealHeight(23);
             frame.AddChidren(rowAccount);
             //搴曠嚎
-            rowAccount.AddBottomLine();
+            var btnLine = rowAccount.AddBottomLine();
 
             //璇疯緭鍏ラ渶瑕佸姞鍏ユ垚鍛樼殑ID(Email/鎵嬫満鍙�)
             var txtCode = new TextInputControl(Application.GetRealWidth(900), rowAccount.Height, false);
             txtCode.X = ControlCommonResourse.XXLeft;
             txtCode.PlaceholderText = Language.StringByID(R.MyInternationalizationString.uPleaseInputAddMenberID);
             rowAccount.AddChidren(txtCode, ChidrenBindMode.NotBind);
+            //鑱斿姩绾跨殑鐘舵��
+            txtCode.btnLine = btnLine;
 
             //涓嬩竴姝�
             var btnBottom = new BottomClickButton(688);
@@ -84,12 +86,20 @@
 
             var pra = new AccountInfoPra();
             pra.Account = accountId;
-            string result = await UserCenterLogic.GetResponseDataByRequestHttps("ZigbeeUsers/GetSubAccountInfo", false, pra);
+            string result = await UserCenterLogic.GetResponseDataByRequestHttps("ZigbeeUsers/GetSubAccountInfo", false, pra, new System.Collections.Generic.List<string>() { "AccountNoExists" });
             //鍏抽棴杩涘害鏉�
             this.CloseProgressBar();
 
             if (result == null)
             {
+                //寮傚父
+                return;
+            }
+            if (result == string.Empty)
+            {
+                //鎴愬憳涓嶅瓨鍦�
+                var form = new MemberNotEsixtForm();
+                form.AddForm();
                 return;
             }
 

--
Gitblit v1.8.0