Index: ssts-web/src/main/webapp/homepage/portalPage.js =================================================================== diff -u -r36343 -r36358 --- ssts-web/src/main/webapp/homepage/portalPage.js (.../portalPage.js) (revision 36343) +++ ssts-web/src/main/webapp/homepage/portalPage.js (.../portalPage.js) (revision 36358) @@ -574,7 +574,7 @@ } if (quickJumpGroupStorageImg){ - setQuickJumpGroupStorage(quickJumpGroupStorage.split(';')) + setQuickJumpGroupStorage(quickJumpGroupStorageArr) quickJumpGroupStorageImg.on('mouseenter', function(e) { storageMenu.showAt(e.getXY()); }); @@ -1215,13 +1215,13 @@ if(!sstsConfig.enableWarehousePositionModule && itemId == 'storageLocationManagerLook'){ return returnContent; }else if(sstsConfig.enableWarehousePositionModule && itemId == 'storageLocationManagerLook'){ - if(quickJumpGroupStorage.split(';').length == 1){ + if(quickJumpGroupStorageArr.length == 1){ var itemLinkUrl; var title; - if(quickJumpGroupStorage == '物品存取'){ + if(quickJumpGroupStorageArr[0] == '物品存取'){ itemLinkUrl = '/disinfectsystem/storageLocationManage/goodsAccess.jsp' title = '物品存取'; - }else if(quickJumpGroupStorage == '库位管理'){ + }else if(quickJumpGroupStorageArr[0] == '库位管理'){ itemLinkUrl = '/disinfectsystem/storageLocationManage/storageLocationManageView.jsp' title = '库位管理'; }else { @@ -1232,11 +1232,13 @@ returnContent += '

'; returnContent += ''+ title +''; return returnContent; - }else { + }else if(quickJumpGroupStorageArr.length > 1){ returnContent += '
  • '; returnContent += '

    '; returnContent += '库位管理
  • '; return returnContent; + }else { + return returnContent; } } Index: ssts-web/src/main/webapp/homepage/portalPage.jsp =================================================================== diff -u -r36343 -r36358 --- ssts-web/src/main/webapp/homepage/portalPage.jsp (.../portalPage.jsp) (revision 36343) +++ ssts-web/src/main/webapp/homepage/portalPage.jsp (.../portalPage.jsp) (revision 36358) @@ -111,6 +111,29 @@ var profile = '${profile}'; var quickJumpOperationTousseOp = '${quickJumpOperationTousseOp}'; var quickJumpGroupStorage = '${quickJumpGroupStorage}'; + var quickJumpGroupStorageArr = []; + //库存查看 + var SSTS_storageLocationLook_Manager = false; + + SSTS_storageLocationLook_Manager = true; + + //物品存取 + var SSTS_goodsAccess_Manager = false; + + SSTS_goodsAccess_Manager = true + + if(quickJumpGroupStorage !== ''){ + var storageArr = quickJumpGroupStorage.split(';'); + for(var i=0;i