diff --git a/README.md b/README.md index 2715926..7edd1db 100644 --- a/README.md +++ b/README.md @@ -92,3 +92,13 @@ greasyfork地址: ## 最后 嗯... + +## Star 趋势 + + + + + + Star History Chart + + \ No newline at end of file diff --git a/README.user.md b/README.user.md index 337b81f..c43336a 100644 --- a/README.user.md +++ b/README.user.md @@ -11,13 +11,13 @@ Boos直聘助手, 皆在减少投递简历的麻烦, 和提高投递简历的效 > > 测试阶段,目前可以正常筛选,自动打招呼并且进行投递,统计,GPT等功能制作中 -## 项目预览 +### 项目预览 [![统计界面](https://s21.ax1x.com/2024/04/02/pFHa3ZD.png)](https://imgse.com/i/pFHa3ZD) [![配置界面](https://s21.ax1x.com/2024/04/02/pFHa8de.png)](https://imgse.com/i/pFHa8de) [![日志界面](https://s21.ax1x.com/2024/04/02/pFHalqO.png)](https://imgse.com/i/pFHalqO) -## 未来计划 +### 未来计划 - [x] 优化UI去除广告 - [x] 批量投递简历 @@ -40,13 +40,13 @@ Boos直聘助手, 皆在减少投递简历的麻烦, 和提高投递简历的效 - [ ] 聊天屏蔽已读消息 - [ ] boos消息弹窗 -# 免责声明 +## 免责声明 本项目仅供学习交流,禁止用于商业用途 使用该脚本有一定风险(如黑号,封号,权重降低等),本项目不承担任何责任 -# 相关链接 +## 相关链接 Github开源地址: @@ -58,3 +58,13 @@ greasyfork地址: - - + +## Star 趋势 + + + + + + Star History Chart + + \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 60d123f..55fd467 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,10 +10,20 @@ import { ElAvatar, } from "element-plus"; import { GM_deleteValue, GM_listValues } from "$"; +import storeVue from "@/components/conf/store.vue"; +import userVue from "@/components/conf/user.vue"; +import logVue from "@/components/conf/log.vue"; import { ref } from "vue"; logger.info("BoosHelper挂载成功"); ElMessage("BoosHelper挂载成功!"); const confBox = ref(false); +const confs = { + store: { name: "存储配置", component: storeVue }, + user: { name: "账号配置", component: userVue }, + log: { name: "日志配置", component: logVue }, +}; +const confKey = ref("store"); + const clone = async () => { if (confirm("将清空脚本全部的设置!!")) { const asyncKeys = await GM_listValues(); @@ -41,29 +51,22 @@ const clone = async () => { BossHelp配置项 - 存储配置 - 日志查看 - 账户配置 + + {{ v.name }} + - - This is a message - - + + + diff --git a/src/components/conf/store.vue b/src/components/conf/store.vue new file mode 100644 index 0000000..92703bd --- /dev/null +++ b/src/components/conf/store.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/src/components/conf/user.vue b/src/components/conf/user.vue index dcc585b..2d1223d 100644 --- a/src/components/conf/user.vue +++ b/src/components/conf/user.vue @@ -1,7 +1,215 @@ - + diff --git a/src/main.ts b/src/main.ts index bb81781..dd660b2 100644 --- a/src/main.ts +++ b/src/main.ts @@ -94,22 +94,32 @@ declare global { send(e: { toArrayBuffer(): ArrayBuffer }): void; }; _PAGE: { - checkMobileUrl: string; - regMobileUrl: string; - loginMobileUrl: string; - loginAccountUrl: string; - getRandomKeyUrl: string; - verifyImgUrl: string; - getPositionUrl: string; - citySiteName: string; - citySiteCode: string; - skillsUrl: string; - uid: number; + isGeekChat: boolean; + zp_token: string; + userId: number; + identity: number; + encryptUserId: string; name: string; - face: string; + showName: string; + tinyAvatar: string; + largeAvatar: string; token: string; + isHunter: boolean; clientIP: string; - zp_token: string; + email: any; + phone: any; + brandName: any; + doubleIdentity: boolean; + recruit: boolean; + agentRecruit: boolean; + industryCostTag: number; + gender: number; + trueMan: boolean; + studentFlag: boolean; + completeDayStatus: boolean; + complete: boolean; + multiExpect: boolean; + uid: number; }; } } diff --git a/src/pages/web/geek/job/hooks/useForm.ts b/src/pages/web/geek/job/hooks/useForm.ts index 60a45b7..acb4203 100644 --- a/src/pages/web/geek/job/hooks/useForm.ts +++ b/src/pages/web/geek/job/hooks/useForm.ts @@ -8,11 +8,11 @@ import deepmerge from "@/utils/deepmerge"; import { FormData, Statistics } from "@/types/formData"; import { getCurDay } from "@/utils"; -const formDataKey = "web-geek-job-FormData"; -const todayKey = "web-geek-job-Today"; -const statisticsKey = "web-geek-job-Statistics"; +export const formDataKey = "web-geek-job-FormData"; +export const todayKey = "web-geek-job-Today"; +export const statisticsKey = "web-geek-job-Statistics"; -const defaultFormData: FormData = { +export const defaultFormData: FormData = { company: { label: "公司名", help: "投递工作的公司名一定包含或不包含在当前集合中,模糊匹配,可用于只投或不投某个公司/子公司。", diff --git a/src/pages/web/geek/job/hooks/useLog.ts b/src/pages/web/geek/job/hooks/useLog.ts index 39980fe..360c1a6 100644 --- a/src/pages/web/geek/job/hooks/useLog.ts +++ b/src/pages/web/geek/job/hooks/useLog.ts @@ -73,52 +73,16 @@ const columns: Column[] = [ const dataOld = ref([]); const data = ref([ { - title: "获取岗位", + title: "嘿嘿嘿", state: "info", state_name: "消息", - message: "本次获取到 30 个", + message: "目前没有投递日志啦", }, { - title: "数据管理专员(餐饮行业)", - state: "warning", - state_name: "岗位名筛选", - message: "含有排除关键词 [管理]", - data: { - jobName: "数据管理专员(餐饮行业)", - companyName: "四夕餐饮管理有限公司", - salary: "5-7K", - companySize: "餐饮不需要融资100-499人", - }, - }, - { - title: "嵌入式软件测试工程师", - state: "warning", - state_name: "薪资筛选", - message: "不匹配的范围 [11-20]", - data: { - jobName: "嵌入式软件测试工程师", - companyName: "德赛西威", - salary: "11-20K·13薪", - companySize: "汽车零部件已上市1000-9999人", - }, - }, - { - title: "富士康高薪招聘6000+", - state: "warning", - state_name: "岗位名筛选", - message: "含有排除关键词 [富士康]", - data: { - jobName: "富士康高薪招聘6000+", - companyName: "富士康科技集团(总部)", - salary: "6-9K", - companySize: "其他制造业不需要融资10000人以上", - }, - }, - { - title: "暂停投递", - state: "info", + title: "啦啦啦", + state: "success", state_name: "消息", - message: "剩余 27 个未处理", + message: "要查看其他日志请点击右上角的悬浮按钮", }, ]); diff --git a/src/pages/web/geek/job/logs.vue b/src/pages/web/geek/job/logs.vue index 49e2a30..1e7b886 100644 --- a/src/pages/web/geek/job/logs.vue +++ b/src/pages/web/geek/job/logs.vue @@ -15,18 +15,13 @@ import { onRowRenderedParams } from "element-plus/es/components/table-v2/src/gri const tableRef = ref(); const { data, columns, Row } = useLog(); -watchEffect(() => { - tableRef.value?.scrollToRow(data.value.length - 1); -}); +// watchEffect(() => { +// tableRef.value?.scrollToRow(data.value.length - 1); +// });