개정판 7db33dd9
issue #0000
- project 등록 수정
- 담당자만 수정되도록 진행 테스트 삭제
Change-Id: I5f8c56eeff26cd303ce1d5276c8905557ea02c8f
ID2.Manager/ID2.Manager/Forms/SetupProject.cs | ||
---|---|---|
76 | 76 |
{ |
77 | 77 |
if (prjs.Any(x => x.Code.Equals(ID2Name))) |
78 | 78 |
{ |
79 |
id2ChkCol.Value = true;
|
|
79 |
id2ChkCol.Value = false;
|
|
80 | 80 |
id2ChkCol.ReadOnly = true; |
81 | 81 |
} |
82 | 82 |
else |
... | ... | |
145 | 145 |
this.ProjectInfo = new ProjectInfo(); |
146 | 146 |
} |
147 | 147 |
|
148 |
this.ProjectInfo = new ProjectInfo() |
|
149 |
{ |
|
150 |
Code = this.radTextBoxProjectCode.Text, |
|
151 |
Name = this.radTextBoxProjectName.Text, |
|
152 |
Description = this.radTextBoxDescription.Text |
|
153 |
}; |
|
148 |
this.ProjectInfo.Code = this.radTextBoxProjectCode.Text.Trim(); |
|
149 |
this.ProjectInfo.Name = this.radTextBoxProjectName.Text.Trim(); |
|
150 |
this.ProjectInfo.Description = this.radTextBoxDescription.Text.Trim(); |
|
154 | 151 |
|
155 | 152 |
bool result = new ProjectController().SetProjectData(this.ProjectInfo, id2prjs); |
156 | 153 |
|
ID2.Manager/ID2.Manager/Main.cs | ||
---|---|---|
179 | 179 |
string pdfFilePath = Path.Combine(informations.FindID2LocalPath(doc.RefProjectCode), "drawings", $"{doc.DocumentNo}{pdfExtension}"); |
180 | 180 |
ShowPDFFile(pdfFilePath); |
181 | 181 |
|
182 |
if (informations.ActiveUser.ID != doc.PersonInCharge) |
|
183 |
{ |
|
184 |
var row = this.radGridViewDocuments.SelectedRows.First(); |
|
185 |
foreach(var cell in row.Cells) |
|
186 |
{ |
|
187 |
cell.ReadOnly = true; |
|
188 |
} |
|
189 |
} |
|
182 |
//if (informations.ActiveUser.ID != doc.PersonInCharge)
|
|
183 |
//{
|
|
184 |
// var row = this.radGridViewDocuments.SelectedRows.First();
|
|
185 |
// foreach(var cell in row.Cells)
|
|
186 |
// {
|
|
187 |
// cell.ReadOnly = true;
|
|
188 |
// }
|
|
189 |
//}
|
|
190 | 190 |
} |
191 | 191 |
} |
192 | 192 |
|
내보내기 Unified diff