xj qian
2025-04-10 65a0a22fc5385eed07417706a5ad3ef5a21e2ead
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;