优化”请假管理办法“不走请假表单

This commit is contained in:
runny committed 2026-06-02 08:20:39 +08:00
1 parent 2a036764e3
commit b0ba0b9df5
1 file changed
+1 -1
+1 -1
View File
@@ -1208,7 +1208,7 @@ const getLeaveIntentNormalized = (content: string) => (content || '').replace(/\
const isStrongLeaveIntent = (content: string) => {
const normalized = getLeaveIntentNormalized(content);
const weakConsultationIntent = /(请假流程|请假怎么走|请假步骤|请假如何申请|请假如何走流程|请假怎么办|请假需要什么|请假规定)/;
const weakConsultationIntent = /(请假流程|请假怎么走|请假步骤|请假如何申请|请假如何走流程|请假怎么办|请假需要什么|请假规定|请假管理办法|请假制度)/;
const materialConsultationIntent = /(提交哪些|提交什么|需要哪些|需要什么|要提交哪些|要提交什么|哪些资料|哪些材料|什么资料|什么材料|申请材料|所需资料|所需材料)/;
if (weakConsultationIntent.test(normalized)) return false;
if (materialConsultationIntent.test(normalized)) return false;