|
@@ -229,6 +229,8 @@ public class ApprovalListFragment extends ViewPagerLazyFragment implements OnSma
|
|
|
e.setNodeDealMan(JSONUtil.getText(object, "JP_NODEDEALMANNAME"));
|
|
e.setNodeDealMan(JSONUtil.getText(object, "JP_NODEDEALMANNAME"));
|
|
|
e.setLauncherCode(JSONUtil.getText(object, "JP_LAUNCHERID"));
|
|
e.setLauncherCode(JSONUtil.getText(object, "JP_LAUNCHERID"));
|
|
|
e.setOperatedDescription(JSONUtil.getText(object, "JN_OPERATEDDESCRIPTION"));
|
|
e.setOperatedDescription(JSONUtil.getText(object, "JN_OPERATEDDESCRIPTION"));
|
|
|
|
|
+ e.setJp_form(JSONUtil.getText(object, "JP_FORM"));
|
|
|
|
|
+
|
|
|
approvalLists.add(setSubTitle(e));
|
|
approvalLists.add(setSubTitle(e));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -328,7 +330,13 @@ public class ApprovalListFragment extends ViewPagerLazyFragment implements OnSma
|
|
|
intent.putExtra("imid", model.getImid());
|
|
intent.putExtra("imid", model.getImid());
|
|
|
intent.putExtra("title", title);
|
|
intent.putExtra("title", title);
|
|
|
intent.putExtra("type", tabItem);
|
|
intent.putExtra("type", tabItem);
|
|
|
- intent.putExtra("master", model.getMaster());
|
|
|
|
|
|
|
+ String jp_form = model.getJp_form();
|
|
|
|
|
+ String master = model.getMaster();
|
|
|
|
|
+ if (!TextUtils.isEmpty(jp_form) && !TextUtils.isEmpty(master) && jp_form.contains(master)) {
|
|
|
|
|
+ intent.putExtra("master", model.getMaster());
|
|
|
|
|
+ } else {
|
|
|
|
|
+ intent.putExtra("master", CommonUtil.getMaster());
|
|
|
|
|
+ }
|
|
|
intent.putExtra("nodeid", Integer.valueOf(model.getNodeId()));
|
|
intent.putExtra("nodeid", Integer.valueOf(model.getNodeId()));
|
|
|
startActivity(intent);
|
|
startActivity(intent);
|
|
|
}
|
|
}
|