35 lines
1.1 KiB
Java
35 lines
1.1 KiB
Java
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);
|
||
}
|
||
}
|
||
}
|