From a8ed3d24ba97b9ee93de0f15fb15b46a9850b2fc Mon Sep 17 00:00:00 2001
From: lg <999544862qq.com>
Date: 星期二, 17 九月 2024 16:58:39 +0800
Subject: [PATCH] 基础资料

---
 DevApp/Gs.DevApp/DevFrm/User/Organization.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/User/Organization.cs b/DevApp/Gs.DevApp/DevFrm/User/Organization.cs
index acdf450..ec5df29 100644
--- a/DevApp/Gs.DevApp/DevFrm/User/Organization.cs
+++ b/DevApp/Gs.DevApp/DevFrm/User/Organization.cs
@@ -1,4 +1,4 @@
-锘縰sing Gs.DevApp.Models;
+锘縰sing Gs.DevApp.Entity;
 using Gs.DevApp.ToolBox;
 using Newtonsoft.Json;
 using System;
@@ -152,10 +152,10 @@
                 txt_conTel.Focus();
                 return;
             }
-            if (txt_status.SelectedIndex <= 0)
+            if (txt_isStatus.SelectedIndex <= 0)
             {
                 Gs.DevApp.ToolBox.MsgHelper.Warning("鐘舵�佷笉鑳戒负绌猴紒");
-                txt_status.Focus();
+                txt_isStatus.Focus();
                 return;
             }
             string _upGuid = txt_upGuid.Text.Trim().Length > 0 ? txt_upGuid.SelectedValue.ToString() : "";
@@ -166,7 +166,7 @@
                 name = txt_name.Text.Trim(),//鍚嶇О
                 conPeople = txt_conPeople.Text,//鑱旂郴浜�
                 conTel = txt_conPeople.Text,//鑱旂郴鐢佃瘽
-                status = txt_status.SelectedIndex,//鐘舵��
+                isStatus = txt_isStatus.SelectedIndex,//鐘舵��
                 factory = txt_factory.Text,//缁勭粐缂栧彿
             };
             try
@@ -194,14 +194,14 @@
             imageList.Images.Add("icon1", Properties.Resources.publicfix_32x32);
             imageList.Images.Add("icon2", Properties.Resources.user_16x16);
             tlMenu.ImageList = imageList;
-            Models.PageQueryModel pgq = new Models.PageQueryModel(1, 999999, "name", "desc", "", "");
+            PageQueryModel pgq = new PageQueryModel(1, 999999, "name", "desc", "", "");
             string json = JsonConvert.SerializeObject(pgq);
             try
             {
                 string strReturn = UtilityHelper.HttpPost("", "Organization/GetListPage", json);
                 ReturnModel<PageListModel> dd = UtilityHelper.GetTableByJson(strReturn);
                 DataTable dt = dd.rtnData.list;
-                DataRow[] drGrp = dt.Select("upGuid=''");
+                DataRow[] drGrp = dt.Select("upGuid='' or upguid is null");
                 DataTable dtComList = new DataTable();
                 dtComList.Columns.Add("guid", typeof(string));
                 dtComList.Columns.Add("name", typeof(string));

--
Gitblit v1.9.3