Compare commits

...

2 Commits

Author SHA1 Message Date
xiaoshi e04585a124 Merge remote-tracking branch 'origin/dev' into dev 2024-12-17 09:34:35 +08:00
xiaoshi d1aa5e8c5b 优化代码 资源清单过滤 2024-12-17 09:34:26 +08:00
1 changed files with 3 additions and 2 deletions

View File

@ -54,9 +54,10 @@ public class ResourceFilterExtPlugin extends ResourceItemListPlugin {
Map<String, Object> customParams = formShowParameter.getCustomParams();
Object contractType = customParams.get("contractType");
String firstOpen = this.getPageCache().get("firstOpen");
if (firstOpen == null) {
this.getPageCache().put("firstOpen", "false");
if (firstOpen != null) {
// this.getPageCache().put("firstOpen", "false");
// contractType = "ck";
// this.getPageCache().remove("firstOpen");
if (contractType != null) {
if (contractType.toString().equals("wzcg")) {//物资采购
this.getView().setVisible(true, new String[]{"flexpanelmaterial"});