|
@@ -131,6 +131,7 @@ type
|
|
|
|
|
|
procedure ExpandNodeTo(ALevel: Integer);
|
|
|
procedure ExpandAllXmj;
|
|
|
+ procedure ExpandCurPhase;
|
|
|
|
|
|
procedure SetAssistantViewVisible(AVisible: Boolean);
|
|
|
procedure SetImageOfsbtnExpend(AExpend: Boolean);
|
|
@@ -598,8 +599,8 @@ end;
|
|
|
|
|
|
procedure TProjectFrame.dxpmExpandBillsPopup(Sender: TObject);
|
|
|
begin
|
|
|
- dxpmExpandBills.ItemLinks.Items[7].Visible := jpsMain.ActivePageIndex in [0, 1, 4];
|
|
|
- dxpmExpandBills.ItemLinks.Items[6].Visible := jpsMain.ActivePageIndex in [1];
|
|
|
+ dxpmExpandBills.ItemLinks.Items[7].Visible := jpsMain.ActivePageIndex in [0, 1, 3];
|
|
|
+ dxpmExpandBills.ItemLinks.Items[6].Visible := jpsMain.ActivePageIndex in [1, 3];
|
|
|
SetDxBtnAction(actnFirstLevel, MainForm.dxbtnFirstLevel);
|
|
|
SetDxBtnAction(actnSecondLevel, MainForm.dxbtnSecondLevel);
|
|
|
SetDxBtnAction(actnThirdLevel, MainForm.dxbtnThirdLevel);
|
|
@@ -655,7 +656,7 @@ begin
|
|
|
case jpsMain.ActivePageIndex of
|
|
|
0: FBillsCompileFrame.ExpandXmjNode;
|
|
|
1: FBillsMeasureFrame.ExpandXmjNode;
|
|
|
- 4: FPhaseCompareFrame.ExpandXmjNode;
|
|
|
+ 3: FPhaseCompareFrame.ExpandXmjNode;
|
|
|
end;
|
|
|
finally
|
|
|
UpdateSysProgress(0, '就绪');
|
|
@@ -1011,14 +1012,7 @@ end;
|
|
|
|
|
|
procedure TProjectFrame.actnCurPhaseExecute(Sender: TObject);
|
|
|
begin
|
|
|
- Screen.Cursor := crHourGlass;
|
|
|
- UpdateSysProgress(0, '正在显示至本期');
|
|
|
- try
|
|
|
- FBillsMeasureFrame.ExpandCurPhase;
|
|
|
- finally
|
|
|
- UpdateSysProgress(0, '就绪');
|
|
|
- Screen.Cursor := crDefault;
|
|
|
- end;
|
|
|
+ ExpandCurPhase;
|
|
|
end;
|
|
|
|
|
|
procedure TProjectFrame.RepairAudits;
|
|
@@ -1304,4 +1298,19 @@ begin
|
|
|
FDealPaymentFrame.RefreshPhase_Stage;
|
|
|
end;
|
|
|
|
|
|
+procedure TProjectFrame.ExpandCurPhase;
|
|
|
+begin
|
|
|
+ Screen.Cursor := crHourGlass;
|
|
|
+ UpdateSysProgress(0, '正在显示至项目节');
|
|
|
+ try
|
|
|
+ case jpsMain.ActivePageIndex of
|
|
|
+ 1: FBillsMeasureFrame.ExpandCurPhase;
|
|
|
+ 3: FPhaseCompareFrame.ExpandCurPhase;
|
|
|
+ end;
|
|
|
+ finally
|
|
|
+ UpdateSysProgress(0, '就绪');
|
|
|
+ Screen.Cursor := crDefault;
|
|
|
+ end;
|
|
|
+end;
|
|
|
+
|
|
|
end.
|