From 9bb6a0167550f32338c2ac48223fc4d4e035de08 Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期三, 28 一月 2026 09:54:21 +0800
Subject: [PATCH] update
---
jrj/project/workflow/workflow.chkdlg.cpp | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/jrj/project/workflow/workflow.chkdlg.cpp b/jrj/project/workflow/workflow.chkdlg.cpp
index e500ef2..582be53 100644
--- a/jrj/project/workflow/workflow.chkdlg.cpp
+++ b/jrj/project/workflow/workflow.chkdlg.cpp
@@ -14,17 +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");
- arg.AddArg(L"content", xc.GetText());
+ xstring str = xc.GetText();
+ if (str == L"")
+ {
+ alert("审批意见为空!");
+ return 0;
+ }
+ arg.AddArg(L"content", str);
+
}
arg.AddArg(L"comdid", comdid);
}
@@ -66,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;
}
};
\ No newline at end of file
--
Gitblit v1.9.3