|
|
@ -271,15 +271,14 @@ namespace MaterialTraceabilityUI
|
|
|
|
/// <param name="e"></param>
|
|
|
|
/// <param name="e"></param>
|
|
|
|
private void ConfigPage_Click(object sender, RoutedEventArgs e)
|
|
|
|
private void ConfigPage_Click(object sender, RoutedEventArgs e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//if (!"2".Equals(ConfigHelper.GetConfig("roleId")))
|
|
|
|
if (!"2".Equals(ConfigHelper.GetConfig("roleId")))
|
|
|
|
//{
|
|
|
|
{
|
|
|
|
// System.Windows.MessageBox.Show("请登录系统管理账号进行操作");
|
|
|
|
System.Windows.MessageBox.Show("请登录系统管理账号进行操作");
|
|
|
|
//}
|
|
|
|
}
|
|
|
|
//else
|
|
|
|
else
|
|
|
|
//{
|
|
|
|
{
|
|
|
|
// UserContent = configInfo;
|
|
|
|
UserContent = configInfo;
|
|
|
|
//}
|
|
|
|
}
|
|
|
|
UserContent = configInfo;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public System.Windows.Controls.UserControl _content;
|
|
|
|
public System.Windows.Controls.UserControl _content;
|
|
|
|