weaver-work-cli 0.1.78 → 0.1.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/chunks/{archive-ENBSUMHV.js → archive-KVV4SM7J.js} +3 -3
- package/dist/chunks/{archive-oa-7BFPQ6M5.js → archive-oa-VRSPNLY4.js} +3 -3
- package/dist/chunks/{asset-V5SUD3PW.js → asset-JZ5MN6OL.js} +306 -10
- package/dist/chunks/{asset-idle-3CEL7WFX.js → asset-idle-B4SAL43V.js} +3 -3
- package/dist/chunks/{attachment-content-TFOC3Y3X.js → attachment-content-7W4XQTA7.js} +3 -3
- package/dist/chunks/{blog-FLI4SS3P.js → blog-XCBM467O.js} +3 -3
- package/dist/chunks/{caizhilian-7WCTKCCP.js → caizhilian-NZVUKCZD.js} +5 -5
- package/dist/chunks/{calendar-G726HUUH.js → calendar-OVM2SGYJ.js} +3 -3
- package/dist/chunks/{chunk-XNN5PZTI.js → chunk-3WZMDOI3.js} +1 -1
- package/dist/chunks/{chunk-FAC4IFGQ.js → chunk-56F2GGE4.js} +5 -5
- package/dist/chunks/{chunk-LCM5SSGJ.js → chunk-5MM2IZ27.js} +423 -36
- package/dist/chunks/{chunk-BWFCTE43.js → chunk-5NQZO3CO.js} +48 -5
- package/dist/chunks/{chunk-ZOTXXGUM.js → chunk-5RIK6OLF.js} +7 -7
- package/dist/chunks/{chunk-5E2FDXBU.js → chunk-64RYQOXA.js} +1 -1
- package/dist/chunks/{chunk-Z44YFIN6.js → chunk-7BP3HU74.js} +2 -2
- package/dist/chunks/{chunk-3Q5F4C5B.js → chunk-AW3HQUOC.js} +5 -5
- package/dist/chunks/{chunk-7M5OYRK2.js → chunk-BD3M2YVN.js} +3 -3
- package/dist/chunks/{chunk-JEQHNNSS.js → chunk-BFVUBCYO.js} +14 -0
- package/dist/chunks/{chunk-PAWXVT6H.js → chunk-CLVEXDEJ.js} +4 -5
- package/dist/chunks/{chunk-TBCKK6LH.js → chunk-DWCMKEMO.js} +2 -2
- package/dist/chunks/{chunk-USYFVIUR.js → chunk-E3XUYWYA.js} +4 -4
- package/dist/chunks/{chunk-E2EY3DMS.js → chunk-FIPTUAOW.js} +2 -2
- package/dist/chunks/{chunk-IBTGXLOT.js → chunk-GQEIHXY5.js} +6 -6
- package/dist/chunks/{chunk-TD5IOEGN.js → chunk-JUPKXW4P.js} +1 -1
- package/dist/chunks/{chunk-UZ2E3VNI.js → chunk-KZ3JR3GE.js} +3 -3
- package/dist/chunks/{chunk-4PBN7NJY.js → chunk-L2PKMZIU.js} +1 -1
- package/dist/chunks/{chunk-DACQKJ6O.js → chunk-LXWWOHM6.js} +4 -4
- package/dist/chunks/{chunk-7DE3VMZD.js → chunk-LYFPWZBD.js} +6 -1
- package/dist/chunks/{chunk-2UV4IZIT.js → chunk-MTIV6JEN.js} +2 -2
- package/dist/chunks/{chunk-5VQ7JHV4.js → chunk-MWFKLXVU.js} +68 -46
- package/dist/chunks/{chunk-PMRNIGKZ.js → chunk-RVVRTW4P.js} +2 -2
- package/dist/chunks/{chunk-FPWCCRKT.js → chunk-UASZW22U.js} +3 -3
- package/dist/chunks/{chunk-RVEKGVZU.js → chunk-VMUVVTT4.js} +2 -2
- package/dist/chunks/{chunk-7SQN5IZR.js → chunk-W4BGNYKR.js} +12 -2
- package/dist/chunks/{chunk-OVTCWLNQ.js → chunk-W4R3SXJV.js} +15 -7
- package/dist/chunks/{chunk-UDBQJLQF.js → chunk-WF5G5SV3.js} +2 -2
- package/dist/chunks/{chunk-VNEU7OUN.js → chunk-WM5ZE67G.js} +1 -1
- package/dist/chunks/{chunk-QVKRNL7L.js → chunk-WQ4ZHAEZ.js} +10 -2
- package/dist/chunks/{chunk-SWFTWNWL.js → chunk-X7OZKI6F.js} +12 -12
- package/dist/chunks/{chunk-WNFDR5PC.js → chunk-Y6HRTEDD.js} +21 -11
- package/dist/chunks/{chunk-2KW7AI6P.js → chunk-YFDKTTYX.js} +8 -5
- package/dist/chunks/{chunk-BP7BONZO.js → chunk-YLPGCOAM.js} +76 -69
- package/dist/chunks/{chunk-LQLIXBJF.js → chunk-YXIPZFMX.js} +1 -1
- package/dist/chunks/{cli-WA7FOQKC.js → cli-VCQIDBDQ.js} +37 -37
- package/dist/chunks/{commands-J52MJ6NF.js → commands-THGXVOEL.js} +9 -5
- package/dist/chunks/{conflict-D4GVAURN.js → conflict-T7URCNS6.js} +2 -2
- package/dist/chunks/{contract-GW7US3UF.js → contract-ZLGLQ45G.js} +3 -3
- package/dist/chunks/{cowork-GZDODGKF.js → cowork-2MBNOUYS.js} +21 -8
- package/dist/chunks/{create-flow-ERDGW3FZ.js → create-flow-OFZC36MV.js} +6 -6
- package/dist/chunks/{data-HTQZRPPI.js → data-6O7ANJVT.js} +3 -3
- package/dist/chunks/{ebuilder-form-GHNIZ7ET.js → ebuilder-form-OJ3KJVQI.js} +4 -4
- package/dist/chunks/{ehr-P6T7OAAV.js → ehr-NWMI5Q7S.js} +8 -32
- package/dist/chunks/{employee-QX57HEWS.js → employee-O2EPUYIH.js} +2 -2
- package/dist/chunks/{entry-mode-SQU5WTX6.js → entry-mode-TVACGU7K.js} +3 -3
- package/dist/chunks/{env-DASBNSEM.js → env-EWG4ZAWP.js} +2 -2
- package/dist/chunks/{esb-ATRKVHCD.js → esb-56FV2PIA.js} +5 -5
- package/dist/chunks/{factory-A3NAKZAA.js → factory-GQSEJRDY.js} +1 -1
- package/dist/chunks/{fna-IKYI3SST.js → fna-YLA3RKRW.js} +3 -3
- package/dist/chunks/{group-chat-7SEAVAJR.js → group-chat-5R6L3LCG.js} +3 -3
- package/dist/chunks/{host-UY4LQPN4.js → host-42MLO4KX.js} +4 -4
- package/dist/chunks/{host-XXGDQM7D.js → host-J72VEDW5.js} +4 -4
- package/dist/chunks/{host-EJSJSLVK.js → host-QKCRQS2C.js} +4 -4
- package/dist/chunks/{host-EYNLB6S4.js → host-W3BVEATN.js} +4 -4
- package/dist/chunks/{host-OT4KNR3G.js → host-YJINI5GG.js} +4 -4
- package/dist/chunks/{host-6UOXYOOY.js → host-ZVGBZOHY.js} +4 -4
- package/dist/chunks/{hrm-5JQ7QZ6A.js → hrm-3JFZNB42.js} +66 -26
- package/dist/chunks/{im-2YJW3EI5.js → im-HKIRPCGD.js} +5 -5
- package/dist/chunks/{invoice-37HR6L3W.js → invoice-4PREIOTG.js} +185 -49
- package/dist/chunks/{jiuchuanhui-KBWUZ7WT.js → jiuchuanhui-K3PLNENZ.js} +3 -3
- package/dist/chunks/{lazy-dispatch-ZDKLS5MR.js → lazy-dispatch-MKGEWZNM.js} +8 -8
- package/dist/chunks/{mail-YBKUM6HM.js → mail-6QPVWKXM.js} +3 -3
- package/dist/chunks/{meeting-7AEQGBAT.js → meeting-QPPEPBSN.js} +20 -16
- package/dist/chunks/{minute-doc-REI6RUE4.js → minute-doc-JMIDZK5D.js} +1 -1
- package/dist/chunks/{okr-HW7IULIR.js → okr-67C5LQYD.js} +3 -3
- package/dist/chunks/{operations-4P2UYVLH.js → operations-YLKRNAPI.js} +5 -5
- package/dist/chunks/{org-MWWIFNAO.js → org-L5XDM2RQ.js} +2 -2
- package/dist/chunks/{performance-PM2G6L3E.js → performance-33QZZR4I.js} +3 -3
- package/dist/chunks/{plan-3YYGZ7ZM.js → plan-W4BPONRL.js} +3 -3
- package/dist/chunks/{project-6PRGBLO2.js → project-OKSEH6AF.js} +3 -3
- package/dist/chunks/{reception-7G3J2MA6.js → reception-H5M7SPHT.js} +3 -3
- package/dist/chunks/{recruit-stage-TLZJUFHD.js → recruit-stage-O2JGNVMO.js} +16 -86
- package/dist/chunks/{registry-4S3RXXWS.js → registry-45VEUYTC.js} +4 -4
- package/dist/chunks/{registry-3VTB3KLV.js → registry-BMTQ55G5.js} +5 -5
- package/dist/chunks/{registry-KQ4TNUWO.js → registry-PYONXFUF.js} +3 -3
- package/dist/chunks/{registry-UVTI323K.js → registry-SAMJ4VH2.js} +14 -14
- package/dist/chunks/{registry-AC33ZZVH.js → registry-YY62OFKQ.js} +1 -1
- package/dist/chunks/{room-recommend-ELEJUYBN.js → room-recommend-NRLAZJCI.js} +4 -4
- package/dist/chunks/{schedule-XBKY7VEA.js → schedule-LNBOCBP5.js} +4 -4
- package/dist/chunks/{smart-extract-T5Z4AULN.js → smart-extract-JOTX6UZC.js} +3 -3
- package/dist/chunks/{update-77ZUIYSG.js → update-BERR64TI.js} +3 -3
- package/dist/chunks/{workflow-SYCBS5XD.js → workflow-ZDQY3TI7.js} +5 -5
- package/dist/core/runtime-agent.js +19 -3
- package/dist/index.js +4 -4
- package/dist/internal/e10/auth/agent-host-key.js +10 -1
- package/dist/internal/e10/auth/commands.js +20 -4
- package/dist/internal/e10/auth/xiaoe.js +15 -3
- package/dist/shortcuts/asset/host.js +39 -1
- package/dist/shortcuts/asset/index.js +16 -2
- package/dist/shortcuts/asset/manifest.js +115 -1
- package/dist/shortcuts/asset/operations/audit-report.js +144 -0
- package/dist/shortcuts/asset/operations/registry.js +4 -0
- package/dist/shortcuts/asset/operations/write.js +7 -1
- package/dist/shortcuts/cowork/operations/read.js +13 -6
- package/dist/shortcuts/cowork/operations/shared.js +15 -0
- package/dist/shortcuts/ehr/operations/recruit-candidate-import.js +1 -14
- package/dist/shortcuts/ehr/operations/recruit-write.js +4 -24
- package/dist/shortcuts/ehr/operations/recruit.js +23 -13
- package/dist/shortcuts/hrm/host.js +51 -4
- package/dist/shortcuts/hrm/index.js +45 -26
- package/dist/shortcuts/hrm/manifest.js +17 -0
- package/dist/shortcuts/hrm/operations/employee.js +3 -7
- package/dist/shortcuts/hrm/operations/org.js +2 -4
- package/dist/shortcuts/hrm/operations/position.js +2 -4
- package/dist/shortcuts/hrm/operations/shared.js +21 -0
- package/dist/shortcuts/hrm/operations.js +34 -0
- package/dist/shortcuts/im/constants.js +163 -0
- package/dist/shortcuts/im/host.js +12 -5
- package/dist/shortcuts/im/operations/at-mention.js +4 -2
- package/dist/shortcuts/im/operations/file-user.js +3 -1
- package/dist/shortcuts/im/operations/msg-sync.js +219 -2
- package/dist/shortcuts/im/operations/msg-write.js +70 -30
- package/dist/shortcuts/invoice/invoice-record.js +20 -1
- package/dist/shortcuts/invoice/manifest.js +13 -7
- package/dist/shortcuts/invoice/operations/reim-auto.js +94 -36
- package/dist/shortcuts/invoice/projection.js +7 -3
- package/dist/shortcuts/invoice/read-enrichment.js +78 -8
- package/dist/shortcuts/meeting/host.js +4 -0
- package/dist/shortcuts/meeting/operations/eb/create-flow.js +45 -5
- package/dist/shortcuts/meeting/operations/env.js +15 -1
- package/dist/shortcuts/meeting/operations/rooms.js +7 -0
- package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +3 -22
- package/dist/shortcuts/recruit-stage/operations/interview-feedback.js +1 -5
- package/dist/shortcuts/recruit-stage/operations/list.js +3 -2
- package/dist/shortcuts/recruit-stage/operations/profile.js +3 -2
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +8 -55
- package/dist/shortcuts/recruit-stage/operations/search.js +2 -2
- package/dist/shortcuts/recruit-stage/operations/shortlist.js +3 -2
- package/dist/shortcuts/recruit-stage/operations/tag.js +5 -0
- package/dist/shortcuts/recruit-stage/shared.js +3 -11
- package/dist/shortcuts/workflow/operations/form.js +2 -1
- package/docs/agent-invoice.md +26 -8
- package/docs/e10-auth.md +14 -1
- package/docs/hrm.md +5 -1
- package/docs/invoice.md +28 -8
- package/docs/operation-manual.md +6 -4
- package/docs/ziguanjia.md +5 -1
- package/package.json +1 -1
- package/scripts/package-skill.mjs +14 -2
- package/skill-template/business-info.json +6 -1
- package/skill-template/domains/hrm.md +1 -1
- package/skill-template/domains/yepiaotong.md +29 -11
- package/skill-template/domains/ziguanjia.md +7 -2
- package/skills/weaver-e10-caizhilian/references/source-manifest.json +3 -3
- package/skills/weaver-e10-cowork/SKILL.md +13 -1
- package/skills/weaver-e10-hrm/SKILL.md +16 -2
- package/skills/weaver-e10-hrm/references/org.md +1 -1
- package/skills/weaver-e10-jucailin/SKILL.md +11 -12
- package/skills/weaver-e10-jucailin/agents/openai.yaml +4 -4
- package/skills/weaver-e10-jucailin/references/recruit-implement-consult-sop.md +1 -1
- package/skills/weaver-e10-jucailin/references/recruit-implement-kb-data-update-channels.md +1 -1
- package/skills/weaver-e10-jucailin/references/recruit-implement-kb-talent-base-form.md +1 -1
- package/skills/weaver-e10-jucailin/references/recruit-output-links.md +1 -2
- package/skills/weaver-e10-jucailin/references/recruit-read.md +5 -27
- package/skills/weaver-e10-jucailin/references/recruit-write.md +19 -21
- package/skills/weaver-e10-jucailin/references/safety-boundaries.md +2 -2
- package/skills/weaver-e10-mail/SKILL.md +11 -3
- package/skills/weaver-e10-mail/references/mail-agent-entry.md +1 -1
- package/skills/weaver-e10-meeting/SKILL.md +39 -1
- package/skills/weaver-e10-okr/references/source-manifest.json +3 -3
- package/skills/weaver-e10-plan/references/source-manifest.json +3 -3
- package/skills/weaver-e10-recruit-stage/SKILL.md +57 -42
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +27 -22
- package/skills/weaver-e10-recruit-stage/lib/interview-conflict.mjs +1 -1
- package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +20 -5
- package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +96 -22
- package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +8 -3
- package/skills/weaver-e10-recruit-stage/lib/report-attachment.mjs +7 -6
- package/skills/weaver-e10-recruit-stage/lib/resume-import-once.mjs +308 -0
- package/skills/weaver-e10-recruit-stage/references/env-ziyong.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +6 -7
- package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +5 -5
- package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +4 -5
- package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +2 -8
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-template.md +0 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-list-candidate.md +1 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +7 -5
- package/skills/weaver-e10-recruit-stage/references/recruit-maint.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +3 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +20 -21
- package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +12 -7
- package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +2 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +1 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +75 -52
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +11 -17
- package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +3 -4
- package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +456 -93
- package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +2 -2
- package/skills/weaver-e10-recruit-stage/templates/match-report.html +1 -1
- package/skills/weaver-e10-shared/SKILL.md +1 -1
- package/skills/weaver-e10-shared/references/e10-auth-and-session.md +1 -1
- package/skills/weaver-e10-shared-report.html +874 -0
- package/skills/weaver-e10-shijingran/references/source-manifest.json +3 -3
- package/skills/weaver-e10-skill-maker/references/post-generation-install.md +6 -0
- package/skills/weaver-e10-workflow/SKILL.md +4 -4
- package/skills/weaver-e10-workflow/aiDeepRead/config.json +138 -142
- package/skills/weaver-e10-workflow/references/workflow-deep-read.md +7 -7
- package/skills/weaver-e10-yepiaotong/SKILL.md +33 -21
- package/skills/weaver-e10-yepiaotong/references/invoice-add.md +2 -2
- package/skills/weaver-e10-yepiaotong/references/invoice-agent-entry.md +5 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-detail.md +2 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-enterprise-list.md +2 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-file-upload.md +3 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-import.md +2 -2
- package/skills/weaver-e10-yepiaotong/references/invoice-output-view.md +30 -2
- package/skills/weaver-e10-yepiaotong/references/invoice-personal-list.md +8 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-upload-and-validate.md +4 -4
- package/skills/weaver-e10-yepiaotong/references/name-fuzzy-search.md +3 -3
- package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +19 -9
- package/skills/weaver-e10-yepiaotong/references/reim-customer-search.md +25 -32
- package/skills/weaver-e10-yepiaotong/references/reim-eligibility-rules.md +70 -21
- package/skills/weaver-e10-yepiaotong/references/reim-fill-validation.md +23 -12
- package/skills/weaver-e10-yepiaotong/references/reim-phone-subsidy-rules.md +52 -17
- package/skills/weaver-e10-yepiaotong/references/reim-preapproval-rules.md +23 -19
- package/skills/weaver-e10-yepiaotong/references/reim-travel-invoice-matching.md +6 -4
- package/skills/weaver-e10-yepiaotong/references/reim-workflow.md +127 -63
- package/skills/weaver-e10-yepiaotong/references/source-manifest.json +89 -71
- package/skills/weaver-e10-yepiaotong/references/travel-application-fill.md +2 -2
- package/skills/weaver-e10-yepiaotong/references/workflow-direct-fill.md +28 -20
- package/skills/weaver-e10-yepiaotong.zip +0 -0
- package/skills/weaver-e10-yimiaoban/SKILL.md +12 -9
- package/skills/weaver-e10-yimiaoban/references/constants.md +291 -0
- package/skills/weaver-e10-yimiaoban/references/ding-write.md +1 -0
- package/skills/weaver-e10-yimiaoban/references/group-read.md +1 -0
- package/skills/weaver-e10-yimiaoban/references/group-write.md +1 -0
- package/skills/weaver-e10-yimiaoban/references/msg-read.md +10 -1
- package/skills/weaver-e10-yimiaoban/references/msg-write.md +3 -1
- package/skills/weaver-e10-yimiaoban/references/session-sysmsg.md +1 -0
- package/skills/weaver-e10-yimiaoban/references/source-manifest.json +175 -36
- package/skills/weaver-e10-ziguanjia/SKILL.md +26 -6
- package/skills/weaver-e10-ziguanjia/references/source-manifest.json +1373 -96
- package/skills/weaver-e10-ziguanjia/references/ziguanjia-audit.md +63 -0
- package/skills/weaver-e10-ziguanjia/references/ziguanjia-disabled-capabilities.md +5 -1
- package/skills/weaver-e10-ziguanjia/references/ziguanjia-idle.md +52 -0
- package/skills/weaver-e10-ziguanjia/references/ziguanjia-report.md +59 -0
- package/scripts/pysite/__pycache__/sitecustomize.cpython-312.pyc +0 -0
- package/scripts/pysite/__pycache__/sitecustomize.cpython-313.pyc +0 -0
- package/scripts/pysite/__pycache__/sitecustomize.cpython-314.pyc +0 -0
- package/skills/weaver-e10-jucailin/references/recruit-stage-ops.md +0 -89
|
@@ -3,115 +3,478 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title
|
|
6
|
+
<title>简历检索与匹配证据</title>
|
|
7
7
|
<style>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.
|
|
16
|
-
|
|
17
|
-
.
|
|
18
|
-
.
|
|
19
|
-
|
|
20
|
-
.
|
|
21
|
-
.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
.
|
|
25
|
-
.
|
|
26
|
-
.
|
|
27
|
-
.
|
|
28
|
-
.
|
|
29
|
-
.
|
|
30
|
-
.
|
|
31
|
-
.
|
|
32
|
-
.
|
|
33
|
-
.
|
|
34
|
-
.
|
|
35
|
-
.
|
|
36
|
-
.
|
|
37
|
-
.
|
|
38
|
-
.
|
|
39
|
-
.
|
|
40
|
-
.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
.
|
|
44
|
-
.
|
|
45
|
-
.
|
|
46
|
-
|
|
47
|
-
|
|
8
|
+
:root{
|
|
9
|
+
--bg:#f4f6f8; --card:#fff; --line:#e6e8eb; --line2:#f0f2f4;
|
|
10
|
+
--text:#1f2329; --sub:#8a9099; --accent:#2b6cb0; --accent-bg:#eaf1fb;
|
|
11
|
+
--ok:#2ea44f; --ok-bg:#eaf7ee; --warn:#c77700; --warn-bg:#fff6e5; --bad:#d93026; --bad-bg:#fff0ef;
|
|
12
|
+
}
|
|
13
|
+
*{margin:0;padding:0;box-sizing:border-box}
|
|
14
|
+
body{background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;font-size:13px;line-height:1.55}
|
|
15
|
+
.page{width:100%;max-width:820px;margin:0 auto;padding:14px 12px 24px}
|
|
16
|
+
|
|
17
|
+
.head{padding:2px 4px 10px}
|
|
18
|
+
.head .tag{display:inline-block;font-size:11px;color:var(--accent);background:var(--accent-bg);border-radius:2px;padding:1px 6px;margin-bottom:4px}
|
|
19
|
+
h1{font-size:18px;font-weight:700;letter-spacing:.2px}
|
|
20
|
+
.meta{font-size:11.5px;color:var(--sub);margin-top:3px}
|
|
21
|
+
.meta b{color:#4a5059;font-weight:600}
|
|
22
|
+
|
|
23
|
+
/* 本批速览 */
|
|
24
|
+
.overview{background:var(--card);border:1px solid var(--line);border-radius:5px;margin-bottom:8px;overflow:hidden}
|
|
25
|
+
.ov{padding:10px 13px;min-width:0}
|
|
26
|
+
.ov h3{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11.5px;color:var(--sub);font-weight:600;margin-bottom:7px}
|
|
27
|
+
.ov .sum{font-size:11px;color:#4a5059;font-weight:500}
|
|
28
|
+
.ov .hint{margin-left:auto;font-size:9.5px;color:#b6bcc3;font-weight:400}
|
|
29
|
+
.cbs{display:flex;flex-direction:column;gap:5px}
|
|
30
|
+
.cb{display:grid;grid-template-columns:42px 48px 1fr 30px 176px;gap:6px;align-items:center;font-size:11.5px;min-width:0}
|
|
31
|
+
.cb.simple{grid-template-columns:42px 1fr}
|
|
32
|
+
.cb .vp.mini{font-size:9.5px;padding:0 3px;line-height:1.55;text-align:center;font-weight:600}
|
|
33
|
+
.cb .nm{color:#4a5059;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
34
|
+
.cb .track{display:block;height:8px;background:#f0f2f4;border-radius:4px;overflow:hidden}
|
|
35
|
+
.cb .fill{display:block;height:100%;border-radius:4px;background:var(--ok)}
|
|
36
|
+
.cb .fill.warnb{background:#e8a13a}
|
|
37
|
+
.cb .fill.badb{background:#e57373}
|
|
38
|
+
.cb .cnt{font-size:10px;color:var(--sub);text-align:right;font-variant-numeric:tabular-nums}
|
|
39
|
+
.cb .gap{font-size:10px;color:var(--sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
40
|
+
.cb.more{color:#9aa2ab;font-size:10px;padding-left:48px}
|
|
41
|
+
|
|
42
|
+
/* 口径一行 */
|
|
43
|
+
.rubric{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:var(--card);border:1px solid var(--line);border-radius:5px;padding:7px 11px;margin-bottom:10px;font-size:11.5px;color:#5b6470}
|
|
44
|
+
.rubric .lb{color:var(--sub);flex:0 0 auto}
|
|
45
|
+
.rubric .k{color:#4a5059;font-weight:600}
|
|
46
|
+
.rubric .sep{color:#d5d9de}
|
|
47
|
+
.rubric .note{margin-left:auto;color:var(--sub);font-size:11px}
|
|
48
|
+
.qbtn{border:1px solid #cfd8e3;background:#fff;color:var(--accent);font-size:11px;line-height:1.6;padding:1px 8px;border-radius:10px;cursor:pointer;white-space:nowrap}
|
|
49
|
+
.qbtn:hover{background:var(--accent-bg)}
|
|
50
|
+
|
|
51
|
+
/* 候选人卡 */
|
|
52
|
+
.cand{background:var(--card);border:1px solid var(--line);border-radius:6px;margin-bottom:9px;overflow:hidden}
|
|
53
|
+
.band{display:flex;align-items:center;gap:10px;padding:9px 12px;border-left:3px solid var(--ok);background:linear-gradient(90deg,#f4fbf6 0%,#fff 58%)}
|
|
54
|
+
.band.warn{border-left-color:#e8a13a;background:linear-gradient(90deg,#fffaf0 0%,#fff 58%)}
|
|
55
|
+
.band.bad{border-left-color:var(--bad);background:linear-gradient(90deg,#fff4f3 0%,#fff 58%)}
|
|
56
|
+
.rk{font-size:11px;color:var(--sub);font-variant-numeric:tabular-nums;flex:0 0 auto}
|
|
57
|
+
.who{min-width:0;flex:1}
|
|
58
|
+
.l1{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
|
|
59
|
+
.l1 b{font-size:16px}
|
|
60
|
+
.l1 b a{color:inherit;text-decoration:none}
|
|
61
|
+
.l1 b a:hover{color:var(--accent)}
|
|
62
|
+
.vp{font-size:12px;font-weight:700;padding:1px 7px;border-radius:2px;color:#fff;background:var(--ok);white-space:nowrap}
|
|
63
|
+
.vp.warn{background:#e8a13a} .vp.bad{background:var(--bad)}
|
|
64
|
+
.wmeta{font-size:11.5px;color:var(--sub)}
|
|
65
|
+
.concl{font-size:12px;color:#5b6470;margin-top:1px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
|
|
66
|
+
.hitp{font-size:10.5px;color:var(--accent);background:var(--accent-bg);border-radius:2px;padding:0 5px;white-space:nowrap}
|
|
67
|
+
|
|
68
|
+
.body{padding:8px 12px 10px}
|
|
69
|
+
.chips{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:11px;margin-bottom:8px}
|
|
70
|
+
.chips .lb{color:var(--sub);font-size:11px;margin-right:1px}
|
|
71
|
+
.chip{font-size:11px;padding:1px 7px;border-radius:2px;border:1px solid #d9ebe0;background:var(--ok-bg);color:#1e7a3c;white-space:nowrap}
|
|
72
|
+
.chips .miss{color:#b0b6bd;font-size:11px;margin-left:2px}
|
|
73
|
+
|
|
74
|
+
.rel h4{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--sub);font-weight:600;margin-bottom:5px}
|
|
75
|
+
.rel-item{padding:5px 0;border-top:1px solid var(--line2)}
|
|
76
|
+
.rel-item:first-of-type{border-top:none;padding-top:2px}
|
|
77
|
+
.r1{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap;font-size:12.5px;min-width:0}
|
|
78
|
+
.r1 .typ{flex:0 0 auto;font-size:10.5px;color:var(--accent);background:var(--accent-bg);border-radius:2px;padding:0 4px}
|
|
79
|
+
.r1 b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
|
|
80
|
+
.r1 .rg{font-size:11px;color:var(--sub);font-variant-numeric:tabular-nums;flex:0 0 auto}
|
|
81
|
+
.r2{font-size:11.5px;color:#5b6470;margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
82
|
+
.r2 em{font-style:normal;color:#1e7a3c;background:var(--ok-bg);border-radius:2px;padding:0 3px;margin-left:3px}
|
|
83
|
+
.fold{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px;padding-top:6px;border-top:1px dashed var(--line);font-size:11px;color:var(--sub);cursor:pointer}
|
|
84
|
+
.fold .cnt{color:#4a5059}
|
|
85
|
+
.rel-extra{display:none}
|
|
86
|
+
.risk{margin-top:8px;background:var(--warn-bg);border-radius:3px;padding:5px 8px;font-size:11.5px;color:#8a5a00;line-height:1.6}
|
|
87
|
+
.risk b{font-weight:600;margin-right:3px}
|
|
88
|
+
.risk.ok{background:var(--ok-bg);color:#1e7a3c}
|
|
89
|
+
footer{margin-top:14px;padding-top:9px;border-top:1px solid var(--line);font-size:10.5px;color:var(--sub);line-height:1.7;text-align:center}
|
|
90
|
+
|
|
91
|
+
/* 口径弹窗 */
|
|
92
|
+
.mask{position:fixed;inset:0;background:rgba(18,22,28,.4);display:none;align-items:center;justify-content:center;padding:16px;z-index:20}
|
|
93
|
+
.mask.show{display:flex}
|
|
94
|
+
.modal{background:#fff;border-radius:8px;width:100%;max-width:540px;max-height:84vh;overflow:auto;box-shadow:0 14px 44px rgba(0,0,0,.2)}
|
|
95
|
+
.mhd{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px 16px 10px;position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line2)}
|
|
96
|
+
.mhd h2{font-size:15px}
|
|
97
|
+
.mhd p{font-size:11px;color:var(--sub);margin-top:2px}
|
|
98
|
+
.x{border:none;background:none;font-size:20px;line-height:1;color:#9aa2ab;cursor:pointer;padding:2px 4px}
|
|
99
|
+
.mbd{padding:4px 16px 14px}
|
|
100
|
+
.crit{display:flex;gap:9px;padding:8px 0;border-top:1px solid var(--line2)}
|
|
101
|
+
.crit:first-child{border-top:none}
|
|
102
|
+
.crit .no{flex:0 0 22px;height:22px;border-radius:50%;background:var(--accent-bg);color:var(--accent);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;margin-top:1px}
|
|
103
|
+
.crit .ct b{font-size:12.5px}
|
|
104
|
+
.crit .ct p{font-size:11.5px;color:#5b6470;margin-top:1px}
|
|
105
|
+
.mrow{display:flex;gap:7px;align-items:baseline;font-size:11.5px;margin-top:4px}
|
|
106
|
+
.mrow .dot2{flex:0 0 auto;width:7px;height:7px;border-radius:50%;margin-top:5px}
|
|
107
|
+
.mrow .dot3{background:var(--ok)} .mrow .dot4{background:#e8a13a} .mrow .dot5{background:var(--bad)}
|
|
108
|
+
.mrow b{font-weight:600}
|
|
109
|
+
.words{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}
|
|
110
|
+
.words .chip{font-size:10.5px}
|
|
111
|
+
.mnote{font-size:10.5px;color:var(--sub);line-height:1.7;margin-top:10px;padding-top:8px;border-top:1px dashed var(--line)}
|
|
48
112
|
|
|
113
|
+
@media (max-width:640px){
|
|
114
|
+
.band{flex-wrap:wrap}
|
|
115
|
+
.cb{grid-template-columns:42px 46px 1fr 30px 150px}
|
|
116
|
+
.ov .hint{display:none}
|
|
117
|
+
}
|
|
118
|
+
@media (max-width:520px){
|
|
119
|
+
.cb{grid-template-columns:42px 42px 1fr 28px}
|
|
120
|
+
.cb .gap{display:none}
|
|
121
|
+
}
|
|
49
122
|
</style>
|
|
50
123
|
</head>
|
|
51
124
|
<body>
|
|
52
125
|
<div class="page">
|
|
126
|
+
|
|
53
127
|
<div class="head">
|
|
54
|
-
<
|
|
55
|
-
<
|
|
128
|
+
<span class="tag">简历检索 · 抽样评估</span>
|
|
129
|
+
<h1 id="title">—</h1>
|
|
130
|
+
<div class="meta" id="sub">—</div>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
<div class="overview">
|
|
134
|
+
<div class="ov" id="summary"></div>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
<div class="rubric">
|
|
138
|
+
<span class="lb">评判口径</span>
|
|
139
|
+
<span class="k">技能命中</span><span class="sep">·</span>
|
|
140
|
+
<span class="k">项目复杂度</span><span class="sep">·</span>
|
|
141
|
+
<span class="k">经历连续性</span><span class="sep">·</span>
|
|
142
|
+
<span class="k">行业相关</span><span class="sep">·</span>
|
|
143
|
+
<span class="k">风险项</span>
|
|
144
|
+
<span class="note">AI 依据档案原文评估,非系统分值</span>
|
|
145
|
+
<button class="qbtn" onclick="openCrit()">口径说明 ⓘ</button>
|
|
56
146
|
</div>
|
|
57
|
-
|
|
147
|
+
|
|
58
148
|
<section id="cards"></section>
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
149
|
+
|
|
150
|
+
<footer id="foot"></footer>
|
|
151
|
+
|
|
152
|
+
<div class="mask" id="crit" onclick="if(event.target===this)closeCrit()">
|
|
153
|
+
<div class="modal" role="dialog" aria-modal="true" aria-labelledby="critTitle">
|
|
154
|
+
<div class="mhd">
|
|
155
|
+
<div>
|
|
156
|
+
<h2 id="critTitle">评判口径说明</h2>
|
|
157
|
+
<p>AI 依据档案原文评估,不是系统存储分值</p>
|
|
158
|
+
</div>
|
|
159
|
+
<button class="x" onclick="closeCrit()" aria-label="关闭">×</button>
|
|
160
|
+
</div>
|
|
161
|
+
<div class="mbd">
|
|
162
|
+
<div class="crit"><div class="no">1</div><div class="ct"><b>技能命中</b><p>岗位能力词是否出现在工作/项目描述里;出现在核心项目、且能说清用途才算达标,只堆关键词不算。</p></div></div>
|
|
163
|
+
<div class="crit"><div class="no">2</div><div class="ct"><b>项目复杂度</b><p>项目规模、承担角色、技术难点是否写清楚;只有项目名、没有描述的,按“不可核实”计。</p></div></div>
|
|
164
|
+
<div class="crit"><div class="no">3</div><div class="ct"><b>经历连续性</b><p>在职区间是否连续;6 个月以上空档、1 年内多次跳槽,记为风险并减分。</p></div></div>
|
|
165
|
+
<div class="crit"><div class="no">4</div><div class="ct"><b>行业相关</b><p>同类业务/行业经验的可迁移程度;跨行业不直接否定,看业务复杂度是否相近。</p></div></div>
|
|
166
|
+
<div class="crit"><div class="no">5</div><div class="ct"><b>风险项</b><p>描述缺失、专业不符、在职状态不明、时间冲突;命中即写入卡片下方“待确认”。</p></div></div>
|
|
167
|
+
|
|
168
|
+
<div class="crit" style="border-top:1px solid var(--line2);padding-top:10px">
|
|
169
|
+
<div class="ct" style="width:100%">
|
|
170
|
+
<b style="font-size:12.5px">结论怎么得出</b>
|
|
171
|
+
<div class="mrow"><span class="dot2 dot3"></span><span><b>推荐</b>:多数维度有档案证据,且无硬伤</span></div>
|
|
172
|
+
<div class="mrow"><span class="dot2 dot4"></span><span><b>可考虑</b>:部分维度达标,存在待核实项</span></div>
|
|
173
|
+
<div class="mrow"><span class="dot2 dot5"></span><span><b>偏弱</b>:关键证据缺失,或多个维度明显不足</span></div>
|
|
174
|
+
|
|
175
|
+
<div style="margin-top:10px"><b style="font-size:12.5px" id="wordTitle">本岗位能力词表</b>
|
|
176
|
+
<div class="words" id="wordList"></div>
|
|
177
|
+
</div>
|
|
178
|
+
<div class="mnote" id="critNote"></div>
|
|
179
|
+
</div>
|
|
180
|
+
</div>
|
|
181
|
+
</div>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
63
184
|
</div>
|
|
64
185
|
<script>
|
|
65
|
-
// === 数据注入区(Agent 生成 HTML 时替换此段) ===
|
|
66
186
|
const EVIDENCE_DATA = __EVIDENCE_DATA_PLACEHOLDER__;
|
|
67
|
-
// 结构:{ position, baseUrl, generatedAt, keyword, total, shown,
|
|
68
|
-
// candidates: [{ talentId, name, degree, college, pos, industry, works:[{co,pos,range,desc}], projs:[{name,range,desc}], evidence, risk, verdict }] }
|
|
69
|
-
|
|
70
|
-
function esc(s) { return String(s == null ? '' : s).replace(/[&<>"]/g, c => ({ '&': '&', '<': '<', '>': '>', '"': '"' }[c])); }
|
|
71
|
-
function cut(s, n) { const t = String(s || '').replace(/\s+/g, ' ').trim(); return t.length > n ? t.slice(0, n) + '…' : t; }
|
|
72
|
-
function badgeClass(v) { return /推荐|最高|强/.test(v || '') ? 'b-high' : /不考虑|不推荐|弱/.test(v || '') ? 'b-low' : 'b-mid'; }
|
|
73
|
-
const dash = (v) => String(v == null ? '' : v).trim() || '—';
|
|
74
|
-
const worksOf = (c) => (Array.isArray(c.works) ? c.works : Array.isArray(c.workExperience) ? c.workExperience : Array.isArray(c.work) ? c.work : []);
|
|
75
|
-
const projsOf = (c) => (Array.isArray(c.projs) ? c.projs : Array.isArray(c.projectExperience) ? c.projectExperience : Array.isArray(c.project) ? c.project : []);
|
|
76
|
-
|
|
77
|
-
function render(d) {
|
|
78
|
-
document.getElementById('title').textContent = `${d.position} · 简历检索与人岗匹配证据`;
|
|
79
|
-
document.getElementById('sub').textContent = `关键词「${d.keyword}」命中 ${d.total} 条 · 展示 ${d.shown} 人 · ${d.generatedAt}`;
|
|
80
|
-
document.getElementById('gen').textContent = d.generatedAt || '';
|
|
81
|
-
document.getElementById('nums').innerHTML = [
|
|
82
|
-
{ k: '命中总数', v: d.total },
|
|
83
|
-
{ k: '本次展示', v: d.shown },
|
|
84
|
-
{ k: '评估口径', v: '证据制' },
|
|
85
|
-
].map(x => `<div class="num"><div class="k">${x.k}</div><div class="v">${x.v}</div></div>`).join('');
|
|
86
187
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
188
|
+
function esc(s){ return String(s == null ? '' : s).replace(/[&<>"]/g, c => ({ '&':'&', '<':'<', '>':'>', '"':'"' }[c])); }
|
|
189
|
+
function cut(s, n){ const t = String(s == null ? '' : s).replace(/\s+/g, ' ').trim(); return t.length > n ? t.slice(0, n) + '…' : t; }
|
|
190
|
+
function uniq(a){ return [...new Set(a)]; }
|
|
191
|
+
function badgeClass(v, level){
|
|
192
|
+
const t = String(v || '');
|
|
193
|
+
if (!t) return level === 'high' ? '' : level === 'low' ? 'bad' : 'warn';
|
|
194
|
+
if (/推荐|最高|强|优先/.test(t)) return '';
|
|
195
|
+
if (/不考虑|不推荐|弱|淘汰|不合适/.test(t)) return 'bad';
|
|
196
|
+
return 'warn';
|
|
197
|
+
}
|
|
198
|
+
function shortVerdict(v, level){
|
|
199
|
+
const cls = badgeClass(v, level);
|
|
200
|
+
return cls === '' ? '推荐' : cls === 'bad' ? '偏弱' : '可考虑';
|
|
201
|
+
}
|
|
202
|
+
function worksOf(c){ return Array.isArray(c.works) ? c.works : Array.isArray(c.workExperience) ? c.workExperience : Array.isArray(c.work) ? c.work : []; }
|
|
203
|
+
function projsOf(c){ return Array.isArray(c.projs) ? c.projs : Array.isArray(c.projectExperience) ? c.projectExperience : Array.isArray(c.project) ? c.project : []; }
|
|
204
|
+
|
|
205
|
+
/* 岗位能力词表:按岗位族切换;都匹配不到时用关键词拆词,少于 3 项不做覆盖对比 */
|
|
206
|
+
const DICTS = [
|
|
207
|
+
{ id:'frontend', test:/前端|vue|react|h5|小程序|web前端|javascript|typescript|组件库/ui, words:['React','Vue','TypeScript','小程序','工程化','性能优化','组件库','可视化'] },
|
|
208
|
+
{ id:'java', test:/java|后端|服务端|微服务|spring|jvm/ui, words:['Java','Spring Boot','微服务','高并发','MySQL','Redis','Kafka','AI Agent'] },
|
|
209
|
+
{ id:'test', test:/测试|qa|自动化测试|测试开发/ui, words:['自动化测试','接口测试','性能测试','Web UI 自动化','Jenkins','用例设计','缺陷管理','CI/CD'] },
|
|
210
|
+
{ id:'algorithm', test:/算法|机器学习|深度学习|大模型|nlp|计算机视觉|cv|ai工程/ui, words:['Python','PyTorch','机器学习','深度学习','NLP','大模型','特征工程','模型部署'] },
|
|
211
|
+
{ id:'investment', test:/投资|投行|并购|基金|私募|pe|vc|尽调|估值/ui, words:['投资','并购','尽职调查','估值','财务建模','投后管理','IPO','风控'] },
|
|
212
|
+
{ id:'sales', test:/销售|商务|客户经理|渠道|大客户|bd/ui, words:['客户开发','大客户','渠道','招投标','回款','CRM','商务谈判','行业资源'] },
|
|
213
|
+
{ id:'marketing', test:/市场|运营|品牌|投放|增长|新媒体|内容运营/ui, words:['品牌','投放','活动','内容','增长','渠道','数据复盘','ROI'] },
|
|
214
|
+
{ id:'hr', test:/人力|人事|hr|招聘|组织发展|薪酬|绩效/ui, words:['招聘','绩效','薪酬','组织发展','人才盘点','员工关系','培训','HRBP'] },
|
|
215
|
+
{ id:'finance', test:/财务|会计|审计|税务|成本|资金|预算/ui, words:['财务报表','预算','税务','审计','成本','资金','合并报表','CPA'] },
|
|
216
|
+
{ id:'manufacturing', test:/制造|生产|供应链|质量|工艺|精益|mes|仓储|采购/ui, words:['精益生产','工艺','质量','供应链','MES','仓储','采购','成本'] },
|
|
217
|
+
{ id:'legal', test:/法务|律师|合规|知识产权|诉讼|合同/ui, words:['合同','合规','诉讼','知识产权','尽职调查','风控','公司法','谈判'] },
|
|
218
|
+
{ id:'medical', test:/医药|医疗|临床|药品|注册|gmp|医学/ui, words:['临床试验','GMP','注册','药物警戒','医学','生产','质量','法规'] },
|
|
219
|
+
{ id:'design', test:/设计|ui设计|视觉|交互|美术|平面/ui, words:['UI','交互','视觉','品牌','排版','Figma','动效','设计规范'] }
|
|
220
|
+
];
|
|
221
|
+
const STOP_WORDS = /^(开发|工程师|经理|主管|专员|总监|负责人|岗位|职位|简历|招聘|候选人|人才库|查找|评估|筛选|匹配|相关|经验|高级|资深|初级|中级)$/;
|
|
222
|
+
|
|
223
|
+
function pickWords(d){
|
|
224
|
+
if (Array.isArray(d.skills)) {
|
|
225
|
+
const arr = d.skills.map(x => String(x || '').trim()).filter(Boolean);
|
|
226
|
+
if (arr.length >= 3) return uniq(arr).slice(0, 8);
|
|
227
|
+
}
|
|
228
|
+
const hay = `${d.position || ''} ${d.keyword || ''}`.toLowerCase();
|
|
229
|
+
const dict = DICTS.find(x => x.test.test(hay));
|
|
230
|
+
if (dict) return dict.words.slice();
|
|
231
|
+
const raw = String(d.keyword || d.position || '');
|
|
232
|
+
const toks = raw.split(/[、,,/·\s]+/).map(x => x.trim()).filter(x => x.length >= 2 && x.length <= 12 && !STOP_WORDS.test(x));
|
|
233
|
+
return uniq(toks).slice(0, 8);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
function escRe(s){ return String(s).replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); }
|
|
237
|
+
const TERM_ALIASES = {
|
|
238
|
+
'尽职调查': ['尽调', 'DD'],
|
|
239
|
+
'投后管理': ['投后'],
|
|
240
|
+
'财务建模': ['财务模型'],
|
|
241
|
+
'并购': ['收购', 'M&A'],
|
|
242
|
+
'IPO': [],
|
|
243
|
+
'Spring Boot': ['SpringBoot'],
|
|
244
|
+
'微服务': [],
|
|
245
|
+
'高并发': ['并发'],
|
|
246
|
+
'AI Agent': ['Agent', '智能体'],
|
|
247
|
+
'MySQL': ['Mysql']
|
|
248
|
+
};
|
|
249
|
+
function variantsOf(term){ return uniq([term].concat(TERM_ALIASES[term] || [])); }
|
|
250
|
+
function negatedNear(text, start, end){
|
|
251
|
+
const pre = text.slice(Math.max(0, start - 8), start);
|
|
252
|
+
const suf = text.slice(end, end + 14);
|
|
253
|
+
if (/(未|无|没有|缺乏|不具备|暂无|非)[^,。;、!?]{0,6}$/.test(pre)) return true;
|
|
254
|
+
if (/^[^,。;、!?]{0,10}(不足|缺乏|没有|未|不具备|偏少|偏弱|有限|较少)/.test(suf)) return true;
|
|
255
|
+
return false;
|
|
256
|
+
}
|
|
257
|
+
function hasTerm(text, term){
|
|
258
|
+
const t = String(text || '').toLowerCase();
|
|
259
|
+
const variants = variantsOf(term).map(x => String(x).toLowerCase()).filter(Boolean);
|
|
260
|
+
for (const w of variants) {
|
|
261
|
+
if (/^[a-z0-9+#. ]+$/i.test(w)) {
|
|
262
|
+
const re = new RegExp('(^|[^a-z0-9])' + escRe(w) + '($|[^a-z0-9])', 'gi');
|
|
263
|
+
let m;
|
|
264
|
+
while ((m = re.exec(t))) {
|
|
265
|
+
const start = m.index + (m[1] ? m[1].length : 0);
|
|
266
|
+
if (!negatedNear(t, start, start + w.length)) return true;
|
|
267
|
+
if (m.index === re.lastIndex) re.lastIndex++;
|
|
268
|
+
}
|
|
269
|
+
} else {
|
|
270
|
+
let i = t.indexOf(w);
|
|
271
|
+
while (i >= 0) {
|
|
272
|
+
if (!negatedNear(t, i, i + w.length)) return true;
|
|
273
|
+
i = t.indexOf(w, i + 1);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
return false;
|
|
278
|
+
}
|
|
279
|
+
function textOfItem(it){
|
|
280
|
+
return `${it.co || ''} ${it.pos || ''} ${it.name || ''} ${it.range || ''} ${it.desc || ''}`;
|
|
281
|
+
}
|
|
282
|
+
function candidateText(c){
|
|
283
|
+
// 覆盖统计可用 AI 证据与档案原文,但 hasTerm 会跳过“无/未/缺乏…”的否定语境,避免“无投资经验”被算成命中
|
|
284
|
+
const parts = [c.evidence, c.summary, c._meta && c._meta.selfDesc];
|
|
285
|
+
for (const w of worksOf(c)) parts.push(w.co, w.pos, w.range, w.desc);
|
|
286
|
+
for (const p of projsOf(c)) parts.push(p.name, p.range, p.desc);
|
|
287
|
+
return parts.filter(Boolean).join(' ');
|
|
288
|
+
}
|
|
289
|
+
function hitsOf(c, words){
|
|
290
|
+
const txt = candidateText(c);
|
|
291
|
+
return words.filter(w => hasTerm(txt, w));
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
function parseYM(s){
|
|
295
|
+
const m = String(s || '').match(/(19|20)\d{2}[^\d]{0,3}(\d{1,2})?/);
|
|
296
|
+
if (!m) return null;
|
|
297
|
+
const y = Number(String(m[0]).slice(0, 4));
|
|
298
|
+
const mo = Number(m[2] || 1);
|
|
299
|
+
if (!y || mo < 1 || mo > 12) return null;
|
|
300
|
+
return y * 12 + mo - 1;
|
|
301
|
+
}
|
|
302
|
+
function rangeMonths(r){
|
|
303
|
+
const s = String(r || '');
|
|
304
|
+
const parts = s.split('~').map(x => x.trim());
|
|
305
|
+
const a = parseYM(parts[0]);
|
|
306
|
+
if (a == null) return 0;
|
|
307
|
+
let b = parseYM(parts[1] || '');
|
|
308
|
+
if (b == null) {
|
|
309
|
+
if (/起|今|现在/.test(s)) { const now = new Date(); b = now.getFullYear() * 12 + now.getMonth(); }
|
|
310
|
+
else b = a;
|
|
311
|
+
}
|
|
312
|
+
return Math.max(0, b - a + 1);
|
|
313
|
+
}
|
|
314
|
+
function calcYears(c){
|
|
315
|
+
const wy = c && c._meta ? String(c._meta.workYears || '').trim() : '';
|
|
316
|
+
if (wy) return /年/.test(wy) ? wy : wy + ' 年';
|
|
317
|
+
const months = worksOf(c).reduce((n, w) => n + rangeMonths(w.range), 0);
|
|
318
|
+
return months > 0 ? '≈ ' + (months / 12).toFixed(1) + ' 年' : '';
|
|
319
|
+
}
|
|
320
|
+
function endMonth(it){
|
|
321
|
+
const parts = String(it.range || '').split('~').map(x => x.trim());
|
|
322
|
+
return parseYM(parts[1] || parts[0] || '') || 0;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
function firstSentence(s){
|
|
326
|
+
const t = String(s || '').replace(/^[\s\-·•]+/, '').replace(/\s+/g, ' ').trim();
|
|
327
|
+
if (!t) return '';
|
|
328
|
+
const m = t.split(/[。!?\n]/)[0];
|
|
329
|
+
return cut(m, 60);
|
|
330
|
+
}
|
|
331
|
+
function summaryOf(c){
|
|
332
|
+
return cut(c.summary || c.concl || firstSentence(c.evidence) || '档案未见明确结论', 72);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
function relItemsOf(c, words){
|
|
336
|
+
const out = [];
|
|
337
|
+
worksOf(c).forEach(w => out.push({
|
|
338
|
+
typ: '工作',
|
|
339
|
+
title: [w.co || w.company || '—', w.pos].filter(Boolean).join(' · '),
|
|
340
|
+
range: w.range || '',
|
|
341
|
+
desc: w.desc || '',
|
|
342
|
+
text: textOfItem({ co: w.co || w.company, pos: w.pos, range: w.range, desc: w.desc })
|
|
343
|
+
}));
|
|
344
|
+
projsOf(c).forEach(p => out.push({
|
|
345
|
+
typ: '项目',
|
|
346
|
+
title: p.name || p.co || '—',
|
|
347
|
+
range: p.range || '',
|
|
348
|
+
desc: p.desc || '',
|
|
349
|
+
text: textOfItem({ name: p.name || p.co, range: p.range, desc: p.desc })
|
|
350
|
+
}));
|
|
351
|
+
out.forEach(it => { it.hits = words.filter(w => hasTerm(it.text, w)).slice(0, 3); });
|
|
352
|
+
return out;
|
|
353
|
+
}
|
|
354
|
+
function relItemHtml(it){
|
|
355
|
+
const tags = it.hits && it.hits.length
|
|
356
|
+
? it.hits.map(h => `<em>${esc(h)}</em>`).join('')
|
|
357
|
+
: '';
|
|
358
|
+
const desc = cut(it.desc, 56) || '档案未提供描述';
|
|
359
|
+
return `<div class="rel-item"><div class="r1"><span class="typ">${esc(it.typ)}</span><b>${esc(it.title || '—')}</b>${it.range ? `<span class="rg">${esc(it.range)}</span>` : ''}</div><div class="r2">${esc(desc)}${tags}</div></div>`;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
function renderSummary(list, words){
|
|
363
|
+
const clsCount = { '': 0, warn: 0, bad: 0 };
|
|
364
|
+
list.forEach(c => { clsCount[badgeClass(c.verdict, c.level)]++; });
|
|
365
|
+
const sum = `推荐 ${clsCount['']} · 可考虑 ${clsCount.warn} · 偏弱 ${clsCount.bad}`;
|
|
366
|
+
const hint = words.length >= 3 ? '' : '岗位能力词表不足 3 项,未做覆盖对比';
|
|
367
|
+
const rows = list.slice(0, 5).map(c => {
|
|
368
|
+
const hits = hitsOf(c, words);
|
|
369
|
+
const cls = badgeClass(c.verdict, c.level);
|
|
370
|
+
const mini = `<span class="vp mini ${cls}">${esc(shortVerdict(c.verdict))}</span><span class="nm">${esc(c.name || '—')}</span>`;
|
|
371
|
+
if (words.length < 3) return `<div class="cb simple">${mini}</div>`;
|
|
372
|
+
const pct = Math.round(hits.length / words.length * 100);
|
|
373
|
+
const miss = words.filter(w => !hits.includes(w));
|
|
374
|
+
const gap = miss.length
|
|
375
|
+
? (miss.length <= 3 ? '缺 ' + miss.join('、') : `缺 ${miss.length} 项`)
|
|
376
|
+
: `${words.length} 项全部命中`;
|
|
377
|
+
return `<div class="cb">${mini}<span class="track"><span class="fill ${cls === 'bad' ? 'badb' : cls === 'warn' ? 'warnb' : ''}" style="width:${pct}%"></span></span><span class="cnt">${hits.length}/${words.length}</span><span class="gap">${esc(gap)}</span></div>`;
|
|
378
|
+
}).join('');
|
|
379
|
+
const more = list.length > 5 ? `<div class="cb more">另有 ${list.length - 5} 人见下方卡片</div>` : '';
|
|
380
|
+
return `<h3>本批速览<span class="sum">${sum}</span>${hint ? `<span class="hint">${esc(hint)}</span>` : ''}</h3><div class="cbs">${rows}${more}</div>`;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
function renderCard(c, i, words){
|
|
384
|
+
const cls = badgeClass(c.verdict);
|
|
385
|
+
const nameRaw = String(c.name || '未命名');
|
|
386
|
+
const card = String(c.cardUrl || '').trim();
|
|
387
|
+
const name = card ? `<a href="${esc(card)}" target="_blank">${esc(nameRaw)}</a>` : esc(nameRaw);
|
|
388
|
+
const years = calcYears(c);
|
|
389
|
+
const projN = projsOf(c).length;
|
|
390
|
+
const wmeta = [c.degree, c.college, years, projN ? projN + ' 个项目' : ''].filter(x => String(x || '').trim()).join(' · ');
|
|
391
|
+
const hits = hitsOf(c, words);
|
|
392
|
+
const miss = words.filter(w => !hits.includes(w));
|
|
393
|
+
const hitHtml = hits.length
|
|
394
|
+
? hits.map(w => `<span class="chip">${esc(w)}</span>`).join('')
|
|
395
|
+
: `<span class="miss">档案未体现岗位词</span><span class="miss">词表 ${words.length} 项均未出现</span>`;
|
|
396
|
+
const missHtml = hits.length
|
|
397
|
+
? `<span class="miss">${esc(miss.length <= 4 ? '未体现 ' + miss.join('、') : '未体现 ' + miss.slice(0, 3).join('、') + ` 等 ${miss.length} 项`)}</span>`
|
|
398
|
+
: '';
|
|
399
|
+
const chips = words.length >= 3
|
|
400
|
+
? `<div class="chips"><span class="lb">命中</span>${hitHtml}${missHtml}</div>`
|
|
401
|
+
: '';
|
|
402
|
+
const items = relItemsOf(c, words);
|
|
403
|
+
const rel = items.filter(it => it.hits.length > 0).sort((a, b) => b.hits.length - a.hits.length || endMonth(b) - endMonth(a)).slice(0, 3);
|
|
404
|
+
const fallback = rel.length ? [] : items.slice().sort((a, b) => endMonth(b) - endMonth(a)).slice(0, 2);
|
|
405
|
+
const shown = rel.length ? rel : fallback;
|
|
406
|
+
const shownHtml = shown.map(relItemHtml).join('');
|
|
407
|
+
const rest = items.length - shown.length;
|
|
408
|
+
const fold = rest > 0
|
|
409
|
+
? `<div class="fold" onclick="toggleFold(this)"><span>${rest} 段弱相关经历已折叠</span><span class="cnt">展开 ▸</span></div><div class="rel-extra">${items.filter(it => !shown.includes(it)).map(relItemHtml).join('')}</div>`
|
|
410
|
+
: '';
|
|
411
|
+
const relTitle = rel.length ? '相关经历' : '相关经历(未检出岗位词,按时间列最近经历)';
|
|
412
|
+
const riskText = String(c.risk || '').trim();
|
|
413
|
+
const riskNone = riskText && /^(未见明显风险|未见风险|暂无风险|暂无明确风险|无明显风险|无风险|没有明显风险)/.test(riskText);
|
|
414
|
+
const risk = riskText ? `<div class="risk ${riskNone ? 'ok' : ''}"><b>${riskNone ? '✓' : '待确认'}</b>${esc(cut(riskText, 130))}</div>` : '';
|
|
415
|
+
const hitp = words.length >= 3 ? `<span class="hitp">命中 ${hits.length}/${words.length}</span>` : '';
|
|
416
|
+
return `<article class="cand">
|
|
417
|
+
<div class="band ${cls}">
|
|
418
|
+
<div class="rk">${String(i + 1).padStart(2, '0')}</div>
|
|
419
|
+
<div class="who">
|
|
420
|
+
<div class="l1"><b>${name}</b><span class="vp ${cls}">${esc(c.verdict || shortVerdict(c.verdict, c.level))}</span>${hitp}${wmeta ? `<span class="wmeta">${esc(wmeta)}</span>` : ''}</div>
|
|
421
|
+
<div class="concl">${esc(summaryOf(c))}</div>
|
|
105
422
|
</div>
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
423
|
+
</div>
|
|
424
|
+
<div class="body">
|
|
425
|
+
${chips}
|
|
426
|
+
<div class="rel">
|
|
427
|
+
<h4>${esc(relTitle)}</h4>
|
|
428
|
+
${shownHtml || '<div class="rel-item"><div class="r2">档案未提供工作或项目经历</div></div>'}
|
|
429
|
+
${fold}
|
|
109
430
|
</div>
|
|
110
|
-
${
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
431
|
+
${risk}
|
|
432
|
+
</div>
|
|
433
|
+
</article>`;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
function render(d){
|
|
437
|
+
const candidates = Array.isArray(d.candidates) ? d.candidates.slice() : [];
|
|
438
|
+
const words = pickWords(d);
|
|
439
|
+
const shown = candidates.length;
|
|
440
|
+
const total = Number.isFinite(Number(d.total)) ? Number(d.total) : shown;
|
|
441
|
+
const rest = Math.max(0, total - shown);
|
|
442
|
+
const kw = String(d.keyword || '').trim();
|
|
443
|
+
const title = `${d.position || '候选人'} · 匹配证据报告`;
|
|
444
|
+
document.getElementById('title').textContent = title;
|
|
445
|
+
|
|
446
|
+
const scope = kw
|
|
447
|
+
? `关键词「${kw}」检索命中 ${total} 条 · 本页抽取 ${shown} 人评估${rest ? `,其余 ${rest} 条未核验` : ''}`
|
|
448
|
+
: `本批 ${total} 条 · 评估 ${shown} 人${rest ? `,其余 ${rest} 条未核验` : ''}`;
|
|
449
|
+
document.getElementById('sub').textContent = `${scope} · 生成于 ${d.generatedAt || '—'}`;
|
|
450
|
+
|
|
451
|
+
const rank = (l) => (l === 'high' ? 2 : l === 'mid' ? 1 : 0);
|
|
452
|
+
const sorted = candidates.sort((a, b) => rank(b.level) - rank(a.level) || hitsOf(b, words).length - hitsOf(a, words).length);
|
|
453
|
+
|
|
454
|
+
document.getElementById('summary').innerHTML = renderSummary(sorted, words);
|
|
455
|
+
document.getElementById('cards').innerHTML = sorted.map((c, i) => renderCard(c, i, words)).join('');
|
|
456
|
+
|
|
457
|
+
const scopeFoot = `评估范围:本页只评估抽取的 ${shown} 人${rest ? `,未对全部 ${total} 条简历逐一核验` : ''};结论仅对本批有效,不代表全库最优`;
|
|
458
|
+
document.getElementById('foot').innerHTML = `${esc(scopeFoot)}<br>数据来源:E10 人才库 · 结论为 AI 依据档案原文评估,非系统存储分值 · 能力命中按岗位能力词表统计,未体现不代表不会`;
|
|
459
|
+
|
|
460
|
+
document.getElementById('wordTitle').textContent = `本岗位能力词表(${words.length} 项)`;
|
|
461
|
+
document.getElementById('wordList').innerHTML = words.length
|
|
462
|
+
? words.map(w => `<span class="chip">${esc(w)}</span>`).join('')
|
|
463
|
+
: '<span class="miss">未生成词表</span>';
|
|
464
|
+
document.getElementById('critNote').innerHTML = `换岗位时按岗位族切换词表;词表未覆盖时用“关键词 + 职位名拆词”回退。<br>命中只代表档案提到,不代表掌握深度;“未体现”不等于不会。本页只评估抽取的 ${shown} 人${rest ? `,其余 ${rest} 条未核验` : ''},结论仅对本批有效。`;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
function toggleFold(el){
|
|
468
|
+
const extra = el.nextElementSibling;
|
|
469
|
+
const cnt = el.querySelector('.cnt');
|
|
470
|
+
if (!extra) return;
|
|
471
|
+
const open = extra.style.display === 'block';
|
|
472
|
+
extra.style.display = open ? 'none' : 'block';
|
|
473
|
+
if (cnt) cnt.textContent = open ? '展开 ▸' : '收起 ▴';
|
|
114
474
|
}
|
|
475
|
+
function openCrit(){ document.getElementById('crit').classList.add('show'); }
|
|
476
|
+
function closeCrit(){ document.getElementById('crit').classList.remove('show'); }
|
|
477
|
+
document.addEventListener('keydown', function(e){ if (e.key === 'Escape') closeCrit(); });
|
|
115
478
|
|
|
116
479
|
render(EVIDENCE_DATA);
|
|
117
480
|
</script>
|
|
@@ -191,14 +191,14 @@ function rowHtml(r, withDay) {
|
|
|
191
191
|
const d = window.data || {};
|
|
192
192
|
const base = d.baseUrl || '';
|
|
193
193
|
const card = String(r.cardUrl || '').trim();
|
|
194
|
-
const name = card ? `<a href="${card}" target="_blank">${esc(r.candidateName)}</a>` : esc(r.candidateName);
|
|
194
|
+
const name = card ? `<a href="${esc(card)}" target="_blank">${esc(r.candidateName)}</a>` : esc(r.candidateName);
|
|
195
195
|
const detail = r.formDataId && d.interviewObjId ? `${base}/sp/ebdfpage/card/0/${d.interviewObjId}/${r.formDataId}` : '';
|
|
196
196
|
const tags = [r.rounds, r.session].filter(Boolean).map(x => `<span class="tg">${esc(x)}</span>`).join('')
|
|
197
197
|
+ (r.type ? `<span class="tg tp">${esc(r.type)}</span>` : '');
|
|
198
198
|
return `<article class="row">
|
|
199
199
|
<div class="when"><b>${esc(withDay ? dayOf(r.startTime).slice(5) : timeOf(r.startTime))}</b><i>${esc(withDay ? weekday(dayOf(r.startTime)) + ' ' + timeOf(r.startTime) : dayOf(r.startTime).slice(5))}</i></div>
|
|
200
200
|
<div class="who"><div class="nm">${name}<span class="pos">${esc(r.positionName)}</span></div><div class="tags">${tags}</div></div>
|
|
201
|
-
<div class="side"><div class="iv">面试官 ${esc(r.interviewer || '—')}</div><span class="st ${stClass(r.status)}" title="${esc(statusTip(r.status))}">${esc(r.status || '—')}</span>${detail ? ` <a class="st" style="background:none;color:var(--accent);text-decoration:none" href="${detail}" target="_blank">详情 →</a>` : ''}</div>
|
|
201
|
+
<div class="side"><div class="iv">面试官 ${esc(r.interviewer || '—')}</div><span class="st ${stClass(r.status)}" title="${esc(statusTip(r.status))}">${esc(r.status || '—')}</span>${detail ? ` <a class="st" style="background:none;color:var(--accent);text-decoration:none" href="${esc(detail)}" target="_blank">详情 →</a>` : ''}</div>
|
|
202
202
|
</article>`;
|
|
203
203
|
}
|
|
204
204
|
|
|
@@ -156,7 +156,7 @@ function yearsOfService(joinDate) {
|
|
|
156
156
|
function badgeClass(overall) { return overall >= 75 ? 'score-high' : overall >= 50 ? 'score-medium' : 'score-low'; }
|
|
157
157
|
function badgeText(overall) { return overall >= 75 ? '推荐' : overall >= 50 ? '可考虑' : '不推荐'; }
|
|
158
158
|
// 简历字段(姓名/院校/公司/证据正文)可能含 < > & ",一律转义后再拼 HTML:
|
|
159
|
-
// 此前直接内插,姓名里出现 "<"
|
|
159
|
+
// 此前直接内插,姓名里出现 "<" 会把标签截断,出现脚本闭合标签会让整页白屏(注意:本注释与任何 JS 字符串里都不得出现字面的 script 结束序列,否则会在 HTML 解析阶段提前断开本块)。
|
|
160
160
|
function esc(s) { return String(s == null ? '' : s).replace(/[&<>"]/g, c => ({ '&': '&', '<': '<', '>': '>', '"': '"' }[c])); }
|
|
161
161
|
|
|
162
162
|
function renderReport(data) {
|