|
|
@@ -1,7 +1,5 @@ |
|
|
|
using HKLib.DB.Model.Entity; |
|
|
|
using HKLib.Dto; |
|
|
|
using HKLib.Dto; |
|
|
|
using HKLib.Interfaces; |
|
|
|
using HKLib.Logic; |
|
|
|
using Snowflake.Core; |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
@@ -20,7 +18,7 @@ namespace HKCardManager.UserPages |
|
|
|
public partial class CarMangerPage : UserControl |
|
|
|
{ |
|
|
|
//List<string> OrgList = new List<string>(); |
|
|
|
List<OrgTable> orgTables = new List<OrgTable>(); |
|
|
|
List<OrgDto> orgTables = new List<OrgDto>(); |
|
|
|
List<string> Personnels = new List<string>(); |
|
|
|
public CarMangerPage() |
|
|
|
{ |
|
|
@@ -35,7 +33,7 @@ namespace HKCardManager.UserPages |
|
|
|
|
|
|
|
radioButton1.Checked = true; |
|
|
|
comboBox2.Visible = false; |
|
|
|
orgTables = ServiceHandler.GetOrgList(); |
|
|
|
orgTables = HKLibHelper.GetOrg(); |
|
|
|
Global.UserListDtos.ForEach(item => { if (!string.IsNullOrEmpty(item.UserName)) Personnels.Add(item.UserName); }); |
|
|
|
comboBox2.DataSource = Personnels; |
|
|
|
comboBox1.DataSource = Global.OrgList; |
|
|
|