From a45547cb13fde42a735daf910cf2ffcedd3a12d6 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期五, 28 六月 2024 10:09:23 +0800
Subject: [PATCH] update quote enquiry

---
 jrj/xframe/vbusiness/vframe/listwin.vframe.vbusiness.hpp |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/jrj/xframe/vbusiness/vframe/listwin.vframe.vbusiness.hpp b/jrj/xframe/vbusiness/vframe/listwin.vframe.vbusiness.hpp
index 899c8d3..72246ac 100644
--- a/jrj/xframe/vbusiness/vframe/listwin.vframe.vbusiness.hpp
+++ b/jrj/xframe/vbusiness/vframe/listwin.vframe.vbusiness.hpp
@@ -18,7 +18,9 @@
 	int m_pageNumber;
 	listEx* m_listEx;
 
-	listwin(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd){}
+	listwin(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd){
+		this->SetArg();
+	}
 
 	xstring GetEntityWorkNode(/*param*/LPARAM pr, xstring what)
 	{
@@ -147,14 +149,14 @@
 
 	int getURLParam()
 	{
-		if (GetParam())
+		if (GetWinParam())
 		{
-			xaserverarg* arg = (xaserverarg * )GetParam();
-			xstring config = arg->GetArgString(L"config");
+			xaserverarg arg = GetArg();
+			xstring config = arg.GetArgString(L"config");
 			KXMLDOMDocument x;
 			if (config == L"")
 			{
-				string configXml = arg->GetArgString(L"configxml");
+				string configXml = arg.GetArgString(L"configxml");
 				if (configXml == L"") return 1;
 				x.loadXML(configXml);
 			}
@@ -766,7 +768,7 @@
 			KXMLDOMElement e = n;
 			//trace("m_configDoc//list/dwview[@type='dwgrid'][1]="+e.xml);
 			xstring vface = m_configDoc.selectSingleNode(L"//vface[1]").text();
-			xstring dwname = L"";//e.selectsingleNode("@name").text;
+			string dwname = L"";//e.selectsingleNode("@name").text;
 			xstring tpl = GetTemplateUrl();//e.selectsingleNode("@url").text;
 			xstring selectmode = L"4";
 			if (e.selectSingleNode(L"@name")) dwname = e.selectSingleNode(L"@name").text();

--
Gitblit v1.9.3