lifan
7 天以前 8bdc5247732b1985bed6ee483f6be07567312f4a
jrj/project/workflow/workflow.chkdlg.cpp
@@ -14,19 +14,21 @@
      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("审批意见为空!");
            arg.AddArg(L"content", str);
         }
         arg.AddArg(L"comdid", comdid);
      }
@@ -68,12 +70,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;
   }
};