From bfdb592a41fe1dfda178231539bc2dab45c8fbee Mon Sep 17 00:00:00 2001
From: qianxj2004 <qianxj15@sina.com>
Date: 星期三, 09 九月 2026 10:53:38 +0800
Subject: [PATCH] update flow state

---
 jrj/project/business/Affair/Business5.cpp |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/jrj/project/business/Affair/Business5.cpp b/jrj/project/business/Affair/Business5.cpp
index f8e2cc6..64afea7 100644
--- a/jrj/project/business/Affair/Business5.cpp
+++ b/jrj/project/business/Affair/Business5.cpp
@@ -102,6 +102,21 @@
 				dw_Recovery.Redraw();
 				dw_Recovery.SetReadOnly(true);
 			}
+			else if (selectname == L"流程状况")
+			{
+				xml doc;
+				if (getUrl(L"/sale/data/vpage/vstart/workflow/state", L"", doc) != 1)
+				{
+					trace((xstring)L"error->:" + doc.xml());
+					return 0;
+				}
+				if (doc.xml() == L"")
+					return -1;
+				//trace(doc.xml());
+				xshtml ht = GetControl(L"taskinfo");
+				ht.SetContent(doc.xml());
+				ht.Redraw();
+			}
 			AdjustTip();
 			return 1;
 		}
@@ -381,6 +396,18 @@
 				RetrieveData();
 				ResetAgent(L"business5");
 			}
+			else if (selectname == L"当前节点")
+			{
+				SwitchLayer(L"sheet2", L"frame");
+				sheet = GetChildWin(L"sheet2");
+				ResetAgent(L"business1");
+			}
+			else if (selectname == L"流程状况")
+			{
+				SwitchLayer(L"sheet7", L"frame");
+				RetrieveData();
+				ResetAgent(L"business6");
+			}
 			return 1;
 		}
 		int OnRowChanged(TEvent* evt, int p)

--
Gitblit v1.9.3