Merge branch release/21.7.5 of zentao/zentaopms (#11370)

This commit is contained in:
刘刚
2025-09-09 13:38:26 +08:00
committed by Gitfox
3 changed files with 22 additions and 18 deletions
+7 -3
View File
@@ -93,13 +93,17 @@ function getZentaoListProps(type, blockID, props)
if(props && props.isTemplate) blockID = '__TML_ZENTAOLIST__' + blockID;
const zentaoListLang = getLang('zentaoList');
const exportUrl = $.createLink('doc', 'ajaxExportZentaoList', `blockID=${blockID}`);
const exportUrl = `${location.origin}${$.createLink('doc', 'ajaxExportZentaoList', `blockID=${blockID}`)}`;
const title = [(zentaoListLang ? zentaoListLang[type] : type), getLang('list')].join(config.clientLang.includes('zh') ? '' : ' ');
return $.extend(
{
title: [(zentaoListLang ? zentaoListLang[type] : type), getLang('list')].join(config.clientLang.includes('zh') ? '' : ' '),
exportUrl: `${location.origin}${exportUrl}`,
title: title,
fetcher: $.createLink('doc', 'zentaoList', `type=${type}&blockID=${blockID}`),
clearBeforeLoad: false
}, type === 'gantt' ? {
export: [{type: 'link', props: {text: title, href: exportUrl}}]
} : {
exportUrl: exportUrl,
}, props);
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long