fix(aihr): align supervisor scenario options

This commit is contained in:
2026-07-14 14:04:35 +08:00
parent c7ebe6d31c
commit 750e546e47
5 changed files with 13 additions and 8 deletions
+3 -1
View File
@@ -159,8 +159,10 @@ test('主管页面共享三个业务场景及文本推荐规则', () => {
'repair-elevator-delay'
]);
assert.match(practiceServiceSource, /getPracticeScenarios/);
assert.match(assignPageSource, /scenarioOptions/);
assert.match(assignPageSource, /v-for="item in scenarioOptions"/);
assert.match(assignPageSource, /暂无可派发的已启用场景/);
assert.match(reviewPageSource, /scenarioOptions/);
assert.match(reviewPageSource, /scenarioOptions\.value = \[\]/);
assert.equal(inferSupervisorScenarioId('电梯故障沟通低分'), 'repair-elevator-delay');
assert.equal(inferSupervisorScenarioId('投诉接待需要补练'), 'complaint-water');
assert.equal(inferSupervisorScenarioId('催缴物业费'), 'fee-parking');