From 858d5b84cb2f9311d6e00d90c6f9527e2e6f57b4 Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期四, 04 九月 2025 17:50:13 +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