From 0460cb331dd3f3157de45f5f408af986c6bd7a94 Mon Sep 17 00:00:00 2001 From: geekgeekrun Date: Tue, 10 Feb 2026 04:06:49 +0800 Subject: [PATCH] add block company config field in ui of ghosting reminder --- .../page/MainLayout/ReadNoReplyReminder.vue | 28 +++++++++++++++---- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/packages/ui/src/renderer/src/page/MainLayout/ReadNoReplyReminder.vue b/packages/ui/src/renderer/src/page/MainLayout/ReadNoReplyReminder.vue index f370852..3f55c0e 100644 --- a/packages/ui/src/renderer/src/page/MainLayout/ReadNoReplyReminder.vue +++ b/packages/ui/src/renderer/src/page/MainLayout/ReadNoReplyReminder.vue @@ -31,6 +31,21 @@ + +
+ + 发送提醒消息前,先按照“自动开聊-不期望投递公司正则”校验正在与BOSS沟通的岗位是否归属于不期望投递的公司,如果是,则不提醒 + + +
+
@@ -258,7 +273,8 @@ const formContent = ref({ rechatContentSource: 1, recentMessageQuantityForLlm: 8, rechatLlmFallback: RECHAT_LLM_FALLBACK.SEND_LOOK_FORWARD_EMOTION, - onlyRemindBossWithExpectJobType: true + onlyRemindBossWithExpectJobType: true, + onlyRemindBossWithoutBlockCompanyName: true } }) @@ -296,15 +312,17 @@ electron.ipcRenderer.invoke('fetch-config-file-content').then((res) => { }) const expectJobTypeRegExpStr = ref('') -async function fetchExpectJobTypeRegExpStr() { +const blockCompanyNameRegExpStr = ref('') +async function fetchAutoStartChatConfig() { await electron.ipcRenderer.invoke('fetch-config-file-content').then((res) => { expectJobTypeRegExpStr.value = res.config['boss.json']?.expectJobTypeRegExpStr + blockCompanyNameRegExpStr.value = res.config['boss.json']?.blockCompanyNameRegExpStr }) } -fetchExpectJobTypeRegExpStr() -mittBus.on('auto-start-chat-with-boss-config-saved', fetchExpectJobTypeRegExpStr) +fetchAutoStartChatConfig() +mittBus.on('auto-start-chat-with-boss-config-saved', fetchAutoStartChatConfig) onUnmounted(() => { - mittBus.off('auto-start-chat-with-boss-config-saved', fetchExpectJobTypeRegExpStr) + mittBus.off('auto-start-chat-with-boss-config-saved', fetchAutoStartChatConfig) }) const resumeContent = ref(null)