优化代码
This commit is contained in:
parent
5af47982cd
commit
050dcde6c8
|
@ -28,7 +28,7 @@ public class ResourceFilterExtPlugin extends ResourceItemListPlugin {
|
|||
|
||||
// contractType="ck";
|
||||
if (contractType != null) {
|
||||
if (contractType.toString().equals("wzcg")) {//物资采购
|
||||
if (contractType.toString().equals("wzcg01")) {//物资采购
|
||||
this.setResourceTypeStyle("material");
|
||||
this.afterSelectedTag("material");
|
||||
} else if (contractType.toString().equals("sbcg")) {//设备采购
|
||||
|
@ -59,7 +59,7 @@ public class ResourceFilterExtPlugin extends ResourceItemListPlugin {
|
|||
// contractType = "ck";
|
||||
// this.getPageCache().remove("firstOpen");
|
||||
if (contractType != null) {
|
||||
if (contractType.toString().equals("wzcg")) {//物资采购
|
||||
if (contractType.toString().equals("wzcg01")) {//物资采购
|
||||
this.getView().setVisible(true, new String[]{"flexpanelmaterial"});
|
||||
this.getView().setVisible(false, new String[]{"flexpanelsub", "flexpanellabour", "flexpanelcomposite", "flexpanelequipment", "flexpanelturnover","flexpanelother"});
|
||||
} else if (contractType.toString().equals("sbcg")) {//设备采购
|
||||
|
|
Loading…
Reference in New Issue