管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2024-09-05 95d9356edef73a1ad5b04e62b7aef6b77697a226
DataLoader/CS/NtstWeb.cs
@@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using DataLoader.CS;
using System;
namespace DataLoader.Model
{
@@ -21,13 +17,14 @@
        {
            if (uid > 0 && !string.IsNullOrEmpty(token))
            {
                Common.UserId = uid;
                Common.Uname = uname;
                Common.Token = token;
                CommonProp.UserId = uid;
                CommonProp.Uname = uname;
                CommonProp.Token = token;
                CommonProp.Depcode = DBHelper.SelectDepCodeByUid(uid);
                owner.Dispatcher.Invoke(new Action(delegate
                {
                    Common.Owner.SetLoginInfo();
                    CommonProp.Owner.SetLoginInfo();
                }));
            }
        }