xj qian
2024-10-29 d8de151f16b2cfd2095a82dbf002b97e90db5eb3
jrj/project/start.vframe.vbusiness.cpp
@@ -35,7 +35,7 @@
      dw_list.Retrieve(doc);
      dw_list.CreateTree((LPCWSTR)L"node()", 1, 15, 16);
      dw_list.Redraw();
      /*
      dw_list.Redraw();
      dw_list.SetReadOnly(true);
@@ -123,8 +123,7 @@
      {
         //return frame::GetReason(pr);
         arg.AddArg(L"EntityID", GetEntityID(2));
         arg.AddArg(L"_ModuelPage", L"dev:xpage[workflow.chkdlg.vx]");
         OpenWindow(L"dev:xpage[vindexforold.vx]", arg);
         OpenWindow(L"dev:xpage[workflow.chkdlg.vx]", arg);
         //openUrl(L"/sale/view/workflow.view/xpage/chkdlg", arg);                           
         xstring comdid2 = arg.GetArgString(L"comdid");
         if (comdid2 == L"xmOK")
@@ -258,7 +257,7 @@
         return 1;
      }
      int pr = pr1;
      LPARAM  pr = pr1;
      xstring action = comdid.mid(comdid.find(L"action:", 0) + 7, 9999);
      if (action == L"bill.delete" || action == L"bill.deleteEx")
      {
@@ -482,7 +481,7 @@
         return 1;
      }
      int pr = pr1;
      LPARAM  pr = pr1;
      xstring action = comdid.mid(comdid.find(L"action:",0)+7,9999);
      if(action == L"bill.delete" || action == L"bill.deleteEx")
      {
@@ -914,7 +913,7 @@
         return 0;
      }
      //trace(L"----1111----");
      if (doc.xml() == L"")
      if ((xstring)doc.xml() == L"")
         return -1;
      //trace(doc.xml());
@@ -957,7 +956,7 @@
   {
      //alert(L"xxxxxxxxxxx");
      //SetAgent();
      AttachEvent(L"WM_SETFOCUS", (FEvent)&startvframevbusiness::OnSetFocus);
      //AttachEvent(L"WM_SETFOCUS", (FEvent)&startvframevbusiness::OnSetFocus);
      //绑定工具条点击事件
      AttachEvent(L"WM_XCOMMAND", (FEvent)&startvframevbusiness::OnXCommand);
      //AttachEvent(L"WM_TIMER",OnTimer);