From a9c816c513d4caf834362c9108b977f6fd02a45b Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期三, 15 四月 2026 16:11:47 +0800
Subject: [PATCH] update
---
jrj/project/HomeWin.cpp | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/jrj/project/HomeWin.cpp b/jrj/project/HomeWin.cpp
index a6783db..189e295 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;
@@ -708,7 +707,7 @@
return 1;
}
}
- if (userno == L"00601" || userno == L"00701" || userno == L"admin")
+ if (userno == L"00601" || userno == L"00618" || userno == L"00701" || userno == L"admin")
{
if (comdid == L"SourceRemark")
{
@@ -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