개정판 81e3c9f6
issue #923: Merged PDF 버튼을 클릭했을때 해당 문서의 Merged PDF 서비스가 수행중이면 "Merged PDF가 수행중입니다" 메세지를 띄운다
Change-Id: Iee7d02b7a0cce2c84a10ae4b55c50227b8af487c
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
4024 | 4024 |
|
4025 | 4025 |
private void FinalPDFEvent(object sender, RoutedEventArgs e) |
4026 | 4026 |
{ |
4027 |
var item = gridViewMarkup.Items.Cast<MarkupInfoItem>().Where(d => d.Consolidate == 1 && d.AvoidConsolidate == 0).FirstOrDefault(); |
|
4028 |
if (item != null) |
|
4027 |
if(btnFinalPDF.IsEnabled == true) |
|
4029 | 4028 |
{ |
4030 |
Logger.sendReqLog("SetFinalPDFAsync", _ViewInfo.ProjectNO + "," + _DocInfo.ID + "," + item.MarkupInfoID + "," + _ViewInfo.UserID, 1); |
|
4029 |
var item = gridViewMarkup.Items.Cast<MarkupInfoItem>().Where(d => d.Consolidate == 1 && d.AvoidConsolidate == 0).FirstOrDefault(); |
|
4030 |
if (item != null) |
|
4031 |
{ |
|
4032 |
Logger.sendReqLog("SetFinalPDFAsync", _ViewInfo.ProjectNO + "," + _DocInfo.ID + "," + item.MarkupInfoID + "," + _ViewInfo.UserID, 1); |
|
4031 | 4033 |
|
4032 |
BaseClient.SetFinalPDFAsync(_ViewInfo.ProjectNO, _DocInfo.ID, item.MarkupInfoID, _ViewInfo.UserID); |
|
4034 |
BaseClient.SetFinalPDFAsync(_ViewInfo.ProjectNO, _DocInfo.ID, item.MarkupInfoID, _ViewInfo.UserID); |
|
4035 |
btnFinalPDF.IsEnabled = false; |
|
4036 |
} |
|
4037 |
else |
|
4038 |
{ |
|
4039 |
DialogMessage_Alert("Consolidation 된 코멘트가 존재하지 않습니다", "안내"); |
|
4040 |
} |
|
4033 | 4041 |
} |
4034 | 4042 |
else |
4035 | 4043 |
{ |
4036 |
DialogMessage_Alert("Consolidation 된 코멘트가 존재하지 않습니다", "안내");
|
|
4044 |
DialogMessage_Alert("Merged PDF가 수행중입니다", "안내");
|
|
4037 | 4045 |
} |
4038 | 4046 |
} |
4039 | 4047 |
|
내보내기 Unified diff