From a4d2315ee4ca3f6177b4fb2526bed2feff3d89be Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期三, 22 十月 2025 16:52:58 +0800
Subject: [PATCH] update
---
jrj/project/business/Public/UserGroupShare.cpp | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/jrj/project/business/Public/UserGroupShare.cpp b/jrj/project/business/Public/UserGroupShare.cpp
index 51f37e5..391081c 100644
--- a/jrj/project/business/Public/UserGroupShare.cpp
+++ b/jrj/project/business/Public/UserGroupShare.cpp
@@ -152,6 +152,7 @@
AttachEvent(L"WM_XCOMMAND", (FEvent)&UserGroupShareWin::OnXCommand);
//获取焦点事件,用于重置工具条
AttachEvent(L"WM_SETFOCUS", (FEvent)&UserGroupShareWin::OnSetFocus);
+ return 1;
}
int Send(xstring PersonID, xstring CName, xstring NO, xstring EntityID)
@@ -166,13 +167,13 @@
KXMLDOMNodeList nlist = x.selectNodes(L"//data/Item");
KXMLDOMElement xitem = nlist.item(0);
xstring Reciever = xitem.selectSingleNode(L"userno").text();
- xitem.Release();
+
/*alert(L"Category:"+Category +
"\r\nReciever:"+Reciever + L"\r\nNo:"+NO + L"\r\nEntityID:"+EntityID + L"Subject:"+Subject+
"\r\nContent:"+Content);
*/
- x = ViewObject::AddMessage(Category, Reciever, NO, EntityID, Subject, Content);
+ ViewObject::AddMessage(GetServerUrl(), Category, Reciever, NO, EntityID, Subject, Content);
return 1;
}
@@ -208,7 +209,7 @@
Send(PersonID, CName, EntityNo, EntityID);
}
}
- xitem.Release();
+
//return 1;
}
@@ -274,6 +275,7 @@
int onload()
{
+ SetArg();
dw_list = GetControl(L"dw_list");
dw_list.openUrl(L"/sale/view/UserGroup/template/entityusergrouplist");
dw_list.SetReadOnly(true);
--
Gitblit v1.9.3