parent
816127b403
commit
d7da4e297f
|
@ -17,7 +17,7 @@ public class PurapplyAuditOPPlugin extends AbstractOperationServicePlugIn {
|
|||
public void afterExecuteOperationTransaction(AfterOperationArgs e) {
|
||||
super.afterExecuteOperationTransaction(e);
|
||||
String operationKey = e.getOperationKey();
|
||||
if ("audit1".equals(operationKey)) {
|
||||
if ("submit1".equals(operationKey)) {
|
||||
DynamicObject[] dataEntities = e.getDataEntities();
|
||||
DynamicObject dataEntity = dataEntities[0];
|
||||
dataEntity = BusinessDataServiceHelper.loadSingle(dataEntity.getPkValue(),"recon_settleplanbill");
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
package shkd.todotask;
|
||||
|
||||
import kd.bos.form.events.ClosedCallBackEvent;
|
||||
import kd.bos.logging.Log;
|
||||
import kd.bos.logging.LogFactory;
|
||||
import kd.bos.workflow.taskcenter.plugin.ApprovalPageMobilePluginNew;
|
||||
|
||||
/**
|
||||
* 移动审批处理
|
||||
* qeug_wf_approvaldealp_ext
|
||||
*/
|
||||
|
||||
public class ApprovalPageMobilePlugin extends ApprovalPageMobilePluginNew {
|
||||
|
||||
private static final Log logger = LogFactory.getLog(ApprovalPageMobilePlugin.class);
|
||||
|
||||
@Override
|
||||
public void closedCallBack(ClosedCallBackEvent e){
|
||||
String actionId = e.getActionId();
|
||||
logger.info("获取actionId:%s",actionId);
|
||||
if ("btntransfer".equals(actionId) || "approvalBtn".equals(actionId)){
|
||||
logger.info("获取actionId1:%s",actionId);
|
||||
//转交/同意or驳回操作,从成功页面回调后的情况 || 终止的情况
|
||||
String operation = (String) e.getReturnData();
|
||||
if (!"cancel".equals(operation)){
|
||||
logger.info("close1");
|
||||
this.getView().close();
|
||||
logger.info("close2");
|
||||
}
|
||||
}else {
|
||||
super.closedCallBack(e);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue