From 01738c21cdb08fee76aa53ff870a38a00b4f5df4 Mon Sep 17 00:00:00 2001
From: lg <999544862qq.com>
Date: 星期五, 13 九月 2024 12:01:18 +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