feat: 完善出海商机管道快速录入、RTL服务端首屏渲染与AI顾问留资动效闭环
这个提交包含在:
@@ -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');
|
||||
});
|
||||
|
||||
在新工单中引用
屏蔽一个用户