휴가신청구분 입력 불가 하게 함
This commit is contained in:
@@ -52,9 +52,12 @@ namespace Project._Common
|
||||
{
|
||||
tbProcess.Text = db_guser.Process;
|
||||
tbState.Text = db_guser.state;
|
||||
|
||||
//this.chkJobReport.Checked = (db_guser.useJobReport == null ? false : (bool)db_guser.useJobReport);
|
||||
this.chkUserSt.Checked = (db_guser.useJobReport == null ? false : (bool)db_guser.useJobReport);
|
||||
this.chkJobReport.Checked = (db_guser.useJobReport == null ? false : (bool)db_guser.useJobReport);
|
||||
this.chkUseState.Checked = (db_guser.useUserState == null ? false : (bool)db_guser.useUserState);
|
||||
}
|
||||
|
||||
this.Text = "사용자 정보 변경";
|
||||
}
|
||||
else this.Text = "사용자 정보 추가";
|
||||
@@ -132,8 +135,8 @@ namespace Project._Common
|
||||
{
|
||||
drGuser.Process = this.tbProcess.Text.Trim();
|
||||
drGuser.state = this.tbState.Text.Trim();
|
||||
drGuser.useJobReport = chkUserSt.Checked;
|
||||
//drGuser.useJobReport = chkJobReport.Checked;
|
||||
drGuser.useJobReport = chkJobReport.Checked;
|
||||
drGuser.useUserState = chkUseState.Checked;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -153,7 +156,8 @@ namespace Project._Common
|
||||
drGuser.state = this.tbState.Text.Trim();
|
||||
drGuser.Process = this.tbProcess.Text.Trim();
|
||||
//drGuser.useJobReport = this.chkJobReport.Checked;
|
||||
drGuser.useJobReport = this.chkUserSt.Checked;
|
||||
drGuser.useJobReport = this.chkJobReport.Checked;
|
||||
drGuser.useUserState = this.chkUseState.Checked;
|
||||
db.EETGW_GroupUser.Add(drGuser);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user