:feat: 项目立项与合同列表新增批量推送合规按钮

This commit is contained in:
刘泉佳
2026-10-15 19:42:02 +08:00
parent 7ea96bcdc0
commit 411fdd2425
3 changed files with 100 additions and 2 deletions
+9
View File
@@ -10,6 +10,15 @@ export const repush = (bizType, id) =>
timeout: 60000,
});
// 批量推送为逐条同步推送,耗时随勾选行数线性增长,进一步放宽超时
export const repushBatch = (bizType, ids) =>
request({
url: `${baseUrl}/sync/${bizType}/batch`,
method: 'post',
data: ids,
timeout: 300000,
});
export const getTemplates = () =>
request({
url: `${baseUrl}/master-data/template`,