feat: 完善出海商机管道快速录入、RTL服务端首屏渲染与AI顾问留资动效闭环

这个提交包含在:
wikiboss
2026-09-21 01:45:14 +08:00
父节点 1faaef3198
当前提交 6b79b8d26b
共有 15 个文件被更改,包括 1070 次插入 和 6 次删除

查看文件

@@ -82,3 +82,17 @@ test('3. crm/pipeline locale 必须包含 menu.crm.pipeline 与看板文案', ()
assert.ok(content.includes('crmPipeline.status.archived'), '必须包含归档状态文案');
assert.ok(!/\bany\b/.test(content), 'locale 禁止使用 any');
});
test('4. crm/pipeline 必须支持泳道快速录入商机 Modal 与对应语言包', () => {
const content = fs.readFileSync(pipelinePagePath, 'utf-8');
assert.ok(content.includes('Modal'), '必须使用 Arco Modal 弹窗录入新商机');
assert.ok(
content.includes('admin/crm/lead/add') || content.includes('lead/add'),
'必须支持调用新增商机 API'
);
assert.ok(content.includes('crmPipeline.action.quickAdd'), '必须包含快速新增按钮文案绑定');
const localeContent = fs.readFileSync(pipelineLocalePath, 'utf-8');
assert.ok(localeContent.includes('crmPipeline.action.quickAdd'), '语言包必须包含 crmPipeline.action.quickAdd');
assert.ok(localeContent.includes('crmPipeline.modal.quickAddTitle'), '语言包必须包含 crmPipeline.modal.quickAddTitle');
});