lifan
7 天以前 333b44ca3e8924aa3378f995a3be6c02255937b6
jrj/project/workflow/workflow.chkdlg.cpp
@@ -14,19 +14,25 @@
      return pWin;
   }
public:
   xstring Name;
   //命令发布函数
   int OnCmdDispatch(xstring comdid)
   {
      if (GetWinParam())
      {
         xaserverarg arg = GetArg();
         if (comdid == L"xmOK")
         {
            xcontrol xc = GetControl(L"content");
            xstring str = xc.GetText();
            if (str == L"")str = L".";
            if (str == L"")
            {
               alert("审批意见为空!");
               return 0;
            }
            arg.AddArg(L"content", str);
         }
         arg.AddArg(L"comdid", comdid);
      }
@@ -68,12 +74,14 @@
         xaserverarg argx;
         arg = GetArg();
         argx.AddArg(L"EntityID", arg.GetArgString(L"EntityID"));
         //Name = arg.GetArgString(L"EntityName");
         //alert(arg.GetString());
         xml x ;
         xurl::get(L"/sale/data/workflow.core/workflow/chk/loglist", argx.GetString(), x);
         dw_loglist.Retrieve(x);
         dw_loglist.SetReadOnly(true);
      }
      //alert(Name);
      return 1;
   }
};