weaver-work-cli 0.1.49 → 0.1.52
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 +1 -1
- package/dist/chunks/{attachment-content-MU2LPI5P.js → attachment-content-MBYYSQIX.js} +3 -3
- package/dist/chunks/{chunk-ZKEUGS2U.js → chunk-7UOXOGFL.js} +4 -4
- package/dist/chunks/{chunk-72MI3MBX.js → chunk-ATEXBEPD.js} +55 -15
- package/dist/chunks/{chunk-3NV2ETZR.js → chunk-D3TDNRFE.js} +8 -8
- package/dist/chunks/{chunk-6GWU63YF.js → chunk-DZOC77ZD.js} +1 -1
- package/dist/chunks/{chunk-K3BT54CU.js → chunk-IRMA3GVP.js} +1 -1
- package/dist/chunks/{chunk-3X7VOSBA.js → chunk-KLZ3ULQQ.js} +1 -1
- package/dist/chunks/{chunk-YLCYX7LE.js → chunk-KMRT7NAT.js} +18 -5
- package/dist/chunks/{chunk-NBEWUR7L.js → chunk-LALWNK6M.js} +167 -44
- package/dist/chunks/{chunk-BRRW7CWA.js → chunk-LM2H7SZI.js} +26 -26
- package/dist/chunks/{chunk-KV5SOWMS.js → chunk-LTRLF6MM.js} +4 -4
- package/dist/chunks/{chunk-D2QRZUW4.js → chunk-RPRFIG6I.js} +35 -28
- package/dist/chunks/{chunk-GEOMANP7.js → chunk-RWFRZSIP.js} +2 -2
- package/dist/chunks/{chunk-EJVA5ZVB.js → chunk-ZRHKGQRQ.js} +2 -2
- package/dist/chunks/{conflict-6347A7YK.js → conflict-D2HYKBMH.js} +2 -2
- package/dist/chunks/{contract-N6P2HIIE.js → contract-MFOFMM2J.js} +4284 -254
- package/dist/chunks/{create-flow-7WG7LVX5.js → create-flow-7ZATJVTM.js} +6 -6
- package/dist/chunks/{data-QO7QWOIV.js → data-WK5CQXNF.js} +17 -32
- package/dist/chunks/{env-LHRKSLG6.js → env-5DO4YENS.js} +2 -2
- package/dist/chunks/{factory-2H7Z4RWJ.js → factory-3M7D7WJC.js} +1 -1
- package/dist/chunks/{fna-ZVB2IILI.js → fna-ECOYBQYL.js} +328 -5
- package/dist/chunks/{group-chat-EW6PNDDT.js → group-chat-B2HT5NEO.js} +3 -3
- package/dist/chunks/{im-3RCNL5GT.js → im-TN2JYVGJ.js} +2 -2
- package/dist/chunks/{invoice-FXWH5GPO.js → invoice-V7ZTITUO.js} +726 -206
- package/dist/chunks/{meeting-N2FQBHXI.js → meeting-HZOX3CBB.js} +10 -10
- package/dist/chunks/{msg-parse-4GSQ2WTO.js → msg-parse-FPFVPMYI.js} +5 -1
- package/dist/chunks/{reception-MYOKJULO.js → reception-QGPNTGHG.js} +98 -82
- package/dist/chunks/{recruit-stage-FKWS5UQF.js → recruit-stage-XCMVEQA2.js} +718 -131
- package/dist/chunks/{registry-BUTEDK3C.js → registry-E5RQJVWN.js} +2 -2
- package/dist/chunks/{registry-7VZ6YJUF.js → registry-KYPFFQIH.js} +1 -1
- package/dist/chunks/{registry-CKUVBS53.js → registry-SJHSBO5G.js} +10 -10
- package/dist/chunks/{room-recommend-MBCYENQ2.js → room-recommend-5AHR4YQV.js} +4 -4
- package/dist/chunks/{schedule-5IFMCXME.js → schedule-KZPJUPC2.js} +4 -4
- package/dist/chunks/smart-extract-IXHCZE4R.js +2846 -0
- package/dist/chunks/{workflow-2TRU2ZSP.js → workflow-UHKCZJMY.js} +1 -1
- package/dist/index.js +14 -9
- package/dist/shortcuts/contract/host.js +11 -0
- package/dist/shortcuts/contract/index.js +13 -0
- package/dist/shortcuts/contract/manifest.js +204 -0
- package/dist/shortcuts/contract/operations/card-action.js +585 -0
- package/dist/shortcuts/contract/operations/card-ebdf-list.js +315 -0
- package/dist/shortcuts/contract/operations/card-plan.js +327 -0
- package/dist/shortcuts/contract/operations/card-risk-report.js +565 -0
- package/dist/shortcuts/contract/operations/elements-build.js +714 -0
- package/dist/shortcuts/contract/operations/elements-spec.js +216 -0
- package/dist/shortcuts/contract/operations/first-screen.js +563 -0
- package/dist/shortcuts/contract/operations/flow.js +81 -25
- package/dist/shortcuts/contract/operations/modeltext.js +132 -0
- package/dist/shortcuts/contract/operations/op-resolver.js +22 -0
- package/dist/shortcuts/contract/operations/performance.js +58 -7
- package/dist/shortcuts/contract/operations/quote.js +410 -22
- package/dist/shortcuts/contract/operations/registry.js +22 -0
- package/dist/shortcuts/contract/operations/review.js +73 -58
- package/dist/shortcuts/contract/operations/save-recognize.js +151 -0
- package/dist/shortcuts/contract/operations/summary-validate.js +293 -0
- package/dist/shortcuts/contract/operations/summary.js +4 -2
- package/dist/shortcuts/contract/operations/upload.js +48 -7
- package/dist/shortcuts/contract/prewarm-cache.js +90 -0
- package/dist/shortcuts/contract/prewarm.js +88 -0
- package/dist/shortcuts/contract/upload-cache.js +49 -4
- package/dist/shortcuts/data/index.js +1 -6
- package/dist/shortcuts/data/manifest.js +2 -2
- package/dist/shortcuts/data/operations/index.js +1 -1
- package/dist/shortcuts/data/operations/query.js +23 -46
- package/dist/shortcuts/fna/host.js +4 -2
- package/dist/shortcuts/fna/manifest.js +14 -5
- package/dist/shortcuts/fna/operations/audit.js +334 -0
- package/dist/shortcuts/fna/operations/registry.js +2 -0
- package/dist/shortcuts/im/operations/at-mention.js +6 -3
- package/dist/shortcuts/im/operations/msg-parse.js +35 -5
- package/dist/shortcuts/im/operations/msg-sync.js +3 -1
- package/dist/shortcuts/im/operations/msg-write.js +57 -9
- package/dist/shortcuts/index.js +5 -0
- package/dist/shortcuts/invoice/index.js +0 -12
- package/dist/shortcuts/invoice/manifest.js +201 -50
- package/dist/shortcuts/invoice/operations/registry.js +4 -2
- package/dist/shortcuts/invoice/operations/reim-relation.js +438 -0
- package/dist/shortcuts/invoice/operations/shared.js +3 -19
- package/dist/shortcuts/invoice/operations/upload-and-validate.js +109 -73
- package/dist/shortcuts/meeting/operations/from-group-chat.js +16 -2
- package/dist/shortcuts/reception/constants.js +3 -7
- package/dist/shortcuts/reception/operations/leads.js +30 -6
- package/dist/shortcuts/reception/operations/panels.js +3 -2
- package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +4 -2
- package/dist/shortcuts/recruit-stage/operations/jd-create.js +6 -2
- package/dist/shortcuts/recruit-stage/operations/list.js +217 -1
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +144 -158
- package/dist/shortcuts/recruit-stage/operations/search.js +348 -0
- package/dist/shortcuts/recruit-stage/shared.js +5 -0
- package/dist/shortcuts/recruit-stage/tag-lookup.js +136 -0
- package/dist/shortcuts/smart-extract/constants.js +79 -0
- package/dist/shortcuts/smart-extract/continuation.js +71 -0
- package/dist/shortcuts/smart-extract/errors.js +68 -0
- package/dist/shortcuts/smart-extract/host.js +191 -0
- package/dist/shortcuts/smart-extract/index.js +105 -0
- package/dist/shortcuts/smart-extract/ledger.js +70 -0
- package/dist/shortcuts/smart-extract/manifest.js +35 -0
- package/dist/shortcuts/smart-extract/operations/attachment.js +212 -0
- package/dist/shortcuts/smart-extract/operations/batch.js +67 -0
- package/dist/shortcuts/smart-extract/operations/config.js +118 -0
- package/dist/shortcuts/smart-extract/operations/fill.js +489 -0
- package/dist/shortcuts/smart-extract/operations/preview.js +174 -0
- package/dist/shortcuts/smart-extract/operations/registry.js +34 -0
- package/dist/shortcuts/smart-extract/operations/save.js +355 -0
- package/dist/shortcuts/smart-extract/operations/shared.js +191 -0
- package/dist/shortcuts/smart-extract/operations/structure.js +401 -0
- package/dist/shortcuts/smart-extract/operations/target.js +167 -0
- package/dist/shortcuts/smart-extract/operations/types.js +22 -0
- package/dist/shortcuts/smart-extract/operations/validate.js +408 -0
- package/dist/shortcuts/workflow/operations/read.js +77 -15
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.collect.js +140 -24
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.core.js +42 -14
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.js +4 -6
- package/docs/SKILL.md +1 -1
- package/docs/_catalog.md +4 -1
- package/docs/agent-invoice.md +5 -7
- package/docs/data.md +5 -1
- package/docs/fna.md +24 -4
- package/docs/invoice.md +7 -5
- package/docs/smart-extract.md +156 -0
- package/package.json +1 -1
- package/skill-template/business-info.json +21 -1
- package/skill-template/domains/qiyecheng.md +6 -2
- package/skill-template/domains/smart-extract.md +16 -0
- package/skill-template/domains/yepiaotong.md +2 -2
- package/skills/weaver-e10-data/references/scene-and-misc.md +4 -3
- package/skills/weaver-e10-jinchengda/SKILL.md +159 -11
- package/skills/weaver-e10-jinchengda/references/contract-action-card.md +13 -8
- package/skills/weaver-e10-jinchengda/references/contract-action-engine.md +5 -4
- package/skills/weaver-e10-jinchengda/references/contract-clause-library-crud.md +44 -2
- package/skills/weaver-e10-jinchengda/references/contract-command-index.md +2 -2
- package/skills/weaver-e10-jinchengda/references/contract-element-save-record.md +220 -0
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-new-customer.md +68 -33
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +26 -15
- package/skills/weaver-e10-jinchengda/references/contract-flow-launch.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-modeltext-library.md +128 -0
- package/skills/weaver-e10-jinchengda/references/contract-multi-file.md +90 -0
- package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +96 -2
- package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +167 -5
- package/skills/weaver-e10-jinchengda/scripts/contract_first_screen.py +200 -0
- package/skills/weaver-e10-jinchengda/scripts/fill_contract_from_quote.py +572 -0
- package/skills/weaver-e10-jinchengda/scripts/fill_plan.py +997 -0
- package/skills/weaver-e10-jinchengda/scripts/quote_screen.py +560 -0
- package/skills/weaver-e10-jinchengda/scripts/triage_contract.py +894 -0
- package/skills/weaver-e10-jinchengda/scripts/validate_action_card.py +93 -0
- package/skills/weaver-e10-jinchengda/scripts/verify_docx_placeholders.py +118 -0
- package/skills/weaver-e10-qiyecheng/SKILL.md +58 -7
- package/skills/weaver-e10-qiyecheng/references/ai-check-audit.md +118 -0
- package/skills/weaver-e10-qiyecheng/references/budget.md +14 -0
- package/skills/weaver-e10-qiyecheng/references/catalog.md +42 -3
- package/skills/weaver-e10-qiyecheng/references/expense-center.md +8 -0
- package/skills/weaver-e10-qiyecheng/references/expense-chart.md +9 -0
- package/skills/weaver-e10-qiyecheng/references/invoice-writeoff.md +13 -0
- package/skills/weaver-e10-qiyecheng/references/loan-management.md +14 -0
- package/skills/weaver-e10-qiyecheng/references/self-hosted-mode.md +239 -0
- package/skills/weaver-e10-qiyecheng/references/source-manifest.json +153 -40
- package/skills/weaver-e10-reception-flow/SKILL.md +43 -6
- package/skills/weaver-e10-reception-flow/references/guide.md +1 -1
- package/skills/weaver-e10-recruit-stage/SKILL.md +62 -4
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +42 -8
- package/skills/weaver-e10-recruit-stage/references/env-ziyong.md +79 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +11 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +3 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +153 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +7 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-my-positions.md +66 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +156 -40
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +122 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +36 -8
- package/skills/weaver-e10-recruit-stage/references/recruit-search-by-tag.md +157 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +35 -0
- package/skills/weaver-e10-smart-extract/SKILL.md +169 -0
- package/skills/weaver-e10-smart-extract/references/api-contract.md +71 -0
- package/skills/weaver-e10-smart-extract/references/result-format.md +102 -0
- package/skills/weaver-e10-smart-extract/references/troubleshooting.md +105 -0
- package/skills/weaver-e10-workflow/SKILL.md +2 -1
- package/skills/weaver-e10-workflow/references/todo-smart-convert.md +29 -6
- package/skills/weaver-e10-workflow/references/workflow-query.md +1 -1
- package/skills/weaver-e10-workflow/references/workflow-view.md +1 -1
- package/skills/weaver-e10-workflow/tools/todo-summary.cjs +162 -10
- package/skills/weaver-e10-yepiaotong/SKILL.md +53 -35
- package/skills/weaver-e10-yepiaotong/references/invoice-add.md +2 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-file-upload.md +1 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-import.md +19 -2
- package/skills/weaver-e10-yepiaotong/references/invoice-issuing-workflow.md +19 -32
- package/skills/weaver-e10-yepiaotong/references/invoice-ocr-preview.md +8 -2
- package/skills/weaver-e10-yepiaotong/references/invoice-reim-relation.md +407 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-reim.md +18 -53
- package/skills/weaver-e10-yepiaotong/references/invoice-upload-and-validate.md +97 -39
- package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +96 -7
- package/skills/weaver-e10-yepiaotong/references/reim-examples.md +5 -38
- package/skills/weaver-e10-yepiaotong/references/reim-form-fill-rules.md +14 -14
- package/skills/weaver-e10-yepiaotong/references/reim-matching-rules.md +8 -4
- package/skills/weaver-e10-yepiaotong/references/reim-phone-subsidy-rules.md +139 -94
- package/skills/weaver-e10-yepiaotong/references/reim-workflow.md +131 -58
- package/skills/weaver-e10-yepiaotong/references/source-manifest.json +110 -43
- package/skills/weaver-e10-yimiaoban/SKILL.md +8 -6
- package/skills/weaver-e10-yimiaoban/references/msg-read.md +20 -0
- package/skills/weaver-e10-yimiaoban/references/msg-write.md +7 -0
- package/skills/weaver-e10-yimiaoban/references/source-manifest.json +18 -15
- package/dist/shortcuts/invoice/operations/validate-preview.js +0 -40
- package/skills/weaver-e10-jinchengda/scripts/plan_actions.py +0 -279
- package/skills/weaver-e10-jinchengda/scripts/render_action_card.py +0 -450
- package/skills/weaver-e10-jinchengda/scripts/render_risk_report.py +0 -358
- package/skills/weaver-e10-yepiaotong/references/invoice-validation-preview.md +0 -40
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 合同要素内置字段表(本地常量,零依赖)。
|
|
3
|
+
*
|
|
4
|
+
* 迁移自 `scripts/fill_elements.py` 的常量部分(2026-11-12 第四批)。
|
|
5
|
+
*
|
|
6
|
+
* 为什么必须固化:字段 ID / 选项 ID 是 19 位长整数,选项 ID 还分 `0/1` 与长整数两种形态。
|
|
7
|
+
* 让模型在上下文里「回忆」这些 ID 极易出错,且每次都要把大 JSON 复述一遍(逐字生成,最慢)。
|
|
8
|
+
* 内置成常量表后,模型只需跑一条命令,不再生成任何 ID。
|
|
9
|
+
*
|
|
10
|
+
* 维护红线:
|
|
11
|
+
* - 选项 ID 未经实测校核的 Select 字段一律不登记,宁缺勿猜;
|
|
12
|
+
* - 复选框选项 ID 各流程**互不相同**,禁止互抄;
|
|
13
|
+
* - 不登记附件字段到 recognizeResult(附件只走流程组件 customParams)。
|
|
14
|
+
*/
|
|
15
|
+
/** 新客户流程(workflowId 1269716062340284522)字段表。 */
|
|
16
|
+
export const NEW_CUSTOMER = {
|
|
17
|
+
workflowId: '1269716062340284522',
|
|
18
|
+
attachmentFieldId: '1269716066559755048', // 合同正文及附件
|
|
19
|
+
fields: {
|
|
20
|
+
attachment: '1269716066559755048#合同正文及附件',
|
|
21
|
+
buyMode: '1269716066559755042#购买方式',
|
|
22
|
+
totalAmount: '1269716066559755354#合同总金额',
|
|
23
|
+
ourCompany: '1269716066559755399#我方签约公司',
|
|
24
|
+
background: '1269716066559755317#合同背景说明',
|
|
25
|
+
title: '1298271934046470226#流程标题(new)',
|
|
26
|
+
finalUser: '1269716066559755356#最终用户卡片',
|
|
27
|
+
solution: '1269716066559755429#专项方案',
|
|
28
|
+
solutionAmt: '1269716066559755433#专项金额',
|
|
29
|
+
signForm: '1269716066559755369#签约形式',
|
|
30
|
+
signDate: '1269716066559754975#合同签署日期',
|
|
31
|
+
signWay: '1269716066559755076#合同签订方式',
|
|
32
|
+
partner: '1269716066559755360#伙伴名称',
|
|
33
|
+
address: '1269716066559755085#合同邮寄地址',
|
|
34
|
+
receiver: '1269716066559755079#合同收件人',
|
|
35
|
+
mobile: '1269716066559755081#收件人移动电话',
|
|
36
|
+
designatedDate: '1269716066559755286#指定签署日期',
|
|
37
|
+
},
|
|
38
|
+
subFormId: '1269716066559754943',
|
|
39
|
+
subFormName: '专项购买信息',
|
|
40
|
+
options: {
|
|
41
|
+
buyMode: { 直签: '0', 通过伙伴签署: '1' },
|
|
42
|
+
ourCompany: {
|
|
43
|
+
泛微网络: '0',
|
|
44
|
+
泛微网络科技股份有限公司: '0',
|
|
45
|
+
泛微软件: '1',
|
|
46
|
+
上海泛微软件有限公司: '1',
|
|
47
|
+
泛微新加坡: '2',
|
|
48
|
+
成都泛微: '3',
|
|
49
|
+
泛微马来西亚: '4',
|
|
50
|
+
泛微印尼: '5',
|
|
51
|
+
浙江泛微: '6',
|
|
52
|
+
},
|
|
53
|
+
signForm: {
|
|
54
|
+
双方电子签署客户电子签平台双方电子签: '0',
|
|
55
|
+
双方电子签署: '0',
|
|
56
|
+
防伪打印签署: '1',
|
|
57
|
+
纸质签署: '2',
|
|
58
|
+
单方电子签署: '3',
|
|
59
|
+
双方电子签署泛微契约锁平台双方电子签: '4',
|
|
60
|
+
无需用印: '5',
|
|
61
|
+
},
|
|
62
|
+
signDate: {
|
|
63
|
+
是: '0',
|
|
64
|
+
否: '1',
|
|
65
|
+
默认合同办理当天: '2',
|
|
66
|
+
指定签署日期: '3',
|
|
67
|
+
暂不填写: '4',
|
|
68
|
+
},
|
|
69
|
+
signWay: { 我方先盖章: '0', 客户方先盖章: '1', 等待确认: '2' },
|
|
70
|
+
},
|
|
71
|
+
defaults: { signForm: '2', signDate: '2', signWay: '0' },
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* 契约锁流程(workflowId 100003460000002066)字段表。
|
|
75
|
+
*
|
|
76
|
+
* 依据 references/contract-field-extract-other-flows.md §2.1 / §2.1.1(2026-11-06 实测)。
|
|
77
|
+
* 只登记「类型确定、无需选项 ID」的字段:文本 / 数字。
|
|
78
|
+
* Select 类字段一律填**中文选项值**,不转选项 ID(2026-11-11 用户指定规则)。
|
|
79
|
+
*/
|
|
80
|
+
export const QIYUESUO = {
|
|
81
|
+
workflowId: '100003460000002066',
|
|
82
|
+
attachmentFieldId: '100003720000025579', // 合同正文及附件
|
|
83
|
+
fields: {
|
|
84
|
+
attachment: '100003720000025579#合同正文及附件',
|
|
85
|
+
title: '1315748387847675960#流程标题(new)',
|
|
86
|
+
contractName: '100003720000028023#合同名称',
|
|
87
|
+
totalAmount: '100003720000025527#合同总金额',
|
|
88
|
+
receiver: '100003720000025492#合同收件人',
|
|
89
|
+
mobile: '100003720000025493#收件人移动电话',
|
|
90
|
+
address: '100003720000025495#合同邮寄地址',
|
|
91
|
+
partySigner: '100003720000032878#对方签署人姓名',
|
|
92
|
+
partyContact: '100003720000032879#对方签署人联系方式',
|
|
93
|
+
},
|
|
94
|
+
selects: {
|
|
95
|
+
buyMode: '100003720000025514#购买方式',
|
|
96
|
+
ourCompany: '100003720000053778#签约公司(发票开具专用)',
|
|
97
|
+
signForm: '100003720000026071#签约形式',
|
|
98
|
+
signDateType: '1024078670684487911#合同签署日期',
|
|
99
|
+
signWay: '100003720000025491#合同签订方式',
|
|
100
|
+
implParty: '100003720000034686#实施方',
|
|
101
|
+
relatedProduct: '100003720000025529#相关产品',
|
|
102
|
+
contractType: '100003720000025526#合同类型',
|
|
103
|
+
isXinChuang: '991689488975806681#是否信创',
|
|
104
|
+
finalUser: '100003720000025524#客户名称(最终用户)',
|
|
105
|
+
partner: '100003720000025582#伙伴公司名称',
|
|
106
|
+
},
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* 常规二次销售流程(workflowId 1283761687634100307)字段表。
|
|
110
|
+
* 依据 §3.1 / §3.2 / §3.3(2026-11-06 实测,57 个数据字段)。
|
|
111
|
+
*/
|
|
112
|
+
export const RESALE = {
|
|
113
|
+
workflowId: '1283761687634100307',
|
|
114
|
+
attachmentFieldId: '100003720000029309', // 合同正文及附件
|
|
115
|
+
fields: {
|
|
116
|
+
attachment: '100003720000029309#合同正文及附件',
|
|
117
|
+
title: '1298278337779310598#流程标题new',
|
|
118
|
+
contractName: '100003720000007045#合同名称',
|
|
119
|
+
totalAmount: '100003720000001201#合同总金额',
|
|
120
|
+
background: '100003720000001211#本次合同签订的背景说明',
|
|
121
|
+
receiver: '100003720000001233#合同收件人',
|
|
122
|
+
mobile: '100003720000001235#收件人移动电话',
|
|
123
|
+
address: '100003720000001234#合同邮寄地址',
|
|
124
|
+
purchase: '100003720000111953#合同购买内容',
|
|
125
|
+
},
|
|
126
|
+
selects: {
|
|
127
|
+
buyMode: '100003720000011577#购买方式',
|
|
128
|
+
ourCompany: '100003720000020599#签约公司(我方)',
|
|
129
|
+
signForm: '100003720000033806#签约形式',
|
|
130
|
+
signDateType: '100003720000015727#合同签署日期',
|
|
131
|
+
signWay: '100003720000001232#合同签订方式',
|
|
132
|
+
contractType: '100003720000001200#合同类型',
|
|
133
|
+
finalUser: '100003720000001199#客户名称(最终用户)',
|
|
134
|
+
partner: '1291602365099327623#伙伴名称(文本备份)',
|
|
135
|
+
},
|
|
136
|
+
checkbox: {
|
|
137
|
+
fieldKey: 'purchase',
|
|
138
|
+
options: { 维护: '0', 用户数: '1', 第三方软硬件: '2', 契约锁: '3', 实施开发: '4' },
|
|
139
|
+
},
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* 老客户增值流程(workflowId 1283761429944369334)字段表。
|
|
143
|
+
* 依据 §4.1 / §4.2 / §4.3(2026-11-06 实测,58 个数据字段)。
|
|
144
|
+
*/
|
|
145
|
+
export const UPSALE = {
|
|
146
|
+
workflowId: '1283761429944369334',
|
|
147
|
+
attachmentFieldId: '100003720000039590', // 合同正文及附件
|
|
148
|
+
fields: {
|
|
149
|
+
attachment: '100003720000039590#合同正文及附件',
|
|
150
|
+
title: '1298277938348532028#流程标题new',
|
|
151
|
+
contractName: '100003720000027572#合同名称(new)',
|
|
152
|
+
totalAmount: '100003720000001290#合同总金额',
|
|
153
|
+
background: '100003720000001297#合同背景说明',
|
|
154
|
+
receiver: '100003720000001320#合同收件人',
|
|
155
|
+
mobile: '100003720000001322#收件人移动电话',
|
|
156
|
+
address: '100003720000001321#合同邮寄地址',
|
|
157
|
+
purchase: '1286420538647650492#合同购买内容',
|
|
158
|
+
},
|
|
159
|
+
selects: {
|
|
160
|
+
buyMode: '100003720000011578#购买方式',
|
|
161
|
+
ourCompany: '100003720000020601#签约公司(我方)',
|
|
162
|
+
signForm: '100003720000033807#签约形式',
|
|
163
|
+
signDateType: '100003720000015728#合同签署日期',
|
|
164
|
+
signWay: '100003720000001319#合同签订方式',
|
|
165
|
+
contractType: '100003720000001289#合同类型',
|
|
166
|
+
finalUser: '100003720000001287#客户名称(最终用户)',
|
|
167
|
+
partner: '1291612552921137531#伙伴名称(文本备份)',
|
|
168
|
+
},
|
|
169
|
+
// 合同购买内容选项 ID 与常规二次销售不同,禁止互抄
|
|
170
|
+
checkbox: {
|
|
171
|
+
fieldKey: 'purchase',
|
|
172
|
+
options: {
|
|
173
|
+
功能模块: '0',
|
|
174
|
+
实施开发: '1',
|
|
175
|
+
升级: '2',
|
|
176
|
+
第三方软硬件: '3',
|
|
177
|
+
契约锁: '4',
|
|
178
|
+
重新部署: '5',
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
};
|
|
182
|
+
export const BUILTIN = {
|
|
183
|
+
新客户: NEW_CUSTOMER,
|
|
184
|
+
契约锁: QIYUESUO,
|
|
185
|
+
常规二次销售: RESALE,
|
|
186
|
+
老客户增值: UPSALE,
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* 我方签约公司:下拉框可用选项值(禁止直接填乙方全称)。
|
|
190
|
+
* 顺序敏感:子公司先匹配,其次「上海泛微软件」,最后才是母公司「泛微网络」。
|
|
191
|
+
*/
|
|
192
|
+
export const COMPANY_OPTIONS = [
|
|
193
|
+
['浙江泛微', ['浙江泛微']],
|
|
194
|
+
['成都泛微', ['成都泛微']],
|
|
195
|
+
['泛微新加坡', ['泛微新加坡', 'WEAVERSINGAPORE']],
|
|
196
|
+
['泛微马来西亚', ['泛微马来西亚', 'WEAVERMALAYSIA']],
|
|
197
|
+
['泛微印尼', ['泛微印尼', 'WEAVERINDONESIA']],
|
|
198
|
+
['泛微软件', ['上海泛微软件', '泛微软件']],
|
|
199
|
+
['泛微网络', ['泛微网络', '泛微网络科技']],
|
|
200
|
+
];
|
|
201
|
+
/** 复选框关键词命中表(只按语义明确命中勾选,命中不到就不填)。 */
|
|
202
|
+
export const CHECKBOX_HINTS_RESALE = [
|
|
203
|
+
['维护', ['维护', '维保']],
|
|
204
|
+
['用户数', ['用户数', '并发', '许可数']],
|
|
205
|
+
['第三方软硬件', ['第三方软硬件', '硬件采购']],
|
|
206
|
+
['契约锁', ['契约锁']],
|
|
207
|
+
['实施开发', ['实施开发', '二次开发', '实施服务']],
|
|
208
|
+
];
|
|
209
|
+
export const CHECKBOX_HINTS_UPSALE = [
|
|
210
|
+
['功能模块', ['功能模块', '模块购买']],
|
|
211
|
+
['实施开发', ['实施开发', '二次开发', '实施服务']],
|
|
212
|
+
['升级', ['升级', '版本升级']],
|
|
213
|
+
['第三方软硬件', ['第三方软硬件', '硬件采购']],
|
|
214
|
+
['契约锁', ['契约锁']],
|
|
215
|
+
['重新部署', ['重新部署', '迁移部署']],
|
|
216
|
+
];
|