| | |
| | | |
| | | private List<SysTypeTreeListViewModel> _allBindingList = null; |
| | | |
| | | private Yw.BLL.SysTypeStd _bll = null; |
| | | private Yw.BLL.SysType _bll = null; |
| | | |
| | | private Yw.BLL.SysModule _Modulebll = null; |
| | | |
| | |
| | | public async void SetBindingData() |
| | | { |
| | | _allBindingList = new List<SysTypeTreeListViewModel>(); |
| | | _bll = new Yw.BLL.SysTypeStd(); |
| | | var alllist = await _bll.GetLogicalTreeList(); |
| | | var alllist = await SysTypeHelper.GetSysTypeTreeList(); |
| | | if (alllist == null) return; |
| | | foreach (var item in alllist) |
| | | { |
| | | var module = new SysTypeTreeListViewModel(item); |
| | | var module = new SysTypeTreeListViewModel(item.Module); |
| | | _allBindingList.Add(module); |
| | | foreach (var child in item.Children) |
| | | { |