|
|
@@ -60,12 +60,16 @@ public class DynamicActivitiesListPulgin extends AbstractListPlugin implements P
|
|
|
}
|
|
|
|
|
|
public void showTab(String tabKey,String BillFormId){
|
|
|
+ //获取从考核活动列表跳转过了,携带的考核活动id
|
|
|
+ Object activityId = this.getView().getFormShowParameter().getCustomParam("ActivityId");
|
|
|
ListShowParameter listShowParameter = new ListShowParameter();
|
|
|
// 将页面嵌入哪个容器,容器标识,需要将 targetKey 替换为具体的容器标识,比如你单据上的 test_flex
|
|
|
listShowParameter.getOpenStyle().setTargetKey(tabKey);
|
|
|
// 设置列表风格
|
|
|
listShowParameter.setFormId("bos_list");
|
|
|
listShowParameter.setBillFormId(BillFormId);
|
|
|
+ //携带考核活动id
|
|
|
+ listShowParameter.setCustomParam("ActivityId", activityId);
|
|
|
// 显示类型,设置为在容器中显示
|
|
|
listShowParameter.getOpenStyle().setShowType(ShowType.InContainer);
|
|
|
this.getView().showForm(listShowParameter);
|