From a6b54d999992d72b2d9ea33efec0b7d642ea9f2d Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期四, 18 七月 2024 12:21:12 +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..75b4249 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); + x = ViewObject::AddMessage(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