From e79bdabaedd70b8edd5f4d06c2a45a9c6361ccff Mon Sep 17 00:00:00 2001
From: qianxj2004 <qianxj15@sina.com>
Date: 星期一, 24 八月 2026 17:36:28 +0800
Subject: [PATCH] update image path
---
jrj/project/business/Affair/Business5.cpp | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/jrj/project/business/Affair/Business5.cpp b/jrj/project/business/Affair/Business5.cpp
index 34f9a1d..f8e2cc6 100644
--- a/jrj/project/business/Affair/Business5.cpp
+++ b/jrj/project/business/Affair/Business5.cpp
@@ -1,3 +1,4 @@
+#pragma once
#include <wobject/xstring.hpp>
#include <xcontrol/xtreeview.hpp>
#include <xcontrol/xdwgrid.hpp>
@@ -7,6 +8,8 @@
#include "vbusiness/vframe/listwin.vframe.vbusiness.hpp"
#include "viewobject/view.base.hpp"
#include "xcontrol/xshtml.hpp"
+
+
using xml = KXMLDOMDocument;
@@ -188,18 +191,18 @@
int ret = 0;
if(comdid.find(L"action:",0)>=0)
{
- ret =SendMessage(GetHWND(),0x401,(LPARAM)comdid,0);
+ ret =SendMessage(sheet.GetHWND(),0x401,(LPARAM)comdid.c_str(), 0);
}
if(comdid==L"xmRefreshTask")
{
trace(L"\r\n----refresh task--------");
- SendMessage(GetHWND(),0x401,(LPARAM)comdid,0);
+ SendMessage(sheet.GetHWND(),0x401,(LPARAM)comdid.c_str(), 0);
return 1;
}
if(comdid==L"xmRefresh")
{
trace(L"\r\n----refresh--------");
- ret =SendMessage(GetHWND(),0x401, (LPARAM)comdid,0);
+ ret =SendMessage(sheet.GetHWND(),0x401, (LPARAM)comdid.c_str(), 0);
}
if(comdid == L"xmRertieve")
{
@@ -410,7 +413,7 @@
trace(ele.xml());
arg.AddArg(L"content",ele.xml());
- xml doc=new xml;
+ xml doc;
if(getUrl(L"/sale/data/vpage/vstart/task",arg.GetString(),doc)!=1)
{
trace((xstring)L"error->:"+doc.xml());
--
Gitblit v1.9.3