|
@@ -773,7 +773,7 @@ namespace UAS_MES_Tools
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- Form rulesList = new RulesList("Add",_UserName);
|
|
|
|
|
|
|
+ Form rulesList = new RulesList("Add",_UserName, _Account);
|
|
|
if (rulesList.ShowDialog() == DialogResult.OK)
|
|
if (rulesList.ShowDialog() == DialogResult.OK)
|
|
|
{
|
|
{
|
|
|
MessageBox.Show("新增规则成功", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
MessageBox.Show("新增规则成功", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
@@ -835,7 +835,7 @@ namespace UAS_MES_Tools
|
|
|
filterStr.Append($" and instr(RULE_VALUE, '{rulesInput2.Text}') > 0");
|
|
filterStr.Append($" and instr(RULE_VALUE, '{rulesInput2.Text}') > 0");
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- Form rulesList = new RulesList("Modify",RULE_ID, _UserName);
|
|
|
|
|
|
|
+ Form rulesList = new RulesList("Modify",RULE_ID, _UserName, _Account);
|
|
|
if (rulesList.ShowDialog() == DialogResult.OK)
|
|
if (rulesList.ShowDialog() == DialogResult.OK)
|
|
|
{
|
|
{
|
|
|
MessageBox.Show("修改规则成功", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
MessageBox.Show("修改规则成功", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|