From c685ae1bcb234616e8930621a4b087f4e8fd98bb Mon Sep 17 00:00:00 2001 From: lg <999544862qq.com> Date: 星期五, 13 九月 2024 12:00:43 +0800 Subject: [PATCH] 基础资料 --- DevApp/Gs.DevApp/DevFrm/User/SysMenu.cs | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/User/SysMenu.cs b/DevApp/Gs.DevApp/DevFrm/User/SysMenu.cs index 14b07ae..c6c5a7a 100644 --- a/DevApp/Gs.DevApp/DevFrm/User/SysMenu.cs +++ b/DevApp/Gs.DevApp/DevFrm/User/SysMenu.cs @@ -1,6 +1,6 @@ 锘縰sing DevExpress.XtraTreeList; using DevExpress.XtraTreeList.Nodes; -using Gs.DevApp.Models; +using Gs.DevApp.Entity; using Gs.DevApp.ToolBox; using Newtonsoft.Json; using System; @@ -166,17 +166,17 @@ txt_name.Focus(); return; } - if (string.IsNullOrEmpty(txt_status.Text.Trim()) || txt_status.SelectedIndex == 0) + if (string.IsNullOrEmpty(txt_isStatus.Text.Trim()) || txt_isStatus.SelectedIndex == 0) { Gs.DevApp.ToolBox.MsgHelper.Warning("鑿滃崟鐘舵�佷笉鑳戒负绌猴紒"); - txt_status.Focus(); + txt_isStatus.Focus(); return; } string _upGuid = txt_upGuid.EditValue.ToString(); if (txt_category.SelectedIndex == 2 && string.IsNullOrEmpty(_upGuid)) { Gs.DevApp.ToolBox.MsgHelper.Warning("鎸夐挳绫诲瀷蹇呴』閫夋嫨鐖剁骇鑿滃崟锛�"); - txt_status.Focus(); + txt_isStatus.Focus(); return; } var _obj = new @@ -185,7 +185,7 @@ upGuid = _upGuid,//涓婄骇鐨勪富寤� name = txt_name.Text.Trim(),//鍚嶇О icon = txt_icon.Text,//鑿滃崟鍥炬爣 - status = txt_status.SelectedIndex,//鐘舵�� + isStatus = txt_isStatus.SelectedIndex,//鐘舵�� formPath = txt_formPath.Text.Trim(),//绐椾綋璺緞 idx = int.Parse(txt_idx.Value.ToString()),//鎺掑簭 category = txt_category.SelectedIndex,//绫诲瀷 @@ -210,7 +210,7 @@ private void getTree() { - Models.PageQueryModel pgq = new Models.PageQueryModel(1, 999999, "idx", "asc", "", ""); + PageQueryModel pgq = new PageQueryModel(1, 999999, "idx", "asc", "", ""); string json = JsonConvert.SerializeObject(pgq); try { @@ -265,7 +265,7 @@ private void getDownList() { - Models.PageQueryModel pgq = new Models.PageQueryModel(1, 999999, "idx", "asc", "", " and category=1"); + PageQueryModel pgq = new PageQueryModel(1, 999999, "idx", "asc", "", " and category=1"); string json = JsonConvert.SerializeObject(pgq); try { -- Gitblit v1.9.3