|
|
@@ -1,5 +1,6 @@
|
|
|
package uzi9.uzi9q.opmcepaq.epaq.plugin.form.activities;
|
|
|
|
|
|
+import com.google.common.collect.Maps;
|
|
|
import kd.bos.form.IPageCache;
|
|
|
import kd.bos.form.ShowType;
|
|
|
import kd.bos.form.container.Tab;
|
|
|
@@ -13,6 +14,7 @@ import kd.bos.list.plugin.AbstractListPlugin;
|
|
|
import kd.sdk.plugin.Plugin;
|
|
|
|
|
|
import java.util.EventObject;
|
|
|
+import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
* 考核活动列表
|
|
|
@@ -66,6 +68,12 @@ public class DynamicActivitiesListPulgin extends AbstractListPlugin implements P
|
|
|
// 设置列表风格
|
|
|
listShowParameter.setFormId("bos_list");
|
|
|
listShowParameter.setBillFormId(BillFormId);
|
|
|
+ //参数传递
|
|
|
+ Map<String, Object> receivedParams = this.getView().getFormShowParameter().getCustomParams();
|
|
|
+ //避免参数丢失
|
|
|
+ Map<String, Object> listShow = Maps.newHashMap();
|
|
|
+ listShow.putAll(receivedParams);
|
|
|
+ listShowParameter.setCustomParams(listShow);
|
|
|
// 显示类型,设置为在容器中显示
|
|
|
listShowParameter.getOpenStyle().setShowType(ShowType.InContainer);
|
|
|
this.getView().showForm(listShowParameter);
|