From 918cf2c844f524641396e72c6ecebcc620c57813 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期五, 18 十月 2024 10:23:34 +0800
Subject: [PATCH] update
---
jrj/project/start.vframe.vbusiness.cpp | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/jrj/project/start.vframe.vbusiness.cpp b/jrj/project/start.vframe.vbusiness.cpp
index f43f0a7..e46e9fa 100644
--- a/jrj/project/start.vframe.vbusiness.cpp
+++ b/jrj/project/start.vframe.vbusiness.cpp
@@ -35,7 +35,7 @@
dw_list.Retrieve(doc);
dw_list.CreateTree((LPCWSTR)L"node()", 1, 15, 16);
-
+ dw_list.Redraw();
/*
dw_list.Redraw();
dw_list.SetReadOnly(true);
@@ -53,8 +53,8 @@
int nRow = dw_list.GetRow();
if (nRow < 0) return L"";
KXMLDOMElement ele = dw_list.GetRowElement(nRow);
- xstring x = ele.getAttribute(L"category");
- return x;
+ if (!ele) return L"";
+ return ele.getAttribute(L"category");
}
xstring GetEntityID(LPARAM pr)
@@ -123,8 +123,7 @@
{
//return frame::GetReason(pr);
arg.AddArg(L"EntityID", GetEntityID(2));
- arg.AddArg(L"_ModuelPage", L"dev:xpage[workflow.chkdlg.vx]");
- OpenWindow(L"dev:xpage[vindexforold.vx]", arg);
+ OpenWindow(L"dev:xpage[workflow.chkdlg.vx]", arg);
//openUrl(L"/sale/view/workflow.view/xpage/chkdlg", arg);
xstring comdid2 = arg.GetArgString(L"comdid");
if (comdid2 == L"xmOK")
@@ -258,7 +257,7 @@
return 1;
}
- int pr = pr1;
+ LPARAM pr = pr1;
xstring action = comdid.mid(comdid.find(L"action:", 0) + 7, 9999);
if (action == L"bill.delete" || action == L"bill.deleteEx")
{
@@ -482,7 +481,7 @@
return 1;
}
- int pr = pr1;
+ LPARAM pr = pr1;
xstring action = comdid.mid(comdid.find(L"action:",0)+7,9999);
if(action == L"bill.delete" || action == L"bill.deleteEx")
{
@@ -957,7 +956,7 @@
{
//alert(L"xxxxxxxxxxx");
//SetAgent();
- AttachEvent(L"WM_SETFOCUS", (FEvent)&startvframevbusiness::OnSetFocus);
+ //AttachEvent(L"WM_SETFOCUS", (FEvent)&startvframevbusiness::OnSetFocus);
//绑定工具条点击事件
AttachEvent(L"WM_XCOMMAND", (FEvent)&startvframevbusiness::OnXCommand);
//AttachEvent(L"WM_TIMER",OnTimer);
--
Gitblit v1.9.3