From 65a0a22fc5385eed07417706a5ad3ef5a21e2ead Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期四, 10 四月 2025 17:59:33 +0800 Subject: [PATCH] update --- jrj/project/HomeWin.cpp | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/jrj/project/HomeWin.cpp b/jrj/project/HomeWin.cpp index a6783db..d503a2a 100644 --- a/jrj/project/HomeWin.cpp +++ b/jrj/project/HomeWin.cpp @@ -6,7 +6,6 @@ #include "xcontrol/xshtml.hpp" #include "vbusiness/vframe/frame.vframe.vbusiness.hpp" #include "viewobject/view.base.hpp" -#include "xcontrol/xshtml.hpp" using xml = Hxsoft::XFrame::KXMLDOMDocument; @@ -905,7 +904,7 @@ arg.AddArg(L"content", ele.xml()); xml doc; - if (getUrl(L"/sale/data/vpage/vstart/task", arg.GetString(), doc) != 1) + if (getUrl(L"/sale/data/vpage/vstart/taskex", arg.GetString(), doc) != 1) { trace((xstring)L"error->:" + doc.xml()); return 0; @@ -939,18 +938,20 @@ else { SetAgent(); - ShowAgentInfo(); + //ShowAgentInfo(); } return 1; } + /* int ShowAgentInfo() { xstring taskID = GetTaskID(); if (taskID != L"") { - KXMLDOMDocument x = ViewObject::RetrieveData(L"/sale/data/Agent/task", L"TaskID", taskID); + //KXMLDOMDocument x = ViewObject::RetrieveData(L"/sale/data/Agent/task", L"TaskID", taskID); + KXMLDOMDocument x = ViewObject::RetrieveData(L"/sale/data/Agent/entity", L"EntityID", GetEntityID(0)); if (x) { xshtml xs = GetControl(L"frame:agentinfo"); @@ -960,7 +961,8 @@ } } return 1; - } + }*/ + int OnRowChanged(TEvent* evt, LPARAM p) { DWNMHDR& hdr = *(DWNMHDR*)evt->notify.pnmh; @@ -976,7 +978,7 @@ else { SetAgent(); - ShowAgentInfo(); + //ShowAgentInfo(); } return 1; -- Gitblit v1.9.3