Merge branch 'master' of https://gitlab.zcorp.cc/easycorp/zentaopms into tsj_sort

This commit is contained in:
tianshujie
2023-04-18 10:44:37 +08:00
111 changed files with 166 additions and 93 deletions
+3 -1
View File
@@ -495,6 +495,7 @@ $(function()
type = ['view', 'collect', 'createdby', 'editedby'].indexOf(type.toLowerCase()) !== -1 ? type.toLowerCase() : 'mine';
linkParams = 'type=' + type + '&' + linkParams;
}
if(type == 'apiDoc') linkParams = linkParams.replace('browseType=&', 'browseType=byrelease&').replace('param=0', 'param=<?php echo isset($release) ? $release : 0;?>');
}
location.href = createLink(moduleName, methodName, linkParams);
@@ -615,7 +616,8 @@ $(function()
var methodName = config.currentMethod;
if(config.currentModule == 'doc')
{
params = linkParams.replace('%s', 'libID=' + libID + '&moduleID=' + moduleID).replace('browseType=&', 'browseType=byrelease&').replace('param=0', 'param=' + moduleID);
params = linkParams.replace('%s', 'libID=' + libID + '&moduleID=0').replace('browseType=&', 'browseType=byrelease&').replace('param=0', 'param=' + moduleID);
if(methodName == 'view') params = linkParams.replace('%s', 'libID=' + libID + '&moduleID=0&browseType=byrelease&orderBy=&status,id_desc&param=' + moduleID);
methodName = objectType + 'Space';
}
location.href = createLink(config.currentModule, methodName, params);