xj qian
2025-03-11 0c79ccadf95914d3f9c425dd7823974a7656a893
jrj/project/start.vframe.vbusiness.cpp
@@ -899,7 +899,6 @@
      trace((xstring)L"\r\n====113======L" + ele.xml());
      dw_list.SetRow(row);
      if (GetEntityID(1) == L"") return -1;
      xframe::SetAgent((xstring)L"letter", GetEntityID(1));
      //trace(ele.xml);
      xaserverarg arg;
@@ -921,6 +920,9 @@
      xshtml ht = GetControl(L"taskinfo");
      ht.SetContent(doc.xml());
      ht.Redraw();
      //xframe::SetAgent((xstring)L"letter", GetEntityID(1));
      return 1;
   }
@@ -934,7 +936,13 @@
      trace(L"\r\n-------" + (xstring)row);
      ShowDetail(row);
      if (ShowDetail(row) != 1)
      {
         xstring xfNodeAgentArea = L"agentarea";
         xnode anode = GetAgentNode(xfNodeAgentArea);
         this->SetAgentNode(anode, L"<vbox/>");
      }
      else
      SetAgent();
      return 1;
@@ -946,7 +954,13 @@
      int row = hdr.row;
      if (row<0 || row>dw_list.GetRowCount()) return 0;
      trace(L"\r\n-----222------");
      ShowDetail(row);
      if (ShowDetail(row) != 1)
      {
         xstring xfNodeAgentArea = L"agentarea";
         xnode anode = GetAgentNode(xfNodeAgentArea);
         this->SetAgentNode(anode, L"<vbox/>");
      }
      else
      SetAgent();
      return 1;