提交人:陈绍鑫

日期:2025/5/9 16:30
内容:销户申请审批修改
This commit is contained in:
陈绍鑫 2025-05-10 18:11:37 +08:00
parent d6bda87337
commit 111c34decb
2 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,7 @@
package shkd.sys.sys.plugin.mob;
import kd.bos.bill.AbstractMobBillPlugIn;
import kd.bos.form.IPageCache;
import kd.bos.form.events.AfterDoOperationEventArgs;
import kd.bos.logging.Log;
import kd.bos.logging.LogFactory;
@ -22,6 +23,9 @@ public class AccountClosureMobBillPlugin extends AbstractMobBillPlugIn implement
if (afterDoOperationEventArgs.getOperateKey().equals("donothing")) {
boolean success = afterDoOperationEventArgs.getOperationResult().isSuccess();//是否成功
if (success) {
this.getPageCache().put("xhsuccess", String.valueOf(true));
String xhsuccess = this.getPageCache().get("xhsuccess");
logger.info("xhsuccess"+xhsuccess);
logger.info("进入donothing");
// 插件代码
HashMap<String, Object> map = new HashMap<>();

View File

@ -2,6 +2,7 @@ package shkd.sys.sys.plugin.mob;
import kd.bos.bill.AbstractMobBillPlugIn;
import kd.bos.form.CloseCallBack;
import kd.bos.form.IPageCache;
import kd.bos.form.container.Container;
import kd.bos.form.control.Button;
import kd.bos.form.control.Toolbar;
@ -27,6 +28,10 @@ public class ApprovalMobBillPlugin extends AbstractMobBillPlugIn implements Plug
logger.info("进入afterDoOperation方法");
if (afterDoOperationEventArgs.getOperateKey().equals("donothing")) {
logger.info("进入donothing");
IPageCache iPageCache = this.getView().getParentView().getService(IPageCache.class);
String xhsuccess = iPageCache.get("xhsuccess");
logger.info("xhsuccess"+xhsuccess);
// 插件代码
HashMap<String, Object> map = new HashMap<>();
map.put("method", "setLocalStorage");