提交
This commit is contained in:
1 parent
47ef575524
commit
38383b35d9
92 files changed
+1051117
-37355
No files matched your search
+1
-1
@@ -1 +1 @@
|
||||
31383
|
||||
18897
|
||||
@@ -201,11 +201,42 @@ class InvoiceService:
|
||||
*,
|
||||
user: BxUserContext,
|
||||
owner_user_id: Optional[str] = None,
|
||||
) -> List[BxInvoiceLedger]:
|
||||
) -> List[dict]:
|
||||
"""返回流水字典列表;流水备注为空时回填关联发票备注(含已软删发票)。"""
|
||||
tenant_no = InvoiceService._tenant_no(db, user)
|
||||
owner_id = InvoiceService._resolve_owner_for_query(db, user, owner_user_id)
|
||||
rows = InvoiceLedgerService.list_entries(db, tenant_no, owner_id)
|
||||
return list(reversed(rows))
|
||||
rows = list(reversed(InvoiceLedgerService.list_entries(db, tenant_no, owner_id)))
|
||||
invoice_ids = {r.invoice_id for r in rows if r.invoice_id}
|
||||
inv_remark_map: dict[str, str] = {}
|
||||
if invoice_ids:
|
||||
inv_rows = (
|
||||
db.query(BxInvoice.id, BxInvoice.remark)
|
||||
.filter(BxInvoice.id.in_(list(invoice_ids)), BxInvoice.tenant_no == tenant_no)
|
||||
.all()
|
||||
)
|
||||
for inv_id, inv_remark in inv_rows:
|
||||
text = (inv_remark or "").strip()
|
||||
if text:
|
||||
inv_remark_map[inv_id] = text
|
||||
out: List[dict] = []
|
||||
for r in rows:
|
||||
remark = (r.remark or "").strip()
|
||||
if not remark and r.invoice_id:
|
||||
remark = inv_remark_map.get(r.invoice_id, "")
|
||||
out.append(
|
||||
{
|
||||
"id": r.id,
|
||||
"owner_user_id": r.owner_user_id,
|
||||
"entry_type": r.entry_type,
|
||||
"amount": r.amount,
|
||||
"invoice_id": r.invoice_id,
|
||||
"reimburse_id": r.reimburse_id,
|
||||
"ref_ledger_id": r.ref_ledger_id,
|
||||
"remark": remark or None,
|
||||
"create_time": r.create_time,
|
||||
}
|
||||
)
|
||||
return out
|
||||
|
||||
@staticmethod
|
||||
def create(
|
||||
@@ -270,6 +301,7 @@ class InvoiceService:
|
||||
amount=amt,
|
||||
user=user,
|
||||
invoice_id=invoice.id,
|
||||
remark=(remark or "").strip() or None,
|
||||
)
|
||||
invoice_count = InvoiceService._count_invoices(db, tenant_no, owner_id)
|
||||
InvoiceLedgerService.refresh_summary(
|
||||
@@ -304,6 +336,7 @@ class InvoiceService:
|
||||
amount=Decimal(str(invoice.amount)),
|
||||
user=user,
|
||||
invoice_id=invoice.id,
|
||||
remark=(invoice.remark or "").strip() or "删除发票冲减",
|
||||
)
|
||||
|
||||
invoice.del_flag = 1
|
||||
|
||||
@@ -183,17 +183,12 @@
|
||||
"181": "allocate_next_biz_no",
|
||||
"182": "statistics.py",
|
||||
"183": "resolve_create_time_bounds",
|
||||
"184": "__init__.py",
|
||||
"185": "vehicle_urea.py",
|
||||
"186": "transport_address.py",
|
||||
"187": "_build_user_info_payload",
|
||||
"188": "context.py",
|
||||
"189": "create",
|
||||
"190": "menu.py",
|
||||
"191": "SoftDeleteModel",
|
||||
"192": "pool_rule.py",
|
||||
"193": "create_from_quote",
|
||||
"194": "web_login_rsa_public_key",
|
||||
"196": "crm_contract_sub_routes.py",
|
||||
"197": "_coerce_resource_snapshot",
|
||||
"198": "user.py",
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
"197": "_coerce_resource_snapshot",
|
||||
"198": "user.py",
|
||||
"200": "register_local_callback",
|
||||
"201": ".to_tenant_user_dict",
|
||||
"202": "statistics.py",
|
||||
"206": "crm_quote_pdf.py",
|
||||
"207": "shanxia2.0 后端骨架(FastAPI)",
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
# Graph Report - backend (2026-08-08)
|
||||
# Graph Report - backend (2026-08-09)
|
||||
|
||||
## Corpus Check
|
||||
- 326 files · ~212,760 words
|
||||
- 329 files · ~214,176 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
- 4731 nodes · 15973 edges · 544 communities (525 shown, 19 thin omitted)
|
||||
- Extraction: 97% EXTRACTED · 3% INFERRED · 0% AMBIGUOUS · INFERRED: 478 edges (avg confidence: 0.53)
|
||||
- 4743 nodes · 16026 edges · 543 communities (527 shown, 16 thin omitted)
|
||||
- Extraction: 97% EXTRACTED · 3% INFERRED · 0% AMBIGUOUS · INFERRED: 479 edges (avg confidence: 0.53)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Graph Freshness
|
||||
- Built from commit: `2df2ef08`
|
||||
- Built from commit: `ca6aca2b`
|
||||
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
|
||||
- Run `graphify update .` after code changes (no API cost).
|
||||
|
||||
@@ -162,7 +162,6 @@
|
||||
- [[_COMMUNITY_web_login_rsa_public_key|web_login_rsa_public_key]]
|
||||
- [[_COMMUNITY_crm_contract_sub_routes.py|crm_contract_sub_routes.py]]
|
||||
- [[_COMMUNITY_register_local_callback|register_local_callback]]
|
||||
- [[_COMMUNITY_.to_tenant_user_dict|.to_tenant_user_dict]]
|
||||
- [[_COMMUNITY_crm_quote_pdf.py|crm_quote_pdf.py]]
|
||||
- [[_COMMUNITY_shanxia2.0 后端骨架(FastAPI)|shanxia2.0 后端骨架(FastAPI)]]
|
||||
- [[_COMMUNITY_api_crypto_middleware.py|api_crypto_middleware.py]]
|
||||
@@ -184,20 +183,18 @@
|
||||
- [[_COMMUNITY_PlanResourceSnapshotMixin|PlanResourceSnapshotMixin]]
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
1. `BaseModel` - 446 edges
|
||||
1. `BaseModel` - 447 edges
|
||||
2. `get_tenant_no()` - 350 edges
|
||||
3. `success_response()` - 258 edges
|
||||
4. `DbUserContext` - 254 edges
|
||||
5. `error_response()` - 240 edges
|
||||
6. `generate_uuid()` - 195 edges
|
||||
5. `error_response()` - 239 edges
|
||||
6. `generate_uuid()` - 198 edges
|
||||
7. `BxUserContext` - 183 edges
|
||||
8. `crm_user_info()` - 137 edges
|
||||
9. `assert_row_deletable_by_creator()` - 83 edges
|
||||
10. `ApiResponse` - 79 edges
|
||||
|
||||
## Surprising Connections (you probably didn't know these)
|
||||
- `BackfillRule` --uses--> `Settings` [INFERRED]
|
||||
scripts/migrate_crm_sys_oss.py → app/core/config.py
|
||||
- `MigrationStats` --uses--> `Settings` [INFERRED]
|
||||
scripts/migrate_bx_data.py → app/core/config.py
|
||||
- `StepStats` --uses--> `Settings` [INFERRED]
|
||||
@@ -206,27 +203,29 @@
|
||||
scripts/migrate_crm_clue.py → app/core/config.py
|
||||
- `StepStats` --uses--> `Settings` [INFERRED]
|
||||
scripts/migrate_crm_clue.py → app/core/config.py
|
||||
- `MigrationStats` --uses--> `Settings` [INFERRED]
|
||||
scripts/migrate_crm_contract.py → app/core/config.py
|
||||
|
||||
## Import Cycles
|
||||
- None detected.
|
||||
|
||||
## Communities (544 total, 19 thin omitted)
|
||||
## Communities (543 total, 16 thin omitted)
|
||||
|
||||
### Community 0 - "Community 0"
|
||||
Cohesion: 0.16
|
||||
Nodes (32): check_document_expiry(), document_reminder_stats(), get_inventory_ledger(), get_summary(), list_document_reminders(), list_transactions(), list_warnings(), date (+24 more)
|
||||
Cohesion: 0.15
|
||||
Nodes (33): check_document_expiry(), document_reminder_stats(), get_inventory_ledger(), get_summary(), list_document_reminders(), list_transactions(), list_warnings(), date (+25 more)
|
||||
|
||||
### Community 1 - "Community 1"
|
||||
Cohesion: 0.08
|
||||
Nodes (38): CRM 合同 API 路由 — GET/PUT/DELETE/POST 对齐原 Java CRM, 接口菜单权限守卫。super_admin 直接放行。, require_menu_code(), ContractApproverSettingSaveBody, ContractApprovalActionBody, ContractApprovalPassBody, ContractApprovalRejectBody, ContractApprovalTransferBody (+30 more)
|
||||
Nodes (36): CRM 合同 API 路由 — GET/PUT/DELETE/POST 对齐原 Java CRM, ContractApproverSettingSaveBody, ContractApprovalActionBody, ContractApprovalPassBody, ContractApprovalRejectBody, ContractApprovalTransferBody, ContractBatchAssignBody, ContractBatchSubmitBody (+28 more)
|
||||
|
||||
### Community 2 - "Community 2"
|
||||
Cohesion: 0.20
|
||||
Nodes (27): _apply_inventory_product_update(), _apply_inventory_update(), _base_query(), create_inventory(), create_link_for_plan(), delete_inventory(), _generate_batch_no(), _get_inventory() (+19 more)
|
||||
Nodes (25): _apply_inventory_product_update(), _apply_inventory_update(), _base_query(), create_inventory(), create_link_for_plan(), delete_inventory(), _generate_batch_no(), _get_inventory() (+17 more)
|
||||
|
||||
### Community 3 - "Community 3"
|
||||
Cohesion: 0.07
|
||||
Nodes (65): attachment_download_url(), attachment_preview_url(), create_dept(), create_dict_data(), create_dict_type(), create_menu(), create_menu_favorite(), create_post() (+57 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (95): attachment_download_url(), attachment_preview_url(), AttachmentDownloadUrlBody, create_dept(), create_dict_data(), create_dict_type(), create_menu(), create_menu_favorite() (+87 more)
|
||||
|
||||
### Community 4 - "Community 4"
|
||||
Cohesion: 0.12
|
||||
@@ -241,80 +240,80 @@ Cohesion: 0.11
|
||||
Nodes (48): assign_customer(), batch_claim_customers(), check_duplicate_customer(), claim_customer(), create_customer(), deal_customer(), _enrich_user_names(), _ensure_customer_in_scope() (+40 more)
|
||||
|
||||
### Community 7 - "Community 7"
|
||||
Cohesion: 0.05
|
||||
Nodes (59): clue_check_convert(), clue_check_duplicate(), clue_park_area_list(), customer_check_duplicate(), customer_generate_no(), customer_park_area_list(), customer_transfer(), _opp_list_kwargs() (+51 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (128): clue_check_convert(), clue_check_duplicate(), clue_detail(), clue_follow_detail(), clue_follow_statistics(), clue_import(), clue_list(), clue_mine() (+120 more)
|
||||
|
||||
### Community 8 - "Community 8"
|
||||
Cohesion: 0.08
|
||||
Nodes (75): register_quote_routes(), create_from_quote(), _quote_products_to_contract_products(), Java: createFromQuote — 返回合同 id, accept_quote(), delete_pending_approvals(), Java: deletePendingApprovals, assert_quote_editable_for_update() (+67 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (55): register_quote_routes(), create_from_quote(), _quote_products_to_contract_products(), Java: createFromQuote — 返回合同 id, accept_quote(), assert_quote_editable_for_update(), _build_quote_filters(), calculate_quote_amount() (+47 more)
|
||||
|
||||
### Community 11 - "Community 11"
|
||||
Cohesion: 0.11
|
||||
Nodes (54): cancel_apply(), create_apply(), create_disburse(), delete_applies(), delete_disburses(), get_apply(), get_disburse(), list_applies() (+46 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (55): cancel_apply(), create_apply(), create_disburse(), delete_applies(), delete_disburses(), get_apply(), get_disburse(), list_applies() (+47 more)
|
||||
|
||||
### Community 12 - "Community 12"
|
||||
Cohesion: 0.07
|
||||
Nodes (43): AttachmentUploadResponse, ChangePasswordRequest, Config, LoginRequest, LoginResponse, Pydantic schemas - 用户认证, ResetPasswordRequest, UserCreate (+35 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (59): customer_create(), customer_update(), customer_name_exists(), BaseModel, AttachmentUploadResponse, ChangePasswordRequest, Config, LoginRequest (+51 more)
|
||||
|
||||
### Community 13 - "Community 13"
|
||||
Cohesion: 0.20
|
||||
Nodes (7): BxAdvanceApply, BxAdvanceApproval, AdvanceService, Any, Session, 同一节点多次审批时,取 approval_time 最新的一条作为当前节点状态。, 返回全部审批动作,按时间正序排列,用于展示完整审批历史。
|
||||
Cohesion: 0.12
|
||||
Nodes (20): BxAdvanceApply, BxAdvanceApproval, AdvanceService, Any, Session, 同一节点多次审批时,取 approval_time 最新的一条作为当前节点状态。, 返回全部审批动作,按时间正序排列,用于展示完整审批历史。, filter_current_cycle_approvals() (+12 more)
|
||||
|
||||
### Community 14 - "Community 14"
|
||||
Cohesion: 0.13
|
||||
Nodes (41): approve_carrier(), bind_vehicle_driver(), create_carrier(), create_driver(), create_personnel(), delete_carrier(), delete_driver(), delete_personnel() (+33 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (54): approve_carrier(), create_carrier(), create_driver(), create_personnel(), delete_carrier(), delete_driver(), delete_personnel(), delete_vehicle() (+46 more)
|
||||
|
||||
### Community 15 - "Community 15"
|
||||
Cohesion: 0.10
|
||||
Nodes (41): approve_reimburse(), approved_by_me(), _build_details_data(), create_reimburse(), delete_reimburse(), get_approval_history(), get_approvals(), get_generated_title() (+33 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (14): BxReimburseApply, BxReimburseApproval, BxReimburseDetail, BxReimburseInvoice, BxReimburseOffset, ReimburseApplyOut, ReimburseInvoiceBriefOut, Any (+6 more)
|
||||
|
||||
### Community 16 - "Community 16"
|
||||
Cohesion: 0.09
|
||||
Nodes (60): cancel_apply(), create_apply(), create_record(), delete_applies(), delete_records(), get_apply(), get_record(), list_applies() (+52 more)
|
||||
Cohesion: 0.15
|
||||
Nodes (39): PlVehicleRechargeApply, PlVehicleRechargeRecord, 车辆ETC/加油充值申请 pl_vehicle_recharge_apply, 车辆ETC/加油充值发放登记 pl_vehicle_recharge_record, Decimal, 发放登记页:申请单 + 关联发放信息(左连接), VehicleRechargeApplyRead, VehicleRechargeDisburseBoardItem (+31 more)
|
||||
|
||||
### Community 18 - "Community 18"
|
||||
Cohesion: 0.09
|
||||
Nodes (61): advance_pending_approval_stats(), advance_status_counts(), approve_advance(), approved_by_me(), create_advance(), delete_advance(), _fill_offset_amounts(), get_advance() (+53 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (37): advance_pending_approval_stats(), advance_status_counts(), approve_advance(), approved_by_me(), create_advance(), delete_advance(), _fill_offset_amounts(), get_advance() (+29 more)
|
||||
|
||||
### Community 19 - "Community 19"
|
||||
Cohesion: 0.06
|
||||
Nodes (74): archive_plan(), cancel_plan(), cancel_plan_wait_notice(), count_plans_by_contract(), create_from_contract(), create_plan(), create_plan_full(), delete_plan() (+66 more)
|
||||
Cohesion: 0.05
|
||||
Nodes (89): archive_plan(), _build_driver_url(), cancel_plan(), cancel_plan_wait_notice(), count_plans_by_contract(), create_from_contract(), create_plan(), create_plan_full() (+81 more)
|
||||
|
||||
### Community 21 - "Community 21"
|
||||
Cohesion: 0.09
|
||||
Nodes (58): _alias_row_to_dict(), _assert_brand_deletable(), barcode_exists(), _brand_row_to_dict(), _build_category_tree(), category_code_exists(), _category_row_to_dict(), _collect_category_with_ancestors() (+50 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (61): _alias_row_to_dict(), _assert_brand_deletable(), barcode_exists(), _brand_row_to_dict(), _build_category_tree(), category_code_exists(), _category_row_to_dict(), _collect_category_with_ancestors() (+53 more)
|
||||
|
||||
### Community 22 - "Community 22"
|
||||
Cohesion: 0.08
|
||||
Nodes (28): parse_admin_request_json(), Any, Request, 运营 Web(/web/admin)JSON 请求体解析。 与 ApiCryptoMiddleware 配合:中间件未改写 body 时,在路由内解密 `{, 读取 JSON body;dict 时走 resolve_request_payload(明文 / 密文 / data 包装)。 Returns:, ApiCryptoError, _b64url_decode(), _b64url_encode() (+20 more)
|
||||
|
||||
### Community 23 - "Community 23"
|
||||
Cohesion: 0.14
|
||||
Nodes (7): convert_heic_to_jpeg(), process_image_content(), QiniuStorage, 文件存储工具模块 支持多种存储方式: 1. 本地存储 (local) - 默认 2. 七牛云存储 (qiniu) - 推荐生产环境使用 3. 阿里云OSS (, 将 HEIC/HEIF 格式转换为 JPEG 格式, 处理图片内容,如果是 HEIC 格式则转换为 JPEG, BytesIO
|
||||
Cohesion: 0.15
|
||||
Nodes (6): convert_heic_to_jpeg(), process_image_content(), QiniuStorage, 将 HEIC/HEIF 格式转换为 JPEG 格式, 处理图片内容,如果是 HEIC 格式则转换为 JPEG, BytesIO
|
||||
|
||||
### Community 24 - "Community 24"
|
||||
Cohesion: 0.26
|
||||
Nodes (20): get_plan_related(), list_weighing(), format_datetime(), _create_by_name(), datetime_end_of_day(), fmt_date(), fmt_datetime(), inventory_date_to_api() (+12 more)
|
||||
Cohesion: 0.15
|
||||
Nodes (39): _apply_plan_update(), _base_query(), create_plan(), delete_plan(), _generate_plan_no(), get_plan(), _get_plan_by_id_only(), get_plan_related() (+31 more)
|
||||
|
||||
### Community 25 - "Community 25"
|
||||
Cohesion: 0.12
|
||||
Nodes (28): PlInventory, PlInventoryTransaction, 库存流水表 pl_inventory_transaction, load_brand_qtys_by_plan_product_ids(), persist_plan_product_brand_qtys(), Any, Decimal, Session (+20 more)
|
||||
Cohesion: 0.21
|
||||
Nodes (15): load_brand_qtys_by_plan_product_ids(), persist_plan_product_brand_qtys(), Any, Decimal, Session, 按计划产品明细 ID 批量加载归档品牌数量(brandId/brandName/qty)。, 软删旧品牌量行后按归档结果插入;无品牌约定则只软删不插入。, validate_brand_qty_rows() (+7 more)
|
||||
|
||||
### Community 26 - "Community 26"
|
||||
Cohesion: 0.25
|
||||
Nodes (10): _cert_url_blank(), plan_has_hazard_product_exists(), plan_has_incomplete_hazard_cert_exists(), 证书 URL 为空(NULL / 空串 / 纯空白)。, 列表筛选:计划下存在 CRM 标识为易制毒/易制爆的产品。, 列表筛选:存在危化产品且至少一张必需证书未上传。, _compile(), 危化品证上传列表筛选:EXISTS 子查询应覆盖 CRM 危化标识与证书缺口。 (+2 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (34): Session, recognize_cert(), RecognizeCertBody, RecognizeCertResult, cancel_apply(), create_apply(), create_record(), delete_applies() (+26 more)
|
||||
|
||||
### Community 27 - "Community 27"
|
||||
Cohesion: 0.05
|
||||
Nodes (67): CRM 报价单 API 路由 — 挂接到 crm.router, BaseModel, PagedQuery, PagedResponse, InvoiceAttachmentOut, InvoiceOut, LedgerOut, WalletSummaryOut (+59 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (32): CRM 报价单 API 路由 — 挂接到 crm.router, QuoteApproverSettingSaveBody, QuoteAcceptBody, QuoteApprovalApproveBody, QuoteApprovalListBody, QuoteApprovalRefreshNamesBody, QuoteApprovalWithdrawBody, QuoteCreateBody (+24 more)
|
||||
|
||||
### Community 28 - "Community 28"
|
||||
Cohesion: 0.09
|
||||
Nodes (64): PlFreightSettlement, PlFreightSettlementApproval, PlFreightSettlementTransport, PlRemittanceVoucher, 运费结算表 pl_freight_settlement, 运费结算审批 pl_freight_settlement_approval, 结算单-运输关联表 pl_freight_settlement_transport, 汇款凭证表 pl_remittance_voucher (+56 more)
|
||||
Nodes (61): PlFreightSettlement, PlFreightSettlementApproval, PlFreightSettlementTransport, PlRemittanceVoucher, 运费结算表 pl_freight_settlement, 运费结算审批 pl_freight_settlement_approval, 结算单-运输关联表 pl_freight_settlement_transport, 汇款凭证表 pl_remittance_voucher (+53 more)
|
||||
|
||||
### Community 29 - "Community 29"
|
||||
Cohesion: 0.10
|
||||
Nodes (58): PlPlan, PlPlanChange, PlPlanProduct, PlPlanTransport, 计划产品明细表 pl_plan_product, 计划变更记录表 pl_plan_change, 计划-运输关联表 pl_plan_transport, PlanArchiveFreightBlock (+50 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (62): QrCodeResponse, PlPlan, PlPlanProduct, PlPlanTransport, 计划产品明细表 pl_plan_product, 计划-运输关联表 pl_plan_transport, PlanArchiveFreightBlock, PlanArchiveProductItem (+54 more)
|
||||
|
||||
### Community 30 - "Community 30"
|
||||
Cohesion: 0.16
|
||||
@@ -322,115 +321,115 @@ Nodes (26): clear_target_categories(), compute_level(), count_target_rows(), der
|
||||
|
||||
### Community 33 - "Community 33"
|
||||
Cohesion: 0.14
|
||||
Nodes (21): 报销模块认证适配:门户 JWT 用户 → bx 业务上下文。, BxReimburseInvoice, BxReimburseOffset, BxWorkflowNode, 报销(bx)模块数据模型 — 对齐 docs/sql/20260606_bx_tables.sql, filter_current_cycle_approvals(), 审批轮次过滤 — 驳回后重新提交时,进度接口仅展示当前轮次。, 审批进度仅展示当前轮次;完整历史由 get_approval_history 返回。 (+13 more)
|
||||
Nodes (24): PlTransportProductBrandQty, PlTransportProductFeedback, 运输单按产品回传 pl_transport_product_feedback, 运输单产品回传品牌数量 pl_transport_product_brand_qty, _dict_field(), format_brand_qty_summary(), load_transport_driver_product_feedbacks(), persist_io_item_brand_qtys() (+16 more)
|
||||
|
||||
### Community 34 - "Community 34"
|
||||
Cohesion: 0.15
|
||||
Nodes (32): approve_task(), _assert_wf_instance_in_scope(), _business_type_label(), create_process_def(), delete_process_def(), _enrich_task_list(), get_business_all_tasks(), _get_business_form_fields() (+24 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (45): approve_task(), _assert_wf_instance_in_scope(), _business_type_label(), create_process_def(), delete_process_def(), _enrich_task_list(), get_business_all_tasks(), _get_business_form_fields() (+37 more)
|
||||
|
||||
### Community 35 - "Community 35"
|
||||
Cohesion: 0.18
|
||||
Nodes (36): clear_portal_workflow(), _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_bx_user_mapping(), load_runtime_settings() (+28 more)
|
||||
|
||||
### Community 36 - "Community 36"
|
||||
Cohesion: 0.15
|
||||
Nodes (27): 验证密码(哈希非 bcrypt 或损坏时返回 False,避免抛错), verify_password(), change_password(), create_user(), get_user(), get_user_with_relations(), _hash_password(), list_post_ids_for_user() (+19 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (42): 验证密码(哈希非 bcrypt 或损坏时返回 False,避免抛错), verify_password(), list_ethnics(), Any, Session, 民族码表 CRUD(全局 sys_ethnic), _row_to_dict(), change_password() (+34 more)
|
||||
|
||||
### Community 37 - "Community 37"
|
||||
Cohesion: 0.20
|
||||
Nodes (24): count_source_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_runtime_settings(), load_settings_env(), load_user_mapping() (+16 more)
|
||||
|
||||
### Community 38 - "Community 38"
|
||||
Cohesion: 0.20
|
||||
Nodes (13): create_expense_item(), delete_expense_item(), get_expense_item(), get_expense_item_tree(), Session, update_expense_item(), BxExpenseItem, _coerce_id() (+5 more)
|
||||
Cohesion: 0.15
|
||||
Nodes (17): create_expense_item(), delete_expense_item(), get_expense_item(), get_expense_item_tree(), Session, update_expense_item(), BxExpenseItem, _coerce_id() (+9 more)
|
||||
|
||||
### Community 39 - "Community 39"
|
||||
Cohesion: 0.22
|
||||
Nodes (27): assign_clues(), check_convert(), check_duplicate_clue(), convert_clue(), create_clue(), _enrich_user_names(), _ensure_clue_in_scope(), get_clue() (+19 more)
|
||||
Nodes (28): assign_clues(), check_convert(), check_duplicate_clue(), convert_clue(), create_clue(), _enrich_user_names(), _ensure_clue_in_scope(), get_clue() (+20 more)
|
||||
|
||||
### Community 42 - "Community 42"
|
||||
Cohesion: 0.20
|
||||
Nodes (31): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_oss_id_to_url(), load_runtime_settings(), load_settings_env() (+23 more)
|
||||
|
||||
### Community 43 - "Community 43"
|
||||
Cohesion: 0.11
|
||||
Nodes (27): create_invoice(), delete_invoice(), get_mine_wallet_summary(), list_invoice_ledgers(), list_invoice_wallets(), list_invoices(), Request, Session (+19 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (30): create_invoice(), delete_invoice(), get_mine_wallet_summary(), list_invoice_ledgers(), list_invoice_wallets(), list_invoices(), Request, Session (+22 more)
|
||||
|
||||
### Community 44 - "Community 44"
|
||||
Cohesion: 0.08
|
||||
Nodes (81): register_contract_routes(), _apply_contract_entity_fields(), batch_assign_owner(), batch_submit_contract_approval(), _build_contract_filters(), _build_contract_name_from_parties(), _build_customer_address(), _calc_amount_with_tax() (+73 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (59): register_contract_routes(), batch_assign_owner(), batch_submit_contract_approval(), _build_contract_name_from_parties(), _build_customer_address(), _contract_period_key(), contract_row_to_dict(), download_contract_pdf() (+51 more)
|
||||
|
||||
### Community 45 - "Community 45"
|
||||
Cohesion: 0.08
|
||||
Nodes (72): _build_driver_url(), get_plan_arrange_info(), 获取计划已安排运输后的司机链接与地磅出入库关联(供查看弹窗复制简述/二维码)。, _apply_plan_logistics_from_payload(), _apply_transport_arrange_fields(), arrange_transport(), _assert_vehicle_carrier_eligible(), _build_arrange_result() (+64 more)
|
||||
Cohesion: 0.07
|
||||
Nodes (86): get_plan_arrange_info(), 获取计划已安排运输后的司机链接与地磅出入库关联(供查看弹窗复制简述/二维码)。, _build_public_page(), _format_file_size(), _format_plan_date(), get_public_transport(), _get_transport_by_token(), _parse_feedback_images() (+78 more)
|
||||
|
||||
### Community 46 - "Community 46"
|
||||
Cohesion: 0.06
|
||||
Nodes (55): customer_create(), customer_delete(), customer_update(), opportunity_follow_add(), opportunity_follow_update(), pool_customer_assign(), pool_customer_claim(), pool_customer_list() (+47 more)
|
||||
Nodes (58): clue_assign(), clue_convert(), clue_create(), clue_delete(), clue_follow_create(), clue_follow_delete(), clue_follow_list(), clue_follow_update() (+50 more)
|
||||
|
||||
### Community 48 - "Community 48"
|
||||
Cohesion: 0.27
|
||||
Nodes (10): get_last_month_range(), month_range(), date, Session, 地磅计划按月自动生成 — 迁移自 simple-dibang-xiaoshou/auto-create-plan/auto_create_monthly_pla, 按月自动生成采购计划。 - 默认仅在每月 1 日执行(force=True 时跳过该限制,供手动触发验收) - 遍历所有租户,按上月计划模板生, run_auto_generate_monthly_plans(), default_execution_status() (+2 more)
|
||||
Cohesion: 0.18
|
||||
Nodes (15): AutoGenerateMonthlyResult, 手动触发计划按月自动生成(定时任务同款逻辑)。, run_auto_generate_monthly(), get_last_month_range(), month_range(), date, Session, 地磅计划按月自动生成 — 迁移自 simple-dibang-xiaoshou/auto-create-plan/auto_create_monthly_pla (+7 more)
|
||||
|
||||
### Community 49 - "Community 49"
|
||||
Cohesion: 0.13
|
||||
Nodes (32): create_clue_follow(), delete_clue_follow(), get_clue_follow(), get_follow_statistics(), list_clue_follows(), Any, Session, 更新线索跟进记录,必要时同步线索 next_time (+24 more)
|
||||
Cohesion: 0.15
|
||||
Nodes (30): create_clue_follow(), delete_clue_follow(), get_clue_follow(), get_follow_statistics(), list_clue_follows(), Any, Session, 更新线索跟进记录,必要时同步线索 next_time (+22 more)
|
||||
|
||||
### Community 50 - "Community 50"
|
||||
Cohesion: 0.25
|
||||
Nodes (17): _cargo_stats(), get_dashboard_stats(), get_inbound_by_cargo(), get_inbound_by_partner_cargo(), get_outbound_by_cargo(), get_outbound_by_partner_cargo(), _partner_cargo_stats(), Session (+9 more)
|
||||
Cohesion: 0.32
|
||||
Nodes (16): _cargo_stats(), get_dashboard_stats(), get_inbound_by_cargo(), get_inbound_by_partner_cargo(), get_outbound_by_cargo(), get_outbound_by_partner_cargo(), _partner_cargo_stats(), Session (+8 more)
|
||||
|
||||
### Community 51 - "Community 51"
|
||||
Cohesion: 0.05
|
||||
Nodes (57): operlog_detail(), operlog_list(), Session, 操作日志分页列表(基于 API 请求日志适配 RuoYi OperLog 结构), _user_info(), ApiRequestLogMiddleware, _claims_from_auth(), _format_body_bytes() (+49 more)
|
||||
Cohesion: 0.24
|
||||
Nodes (7): camel_to_snake(), CRUDBase, get_model_attr(), HistoryCRUD, Any, Session, ModelType
|
||||
|
||||
### Community 52 - "Community 52"
|
||||
Cohesion: 0.18
|
||||
Nodes (29): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_oss_id_to_url(), load_runtime_settings(), load_settings_env() (+21 more)
|
||||
|
||||
### Community 53 - "Community 53"
|
||||
Cohesion: 0.34
|
||||
Nodes (30): AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, DictDataCreateBody, DictDataUpdateBody, DictTypeCreateBody, DictTypeUpdateBody, MenuCreateBody (+22 more)
|
||||
Cohesion: 0.22
|
||||
Nodes (22): advance_issue_stats(), batch_offset(), export_advance_issues(), issue_advance(), list_advance_issues(), list_advance_offset_records(), list_pending_payments(), list_processed_payments() (+14 more)
|
||||
|
||||
### Community 54 - "Community 54"
|
||||
Cohesion: 0.23
|
||||
Nodes (25): _get_by_plan(), get_inbound(), get_inbound_by_plan(), _get_order(), get_outbound(), get_outbound_by_plan(), inbound_site_url(), list_inbound() (+17 more)
|
||||
Cohesion: 0.26
|
||||
Nodes (23): _get_by_plan(), get_inbound(), get_inbound_by_plan(), _get_order(), get_outbound(), get_outbound_by_plan(), inbound_site_url(), list_inbound() (+15 more)
|
||||
|
||||
### Community 58 - "Community 58"
|
||||
Cohesion: 0.17
|
||||
Nodes (26): _apply_plan_product_update(), _apply_plan_update(), AutoGenerateMonthlyResult, _base_query(), create_plan(), delete_plan(), _generate_plan_no(), get_plan() (+18 more)
|
||||
Cohesion: 0.20
|
||||
Nodes (22): _apply_contract_entity_fields(), _build_contract_filters(), _calc_amount_with_tax(), contract_no_exists(), create_contract(), create_from_opportunity(), _decimal_value(), _get_field() (+14 more)
|
||||
|
||||
### Community 59 - "Community 59"
|
||||
Cohesion: 0.20
|
||||
Nodes (28): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_oss_id_to_url(), load_runtime_settings(), load_settings_env() (+20 more)
|
||||
|
||||
### Community 60 - "Community 60"
|
||||
Cohesion: 0.09
|
||||
Nodes (21): 分页查询供方列表 — Java: CrmSupplierInfoController.list, 供方全量列表(下拉)— Java: CrmSupplierInfoController.listAll, 供方详情 — Java: CrmSupplierInfoController.getInfo, 新增供方 — Java: CrmSupplierInfoController.add, 修改供方 — Java: CrmSupplierInfoController.edit, 删除供方 — Java: CrmSupplierInfoController.remove, 导出供方列表 — Java: CrmSupplierInfoController.export, supplier_info_add() (+13 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (16): 供方全量列表(下拉)— Java: CrmSupplierInfoController.listAll, 供方详情 — Java: CrmSupplierInfoController.getInfo, 新增供方 — Java: CrmSupplierInfoController.add, 修改供方 — Java: CrmSupplierInfoController.edit, 删除供方 — Java: CrmSupplierInfoController.remove, supplier_info_add(), supplier_info_delete(), supplier_info_detail() (+8 more)
|
||||
|
||||
### Community 61 - "Community 61"
|
||||
Cohesion: 0.11
|
||||
Nodes (43): PlTransportDbLink, 运输-地磅出入库关联 pl_transport_db_link, _apply_plan_quantity_delta(), _create_db_inventory(), _create_db_plan(), DibangInventoryLinkResult, find_monthly_db_plan(), _generate_batch_no() (+35 more)
|
||||
Cohesion: 0.16
|
||||
Nodes (35): PlanRelatedData, DbInboundOutbound, DbPurchasePlan, PlTransportDbLink, 运输-地磅出入库关联 pl_transport_db_link, _apply_plan_quantity_delta(), _create_db_inventory(), _create_db_plan() (+27 more)
|
||||
|
||||
### Community 62 - "Community 62"
|
||||
Cohesion: 0.18
|
||||
Nodes (25): _apply_weighing_product_update(), _apply_weighing_update(), _base_query(), create_weighing(), delete_weighing(), _get_weighing(), get_weighing_related(), Session (+17 more)
|
||||
Cohesion: 0.16
|
||||
Nodes (25): 地磅 API 路由聚合 — REST 风格,协议对齐原 simple-dibang-xiaoshou。, _apply_weighing_product_update(), _apply_weighing_update(), _base_query(), create_weighing(), delete_weighing(), _get_weighing(), get_weighing_related() (+17 more)
|
||||
|
||||
### Community 63 - "Community 63"
|
||||
Cohesion: 0.13
|
||||
Nodes (11): _coerce_id(), OffsetItem, PaymentFinanceStatsOut, 报销单勾选的发票附件(同一发票可勾选多个附件,各占一条)。, ReimburseApplyCreate, ReimburseApprovalOut, ReimburseApproverPendingStatsOut, ReimburseDetailCreate (+3 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (40): bx_health(), 报销(bx)API 路由聚合 — REST 风格,协议对齐 bx 原系统。, P0 健康检查:验证 bx 路由已挂载且响应协议为 code=0。, approve_reimburse(), approved_by_me(), _build_details_data(), create_reimburse(), delete_reimburse() (+32 more)
|
||||
|
||||
### Community 64 - "Community 64"
|
||||
Cohesion: 0.09
|
||||
Nodes (63): clue_detail(), clue_export(), clue_follow_detail(), clue_follow_statistics(), clue_import(), clue_list(), clue_mine(), clue_to_follow() (+55 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (23): clue_export(), clue_import_template(), contact_birthday(), contact_by_customer(), contact_decision(), contact_export(), contact_list(), contact_primary() (+15 more)
|
||||
|
||||
### Community 65 - "Community 65"
|
||||
Cohesion: 0.10
|
||||
Nodes (58): cancel_apply(), create_apply(), create_process(), delete_applies(), delete_processes(), get_apply(), get_process(), list_applies() (+50 more)
|
||||
|
||||
### Community 66 - "Community 66"
|
||||
Cohesion: 0.19
|
||||
Nodes (17): create_workflow(), delete_workflow(), get_workflow(), get_workflow_by_biz_type(), list_workflows(), Session, save_workflow_nodes(), update_workflow() (+9 more)
|
||||
Cohesion: 0.16
|
||||
Nodes (20): create_workflow(), delete_workflow(), get_workflow(), get_workflow_by_biz_type(), list_workflows(), Session, save_workflow_nodes(), update_workflow() (+12 more)
|
||||
|
||||
### Community 67 - "Community 67"
|
||||
Cohesion: 0.12
|
||||
@@ -441,28 +440,28 @@ Cohesion: 0.33
|
||||
Nodes (13): _build_tree(), _cascade_soft_delete(), _collect_with_ancestors(), create_dept(), get_dept(), list_depts(), list_depts_tree(), Any (+5 more)
|
||||
|
||||
### Community 69 - "Community 69"
|
||||
Cohesion: 0.12
|
||||
Nodes (31): _append_user_scope_conditions(), apply_data_scope(), assert_row_in_data_scope(), _collect_scope_ids(), _get_child_dept_ids(), get_user_dept_id(), Session, 数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3 (+23 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (32): _append_user_scope_conditions(), apply_data_scope(), assert_row_in_data_scope(), _collect_scope_ids(), _get_child_dept_ids(), get_user_dept_id(), Session, 数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3 (+24 more)
|
||||
|
||||
### Community 70 - "Community 70"
|
||||
Cohesion: 0.18
|
||||
Nodes (18): align_contract_no_to_sign_date(), generate_contract_no(), date, Java: generateContractNo — {供方编码}/X-JT{yyyyMMdd}{3位序号} 流水与撞号检测须含软删:uk_contr, 标准编号替换日期段,保留序号;非标准返回 None。, 将标准合同编号日期段对齐签订日;撞号则序号顺延(含软删查重)。 非标准编号原样返回。无签订日则原样返回。, replace_contract_no_date(), _mock_last_contract() (+10 more)
|
||||
|
||||
### Community 71 - "Community 71"
|
||||
Cohesion: 0.15
|
||||
Nodes (26): create_vehicle(), get_vehicle(), list_personnel(), list_vehicles(), update_vehicle(), _vehicle_to_detail(), _vehicle_to_read(), PlCert (+18 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (31): list_personnel(), list_vehicles(), PlCert, PlDocumentReminder, 证件到期提醒表 pl_document_reminder, CertRead, 运输计划 - 安排运输时车辆/人员/证件资源快照 Schema, SnapshotCertRead (+23 more)
|
||||
|
||||
### Community 72 - "Community 72"
|
||||
Cohesion: 0.19
|
||||
Nodes (28): apply_biz_backfill(), BackfillRule, BizRef, build_biz_index(), count_target_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows() (+20 more)
|
||||
Cohesion: 0.18
|
||||
Nodes (30): Settings, BaseSettings, apply_biz_backfill(), BackfillRule, BizRef, build_biz_index(), count_target_rows(), derive_source_url() (+22 more)
|
||||
|
||||
### Community 73 - "Community 73"
|
||||
Cohesion: 0.20
|
||||
Nodes (25): derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_oss_id_to_url(), load_runtime_settings(), load_settings_env(), load_user_mapping() (+17 more)
|
||||
|
||||
### Community 74 - "Community 74"
|
||||
Cohesion: 0.04
|
||||
Nodes (58): list_public_vehicle_plates(), Session, 地磅公共只读:免登车牌 options(现场填写页), 免登:按出入库/计划解析 tenant_no,返回 pl_vehicle 车牌(self + carrier)。, _resolve_tenant_no(), get_menu_list(), 运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,14 个一级菜单), menu_badge_stats() (+50 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (15): _db_pool_keepalive_loop(), _error_json(), lifespan(), Exception, Request, 数据库异常:返回 JSON 并保留 CORS 头,避免浏览器只报跨域错误, 未捕获异常:统一 JSON 500,确保跨域场景下仍有 Access-Control-Allow-Origin, 定期 ping MySQL,避免远程库/NAT 回收空闲 TCP 后首请求长时间卡住。 (+7 more)
|
||||
|
||||
### Community 77 - "Community 77"
|
||||
Cohesion: 0.11
|
||||
@@ -485,12 +484,12 @@ Cohesion: 0.23
|
||||
Nodes (23): build_id_maps(), clip_text(), count_rows(), export_mapping(), fetch_rows(), legacy_id_to_str(), main(), map_id() (+15 more)
|
||||
|
||||
### Community 86 - "Community 86"
|
||||
Cohesion: 0.25
|
||||
Nodes (7): contact_add(), contact_delete(), contact_update(), ContactCreateBody, ContactDeleteBody, ContactUpdateBody, CRM 联系人 Pydantic Schemas
|
||||
Cohesion: 0.18
|
||||
Nodes (10): contact_add(), contact_delete(), contact_update(), ContactByCustomerBody, ContactCreateBody, ContactDeleteBody, ContactDetailBody, ContactSetPrimaryBody (+2 more)
|
||||
|
||||
### Community 87 - "Community 87"
|
||||
Cohesion: 0.22
|
||||
Nodes (17): approve_quote(), can_user_approve(), create_approval_records(), get_quote_approval(), list_quote_approvals(), Any, Session, CRM 报价单审批 CRUD — 对照 CrmQuoteApprovalServiceImpl.java (+9 more)
|
||||
Cohesion: 0.20
|
||||
Nodes (19): approve_quote(), can_user_approve(), create_approval_records(), delete_pending_approvals(), get_quote_approval(), list_quote_approvals(), Any, Session (+11 more)
|
||||
|
||||
### Community 88 - "Any"
|
||||
Cohesion: 0.18
|
||||
@@ -502,19 +501,19 @@ Nodes (22): PlOcrUsageMonth, 阿里云 OCR 月度调用计数 pl_ocr_usage_month
|
||||
|
||||
### Community 91 - "pl_vehicle_recharge_service.py"
|
||||
Cohesion: 0.17
|
||||
Nodes (12): 流程实例 wf_process_instance, WfProcessInstance, _dispatch_local(), Any, 工作流回调服务 —— 流程状态变更时通知业务系统, 尝试本地直调。返回 True 表示已处理,False 表示无匹配的本地回调。, 流程实例状态变更后,向业务系统发送回调通知。 优先级: 1. 如果 callback_url 是内部路径(以 / 开头),优先尝试本地直调, trigger_callback() (+4 more)
|
||||
Nodes (16): get_pool_record(), list_pool_records(), Any, Session, _row_to_dict(), total_pages(), CrmCustomerPool, CRM 模块数据模型(产品分类、产品主表、统一附件表、客户管理、公海池、线索管理) (+8 more)
|
||||
|
||||
### Community 92 - "Community 92"
|
||||
Cohesion: 0.20
|
||||
Nodes (21): _assert_users_exist(), get_setting(), Any, Session, _row_to_dict(), save_setting(), _assert_users_exist(), get_setting() (+13 more)
|
||||
|
||||
### Community 93 - "_invoice_info_by_customer_impl"
|
||||
Cohesion: 0.08
|
||||
Nodes (43): generate_uuid(), get_current_time(), parse_datetime(), datetime, get_pool_record(), list_pool_records(), Any, Session (+35 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (26): generate_uuid(), get_current_time(), parse_datetime(), datetime, allocate_next_biz_no(), _format_biz_no(), _prefix_for(), datetime (+18 more)
|
||||
|
||||
### Community 94 - "response.py"
|
||||
Cohesion: 0.17
|
||||
Nodes (17): get_web_auth_menu_codes(), 获取当前用户菜单权限标识(sys_menu.perms,经角色继承)。, get_user_menu_codes(), Session, 读取用户授权的菜单权限标识集合(与前端 meta.menuCode / perms 对齐)。, _expand_with_ancestor_menu_ids(), _granted_menu_ids_for_user(), iter_user_menu_perm_codes() (+9 more)
|
||||
Cohesion: 0.16
|
||||
Nodes (19): get_web_auth_menu_codes(), 获取当前用户菜单权限标识(sys_menu.perms,经角色继承)。, get_user_menu_codes(), Session, 读取用户授权的菜单权限标识集合(与前端 meta.menuCode / perms 对齐)。, _expand_with_ancestor_menu_ids(), _granted_menu_ids_for_user(), iter_user_menu_perm_codes() (+11 more)
|
||||
|
||||
### Community 95 - "Community 95"
|
||||
Cohesion: 0.35
|
||||
@@ -525,12 +524,12 @@ Cohesion: 0.21
|
||||
Nodes (22): clear_target_products(), count_target_rows(), _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_runtime_settings() (+14 more)
|
||||
|
||||
### Community 100 - "price_letter_detail"
|
||||
Cohesion: 0.27
|
||||
Nodes (15): Settings, BaseSettings, apply_renumber(), build_mapping(), fetch_products(), format_new_product_no(), load_settings_env(), main() (+7 more)
|
||||
Cohesion: 0.31
|
||||
Nodes (13): apply_renumber(), build_mapping(), fetch_products(), format_new_product_no(), load_settings_env(), main(), product_id_sort_key(), Engine (+5 more)
|
||||
|
||||
### Community 101 - ".to_tenant_user_dict"
|
||||
Cohesion: 0.19
|
||||
Nodes (14): CRM 模块 Excel 导出列定义(字段与字典类型对齐 Java *Vo @ExcelDictFormat)。, _build_workbook(), DictLabelResolver, export_rows_to_xlsx_response(), ExportColumn, load_dict_label_maps(), Any, Session (+6 more)
|
||||
Cohesion: 0.21
|
||||
Nodes (11): CRM 模块 Excel 导出列定义(字段与字典类型对齐 Java *Vo @ExcelDictFormat)。, _build_workbook(), DictLabelResolver, ExportColumn, load_dict_label_maps(), Any, Session, Excel 导出工具:集中处理字典 code → label(对齐 Java ExcelDictConvert / ExcelDictPreloadConver (+3 more)
|
||||
|
||||
### Community 102 - "dept.py"
|
||||
Cohesion: 0.36
|
||||
@@ -541,48 +540,48 @@ Cohesion: 0.29
|
||||
Nodes (15): create_price_letter(), get_price_letter(), list_price_letters(), _parse_date(), Any, date, Session, _row_to_dict() (+7 more)
|
||||
|
||||
### Community 105 - "list_customers"
|
||||
Cohesion: 0.29
|
||||
Nodes (6): Config, format_api_error_message(), PageResult, Exception, 将 HTTP/SQLAlchemy 等异常转为可展示的错误文案(避免 str([]) 空列表)。, ResponseModel
|
||||
Cohesion: 0.09
|
||||
Nodes (25): API 路由包 — 山峡化工生产一体化门户, get_menu_list(), 运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,14 个一级菜单), operlog_detail(), operlog_list(), Session, 操作日志分页列表(基于 API 请求日志适配 RuoYi OperLog 结构), _user_info() (+17 more)
|
||||
|
||||
### Community 106 - "Community 106"
|
||||
Cohesion: 0.23
|
||||
Nodes (12): change_current_user_password(), get_current_user_profile(), public_quote_share(), Request, Session, 获取当前用户信息(与 sys_user 字段对应)。, 公开分享查看报价单 — Java: GET /share/{shareCode}(无 JWT), get_current_user() (+4 more)
|
||||
Cohesion: 0.15
|
||||
Nodes (17): _avatar_url_field(), _build_user_info_payload(), change_current_user_password(), get_current_user_profile(), public_quote_share(), Request, Session, 获取当前用户信息(与 sys_user 字段对应)。 (+9 more)
|
||||
|
||||
### Community 107 - "apply_pl_scope"
|
||||
Cohesion: 0.16
|
||||
Nodes (31): create_instance(), create_process_def(), create_task(), get_all_tasks_for_business(), get_instance(), get_latest_version(), get_nodes_by_version(), get_pending_tasks_by_node() (+23 more)
|
||||
Nodes (30): create_instance(), create_process_def(), create_task(), get_all_tasks_for_business(), get_instance(), get_latest_version(), get_nodes_by_version(), get_pending_tasks_by_node() (+22 more)
|
||||
|
||||
### Community 109 - "Community 109"
|
||||
Cohesion: 0.29
|
||||
Nodes (16): paste_recognize_commit(), PlVehicle, ConflictAction, PasteCommitBody, PasteCommitResult, PastePersonnelIn, PasteVehicleIn, 运输计划 - 三方粘贴识别提交 Schema (+8 more)
|
||||
Cohesion: 0.27
|
||||
Nodes (17): bind_vehicle_driver(), paste_recognize_commit(), ConflictAction, PasteCommitBody, PasteCommitResult, PastePersonnelIn, PasteVehicleIn, 运输计划 - 三方粘贴识别提交 Schema (+9 more)
|
||||
|
||||
### Community 110 - "Base"
|
||||
Cohesion: 0.18
|
||||
Nodes (11): Config, decrypt_login_payload(), ensure_initialized(), extract_login_credentials(), get_public_pem(), Any, 登录凭据 RSA 解密(与前端 JSEncrypt PKCS#1 v1.5 兼容)。, Base64 密文 -> JSON 对象(须含 username、password、ts 毫秒时间戳)。 (+3 more)
|
||||
|
||||
### Community 111 - "Community 111"
|
||||
Cohesion: 0.28
|
||||
Nodes (14): _assert_editable(), _build_public_page(), _format_file_size(), _get_inventory_by_token(), get_public_inventory(), _parse_feedback_images(), Session, UploadFile (+6 more)
|
||||
Cohesion: 0.21
|
||||
Nodes (17): _assert_editable(), _build_public_page(), _format_file_size(), _get_inventory_by_token(), get_public_inventory(), _parse_feedback_images(), Session, UploadFile (+9 more)
|
||||
|
||||
### Community 112 - "storage.py"
|
||||
Cohesion: 0.06
|
||||
Nodes (58): 返回 (作废, 归档)。现场链接实际走入库/出库单公共页。, _resolve_io_order_link_flags(), _build_public_page(), _build_site_product_read(), _format_file_size(), get_public_site(), _get_site_link_by_token(), _parse_feedback_images() (+50 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (30): _build_public_page(), _build_site_product_read(), _format_file_size(), get_public_site(), _get_site_link_by_token(), _parse_feedback_images(), Session, UploadFile (+22 more)
|
||||
|
||||
### Community 113 - "quote_share_log.py"
|
||||
Cohesion: 0.26
|
||||
Nodes (12): list_share_logs(), _parse_user_agent(), Any, Session, CRM 报价单分享访问日志 CRUD — 对照 CrmQuoteShareLogServiceImpl.java, Java: statisticsVisits, 简易 User-Agent 解析(替代 Hutool UserAgentUtil), Java: queryLogsByQuoteId (+4 more)
|
||||
|
||||
### Community 114 - "db_models.py"
|
||||
Cohesion: 0.24
|
||||
Nodes (12): DbSequence, 地磅(db)模块数据模型 — 对齐 docs/sql/db_tables.sql, _allocate_inbound_outbound_id(), _ensure_sequence_row(), max_numeric_inbound_outbound_id(), next_inbound_outbound_id(), Session, 出入库单 id 生成 — 租户内纯数字自增,并发安全。 (+4 more)
|
||||
Cohesion: 0.16
|
||||
Nodes (17): list_public_vehicle_plates(), Session, 地磅公共只读:免登车牌 options(现场填写页), 免登:按出入库/计划解析 tenant_no,返回 pl_vehicle 车牌(self + carrier)。, _resolve_tenant_no(), DbSequence, 地磅(db)模块数据模型 — 对齐 docs/sql/db_tables.sql, _allocate_inbound_outbound_id() (+9 more)
|
||||
|
||||
### Community 115 - "site.py"
|
||||
Cohesion: 0.28
|
||||
Nodes (17): _address_to_read(), _build_address_query(), create_transport_address(), delete_transport_address(), _get_address(), get_transport_address(), list_all_transport_addresses(), list_transport_addresses() (+9 more)
|
||||
|
||||
### Community 116 - "Community 116"
|
||||
Cohesion: 0.19
|
||||
Nodes (26): batch_insert_quote_products(), calculate_subtotal(), _decimal_value(), _ensure_quote_parent_scope(), _get_field(), get_quote_product(), insert_quote_product(), list_products_by_quote_ids() (+18 more)
|
||||
Cohesion: 0.17
|
||||
Nodes (28): batch_insert_quote_products(), calculate_subtotal(), _decimal_value(), delete_products_by_quote_id(), _ensure_quote_parent_scope(), _get_field(), get_quote_product(), insert_quote_product() (+20 more)
|
||||
|
||||
### Community 118 - "Community 118"
|
||||
Cohesion: 0.20
|
||||
@@ -590,15 +589,15 @@ Nodes (24): batch_insert_contract_products(), calculate_subtotal(), _decimal_val
|
||||
|
||||
### Community 119 - "Community 119"
|
||||
Cohesion: 0.16
|
||||
Nodes (29): CertRow, VehiclePersonnelRow, _cert_row_complete(), collect_required_cert_errors(), _find_cert_for_required(), get_required_personnel_cert_names(), match_required_cert_name(), _missing_field_labels() (+21 more)
|
||||
Nodes (28): CertRow, _cert_row_complete(), collect_required_cert_errors(), _find_cert_for_required(), get_required_personnel_cert_names(), match_required_cert_name(), _missing_field_labels(), Session (+20 more)
|
||||
|
||||
### Community 122 - "Community 122"
|
||||
Cohesion: 0.39
|
||||
Nodes (10): create_post(), get_post(), list_posts(), post_code_exists(), Any, Session, _row_to_dict(), soft_delete_post() (+2 more)
|
||||
|
||||
### Community 125 - "Community 125"
|
||||
Cohesion: 0.08
|
||||
Nodes (25): clue_assign(), clue_convert(), clue_create(), clue_delete(), clue_follow_create(), clue_follow_delete(), clue_follow_list(), clue_follow_update() (+17 more)
|
||||
Cohesion: 0.18
|
||||
Nodes (17): get_oper_log_meta(), OperLogMeta, 请求级操作日志元数据(ContextVar), 供异步落库线程使用,避免 ContextVar 跨线程丢失。, set_oper_log_meta(), snapshot_oper_log_meta(), _format_summary(), oper_log() (+9 more)
|
||||
|
||||
### Community 126 - "customer_pool.py"
|
||||
Cohesion: 0.36
|
||||
@@ -606,7 +605,7 @@ Nodes (13): _build_tree(), _cascade_soft_delete(), create_menu(), get_menu(), li
|
||||
|
||||
### Community 127 - "Community 127"
|
||||
Cohesion: 0.11
|
||||
Nodes (38): approve_settlement_legacy(), cancel_settlement(), create_settlement(), delete_settlement(), disburse_settlement(), _generate_settlement_no(), get_settlement(), get_settlement_approval_flow() (+30 more)
|
||||
Nodes (37): approve_settlement_legacy(), cancel_settlement(), create_settlement(), delete_settlement(), disburse_settlement(), _generate_settlement_no(), get_settlement(), get_settlement_approval_flow() (+29 more)
|
||||
|
||||
### Community 128 - "plan.py"
|
||||
Cohesion: 0.39
|
||||
@@ -617,8 +616,8 @@ Cohesion: 0.12
|
||||
Nodes (24): _auto_contract_name_body(), generate_contract_name(), 按面板单位全称精确匹配交易主体/客户主数据,取 shortName;对不上则用全称。, 前端预览误用单位全称时,名称片段会等于面板/客户/开票全称。, 按面板供方(partyA)-需方(partyB)生成:{供方简称}-{需方简称}({合同编号})。 - 名称为空:按主数据简称自动生成 - 名, resolve_party_short_name(), _strip_contract_name_no_suffix(), _user_contract_name_uses_party_full_name() (+16 more)
|
||||
|
||||
### Community 130 - "datetime_parse.py"
|
||||
Cohesion: 0.29
|
||||
Nodes (16): ensure_crm_customer_linked_row_in_scope(), ensure_crm_owner_row_in_scope(), Session, CRM 数据权限辅助(负责人 owner_user_id + 标准 create_by/create_dept_id)。, 客户子表(开票信息等):先校验关联客户 owner scope,否则校验 create_by。, _clear_default_for_customer(), create_invoice_info(), get_invoice_info() (+8 more)
|
||||
Cohesion: 0.32
|
||||
Nodes (14): ensure_crm_customer_linked_row_in_scope(), CRM 数据权限辅助(负责人 owner_user_id + 标准 create_by/create_dept_id)。, 客户子表(开票信息等):先校验关联客户 owner scope,否则校验 create_by。, _clear_default_for_customer(), create_invoice_info(), get_invoice_info(), list_invoice_info_by_customer(), Any (+6 more)
|
||||
|
||||
### Community 131 - "LocalStorage"
|
||||
Cohesion: 0.60
|
||||
@@ -634,11 +633,11 @@ Nodes (18): batch_generate_sample_codes(), batch_issue_sample_codes(), batch_rev
|
||||
|
||||
### Community 135 - "unsettled_plans_q_filter"
|
||||
Cohesion: 0.08
|
||||
Nodes (23): category_add(), category_delete(), category_tree(), category_update(), product_add(), product_delete(), product_detail(), product_options() (+15 more)
|
||||
Nodes (25): category_add(), category_delete(), category_tree(), category_update(), product_add(), product_delete(), product_detail(), product_options() (+17 more)
|
||||
|
||||
### Community 136 - "Community 136"
|
||||
Cohesion: 0.26
|
||||
Nodes (14): create_role(), get_role(), get_role_data_scope(), get_role_menu_ids(), list_roles(), Any, Session, 角色 CRUD(sys_role / sys_role_menu / sys_role_data_scope_detail) (+6 more)
|
||||
Cohesion: 0.19
|
||||
Nodes (18): create_role(), get_role(), get_role_data_scope(), get_role_menu_ids(), list_roles(), Any, Session, 角色 CRUD(sys_role / sys_role_menu / sys_role_data_scope_detail) (+10 more)
|
||||
|
||||
### Community 137 - "statistics.py"
|
||||
Cohesion: 0.35
|
||||
@@ -653,24 +652,24 @@ Cohesion: 0.22
|
||||
Nodes (15): get_storage(), download_file_bytes(), file_stream(), get_access_url(), get_download_url(), get_preview_url(), normalize_storage_path(), 报销附件存储适配 — 复用门户 app.core.storage,对外保持 bx 协议。 (+7 more)
|
||||
|
||||
### Community 141 - "PlTransport"
|
||||
Cohesion: 0.28
|
||||
Nodes (11): assert_products_allowed_for_supplier(), enrich_products_with_hazard_flags(), get_supplier_hazard_flags(), product_allowed(), Any, Session, 批量回填明细行 isToxic/isExplosive(来自产品主数据,供前端切换主体剔除)。, test_dual_requires_both() (+3 more)
|
||||
Cohesion: 0.60
|
||||
Nodes (5): product_allowed(), test_dual_requires_both(), test_explosive_only_requires_allow_explosive(), test_plain_always_allowed(), test_toxic_only_requires_allow_toxic()
|
||||
|
||||
### Community 143 - "SysEthnic"
|
||||
Cohesion: 0.40
|
||||
Nodes (9): create_leave(), get_leave(), list_leaves(), Any, Session, _row_to_dict(), soft_delete_leave(), update_leave() (+1 more)
|
||||
Cohesion: 0.22
|
||||
Nodes (17): _apply_list_filters(), create_supplier_info(), get_supplier_info(), list_all_supplier_info(), list_supplier_info(), Any, Session, CRM 供方信息 CRUD — 对照 CrmSupplierInfoServiceImpl.java (+9 more)
|
||||
|
||||
### Community 144 - "dict_data.py"
|
||||
Cohesion: 0.27
|
||||
Nodes (11): create_dict_data(), get_dict_data(), list_dict_data(), list_dict_data_options(), Any, Session, 字典数据 CRUD(sys_dict_data), 字典下拉选项:租户主数据,忽略数据范围(user_info 保留兼容调用方,不参与过滤)。 (+3 more)
|
||||
|
||||
### Community 145 - "resolve_crm_product"
|
||||
Cohesion: 0.14
|
||||
Nodes (21): PlVehiclePersonnel, 车辆-人员关联表 pl_vehicle_personnel, 运输计划 - 安排运输时车辆/人员/证件资源快照 Schema, SnapshotCertRead, SnapshotPersonnelRow, TransportResourceSnapshot, build_personnel_summary(), load_vehicle_personnel_rows() (+13 more)
|
||||
Cohesion: 0.20
|
||||
Nodes (19): create_vehicle(), get_vehicle(), update_vehicle(), _vehicle_to_detail(), _vehicle_to_read(), PlVehicle, PlVehiclePersonnel, 车辆-人员关联表 pl_vehicle_personnel (+11 more)
|
||||
|
||||
### Community 146 - "__init__.py"
|
||||
Cohesion: 0.13
|
||||
Nodes (16): CarrierBase, CarrierCreate, CarrierQualificationBase, PersonnelBase, PersonnelCreate, PersonnelListResponse, PersonnelUpdate, 运输计划管理 - 基础数据 Schema(承运商、车辆、人员、证书) (+8 more)
|
||||
Cohesion: 0.22
|
||||
Nodes (15): ApiRequestLogMiddleware, _claims_from_auth(), _format_body_bytes(), _persist_log(), Any, Request, 统一记录 API 请求/响应出入参的中间件, _redact_obj() (+7 more)
|
||||
|
||||
### Community 147 - "Community 147"
|
||||
Cohesion: 0.37
|
||||
@@ -681,24 +680,24 @@ Cohesion: 0.17
|
||||
Nodes (8): 发送订单状态通知 Args: openid: 用户openid order_n, 发送支付成功通知 Args: openid: 用户openid order_n, 发送配送通知 Args: openid: 配送员openid task_no:, 发送配送时效预警 Args: openid: 配送员openid task_n, 发送退款结果通知 Args: openid: 用户openid order_n, 发送催单通知给配送员 Args: deliver_openid: 配送员openid, 发送模板消息 Args: openid: 用户openid template_, WechatMessageService
|
||||
|
||||
### Community 152 - "response.py"
|
||||
Cohesion: 0.29
|
||||
Nodes (16): create_contact(), get_contact(), list_contacts_by_customer(), _parse_optional_date(), Any, date, Session, _row_to_dict() (+8 more)
|
||||
Cohesion: 0.30
|
||||
Nodes (14): create_contact(), get_contact(), _parse_optional_date(), date, Session, set_primary_contact(), soft_delete_contact(), total_pages() (+6 more)
|
||||
|
||||
### Community 154 - "response.py"
|
||||
Cohesion: 0.19
|
||||
Nodes (7): _guess_preview_content_type(), MinIOStorage, Any, 从 MINIO_BASE_URL 解析公网 endpoint;未配置或与内网相同时复用 self.client。, 按对象键后缀推断内联预览 Content-Type(纠正上传时未写入 MIME 的情况)。, MinIO 预签名下载 URL,携带原始文件名。, MinIO 预签名内联预览 URL(图片新标签页 / PDF iframe 等)。 上传时 put_object 未写 content_typ
|
||||
Cohesion: 0.24
|
||||
Nodes (5): MinIOStorage, Any, 从 MINIO_BASE_URL 解析公网 endpoint;未配置或与内网相同时复用 self.client。, MinIO 预签名下载 URL,携带原始文件名。, MinIO 预签名内联预览 URL(图片新标签页 / PDF iframe 等)。 上传时 put_object 未写 content_typ
|
||||
|
||||
### Community 156 - "utils.py"
|
||||
Cohesion: 0.24
|
||||
Cohesion: 0.26
|
||||
Nodes (16): allocate_reimburse_title_seq(), format_reimburse_title(), generate_apply_code(), generate_title(), is_auto_reimburse_title(), parse_reimburse_date(), preview_reimburse_title_seq(), date (+8 more)
|
||||
|
||||
### Community 159 - "customer_update"
|
||||
Cohesion: 0.29
|
||||
Nodes (15): clue_statistics_level(), clue_statistics_overview(), clue_statistics_owner(), clue_statistics_source(), clue_statistics_trend(), _apply_create_range(), _base_query(), get_clue_level_statistics() (+7 more)
|
||||
Cohesion: 0.49
|
||||
Nodes (10): clue_statistics_level(), _apply_create_range(), _base_query(), get_clue_level_statistics(), get_clue_overview_statistics(), get_clue_owner_statistics(), get_clue_source_statistics(), get_clue_trend_statistics() (+2 more)
|
||||
|
||||
### Community 160 - "register_local_callback"
|
||||
Cohesion: 0.20
|
||||
Nodes (16): API 路由包 — 山峡化工生产一体化门户, create_leave(), delete_leave(), get_leave(), _leave_local_callback(), leave_workflow_callback(), list_leaves(), Session (+8 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (29): create_leave(), delete_leave(), get_leave(), _leave_local_callback(), leave_workflow_callback(), list_leaves(), Session, submit_leave() (+21 more)
|
||||
|
||||
### Community 161 - "backfill_crm_contract_attachment_urls.py"
|
||||
Cohesion: 0.33
|
||||
@@ -709,12 +708,12 @@ Cohesion: 0.30
|
||||
Nodes (12): PlCarrier, assert_carrier_eligible_for_transport(), carrier_agreement_expired(), carrier_audit_approved(), carrier_eligible_for_transport(), carrier_qualification_complete(), date, 资质附件均为选填,保留函数签名供兼容调用。 (+4 more)
|
||||
|
||||
### Community 163 - "__init__.py"
|
||||
Cohesion: 0.20
|
||||
Nodes (15): bind_biz(), delete_attachment(), download_file(), list_by_biz(), _parse_id_list(), preview_attachment(), Session, UploadFile (+7 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (27): bind_biz(), delete_attachment(), download_file(), list_by_biz(), _parse_id_list(), preview_attachment(), Session, UploadFile (+19 more)
|
||||
|
||||
### Community 164 - "get_client_ip"
|
||||
Cohesion: 0.15
|
||||
Nodes (29): _jwt_user_payload(), logout(), 公共接口(Web 登录、刷新 Token、登出;用户模型对齐 docs/sql/shanxia2.0.sql 基线), 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。, Web 端登录:账号为 sys_user.user_no,密码为 sys_user.password(bcrypt)。, refresh_token(), web_login(), create_access_token() (+21 more)
|
||||
Nodes (29): _jwt_user_payload(), logout(), 公共接口(Web 登录、刷新 Token、登出;用户模型对齐 docs/sql/shanxia2.0.sql 基线), 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。无 Token 或已失效时仍返回成功(幂等)。, Web 端登录用 RSA 公钥(PKCS#1 v1.5,与 JSEncrypt 一致), Web 端登录:账号为 sys_user.user_no,密码为 sys_user.password(bcrypt)。, refresh_token(), web_login() (+21 more)
|
||||
|
||||
### Community 170 - "test_quote_approver_setting.py"
|
||||
Cohesion: 0.22
|
||||
@@ -725,60 +724,68 @@ Cohesion: 0.24
|
||||
Nodes (13): normalize_attachment_csv(), normalize_attachment_csv(), extract_minio_object_key(), join_relative_urls(), normalize_oss_storage_url(), MinIO 附件 URL 规范化(数据迁移共用)。 背景 ---- CRM / 地磅 / 报销与 shanxia2.0 共用同一 MinIO(bucket 默, 业务表 OSS ID 串 → 相对 URL 串(用于客户证照、跟进附件等)。, 去掉预签名 query(``?X-Amz-...``)。 (+5 more)
|
||||
|
||||
### Community 172 - "apply_pl_scope"
|
||||
Cohesion: 0.49
|
||||
Nodes (10): apply_pl_scope(), Session, build_menu_badge_counts(), count_document_reminder_expired_pending(), count_freight_approval_pending(), count_freight_disburse_pending(), _count_pending_applies(), count_plan_archive_pending() (+2 more)
|
||||
Cohesion: 0.25
|
||||
Nodes (14): menu_badge_stats(), Session, PlMenuBadgeStatsRead, apply_pl_scope(), Session, build_menu_badge_counts(), count_document_reminder_expired_pending(), count_freight_approval_pending() (+6 more)
|
||||
|
||||
### Community 173 - "resolve_create_time_bounds"
|
||||
Cohesion: 0.08
|
||||
Nodes (39): ApiRequestLogCRUD, Session, list_ethnics(), Any, Session, 民族码表 CRUD(全局 sys_ethnic), _row_to_dict(), BizAttachment (+31 more)
|
||||
Nodes (42): PlDriver, PlInboundOrder, PlInboundOrderItem, PlInboundOrderItemBrandQty, PlInventory, PlInventoryTransaction, PlInventoryWarning, PlOutboundOrder (+34 more)
|
||||
|
||||
### Community 174 - "register_local_callback"
|
||||
Cohesion: 0.39
|
||||
Nodes (8): get_redis_client(), get_sync_redis_client(), Redis, 共享 Redis 客户端(同步:会话鉴权;异步:API 加密 nonce)。, 同步 Redis(auth 会话等,在线程池中调用)。, 异步 Redis(API 加密 nonce 等中间件)。, _redis_common_kwargs(), redis_enabled()
|
||||
Cohesion: 0.19
|
||||
Nodes (15): 返回 (作废, 归档)。现场链接实际走入库/出库单公共页。, _resolve_io_order_link_flags(), _resolve_site_link_flags(), _resolve_driver_link_flags(), 运输计划司机/现场公共链接:归档后应标记并拦截写操作。, test_driver_link_flags_archived_when_plan_archived(), test_driver_link_flags_voided_by_transport_cancelled(), test_driver_link_flags_voided_takes_precedence_shape() (+7 more)
|
||||
|
||||
### Community 179 - "test_pl_vehicle_personnel_photo_schema.py"
|
||||
Cohesion: 0.27
|
||||
Nodes (16): add_favorite(), count_active(), find_active(), find_soft_deleted(), list_favorites(), _next_order_num(), normalize_menu_path(), Any (+8 more)
|
||||
|
||||
### Community 180 - "OSSStorage"
|
||||
Cohesion: 0.20
|
||||
Nodes (4): _guess_preview_content_type(), OSSStorage, 文件存储工具模块 支持多种存储方式: 1. 本地存储 (local) - 默认 2. 七牛云存储 (qiniu) - 推荐生产环境使用 3. 阿里云OSS (, 按对象键后缀推断内联预览 Content-Type(纠正上传时未写入 MIME 的情况)。
|
||||
|
||||
### Community 181 - "allocate_next_biz_no"
|
||||
Cohesion: 0.33
|
||||
Nodes (8): allocate_next_biz_no(), _format_biz_no(), _prefix_for(), datetime, Session, 业务协议号自动生成:XBCC / JZCC + YYYYMMDD + 6 位序号, 原子分配下一个业务协议号。 须在 create 事务内调用;使用 MySQL LAST_INSERT_ID 保证并发安全。, BizNoKind
|
||||
Cohesion: 0.20
|
||||
Nodes (15): _fill_contract_linked_count(), list_quotes(), _parse_optional_datetime(), _period_key(), Any, datetime, query_versions(), quote_row_to_dict() (+7 more)
|
||||
|
||||
### Community 182 - "statistics.py"
|
||||
Cohesion: 0.17
|
||||
Nodes (25): clue_import_template(), customer_import_template(), product_import_template(), statistics_follow(), statistics_industry(), statistics_level(), statistics_overview(), statistics_owner() (+17 more)
|
||||
Cohesion: 0.45
|
||||
Nodes (11): _customer_base_query(), get_follow_statistics(), get_industry_statistics(), get_level_statistics(), get_overview_statistics(), get_owner_statistics(), get_source_statistics(), get_trend_statistics() (+3 more)
|
||||
|
||||
### Community 183 - "resolve_create_time_bounds"
|
||||
Cohesion: 0.52
|
||||
Nodes (6): parse_create_time_day_bounds(), _parse_day_start(), datetime, 报销模块日期范围工具(从 bx-backend 迁移)。, 解析申请时间筛选边界,返回 (含起, 不含止)。, resolve_create_time_bounds()
|
||||
Cohesion: 0.30
|
||||
Nodes (12): business_type_from_path(), title_from_path(), _apply_oper_log_scope(), get_oper_log(), list_oper_logs(), _oper_log_row_in_scope(), _oper_status(), Any (+4 more)
|
||||
|
||||
### Community 184 - "__init__.py"
|
||||
Cohesion: 0.15
|
||||
Nodes (14): invoice_info_add(), invoice_info_by_customer(), _invoice_info_by_customer_impl(), invoice_info_delete(), invoice_info_list(), invoice_info_set_default(), invoice_info_update(), 按客户ID查询开票信息(与 by-customer 等价) (+6 more)
|
||||
|
||||
### Community 187 - "_build_user_info_payload"
|
||||
Cohesion: 0.40
|
||||
Nodes (5): _avatar_url_field(), _build_user_info_payload(), 与 web-admin 静态路由 meta.roles(admin/super_admin)对齐的单元素数组。, 与 web-admin `userInfo` 字段约定一致。, _web_role_list()
|
||||
Cohesion: 0.17
|
||||
Nodes (11): price_letter_add(), price_letter_detail(), price_letter_list(), price_letter_update(), price_letter_void(), PriceLetterCreateBody, PriceLetterDetailBody, PriceLetterListBody (+3 more)
|
||||
|
||||
### Community 188 - "context.py"
|
||||
Cohesion: 0.67
|
||||
Nodes (3): parse_optional_plan_datetime(), datetime, 运输计划相关日期时间解析:前端 date-picker 仅传 YYYY-MM-DD。
|
||||
|
||||
### Community 193 - "create_from_quote"
|
||||
### Community 191 - "SoftDeleteModel"
|
||||
Cohesion: 0.50
|
||||
Nodes (4): customer_options(), 客户下拉选项(租户内只读,不做 owner 数据权限), CustomerOptionsBody, 客户下拉选项请求体(租户内只读搜索,不做 owner 数据权限)
|
||||
Nodes (4): ApiRequestLogCRUD, Session, SysApiRequestLog, SysApiRequestLogHis
|
||||
|
||||
### Community 193 - "create_from_quote"
|
||||
Cohesion: 0.48
|
||||
Nodes (7): _opp_list_kwargs(), opportunity_export(), opportunity_kanban(), opportunity_list(), opportunity_mine_list(), OpportunityKanbanBody, OpportunityListBody
|
||||
|
||||
### Community 194 - "web_login_rsa_public_key"
|
||||
Cohesion: 0.50
|
||||
Nodes (5): assert_products_allowed_for_supplier(), enrich_products_with_hazard_flags(), Any, Session, 批量回填明细行 isToxic/isExplosive(来自产品主数据,供前端切换主体剔除)。
|
||||
|
||||
### Community 196 - "crm_contract_sub_routes.py"
|
||||
Cohesion: 0.27
|
||||
Nodes (10): apply_product_snapshot_to_plan(), ProductSnapshot, Session, 地磅模块 — CRM 产品解析与快照写入。, 校验 CRM 产品并返回名称/规格快照。新建单据 product_id 必填。 require_on_shelf=False 用于运输计划联动地磅等历, resolve_crm_product(), _product(), resolve_crm_product:运输联动场景允许已下架产品。 (+2 more)
|
||||
Cohesion: 0.26
|
||||
Nodes (11): _apply_plan_product_update(), apply_product_snapshot_to_plan(), ProductSnapshot, Session, 地磅模块 — CRM 产品解析与快照写入。, 校验 CRM 产品并返回名称/规格快照。新建单据 product_id 必填。 require_on_shelf=False 用于运输计划联动地磅等历, resolve_crm_product(), _product() (+3 more)
|
||||
|
||||
### Community 200 - "register_local_callback"
|
||||
Cohesion: 0.07
|
||||
Nodes (59): PlTransportProductFeedback, 运输单按产品回传 pl_transport_product_feedback, _dict_field(), format_brand_qty_summary(), load_transport_driver_product_feedbacks(), persist_io_item_brand_qtys(), persist_transport_product_feedback(), Any (+51 more)
|
||||
|
||||
### Community 201 - ".to_tenant_user_dict"
|
||||
Cohesion: 0.40
|
||||
Nodes (3): Any, 供 get_tenant_no 等门户工具使用。, 与门户 JWT / apply_data_scope 所需的 user_info 字段对齐。
|
||||
Cohesion: 0.08
|
||||
Nodes (52): _build_page(), _get_by_token(), _make_handlers(), _models(), Session, 运输计划 · 入库/出库单现场免登录公共 API, PublicIoOrderFeedback, 按运输计划单据类型解析地磅往来单位(不区分 CRM 合同类型)。 - 入库单 inbound:供方 → party_a,其次 supplier_nam (+44 more)
|
||||
|
||||
### Community 206 - "crm_quote_pdf.py"
|
||||
Cohesion: 0.36
|
||||
@@ -789,8 +796,8 @@ Cohesion: 0.18
|
||||
Nodes (10): 1. 创建虚拟环境, 2. 安装依赖, 3. 配置环境变量, 4. 启动服务, API 路由分组, shanxia2.0 后端骨架(FastAPI), 开发规范, 快速开始 (+2 more)
|
||||
|
||||
### Community 220 - "api_crypto_middleware.py"
|
||||
Cohesion: 0.21
|
||||
Nodes (15): ApiCryptoMiddleware, _claims_from_auth(), _coerce_post_method_override_to_get(), _get_redis_client(), _is_crypto_api(), _json_error_response(), _mark_nonce_once(), _nonce_key() (+7 more)
|
||||
Cohesion: 0.14
|
||||
Nodes (23): ApiCryptoMiddleware, _claims_from_auth(), _coerce_post_method_override_to_get(), _get_redis_client(), _is_crypto_api(), _json_error_response(), _mark_nonce_once(), _nonce_key() (+15 more)
|
||||
|
||||
### Community 237 - "order_status_compat.py"
|
||||
Cohesion: 0.36
|
||||
@@ -807,22 +814,22 @@ Nodes (6): eq_unicode(), like_unicode(), MySQL 字符串比较/模糊匹配时
|
||||
## Knowledge Gaps
|
||||
- **30 isolated node(s):** `Config`, `Config`, `Config`, `Config`, `Config` (+25 more)
|
||||
These have ≤1 connection - possible missing edges or undocumented components.
|
||||
- **19 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
|
||||
- **16 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
|
||||
|
||||
## Suggested Questions
|
||||
_Questions this graph is uniquely positioned to answer:_
|
||||
|
||||
- **Why does `Settings` connect `price_letter_detail` to `backfill_crm_contract_attachment_urls.py`, `_ensure_subpack_slip_no`, `Community 35`, `crm_supplier_hazard.py`, `Community 37`, `Community 67`, `Community 72`, `Community 73`, `Community 42`, `Base`, `Community 52`, `Any`, `Community 59`, `Community 30`?**
|
||||
_High betweenness centrality (0.107) - this node is a cross-community bridge._
|
||||
- **Why does `BaseModel` connect `Community 27` to `Community 0`, `Community 1`, `Community 2`, `Community 5`, `Community 7`, `unsettled_plans_q_filter`, `Community 11`, `Community 12`, `Community 14`, `Community 15`, `Community 16`, `resolve_crm_product`, `Community 18`, `__init__.py`, `Community 19`, `Community 28`, `Community 29`, `customer_update`, `register_local_callback`, `Community 34`, `__init__.py`, `Community 38`, `Community 45`, `resolve_create_time_bounds`, `Community 46`, `Community 50`, `Community 51`, `Community 53`, `statistics.py`, `Community 54`, `__init__.py`, `Community 58`, `Community 60`, `Community 62`, `Community 63`, `Community 64`, `SoftDeleteModel`, `Community 66`, `create_from_quote`, `Community 65`, `Community 74`, `Community 86`, `list_customers`, `Community 109`, `Community 111`, `site.py`, `Community 119`, `Community 125`, `Community 127`?**
|
||||
_High betweenness centrality (0.101) - this node is a cross-community bridge._
|
||||
- **Why does `generate_uuid()` connect `_invoice_info_by_customer_impl` to `Community 0`, `plan.py`, `datetime_parse.py`, `Community 4`, `Community 5`, `Community 6`, `Community 134`, `Community 8`, `statistics.py`, `Community 136`, `Community 11`, `Community 13`, `Community 14`, `SysEthnic`, `dict_data.py`, `Community 15`, `resolve_crm_product`, `Community 19`, `Community 16`, `Community 21`, `response.py`, `Community 25`, `Community 28`, `Community 29`, `Community 33`, `get_client_ip`, `Community 36`, `Community 39`, `Community 43`, `Community 44`, `Community 45`, `Community 48`, `Community 49`, `allocate_next_biz_no`, `Community 58`, `Community 61`, `Community 62`, `Community 65`, `Community 66`, `Community 67`, `Community 68`, `Community 71`, `register_local_callback`, `Community 83`, `Community 87`, `pl_ocr_service.py`, `Community 92`, `Community 95`, `dept.py`, `apply_crm_create_by_scope`, `apply_pl_scope`, `Community 109`, `quote_share_log.py`, `db_models.py`, `site.py`, `Community 116`, `Community 118`, `Community 122`, `customer_pool.py`?**
|
||||
_High betweenness centrality (0.099) - this node is a cross-community bridge._
|
||||
- **Why does `Settings` connect `Community 72` to `backfill_crm_contract_attachment_urls.py`, `_ensure_subpack_slip_no`, `Community 35`, `crm_supplier_hazard.py`, `Community 37`, `Community 67`, `price_letter_detail`, `Community 73`, `Community 42`, `Base`, `Community 52`, `Any`, `Community 59`, `Community 30`?**
|
||||
_High betweenness centrality (0.097) - this node is a cross-community bridge._
|
||||
- **Why does `BaseModel` connect `Community 12` to `Community 0`, `Community 1`, `Community 2`, `Community 3`, `Community 5`, `Community 7`, `unsettled_plans_q_filter`, `Community 11`, `Community 14`, `Community 15`, `Community 16`, `resolve_crm_product`, `Community 18`, `Community 19`, `Community 24`, `Community 26`, `Community 27`, `Community 29`, `register_local_callback`, `Community 34`, `__init__.py`, `Community 36`, `Community 38`, `Community 43`, `apply_pl_scope`, `resolve_create_time_bounds`, `Community 46`, `Community 45`, `Community 48`, `Community 50`, `Community 53`, `Community 54`, `__init__.py`, `_build_user_info_payload`, `Community 60`, `Community 61`, `Community 62`, `Community 63`, `Community 64`, `create_from_quote`, `Community 66`, `Community 65`, `Community 71`, `register_local_callback`, `Community 86`, `list_customers`, `Community 109`, `Community 111`, `site.py`, `Community 119`, `Community 127`?**
|
||||
_High betweenness centrality (0.093) - this node is a cross-community bridge._
|
||||
- **Why does `generate_uuid()` connect `_invoice_info_by_customer_impl` to `Community 0`, `plan.py`, `datetime_parse.py`, `Community 4`, `Community 5`, `Community 6`, `Community 134`, `Community 8`, `statistics.py`, `Community 136`, `Community 11`, `Community 13`, `Community 14`, `SysEthnic`, `dict_data.py`, `resolve_crm_product`, `Community 15`, `Community 19`, `Community 16`, `Community 21`, `Community 24`, `response.py`, `Community 25`, `utils.py`, `Community 28`, `Community 29`, `register_local_callback`, `Community 33`, `__init__.py`, `get_client_ip`, `Community 36`, `Community 38`, `Community 39`, `Community 43`, `Community 44`, `Community 45`, `resolve_create_time_bounds`, `Community 48`, `Community 49`, `Community 58`, `Community 61`, `Community 62`, `Community 65`, `Community 66`, `Community 67`, `Community 68`, `Community 71`, `register_local_callback`, `Community 83`, `Community 87`, `pl_ocr_service.py`, `pl_vehicle_recharge_service.py`, `Community 92`, `Community 95`, `dept.py`, `apply_crm_create_by_scope`, `apply_pl_scope`, `Community 109`, `storage.py`, `quote_share_log.py`, `db_models.py`, `site.py`, `Community 116`, `Community 118`, `Community 122`, `customer_pool.py`?**
|
||||
_High betweenness centrality (0.090) - this node is a cross-community bridge._
|
||||
- **Are the 8 inferred relationships involving `DbUserContext` (e.g. with `InventoryRelatedData` and `AutoGenerateMonthlyResult`) actually correct?**
|
||||
_`DbUserContext` has 8 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **What connects `API 路由包 — 山峡化工生产一体化门户`, `返回运营端角色下拉选项(label=库中角色名,value=Web 角色码)。`, `返回用户下拉选项(label=昵称,value=用户ID,附带 nickName/userNo)。 供申请人/审批人等选择场景使用,返回本租户全部有效` to the rest of the system?**
|
||||
_539 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
_541 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
- **Should `Community 0` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.1492063492063492 - nodes in this community are weakly interconnected._
|
||||
- **Should `Community 1` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.07804878048780488 - nodes in this community are weakly interconnected._
|
||||
- **Should `Community 3` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.07226107226107226 - nodes in this community are weakly interconnected._
|
||||
_Cohesion score 0.08367071524966262 - nodes in this community are weakly interconnected._
|
||||
+3619
-2929
File diff suppressed because it is too large.
Load diff
@@ -1,16 +1,16 @@
|
||||
# Graph Report - backend (2026-08-09)
|
||||
|
||||
## Corpus Check
|
||||
- 329 files · ~214,176 words
|
||||
- 329 files · ~214,396 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
- 4743 nodes · 16026 edges · 543 communities (527 shown, 16 thin omitted)
|
||||
- 4746 nodes · 16030 edges · 538 communities (522 shown, 16 thin omitted)
|
||||
- Extraction: 97% EXTRACTED · 3% INFERRED · 0% AMBIGUOUS · INFERRED: 479 edges (avg confidence: 0.53)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Graph Freshness
|
||||
- Built from commit: `ca6aca2b`
|
||||
- Built from commit: `47a56e40`
|
||||
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
|
||||
- Run `graphify update .` after code changes (no API cost).
|
||||
|
||||
@@ -154,12 +154,7 @@
|
||||
- [[_COMMUNITY_allocate_next_biz_no|allocate_next_biz_no]]
|
||||
- [[_COMMUNITY_statistics.py|statistics.py]]
|
||||
- [[_COMMUNITY_resolve_create_time_bounds|resolve_create_time_bounds]]
|
||||
- [[_COMMUNITY___init__.py|__init__.py]]
|
||||
- [[_COMMUNITY__build_user_info_payload|_build_user_info_payload]]
|
||||
- [[_COMMUNITY_context.py|context.py]]
|
||||
- [[_COMMUNITY_SoftDeleteModel|SoftDeleteModel]]
|
||||
- [[_COMMUNITY_create_from_quote|create_from_quote]]
|
||||
- [[_COMMUNITY_web_login_rsa_public_key|web_login_rsa_public_key]]
|
||||
- [[_COMMUNITY_crm_contract_sub_routes.py|crm_contract_sub_routes.py]]
|
||||
- [[_COMMUNITY_register_local_callback|register_local_callback]]
|
||||
- [[_COMMUNITY_crm_quote_pdf.py|crm_quote_pdf.py]]
|
||||
@@ -195,6 +190,8 @@
|
||||
10. `ApiResponse` - 79 edges
|
||||
|
||||
## Surprising Connections (you probably didn't know these)
|
||||
- `BackfillRule` --uses--> `Settings` [INFERRED]
|
||||
scripts/migrate_crm_sys_oss.py → app/core/config.py
|
||||
- `MigrationStats` --uses--> `Settings` [INFERRED]
|
||||
scripts/migrate_bx_data.py → app/core/config.py
|
||||
- `StepStats` --uses--> `Settings` [INFERRED]
|
||||
@@ -203,181 +200,179 @@
|
||||
scripts/migrate_crm_clue.py → app/core/config.py
|
||||
- `StepStats` --uses--> `Settings` [INFERRED]
|
||||
scripts/migrate_crm_clue.py → app/core/config.py
|
||||
- `MigrationStats` --uses--> `Settings` [INFERRED]
|
||||
scripts/migrate_crm_contract.py → app/core/config.py
|
||||
|
||||
## Import Cycles
|
||||
- None detected.
|
||||
|
||||
## Communities (543 total, 16 thin omitted)
|
||||
## Communities (538 total, 16 thin omitted)
|
||||
|
||||
### Community 0 - "Community 0"
|
||||
Cohesion: 0.15
|
||||
Nodes (33): check_document_expiry(), document_reminder_stats(), get_inventory_ledger(), get_summary(), list_document_reminders(), list_transactions(), list_warnings(), date (+25 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (46): check_document_expiry(), document_reminder_stats(), get_inventory_ledger(), get_summary(), list_document_reminders(), list_transactions(), list_warnings(), date (+38 more)
|
||||
|
||||
### Community 1 - "Community 1"
|
||||
Cohesion: 0.08
|
||||
Nodes (36): CRM 合同 API 路由 — GET/PUT/DELETE/POST 对齐原 Java CRM, ContractApproverSettingSaveBody, ContractApprovalActionBody, ContractApprovalPassBody, ContractApprovalRejectBody, ContractApprovalTransferBody, ContractBatchAssignBody, ContractBatchSubmitBody (+28 more)
|
||||
Nodes (38): CRM 合同 API 路由 — GET/PUT/DELETE/POST 对齐原 Java CRM, 接口菜单权限守卫。super_admin 直接放行。, require_menu_code(), ContractApproverSettingSaveBody, ContractApprovalActionBody, ContractApprovalPassBody, ContractApprovalRejectBody, ContractApprovalTransferBody (+30 more)
|
||||
|
||||
### Community 2 - "Community 2"
|
||||
Cohesion: 0.20
|
||||
Nodes (25): _apply_inventory_product_update(), _apply_inventory_update(), _base_query(), create_inventory(), create_link_for_plan(), delete_inventory(), _generate_batch_no(), _get_inventory() (+17 more)
|
||||
Cohesion: 0.21
|
||||
Nodes (26): _apply_inventory_product_update(), _apply_inventory_update(), _base_query(), create_inventory(), create_link_for_plan(), delete_inventory(), _generate_batch_no(), _get_inventory() (+18 more)
|
||||
|
||||
### Community 3 - "Community 3"
|
||||
Cohesion: 0.08
|
||||
Nodes (95): attachment_download_url(), attachment_preview_url(), AttachmentDownloadUrlBody, create_dept(), create_dict_data(), create_dict_type(), create_menu(), create_menu_favorite() (+87 more)
|
||||
Nodes (93): attachment_download_url(), attachment_preview_url(), AttachmentDownloadUrlBody, create_dept(), create_dict_data(), create_dict_type(), create_menu(), create_menu_favorite() (+85 more)
|
||||
|
||||
### Community 4 - "Community 4"
|
||||
Cohesion: 0.12
|
||||
Nodes (61): _apply_list_filters(), assign_opportunities(), batch_update_expect_date(), batch_update_stage(), change_stage(), create_opportunity(), _decimal_value(), _enrich_user_names() (+53 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (76): _apply_list_filters(), assign_opportunities(), batch_update_expect_date(), batch_update_stage(), change_stage(), create_opportunity(), _decimal_value(), _enrich_user_names() (+68 more)
|
||||
|
||||
### Community 5 - "Community 5"
|
||||
Cohesion: 0.15
|
||||
Nodes (34): CRM 合同子模块路由 — 变更/模板/审批独立页, register_contract_sub_routes(), _change_row_to_dict(), create_contract_change(), create_contract_template(), _enrich_change_rows(), execute_change(), export_contract_changes() (+26 more)
|
||||
Cohesion: 0.14
|
||||
Nodes (37): CRM 合同子模块路由 — 变更/模板/审批独立页, register_contract_sub_routes(), _change_row_to_dict(), create_contract_change(), create_contract_template(), _enrich_change_rows(), execute_change(), export_contract_changes() (+29 more)
|
||||
|
||||
### Community 6 - "Community 6"
|
||||
Cohesion: 0.11
|
||||
Nodes (48): assign_customer(), batch_claim_customers(), check_duplicate_customer(), claim_customer(), create_customer(), deal_customer(), _enrich_user_names(), _ensure_customer_in_scope() (+40 more)
|
||||
Cohesion: 0.20
|
||||
Nodes (29): assign_customer(), batch_claim_customers(), check_duplicate_customer(), claim_customer(), create_customer(), deal_customer(), _enrich_user_names(), _ensure_customer_in_scope() (+21 more)
|
||||
|
||||
### Community 7 - "Community 7"
|
||||
Cohesion: 0.06
|
||||
Nodes (128): clue_check_convert(), clue_check_duplicate(), clue_detail(), clue_follow_detail(), clue_follow_statistics(), clue_import(), clue_list(), clue_mine() (+120 more)
|
||||
Cohesion: 0.05
|
||||
Nodes (135): clue_check_convert(), clue_check_duplicate(), clue_detail(), clue_export(), clue_follow_statistics(), clue_import(), clue_list(), clue_mine() (+127 more)
|
||||
|
||||
### Community 8 - "Community 8"
|
||||
Cohesion: 0.11
|
||||
Nodes (55): register_quote_routes(), create_from_quote(), _quote_products_to_contract_products(), Java: createFromQuote — 返回合同 id, accept_quote(), assert_quote_editable_for_update(), _build_quote_filters(), calculate_quote_amount() (+47 more)
|
||||
Nodes (47): assert_quote_editable_for_update(), _build_quote_filters(), calculate_quote_amount(), create_new_version(), create_quote(), _decimal_value(), _enrich_contact_fields(), _enrich_supplier_name() (+39 more)
|
||||
|
||||
### Community 11 - "Community 11"
|
||||
Cohesion: 0.10
|
||||
Nodes (55): cancel_apply(), create_apply(), create_disburse(), delete_applies(), delete_disburses(), get_apply(), get_disburse(), list_applies() (+47 more)
|
||||
|
||||
### Community 12 - "Community 12"
|
||||
Cohesion: 0.06
|
||||
Nodes (59): customer_create(), customer_update(), customer_name_exists(), BaseModel, AttachmentUploadResponse, ChangePasswordRequest, Config, LoginRequest (+51 more)
|
||||
Cohesion: 0.05
|
||||
Nodes (72): contact_add(), contact_delete(), contact_update(), customer_delete(), BaseModel, AttachmentUploadResponse, ChangePasswordRequest, Config (+64 more)
|
||||
|
||||
### Community 13 - "Community 13"
|
||||
Cohesion: 0.12
|
||||
Nodes (20): BxAdvanceApply, BxAdvanceApproval, AdvanceService, Any, Session, 同一节点多次审批时,取 approval_time 最新的一条作为当前节点状态。, 返回全部审批动作,按时间正序排列,用于展示完整审批历史。, filter_current_cycle_approvals() (+12 more)
|
||||
Cohesion: 0.15
|
||||
Nodes (12): BxAdvanceApply, BxAdvanceApproval, AdvanceService, Any, Session, 同一节点多次审批时,取 approval_time 最新的一条作为当前节点状态。, 返回全部审批动作,按时间正序排列,用于展示完整审批历史。, BxCrudService (+4 more)
|
||||
|
||||
### Community 14 - "Community 14"
|
||||
Cohesion: 0.09
|
||||
Nodes (54): approve_carrier(), create_carrier(), create_driver(), create_personnel(), delete_carrier(), delete_driver(), delete_personnel(), delete_vehicle() (+46 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (58): approve_carrier(), bind_vehicle_driver(), create_carrier(), create_driver(), create_personnel(), delete_carrier(), delete_driver(), delete_personnel() (+50 more)
|
||||
|
||||
### Community 15 - "Community 15"
|
||||
Cohesion: 0.12
|
||||
Nodes (14): BxReimburseApply, BxReimburseApproval, BxReimburseDetail, BxReimburseInvoice, BxReimburseOffset, ReimburseApplyOut, ReimburseInvoiceBriefOut, Any (+6 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (39): approve_reimburse(), approved_by_me(), _build_details_data(), create_reimburse(), delete_reimburse(), get_approval_history(), get_approvals(), get_generated_title() (+31 more)
|
||||
|
||||
### Community 16 - "Community 16"
|
||||
Cohesion: 0.15
|
||||
Nodes (39): PlVehicleRechargeApply, PlVehicleRechargeRecord, 车辆ETC/加油充值申请 pl_vehicle_recharge_apply, 车辆ETC/加油充值发放登记 pl_vehicle_recharge_record, Decimal, 发放登记页:申请单 + 关联发放信息(左连接), VehicleRechargeApplyRead, VehicleRechargeDisburseBoardItem (+31 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (60): cancel_apply(), create_apply(), create_record(), delete_applies(), delete_records(), get_apply(), get_record(), list_applies() (+52 more)
|
||||
|
||||
### Community 18 - "Community 18"
|
||||
Cohesion: 0.11
|
||||
Nodes (37): advance_pending_approval_stats(), advance_status_counts(), approve_advance(), approved_by_me(), create_advance(), delete_advance(), _fill_offset_amounts(), get_advance() (+29 more)
|
||||
Nodes (53): advance_pending_approval_stats(), advance_status_counts(), approve_advance(), approved_by_me(), create_advance(), delete_advance(), _fill_offset_amounts(), get_advance() (+45 more)
|
||||
|
||||
### Community 19 - "Community 19"
|
||||
Cohesion: 0.05
|
||||
Nodes (89): archive_plan(), _build_driver_url(), cancel_plan(), cancel_plan_wait_notice(), count_plans_by_contract(), create_from_contract(), create_plan(), create_plan_full() (+81 more)
|
||||
Nodes (125): archive_plan(), cancel_plan(), cancel_plan_wait_notice(), count_plans_by_contract(), create_from_contract(), create_plan(), create_plan_full(), delete_plan() (+117 more)
|
||||
|
||||
### Community 21 - "Community 21"
|
||||
Cohesion: 0.08
|
||||
Nodes (61): _alias_row_to_dict(), _assert_brand_deletable(), barcode_exists(), _brand_row_to_dict(), _build_category_tree(), category_code_exists(), _category_row_to_dict(), _collect_category_with_ancestors() (+53 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (56): _alias_row_to_dict(), _assert_brand_deletable(), barcode_exists(), _brand_row_to_dict(), _build_category_tree(), category_code_exists(), _category_row_to_dict(), _collect_category_with_ancestors() (+48 more)
|
||||
|
||||
### Community 22 - "Community 22"
|
||||
Cohesion: 0.08
|
||||
Nodes (28): parse_admin_request_json(), Any, Request, 运营 Web(/web/admin)JSON 请求体解析。 与 ApiCryptoMiddleware 配合:中间件未改写 body 时,在路由内解密 `{, 读取 JSON body;dict 时走 resolve_request_payload(明文 / 密文 / data 包装)。 Returns:, ApiCryptoError, _b64url_decode(), _b64url_encode() (+20 more)
|
||||
|
||||
### Community 23 - "Community 23"
|
||||
Cohesion: 0.15
|
||||
Cohesion: 0.14
|
||||
Nodes (6): convert_heic_to_jpeg(), process_image_content(), QiniuStorage, 将 HEIC/HEIF 格式转换为 JPEG 格式, 处理图片内容,如果是 HEIC 格式则转换为 JPEG, BytesIO
|
||||
|
||||
### Community 24 - "Community 24"
|
||||
Cohesion: 0.15
|
||||
Nodes (39): _apply_plan_update(), _base_query(), create_plan(), delete_plan(), _generate_plan_no(), get_plan(), _get_plan_by_id_only(), get_plan_related() (+31 more)
|
||||
Cohesion: 0.17
|
||||
Nodes (32): _apply_plan_product_update(), _apply_plan_update(), AutoGenerateMonthlyResult, _base_query(), create_plan(), delete_plan(), _generate_plan_no(), get_plan() (+24 more)
|
||||
|
||||
### Community 25 - "Community 25"
|
||||
Cohesion: 0.21
|
||||
Nodes (15): load_brand_qtys_by_plan_product_ids(), persist_plan_product_brand_qtys(), Any, Decimal, Session, 按计划产品明细 ID 批量加载归档品牌数量(brandId/brandName/qty)。, 软删旧品牌量行后按归档结果插入;无品牌约定则只软删不插入。, validate_brand_qty_rows() (+7 more)
|
||||
Nodes (22): register_quote_routes(), accept_quote(), _ensure_quote_in_scope(), generate_pdf(), generate_share(), get_quote(), get_quote_detail(), _get_quote_in_scope() (+14 more)
|
||||
|
||||
### Community 26 - "Community 26"
|
||||
Cohesion: 0.11
|
||||
Nodes (34): Session, recognize_cert(), RecognizeCertBody, RecognizeCertResult, cancel_apply(), create_apply(), create_record(), delete_applies() (+26 more)
|
||||
Nodes (22): list_public_vehicle_plates(), Session, 地磅公共只读:免登车牌 options(现场填写页), 免登:按出入库/计划解析 tenant_no,返回 pl_vehicle 车牌(self + carrier)。, _resolve_tenant_no(), menu_badge_stats(), Session, Session (+14 more)
|
||||
|
||||
### Community 27 - "Community 27"
|
||||
Cohesion: 0.11
|
||||
Nodes (32): CRM 报价单 API 路由 — 挂接到 crm.router, QuoteApproverSettingSaveBody, QuoteAcceptBody, QuoteApprovalApproveBody, QuoteApprovalListBody, QuoteApprovalRefreshNamesBody, QuoteApprovalWithdrawBody, QuoteCreateBody (+24 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (33): CRM 报价单 API 路由 — 挂接到 crm.router, total_pages(), QuoteApproverSettingSaveBody, QuoteAcceptBody, QuoteApprovalApproveBody, QuoteApprovalListBody, QuoteApprovalRefreshNamesBody, QuoteApprovalWithdrawBody (+25 more)
|
||||
|
||||
### Community 28 - "Community 28"
|
||||
Cohesion: 0.09
|
||||
Nodes (61): PlFreightSettlement, PlFreightSettlementApproval, PlFreightSettlementTransport, PlRemittanceVoucher, 运费结算表 pl_freight_settlement, 运费结算审批 pl_freight_settlement_approval, 结算单-运输关联表 pl_freight_settlement_transport, 汇款凭证表 pl_remittance_voucher (+53 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (59): PlFreightSettlement, PlFreightSettlementApproval, PlFreightSettlementTransport, 运费结算表 pl_freight_settlement, 运费结算审批 pl_freight_settlement_approval, 结算单-运输关联表 pl_freight_settlement_transport, _advance_after_approval(), _approval_to_dict() (+51 more)
|
||||
|
||||
### Community 29 - "Community 29"
|
||||
Cohesion: 0.09
|
||||
Nodes (62): QrCodeResponse, PlPlan, PlPlanProduct, PlPlanTransport, 计划产品明细表 pl_plan_product, 计划-运输关联表 pl_plan_transport, PlanArchiveFreightBlock, PlanArchiveProductItem (+54 more)
|
||||
Cohesion: 0.38
|
||||
Nodes (6): 解析司机:显式选择优先,否则取车辆关联司机;均无则允许为空。, _resolve_driver(), 运输计划解析司机:车辆未关联司机时允许为空。, 未显式选司机、车辆也无关联司机时,应返回空三元组而非 400。, test_resolve_driver_with_explicit_id_returns_personnel(), test_resolve_driver_without_vehicle_link_returns_none()
|
||||
|
||||
### Community 30 - "Community 30"
|
||||
Cohesion: 0.16
|
||||
Nodes (26): clear_target_categories(), compute_level(), count_target_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_runtime_settings() (+18 more)
|
||||
|
||||
### Community 33 - "Community 33"
|
||||
Cohesion: 0.14
|
||||
Nodes (24): PlTransportProductBrandQty, PlTransportProductFeedback, 运输单按产品回传 pl_transport_product_feedback, 运输单产品回传品牌数量 pl_transport_product_brand_qty, _dict_field(), format_brand_qty_summary(), load_transport_driver_product_feedbacks(), persist_io_item_brand_qtys() (+16 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (39): PlTransportProductBrandQty, PlTransportProductFeedback, 运输单按产品回传 pl_transport_product_feedback, 运输单产品回传品牌数量 pl_transport_product_brand_qty, load_brand_qtys_by_plan_product_ids(), persist_plan_product_brand_qtys(), Any, Decimal (+31 more)
|
||||
|
||||
### Community 34 - "Community 34"
|
||||
Cohesion: 0.09
|
||||
Nodes (45): approve_task(), _assert_wf_instance_in_scope(), _business_type_label(), create_process_def(), delete_process_def(), _enrich_task_list(), get_business_all_tasks(), _get_business_form_fields() (+37 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (48): approve_task(), _assert_wf_instance_in_scope(), _business_type_label(), create_process_def(), delete_process_def(), _enrich_task_list(), get_business_all_tasks(), _get_business_form_fields() (+40 more)
|
||||
|
||||
### Community 35 - "Community 35"
|
||||
Cohesion: 0.18
|
||||
Nodes (36): clear_portal_workflow(), _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_bx_user_mapping(), load_runtime_settings() (+28 more)
|
||||
|
||||
### Community 36 - "Community 36"
|
||||
Cohesion: 0.08
|
||||
Nodes (42): 验证密码(哈希非 bcrypt 或损坏时返回 False,避免抛错), verify_password(), list_ethnics(), Any, Session, 民族码表 CRUD(全局 sys_ethnic), _row_to_dict(), change_password() (+34 more)
|
||||
Cohesion: 0.14
|
||||
Nodes (29): 验证密码(哈希非 bcrypt 或损坏时返回 False,避免抛错), verify_password(), change_password(), create_user(), get_user(), get_user_with_relations(), _hash_password(), list_post_ids_for_user() (+21 more)
|
||||
|
||||
### Community 37 - "Community 37"
|
||||
Cohesion: 0.20
|
||||
Nodes (24): count_source_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_runtime_settings(), load_settings_env(), load_user_mapping() (+16 more)
|
||||
|
||||
### Community 38 - "Community 38"
|
||||
Cohesion: 0.15
|
||||
Nodes (17): create_expense_item(), delete_expense_item(), get_expense_item(), get_expense_item_tree(), Session, update_expense_item(), BxExpenseItem, _coerce_id() (+9 more)
|
||||
Cohesion: 0.19
|
||||
Nodes (14): create_expense_item(), delete_expense_item(), get_expense_item(), get_expense_item_tree(), Session, update_expense_item(), get_bx_current_user(), BxExpenseItem (+6 more)
|
||||
|
||||
### Community 39 - "Community 39"
|
||||
Cohesion: 0.22
|
||||
Nodes (28): assign_clues(), check_convert(), check_duplicate_clue(), convert_clue(), create_clue(), _enrich_user_names(), _ensure_clue_in_scope(), get_clue() (+20 more)
|
||||
Cohesion: 0.13
|
||||
Nodes (42): clue_follow_detail(), assign_clues(), check_convert(), check_duplicate_clue(), convert_clue(), create_clue(), _enrich_user_names(), _ensure_clue_in_scope() (+34 more)
|
||||
|
||||
### Community 42 - "Community 42"
|
||||
Cohesion: 0.20
|
||||
Nodes (31): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_oss_id_to_url(), load_runtime_settings(), load_settings_env() (+23 more)
|
||||
Cohesion: 0.19
|
||||
Nodes (32): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_oss_id_to_url(), load_runtime_settings(), load_settings_env() (+24 more)
|
||||
|
||||
### Community 43 - "Community 43"
|
||||
Cohesion: 0.10
|
||||
Nodes (30): create_invoice(), delete_invoice(), get_mine_wallet_summary(), list_invoice_ledgers(), list_invoice_wallets(), list_invoices(), Request, Session (+22 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (30): bx_health(), 报销(bx)API 路由聚合 — REST 风格,协议对齐 bx 原系统。, P0 健康检查:验证 bx 路由已挂载且响应协议为 code=0。, create_invoice(), delete_invoice(), get_mine_wallet_summary(), list_invoice_ledgers(), list_invoice_wallets() (+22 more)
|
||||
|
||||
### Community 44 - "Community 44"
|
||||
Cohesion: 0.09
|
||||
Nodes (59): register_contract_routes(), batch_assign_owner(), batch_submit_contract_approval(), _build_contract_name_from_parties(), _build_customer_address(), _contract_period_key(), contract_row_to_dict(), download_contract_pdf() (+51 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (84): register_contract_routes(), _apply_contract_entity_fields(), batch_assign_owner(), batch_submit_contract_approval(), _build_contract_filters(), _build_contract_name_from_parties(), _build_customer_address(), _calc_amount_with_tax() (+76 more)
|
||||
|
||||
### Community 45 - "Community 45"
|
||||
Cohesion: 0.07
|
||||
Nodes (86): get_plan_arrange_info(), 获取计划已安排运输后的司机链接与地磅出入库关联(供查看弹窗复制简述/二维码)。, _build_public_page(), _format_file_size(), _format_plan_date(), get_public_transport(), _get_transport_by_token(), _parse_feedback_images() (+78 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (75): _build_driver_url(), get_plan_arrange_info(), 获取计划已安排运输后的司机链接与地磅出入库关联(供查看弹窗复制简述/二维码)。, _apply_plan_logistics_from_payload(), _apply_transport_arrange_fields(), arrange_transport(), _assert_vehicle_carrier_eligible(), _build_arrange_result() (+67 more)
|
||||
|
||||
### Community 46 - "Community 46"
|
||||
Cohesion: 0.06
|
||||
Nodes (58): clue_assign(), clue_convert(), clue_create(), clue_delete(), clue_follow_create(), clue_follow_delete(), clue_follow_list(), clue_follow_update() (+50 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (25): clue_assign(), clue_convert(), clue_create(), clue_delete(), clue_follow_create(), clue_follow_delete(), clue_follow_list(), clue_follow_update() (+17 more)
|
||||
|
||||
### Community 48 - "Community 48"
|
||||
Cohesion: 0.18
|
||||
Nodes (15): AutoGenerateMonthlyResult, 手动触发计划按月自动生成(定时任务同款逻辑)。, run_auto_generate_monthly(), get_last_month_range(), month_range(), date, Session, 地磅计划按月自动生成 — 迁移自 simple-dibang-xiaoshou/auto-create-plan/auto_create_monthly_pla (+7 more)
|
||||
Cohesion: 0.24
|
||||
Nodes (12): get_last_month_range(), month_range(), date, Session, 地磅计划按月自动生成 — 迁移自 simple-dibang-xiaoshou/auto-create-plan/auto_create_monthly_pla, 按月自动生成采购计划。 - 默认仅在每月 1 日执行(force=True 时跳过该限制,供手动触发验收) - 遍历所有租户,按上月计划模板生, run_auto_generate_monthly_plans(), default_execution_status() (+4 more)
|
||||
|
||||
### Community 49 - "Community 49"
|
||||
Cohesion: 0.15
|
||||
Nodes (30): create_clue_follow(), delete_clue_follow(), get_clue_follow(), get_follow_statistics(), list_clue_follows(), Any, Session, 更新线索跟进记录,必要时同步线索 next_time (+22 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (29): pool_rule_add(), pool_rule_delete(), pool_rule_detail(), pool_rule_execute(), pool_rule_list(), pool_rule_update(), pool_rule_update_status(), create_pool_rule() (+21 more)
|
||||
|
||||
### Community 50 - "Community 50"
|
||||
Cohesion: 0.32
|
||||
Nodes (16): _cargo_stats(), get_dashboard_stats(), get_inbound_by_cargo(), get_inbound_by_partner_cargo(), get_outbound_by_cargo(), get_outbound_by_partner_cargo(), _partner_cargo_stats(), Session (+8 more)
|
||||
Cohesion: 0.21
|
||||
Nodes (19): _cargo_stats(), get_dashboard_stats(), get_inbound_by_cargo(), get_inbound_by_partner_cargo(), get_outbound_by_cargo(), get_outbound_by_partner_cargo(), _partner_cargo_stats(), Session (+11 more)
|
||||
|
||||
### Community 51 - "Community 51"
|
||||
Cohesion: 0.24
|
||||
@@ -388,40 +383,40 @@ Cohesion: 0.18
|
||||
Nodes (29): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_oss_id_to_url(), load_runtime_settings(), load_settings_env() (+21 more)
|
||||
|
||||
### Community 53 - "Community 53"
|
||||
Cohesion: 0.22
|
||||
Nodes (22): advance_issue_stats(), batch_offset(), export_advance_issues(), issue_advance(), list_advance_issues(), list_advance_offset_records(), list_pending_payments(), list_processed_payments() (+14 more)
|
||||
Cohesion: 0.28
|
||||
Nodes (11): BxInvoiceLedger, BxInvoiceWalletSummary, InvoiceLedgerService, Any, Decimal, Session, should_skip_release(), summarize_entries() (+3 more)
|
||||
|
||||
### Community 54 - "Community 54"
|
||||
Cohesion: 0.26
|
||||
Nodes (23): _get_by_plan(), get_inbound(), get_inbound_by_plan(), _get_order(), get_outbound(), get_outbound_by_plan(), inbound_site_url(), list_inbound() (+15 more)
|
||||
Cohesion: 0.24
|
||||
Nodes (25): _get_by_plan(), get_inbound(), get_inbound_by_plan(), _get_order(), get_outbound(), get_outbound_by_plan(), inbound_site_url(), list_inbound() (+17 more)
|
||||
|
||||
### Community 58 - "Community 58"
|
||||
Cohesion: 0.20
|
||||
Nodes (22): _apply_contract_entity_fields(), _build_contract_filters(), _calc_amount_with_tax(), contract_no_exists(), create_contract(), create_from_opportunity(), _decimal_value(), _get_field() (+14 more)
|
||||
Cohesion: 0.40
|
||||
Nodes (12): create_follow(), _enrich_follow_dict(), get_follow(), list_follows(), list_follows_by_customer(), Any, Session, _row_to_dict() (+4 more)
|
||||
|
||||
### Community 59 - "Community 59"
|
||||
Cohesion: 0.20
|
||||
Nodes (28): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_oss_id_to_url(), load_runtime_settings(), load_settings_env() (+20 more)
|
||||
|
||||
### Community 60 - "Community 60"
|
||||
Cohesion: 0.12
|
||||
Nodes (16): 供方全量列表(下拉)— Java: CrmSupplierInfoController.listAll, 供方详情 — Java: CrmSupplierInfoController.getInfo, 新增供方 — Java: CrmSupplierInfoController.add, 修改供方 — Java: CrmSupplierInfoController.edit, 删除供方 — Java: CrmSupplierInfoController.remove, supplier_info_add(), supplier_info_delete(), supplier_info_detail() (+8 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (17): 供方全量列表(下拉)— Java: CrmSupplierInfoController.listAll, 供方详情 — Java: CrmSupplierInfoController.getInfo, 新增供方 — Java: CrmSupplierInfoController.add, 修改供方 — Java: CrmSupplierInfoController.edit, 删除供方 — Java: CrmSupplierInfoController.remove, supplier_info_add(), supplier_info_delete(), supplier_info_detail() (+9 more)
|
||||
|
||||
### Community 61 - "Community 61"
|
||||
Cohesion: 0.16
|
||||
Nodes (35): PlanRelatedData, DbInboundOutbound, DbPurchasePlan, PlTransportDbLink, 运输-地磅出入库关联 pl_transport_db_link, _apply_plan_quantity_delta(), _create_db_inventory(), _create_db_plan() (+27 more)
|
||||
Cohesion: 0.07
|
||||
Nodes (75): _generate_notify_message(), PlPlan, PlPlanProduct, PlTransportDbLink, 计划产品明细表 pl_plan_product, 运输-地磅出入库关联 pl_transport_db_link, _apply_plan_quantity_delta(), _create_db_inventory() (+67 more)
|
||||
|
||||
### Community 62 - "Community 62"
|
||||
Cohesion: 0.16
|
||||
Nodes (25): 地磅 API 路由聚合 — REST 风格,协议对齐原 simple-dibang-xiaoshou。, _apply_weighing_product_update(), _apply_weighing_update(), _base_query(), create_weighing(), delete_weighing(), _get_weighing(), get_weighing_related() (+17 more)
|
||||
Cohesion: 0.14
|
||||
Nodes (38): _apply_weighing_product_update(), _apply_weighing_update(), _base_query(), create_weighing(), delete_weighing(), _get_weighing(), get_weighing_related(), list_weighing() (+30 more)
|
||||
|
||||
### Community 63 - "Community 63"
|
||||
Cohesion: 0.10
|
||||
Nodes (40): bx_health(), 报销(bx)API 路由聚合 — REST 风格,协议对齐 bx 原系统。, P0 健康检查:验证 bx 路由已挂载且响应协议为 code=0。, approve_reimburse(), approved_by_me(), _build_details_data(), create_reimburse(), delete_reimburse() (+32 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (12): _coerce_id(), OffsetItem, PaymentFinanceStatsOut, 报销单勾选的发票附件(同一发票可勾选多个附件,各占一条)。, ReimburseApplyCreate, ReimburseApprovalOut, ReimburseApproverPendingStatsOut, ReimburseDetailCreate (+4 more)
|
||||
|
||||
### Community 64 - "Community 64"
|
||||
Cohesion: 0.11
|
||||
Nodes (23): clue_export(), clue_import_template(), contact_birthday(), contact_by_customer(), contact_decision(), contact_export(), contact_list(), contact_primary() (+15 more)
|
||||
Cohesion: 0.17
|
||||
Nodes (16): clue_import_template(), customer_import_template(), _opp_list_kwargs(), opportunity_export(), opportunity_kanban(), opportunity_list(), opportunity_mine_list(), product_import_template() (+8 more)
|
||||
|
||||
### Community 65 - "Community 65"
|
||||
Cohesion: 0.10
|
||||
@@ -440,20 +435,20 @@ Cohesion: 0.33
|
||||
Nodes (13): _build_tree(), _cascade_soft_delete(), _collect_with_ancestors(), create_dept(), get_dept(), list_depts(), list_depts_tree(), Any (+5 more)
|
||||
|
||||
### Community 69 - "Community 69"
|
||||
Cohesion: 0.11
|
||||
Nodes (32): _append_user_scope_conditions(), apply_data_scope(), assert_row_in_data_scope(), _collect_scope_ids(), _get_child_dept_ids(), get_user_dept_id(), Session, 数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3 (+24 more)
|
||||
Cohesion: 0.15
|
||||
Nodes (27): _append_user_scope_conditions(), apply_data_scope(), assert_row_in_data_scope(), _collect_scope_ids(), _get_child_dept_ids(), get_user_dept_id(), Session, 数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3 (+19 more)
|
||||
|
||||
### Community 70 - "Community 70"
|
||||
Cohesion: 0.18
|
||||
Nodes (18): align_contract_no_to_sign_date(), generate_contract_no(), date, Java: generateContractNo — {供方编码}/X-JT{yyyyMMdd}{3位序号} 流水与撞号检测须含软删:uk_contr, 标准编号替换日期段,保留序号;非标准返回 None。, 将标准合同编号日期段对齐签订日;撞号则序号顺延(含软删查重)。 非标准编号原样返回。无签订日则原样返回。, replace_contract_no_date(), _mock_last_contract() (+10 more)
|
||||
Cohesion: 0.19
|
||||
Nodes (16): align_contract_no_to_sign_date(), date, 标准编号替换日期段,保留序号;非标准返回 None。, 将标准合同编号日期段对齐签订日;撞号则序号顺延(含软删查重)。 非标准编号原样返回。无签订日则原样返回。, replace_contract_no_date(), _mock_last_contract(), 软删占用的编号仍占唯一索引,生成时须跳过(对齐 uk_contract_tenant_no)。, 取最大流水号须含软删,避免复用已软删的最大编号。 (+8 more)
|
||||
|
||||
### Community 71 - "Community 71"
|
||||
Cohesion: 0.11
|
||||
Nodes (31): list_personnel(), list_vehicles(), PlCert, PlDocumentReminder, 证件到期提醒表 pl_document_reminder, CertRead, 运输计划 - 安排运输时车辆/人员/证件资源快照 Schema, SnapshotCertRead (+23 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (29): list_personnel(), list_vehicles(), PlCert, CertRead, 运输计划 - 安排运输时车辆/人员/证件资源快照 Schema, SnapshotCertRead, SnapshotPersonnelRow, TransportResourceSnapshot (+21 more)
|
||||
|
||||
### Community 72 - "Community 72"
|
||||
Cohesion: 0.18
|
||||
Nodes (30): Settings, BaseSettings, apply_biz_backfill(), BackfillRule, BizRef, build_biz_index(), count_target_rows(), derive_source_url() (+22 more)
|
||||
Cohesion: 0.19
|
||||
Nodes (28): apply_biz_backfill(), BackfillRule, BizRef, build_biz_index(), count_target_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows() (+20 more)
|
||||
|
||||
### Community 73 - "Community 73"
|
||||
Cohesion: 0.20
|
||||
@@ -480,12 +475,12 @@ Cohesion: 0.15
|
||||
Nodes (30): _advance_contract_after_approval(), approve_contract(), approve_contract_by_contract_id(), approve_pass(), approve_reject(), approve_transfer(), _build_approval_list_filters(), can_user_approve() (+22 more)
|
||||
|
||||
### Community 84 - "Community 84"
|
||||
Cohesion: 0.23
|
||||
Nodes (23): build_id_maps(), clip_text(), count_rows(), export_mapping(), fetch_rows(), legacy_id_to_str(), main(), map_id() (+15 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (32): 微信消息通知服务 支持微信小程序模板消息推送 使用方式: from app.core.wechat_message import WechatMes, 发送订单状态通知 Args: openid: 用户openid order_n, 发送支付成功通知 Args: openid: 用户openid order_n, 发送配送通知 Args: openid: 配送员openid task_no:, 发送配送时效预警 Args: openid: 配送员openid task_n, 发送退款结果通知 Args: openid: 用户openid order_n, 发送催单通知给配送员 Args: deliver_openid: 配送员openid, 发送模板消息 Args: openid: 用户openid template_ (+24 more)
|
||||
|
||||
### Community 86 - "Community 86"
|
||||
Cohesion: 0.18
|
||||
Nodes (10): contact_add(), contact_delete(), contact_update(), ContactByCustomerBody, ContactCreateBody, ContactDeleteBody, ContactDetailBody, ContactSetPrimaryBody (+2 more)
|
||||
Cohesion: 0.33
|
||||
Nodes (11): create_leave(), get_leave(), list_leaves(), Any, Session, _row_to_dict(), soft_delete_leave(), update_leave() (+3 more)
|
||||
|
||||
### Community 87 - "Community 87"
|
||||
Cohesion: 0.20
|
||||
@@ -496,24 +491,24 @@ Cohesion: 0.18
|
||||
Nodes (30): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), legacy_parent_id(), load_oss_id_to_url(), load_runtime_settings() (+22 more)
|
||||
|
||||
### Community 89 - "pl_ocr_service.py"
|
||||
Cohesion: 0.19
|
||||
Nodes (22): PlOcrUsageMonth, 阿里云 OCR 月度调用计数 pl_ocr_usage_month(按自然月全局统计), assert_quota_available(), _build_ocr_client(), compress_image_bytes(), current_usage_month(), _first_attachment_url(), get_or_create_usage_row() (+14 more)
|
||||
Cohesion: 0.21
|
||||
Nodes (20): assert_quota_available(), _build_ocr_client(), compress_image_bytes(), current_usage_month(), _first_attachment_url(), get_or_create_usage_row(), increment_usage(), _monthly_limit() (+12 more)
|
||||
|
||||
### Community 91 - "pl_vehicle_recharge_service.py"
|
||||
Cohesion: 0.17
|
||||
Nodes (16): get_pool_record(), list_pool_records(), Any, Session, _row_to_dict(), total_pages(), CrmCustomerPool, CRM 模块数据模型(产品分类、产品主表、统一附件表、客户管理、公海池、线索管理) (+8 more)
|
||||
Cohesion: 0.31
|
||||
Nodes (8): check_customer_protect_time(), pool_recovery_job(), Session, 每天凌晨1点:检查保护期到期客户,跟进次数不足则退回公海, 每天早上9点:保护期到期提醒(3天内到期且跟进不足), _recycle_to_pool(), remind_customer_recycle(), warn_customer_recycle()
|
||||
|
||||
### Community 92 - "Community 92"
|
||||
Cohesion: 0.20
|
||||
Nodes (21): _assert_users_exist(), get_setting(), Any, Session, _row_to_dict(), save_setting(), _assert_users_exist(), get_setting() (+13 more)
|
||||
|
||||
### Community 93 - "_invoice_info_by_customer_impl"
|
||||
Cohesion: 0.11
|
||||
Nodes (26): generate_uuid(), get_current_time(), parse_datetime(), datetime, allocate_next_biz_no(), _format_biz_no(), _prefix_for(), datetime (+18 more)
|
||||
Cohesion: 0.18
|
||||
Nodes (16): generate_uuid(), get_current_time(), parse_datetime(), datetime, create_oss(), create_oss(), get_oss_by_id(), get_oss_by_url() (+8 more)
|
||||
|
||||
### Community 94 - "response.py"
|
||||
Cohesion: 0.16
|
||||
Nodes (19): get_web_auth_menu_codes(), 获取当前用户菜单权限标识(sys_menu.perms,经角色继承)。, get_user_menu_codes(), Session, 读取用户授权的菜单权限标识集合(与前端 meta.menuCode / perms 对齐)。, _expand_with_ancestor_menu_ids(), _granted_menu_ids_for_user(), iter_user_menu_perm_codes() (+11 more)
|
||||
Cohesion: 0.21
|
||||
Nodes (15): get_user_menu_codes(), Session, 读取用户授权的菜单权限标识集合(与前端 meta.menuCode / perms 对齐)。, _expand_with_ancestor_menu_ids(), _granted_menu_ids_for_user(), iter_user_menu_perm_codes(), Session, Web 管理端登录:基于 V0.3 sys_user / sys_user_role / sys_role 的角色与菜单权限解析 (+7 more)
|
||||
|
||||
### Community 95 - "Community 95"
|
||||
Cohesion: 0.35
|
||||
@@ -524,68 +519,68 @@ Cohesion: 0.21
|
||||
Nodes (22): clear_target_products(), count_target_rows(), _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_runtime_settings() (+14 more)
|
||||
|
||||
### Community 100 - "price_letter_detail"
|
||||
Cohesion: 0.31
|
||||
Nodes (13): apply_renumber(), build_mapping(), fetch_products(), format_new_product_no(), load_settings_env(), main(), product_id_sort_key(), Engine (+5 more)
|
||||
Cohesion: 0.27
|
||||
Nodes (15): Settings, BaseSettings, apply_renumber(), build_mapping(), fetch_products(), format_new_product_no(), load_settings_env(), main() (+7 more)
|
||||
|
||||
### Community 101 - ".to_tenant_user_dict"
|
||||
Cohesion: 0.21
|
||||
Nodes (11): CRM 模块 Excel 导出列定义(字段与字典类型对齐 Java *Vo @ExcelDictFormat)。, _build_workbook(), DictLabelResolver, ExportColumn, load_dict_label_maps(), Any, Session, Excel 导出工具:集中处理字典 code → label(对齐 Java ExcelDictConvert / ExcelDictPreloadConver (+3 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (30): _build_public_page(), _build_site_product_read(), _format_file_size(), get_public_site(), _get_site_link_by_token(), _parse_feedback_images(), Session, UploadFile (+22 more)
|
||||
|
||||
### Community 102 - "dept.py"
|
||||
Cohesion: 0.36
|
||||
Nodes (15): create_opportunity_follow(), _ensure_parent_opportunity(), get_opportunity_follow(), list_follows_by_opportunity(), list_opportunity_follows(), _parse_optional_datetime(), Any, datetime (+7 more)
|
||||
Cohesion: 0.25
|
||||
Nodes (10): _cert_url_blank(), plan_has_hazard_product_exists(), plan_has_incomplete_hazard_cert_exists(), 证书 URL 为空(NULL / 空串 / 纯空白)。, 列表筛选:计划下存在 CRM 标识为易制毒/易制爆的产品。, 列表筛选:存在危化产品且至少一张必需证书未上传。, _compile(), 危化品证上传列表筛选:EXISTS 子查询应覆盖 CRM 危化标识与证书缺口。 (+2 more)
|
||||
|
||||
### Community 104 - "apply_crm_create_by_scope"
|
||||
Cohesion: 0.29
|
||||
Nodes (15): create_price_letter(), get_price_letter(), list_price_letters(), _parse_date(), Any, date, Session, _row_to_dict() (+7 more)
|
||||
Cohesion: 0.25
|
||||
Nodes (17): create_price_letter(), get_price_letter(), list_price_letters(), _parse_date(), Any, date, Session, _row_to_dict() (+9 more)
|
||||
|
||||
### Community 105 - "list_customers"
|
||||
Cohesion: 0.09
|
||||
Nodes (25): API 路由包 — 山峡化工生产一体化门户, get_menu_list(), 运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,14 个一级菜单), operlog_detail(), operlog_list(), Session, 操作日志分页列表(基于 API 请求日志适配 RuoYi OperLog 结构), _user_info() (+17 more)
|
||||
Cohesion: 0.22
|
||||
Nodes (11): API 路由包 — 山峡化工生产一体化门户, operlog_detail(), operlog_list(), Session, 操作日志分页列表(基于 API 请求日志适配 RuoYi OperLog 结构), _user_info(), 运营端角色守卫:admin / super_admin 可访问。, require_admin_or_super_admin() (+3 more)
|
||||
|
||||
### Community 106 - "Community 106"
|
||||
Cohesion: 0.15
|
||||
Nodes (17): _avatar_url_field(), _build_user_info_payload(), change_current_user_password(), get_current_user_profile(), public_quote_share(), Request, Session, 获取当前用户信息(与 sys_user 字段对应)。 (+9 more)
|
||||
Cohesion: 0.21
|
||||
Nodes (14): change_current_user_password(), get_current_user_profile(), get_web_auth_menu_codes(), public_quote_share(), Request, Session, 获取当前用户信息(与 sys_user 字段对应)。, 获取当前用户菜单权限标识(sys_menu.perms,经角色继承)。 (+6 more)
|
||||
|
||||
### Community 107 - "apply_pl_scope"
|
||||
Cohesion: 0.16
|
||||
Nodes (30): create_instance(), create_process_def(), create_task(), get_all_tasks_for_business(), get_instance(), get_latest_version(), get_nodes_by_version(), get_pending_tasks_by_node() (+22 more)
|
||||
Nodes (31): create_instance(), create_process_def(), create_task(), get_all_tasks_for_business(), get_instance(), get_latest_version(), get_nodes_by_version(), get_pending_tasks_by_node() (+23 more)
|
||||
|
||||
### Community 109 - "Community 109"
|
||||
Cohesion: 0.27
|
||||
Nodes (17): bind_vehicle_driver(), paste_recognize_commit(), ConflictAction, PasteCommitBody, PasteCommitResult, PastePersonnelIn, PasteVehicleIn, 运输计划 - 三方粘贴识别提交 Schema (+9 more)
|
||||
Cohesion: 0.16
|
||||
Nodes (30): create_vehicle(), get_vehicle(), paste_recognize_commit(), update_vehicle(), _vehicle_to_detail(), PlVehicle, VehicleDetailRead, VehiclePersonnelRow (+22 more)
|
||||
|
||||
### Community 110 - "Base"
|
||||
Cohesion: 0.18
|
||||
Nodes (11): Config, decrypt_login_payload(), ensure_initialized(), extract_login_credentials(), get_public_pem(), Any, 登录凭据 RSA 解密(与前端 JSEncrypt PKCS#1 v1.5 兼容)。, Base64 密文 -> JSON 对象(须含 username、password、ts 毫秒时间戳)。 (+3 more)
|
||||
Cohesion: 0.22
|
||||
Nodes (10): Config, decrypt_login_payload(), ensure_initialized(), extract_login_credentials(), get_public_pem(), Any, 登录凭据 RSA 解密(与前端 JSEncrypt PKCS#1 v1.5 兼容)。, Base64 密文 -> JSON 对象(须含 username、password、ts 毫秒时间戳)。 (+2 more)
|
||||
|
||||
### Community 111 - "Community 111"
|
||||
Cohesion: 0.21
|
||||
Nodes (17): _assert_editable(), _build_public_page(), _format_file_size(), _get_inventory_by_token(), get_public_inventory(), _parse_feedback_images(), Session, UploadFile (+9 more)
|
||||
|
||||
### Community 112 - "storage.py"
|
||||
Cohesion: 0.12
|
||||
Nodes (30): _build_public_page(), _build_site_product_read(), _format_file_size(), get_public_site(), _get_site_link_by_token(), _parse_feedback_images(), Session, UploadFile (+22 more)
|
||||
Cohesion: 0.33
|
||||
Nodes (8): allocate_next_biz_no(), _format_biz_no(), _prefix_for(), datetime, Session, 业务协议号自动生成:XBCC / JZCC + YYYYMMDD + 6 位序号, 原子分配下一个业务协议号。 须在 create 事务内调用;使用 MySQL LAST_INSERT_ID 保证并发安全。, BizNoKind
|
||||
|
||||
### Community 113 - "quote_share_log.py"
|
||||
Cohesion: 0.26
|
||||
Nodes (12): list_share_logs(), _parse_user_agent(), Any, Session, CRM 报价单分享访问日志 CRUD — 对照 CrmQuoteShareLogServiceImpl.java, Java: statisticsVisits, 简易 User-Agent 解析(替代 Hutool UserAgentUtil), Java: queryLogsByQuoteId (+4 more)
|
||||
|
||||
### Community 114 - "db_models.py"
|
||||
Cohesion: 0.16
|
||||
Nodes (17): list_public_vehicle_plates(), Session, 地磅公共只读:免登车牌 options(现场填写页), 免登:按出入库/计划解析 tenant_no,返回 pl_vehicle 车牌(self + carrier)。, _resolve_tenant_no(), DbSequence, 地磅(db)模块数据模型 — 对齐 docs/sql/db_tables.sql, _allocate_inbound_outbound_id() (+9 more)
|
||||
Cohesion: 0.24
|
||||
Nodes (12): DbSequence, 地磅(db)模块数据模型 — 对齐 docs/sql/db_tables.sql, _allocate_inbound_outbound_id(), _ensure_sequence_row(), max_numeric_inbound_outbound_id(), next_inbound_outbound_id(), Session, 出入库单 id 生成 — 租户内纯数字自增,并发安全。 (+4 more)
|
||||
|
||||
### Community 115 - "site.py"
|
||||
Cohesion: 0.28
|
||||
Nodes (17): _address_to_read(), _build_address_query(), create_transport_address(), delete_transport_address(), _get_address(), get_transport_address(), list_all_transport_addresses(), list_transport_addresses() (+9 more)
|
||||
|
||||
### Community 116 - "Community 116"
|
||||
Cohesion: 0.17
|
||||
Nodes (28): batch_insert_quote_products(), calculate_subtotal(), _decimal_value(), delete_products_by_quote_id(), _ensure_quote_parent_scope(), _get_field(), get_quote_product(), insert_quote_product() (+20 more)
|
||||
Cohesion: 0.20
|
||||
Nodes (25): calculate_subtotal(), _decimal_value(), _ensure_quote_parent_scope(), _get_field(), get_quote_product(), insert_quote_product(), list_products_by_quote_ids(), list_quote_products() (+17 more)
|
||||
|
||||
### Community 118 - "Community 118"
|
||||
Cohesion: 0.20
|
||||
Nodes (24): batch_insert_contract_products(), calculate_subtotal(), _decimal_value(), delete_price_tiers_by_contract_id(), delete_products_by_contract_id(), _get_field(), insert_contract_product(), _letter_oss_ids_to_json() (+16 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (35): batch_insert_contract_products(), calculate_subtotal(), _decimal_value(), delete_price_tiers_by_contract_id(), delete_products_by_contract_id(), _get_field(), insert_contract_product(), _letter_oss_ids_to_json() (+27 more)
|
||||
|
||||
### Community 119 - "Community 119"
|
||||
Cohesion: 0.16
|
||||
@@ -596,16 +591,16 @@ Cohesion: 0.39
|
||||
Nodes (10): create_post(), get_post(), list_posts(), post_code_exists(), Any, Session, _row_to_dict(), soft_delete_post() (+2 more)
|
||||
|
||||
### Community 125 - "Community 125"
|
||||
Cohesion: 0.18
|
||||
Nodes (17): get_oper_log_meta(), OperLogMeta, 请求级操作日志元数据(ContextVar), 供异步落库线程使用,避免 ContextVar 跨线程丢失。, set_oper_log_meta(), snapshot_oper_log_meta(), _format_summary(), oper_log() (+9 more)
|
||||
Cohesion: 0.07
|
||||
Nodes (48): ApiRequestLogMiddleware, _claims_from_auth(), _format_body_bytes(), _persist_log(), Any, Request, 统一记录 API 请求/响应出入参的中间件, _redact_obj() (+40 more)
|
||||
|
||||
### Community 126 - "customer_pool.py"
|
||||
Cohesion: 0.36
|
||||
Nodes (13): _build_tree(), _cascade_soft_delete(), create_menu(), get_menu(), list_menus(), list_menus_tree(), menu_name_exists(), Any (+5 more)
|
||||
|
||||
### Community 127 - "Community 127"
|
||||
Cohesion: 0.11
|
||||
Nodes (37): approve_settlement_legacy(), cancel_settlement(), create_settlement(), delete_settlement(), disburse_settlement(), _generate_settlement_no(), get_settlement(), get_settlement_approval_flow() (+29 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (38): approve_settlement_legacy(), cancel_settlement(), create_settlement(), delete_settlement(), disburse_settlement(), _generate_settlement_no(), get_settlement(), get_settlement_approval_flow() (+30 more)
|
||||
|
||||
### Community 128 - "plan.py"
|
||||
Cohesion: 0.39
|
||||
@@ -616,8 +611,8 @@ Cohesion: 0.12
|
||||
Nodes (24): _auto_contract_name_body(), generate_contract_name(), 按面板单位全称精确匹配交易主体/客户主数据,取 shortName;对不上则用全称。, 前端预览误用单位全称时,名称片段会等于面板/客户/开票全称。, 按面板供方(partyA)-需方(partyB)生成:{供方简称}-{需方简称}({合同编号})。 - 名称为空:按主数据简称自动生成 - 名, resolve_party_short_name(), _strip_contract_name_no_suffix(), _user_contract_name_uses_party_full_name() (+16 more)
|
||||
|
||||
### Community 130 - "datetime_parse.py"
|
||||
Cohesion: 0.32
|
||||
Nodes (14): ensure_crm_customer_linked_row_in_scope(), CRM 数据权限辅助(负责人 owner_user_id + 标准 create_by/create_dept_id)。, 客户子表(开票信息等):先校验关联客户 owner scope,否则校验 create_by。, _clear_default_for_customer(), create_invoice_info(), get_invoice_info(), list_invoice_info_by_customer(), Any (+6 more)
|
||||
Cohesion: 0.29
|
||||
Nodes (16): ensure_crm_customer_linked_row_in_scope(), ensure_crm_owner_row_in_scope(), Session, CRM 数据权限辅助(负责人 owner_user_id + 标准 create_by/create_dept_id)。, 客户子表(开票信息等):先校验关联客户 owner scope,否则校验 create_by。, _clear_default_for_customer(), create_invoice_info(), get_invoice_info() (+8 more)
|
||||
|
||||
### Community 131 - "LocalStorage"
|
||||
Cohesion: 0.60
|
||||
@@ -632,12 +627,12 @@ Cohesion: 0.25
|
||||
Nodes (18): batch_generate_sample_codes(), batch_issue_sample_codes(), batch_revoke_sample_codes(), create_sample_code(), get_sample_code(), list_sample_codes(), _parse_issued_time(), Any (+10 more)
|
||||
|
||||
### Community 135 - "unsettled_plans_q_filter"
|
||||
Cohesion: 0.08
|
||||
Nodes (25): category_add(), category_delete(), category_tree(), category_update(), product_add(), product_delete(), product_detail(), product_options() (+17 more)
|
||||
Cohesion: 0.05
|
||||
Nodes (66): category_add(), category_delete(), category_tree(), category_update(), invoice_info_add(), invoice_info_by_customer(), _invoice_info_by_customer_impl(), invoice_info_delete() (+58 more)
|
||||
|
||||
### Community 136 - "Community 136"
|
||||
Cohesion: 0.19
|
||||
Nodes (18): create_role(), get_role(), get_role_data_scope(), get_role_menu_ids(), list_roles(), Any, Session, 角色 CRUD(sys_role / sys_role_menu / sys_role_data_scope_detail) (+10 more)
|
||||
Cohesion: 0.22
|
||||
Nodes (16): create_role(), get_role(), get_role_data_scope(), get_role_menu_ids(), list_roles(), Any, Session, 角色 CRUD(sys_role / sys_role_menu / sys_role_data_scope_detail) (+8 more)
|
||||
|
||||
### Community 137 - "statistics.py"
|
||||
Cohesion: 0.35
|
||||
@@ -648,56 +643,56 @@ Cohesion: 0.33
|
||||
Nodes (19): check_python(), create_venv(), ensure_dirs(), ensure_valid_venv(), ensure_venv_and_runtime(), install_dependencies(), is_running(), log_error() (+11 more)
|
||||
|
||||
### Community 139 - "get_current_user_by_token"
|
||||
Cohesion: 0.22
|
||||
Nodes (15): get_storage(), download_file_bytes(), file_stream(), get_access_url(), get_download_url(), get_preview_url(), normalize_storage_path(), 报销附件存储适配 — 复用门户 app.core.storage,对外保持 bx 协议。 (+7 more)
|
||||
Cohesion: 0.25
|
||||
Nodes (13): get_storage(), download_file_bytes(), file_stream(), get_access_url(), get_download_url(), get_preview_url(), normalize_storage_path(), 报销附件存储适配 — 复用门户 app.core.storage,对外保持 bx 协议。 (+5 more)
|
||||
|
||||
### Community 141 - "PlTransport"
|
||||
Cohesion: 0.60
|
||||
Nodes (5): product_allowed(), test_dual_requires_both(), test_explosive_only_requires_allow_explosive(), test_plain_always_allowed(), test_toxic_only_requires_allow_toxic()
|
||||
Cohesion: 0.42
|
||||
Nodes (8): create_pool_record(), get_pool_record(), list_pool_records(), Any, Session, _row_to_dict(), total_pages(), CrmCustomerPool
|
||||
|
||||
### Community 143 - "SysEthnic"
|
||||
Cohesion: 0.22
|
||||
Nodes (17): _apply_list_filters(), create_supplier_info(), get_supplier_info(), list_all_supplier_info(), list_supplier_info(), Any, Session, CRM 供方信息 CRUD — 对照 CrmSupplierInfoServiceImpl.java (+9 more)
|
||||
Cohesion: 0.19
|
||||
Nodes (19): apply_crm_create_by_scope(), _apply_list_filters(), create_supplier_info(), get_supplier_info(), list_all_supplier_info(), list_supplier_info(), Any, Session (+11 more)
|
||||
|
||||
### Community 144 - "dict_data.py"
|
||||
Cohesion: 0.27
|
||||
Nodes (11): create_dict_data(), get_dict_data(), list_dict_data(), list_dict_data_options(), Any, Session, 字典数据 CRUD(sys_dict_data), 字典下拉选项:租户主数据,忽略数据范围(user_info 保留兼容调用方,不参与过滤)。 (+3 more)
|
||||
|
||||
### Community 145 - "resolve_crm_product"
|
||||
Cohesion: 0.20
|
||||
Nodes (19): create_vehicle(), get_vehicle(), update_vehicle(), _vehicle_to_detail(), _vehicle_to_read(), PlVehicle, PlVehiclePersonnel, 车辆-人员关联表 pl_vehicle_personnel (+11 more)
|
||||
Cohesion: 0.36
|
||||
Nodes (7): list_ethnics(), Any, Session, 民族码表 CRUD(全局 sys_ethnic), _row_to_dict(), 民族码表 sys_ethnic(国标 GB/T 3304,全局), SysEthnic
|
||||
|
||||
### Community 146 - "__init__.py"
|
||||
Cohesion: 0.22
|
||||
Nodes (15): ApiRequestLogMiddleware, _claims_from_auth(), _format_body_bytes(), _persist_log(), Any, Request, 统一记录 API 请求/响应出入参的中间件, _redact_obj() (+7 more)
|
||||
Cohesion: 0.33
|
||||
Nodes (6): list_customer_options(), 客户下拉选项:租户内只读搜索,不做 owner 数据权限(供地磅/合同等主数据选用)。, 产品/客户列表 keyword:名称/编号/拼音首字母 OR 匹配。, test_list_customer_options_keyword_includes_name_and_pinyin(), test_list_customers_keyword_includes_name_and_pinyin(), test_list_products_keyword_includes_name_and_pinyin()
|
||||
|
||||
### Community 147 - "Community 147"
|
||||
Cohesion: 0.37
|
||||
Nodes (17): check_env(), check_python(), create_venv(), init_env(), install_dependencies(), log_error(), log_info(), log_success() (+9 more)
|
||||
|
||||
### Community 150 - "apply_site_feedback"
|
||||
Cohesion: 0.17
|
||||
Nodes (8): 发送订单状态通知 Args: openid: 用户openid order_n, 发送支付成功通知 Args: openid: 用户openid order_n, 发送配送通知 Args: openid: 配送员openid task_no:, 发送配送时效预警 Args: openid: 配送员openid task_n, 发送退款结果通知 Args: openid: 用户openid order_n, 发送催单通知给配送员 Args: deliver_openid: 配送员openid, 发送模板消息 Args: openid: 用户openid template_, WechatMessageService
|
||||
Cohesion: 0.52
|
||||
Nodes (6): apply_updates(), collect_candidates(), main(), parse_name(), Path, write_csv()
|
||||
|
||||
### Community 152 - "response.py"
|
||||
Cohesion: 0.30
|
||||
Nodes (14): create_contact(), get_contact(), _parse_optional_date(), date, Session, set_primary_contact(), soft_delete_contact(), total_pages() (+6 more)
|
||||
Cohesion: 0.29
|
||||
Nodes (16): create_contact(), get_contact(), list_contacts_by_customer(), _parse_optional_date(), Any, date, Session, _row_to_dict() (+8 more)
|
||||
|
||||
### Community 154 - "response.py"
|
||||
Cohesion: 0.24
|
||||
Nodes (5): MinIOStorage, Any, 从 MINIO_BASE_URL 解析公网 endpoint;未配置或与内网相同时复用 self.client。, MinIO 预签名下载 URL,携带原始文件名。, MinIO 预签名内联预览 URL(图片新标签页 / PDF iframe 等)。 上传时 put_object 未写 content_typ
|
||||
|
||||
### Community 156 - "utils.py"
|
||||
Cohesion: 0.26
|
||||
Nodes (16): allocate_reimburse_title_seq(), format_reimburse_title(), generate_apply_code(), generate_title(), is_auto_reimburse_title(), parse_reimburse_date(), preview_reimburse_title_seq(), date (+8 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (37): 报销模块认证适配:门户 JWT 用户 → bx 业务上下文。, BxReimburseInvoice, filter_current_cycle_approvals(), 审批轮次过滤 — 驳回后重新提交时,进度接口仅展示当前轮次。, 审批进度仅展示当前轮次;完整历史由 get_approval_history 返回。, 报销模块 Service 基类 — 租户隔离 + UUID + 软删除。, assert_bx_attachment_biz_in_scope(), assert_bx_biz_in_scope() (+29 more)
|
||||
|
||||
### Community 159 - "customer_update"
|
||||
Cohesion: 0.49
|
||||
Nodes (10): clue_statistics_level(), _apply_create_range(), _base_query(), get_clue_level_statistics(), get_clue_overview_statistics(), get_clue_owner_statistics(), get_clue_source_statistics(), get_clue_trend_statistics() (+2 more)
|
||||
|
||||
### Community 160 - "register_local_callback"
|
||||
Cohesion: 0.12
|
||||
Nodes (29): create_leave(), delete_leave(), get_leave(), _leave_local_callback(), leave_workflow_callback(), list_leaves(), Session, submit_leave() (+21 more)
|
||||
Cohesion: 0.15
|
||||
Nodes (20): create_leave(), delete_leave(), get_leave(), _leave_local_callback(), leave_workflow_callback(), list_leaves(), Session, submit_leave() (+12 more)
|
||||
|
||||
### Community 161 - "backfill_crm_contract_attachment_urls.py"
|
||||
Cohesion: 0.33
|
||||
@@ -708,12 +703,12 @@ Cohesion: 0.30
|
||||
Nodes (12): PlCarrier, assert_carrier_eligible_for_transport(), carrier_agreement_expired(), carrier_audit_approved(), carrier_eligible_for_transport(), carrier_qualification_complete(), date, 资质附件均为选填,保留函数签名供兼容调用。 (+4 more)
|
||||
|
||||
### Community 163 - "__init__.py"
|
||||
Cohesion: 0.12
|
||||
Nodes (27): bind_biz(), delete_attachment(), download_file(), list_by_biz(), _parse_id_list(), preview_attachment(), Session, UploadFile (+19 more)
|
||||
Cohesion: 0.18
|
||||
Nodes (17): bind_biz(), delete_attachment(), download_file(), list_by_biz(), _parse_id_list(), preview_attachment(), Session, UploadFile (+9 more)
|
||||
|
||||
### Community 164 - "get_client_ip"
|
||||
Cohesion: 0.15
|
||||
Nodes (29): _jwt_user_payload(), logout(), 公共接口(Web 登录、刷新 Token、登出;用户模型对齐 docs/sql/shanxia2.0.sql 基线), 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。无 Token 或已失效时仍返回成功(幂等)。, Web 端登录用 RSA 公钥(PKCS#1 v1.5,与 JSEncrypt 一致), Web 端登录:账号为 sys_user.user_no,密码为 sys_user.password(bcrypt)。, refresh_token(), web_login() (+21 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (34): _avatar_url_field(), _build_user_info_payload(), _jwt_user_payload(), logout(), 公共接口(Web 登录、刷新 Token、登出;用户模型对齐 docs/sql/shanxia2.0.sql 基线), 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。无 Token 或已失效时仍返回成功(幂等)。, 与 web-admin 静态路由 meta.roles(admin/super_admin)对齐的单元素数组。, 与 web-admin `userInfo` 字段约定一致。 (+26 more)
|
||||
|
||||
### Community 170 - "test_quote_approver_setting.py"
|
||||
Cohesion: 0.22
|
||||
@@ -721,71 +716,51 @@ Nodes (3): BaseStorage, 带下载文件名的访问 URL;默认实现为普通
|
||||
|
||||
### Community 171 - "minio_url.py"
|
||||
Cohesion: 0.24
|
||||
Nodes (13): normalize_attachment_csv(), normalize_attachment_csv(), extract_minio_object_key(), join_relative_urls(), normalize_oss_storage_url(), MinIO 附件 URL 规范化(数据迁移共用)。 背景 ---- CRM / 地磅 / 报销与 shanxia2.0 共用同一 MinIO(bucket 默, 业务表 OSS ID 串 → 相对 URL 串(用于客户证照、跟进附件等)。, 去掉预签名 query(``?X-Amz-...``)。 (+5 more)
|
||||
Nodes (12): normalize_attachment_csv(), extract_minio_object_key(), join_relative_urls(), normalize_oss_storage_url(), MinIO 附件 URL 规范化(数据迁移共用)。 背景 ---- CRM / 地磅 / 报销与 shanxia2.0 共用同一 MinIO(bucket 默, 业务表 OSS ID 串 → 相对 URL 串(用于客户证照、跟进附件等)。, 去掉预签名 query(``?X-Amz-...``)。, 将绝对/相对 URL 规范为 MinIO object key(不含 bucket)。 (+4 more)
|
||||
|
||||
### Community 172 - "apply_pl_scope"
|
||||
Cohesion: 0.25
|
||||
Nodes (14): menu_badge_stats(), Session, PlMenuBadgeStatsRead, apply_pl_scope(), Session, build_menu_badge_counts(), count_document_reminder_expired_pending(), count_freight_approval_pending() (+6 more)
|
||||
Cohesion: 0.40
|
||||
Nodes (4): customer_create(), customer_update(), customer_name_exists(), CustomerUpdateBody
|
||||
|
||||
### Community 173 - "resolve_create_time_bounds"
|
||||
Cohesion: 0.08
|
||||
Nodes (42): PlDriver, PlInboundOrder, PlInboundOrderItem, PlInboundOrderItemBrandQty, PlInventory, PlInventoryTransaction, PlInventoryWarning, PlOutboundOrder (+34 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (61): _build_page(), _get_by_token(), _make_handlers(), _models(), Session, 运输计划 · 入库/出库单现场免登录公共 API, SoftDeleteModel, BizAttachment (+53 more)
|
||||
|
||||
### Community 174 - "register_local_callback"
|
||||
Cohesion: 0.19
|
||||
Nodes (15): 返回 (作废, 归档)。现场链接实际走入库/出库单公共页。, _resolve_io_order_link_flags(), _resolve_site_link_flags(), _resolve_driver_link_flags(), 运输计划司机/现场公共链接:归档后应标记并拦截写操作。, test_driver_link_flags_archived_when_plan_archived(), test_driver_link_flags_voided_by_transport_cancelled(), test_driver_link_flags_voided_takes_precedence_shape() (+7 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (40): 返回 (作废, 归档)。现场链接实际走入库/出库单公共页。, _resolve_io_order_link_flags(), _resolve_site_link_flags(), _build_public_page(), _format_file_size(), _format_plan_date(), get_public_transport(), _get_transport_by_token() (+32 more)
|
||||
|
||||
### Community 179 - "test_pl_vehicle_personnel_photo_schema.py"
|
||||
Cohesion: 0.27
|
||||
Nodes (16): add_favorite(), count_active(), find_active(), find_soft_deleted(), list_favorites(), _next_order_num(), normalize_menu_path(), Any (+8 more)
|
||||
|
||||
### Community 180 - "OSSStorage"
|
||||
Cohesion: 0.20
|
||||
Cohesion: 0.22
|
||||
Nodes (4): _guess_preview_content_type(), OSSStorage, 文件存储工具模块 支持多种存储方式: 1. 本地存储 (local) - 默认 2. 七牛云存储 (qiniu) - 推荐生产环境使用 3. 阿里云OSS (, 按对象键后缀推断内联预览 Content-Type(纠正上传时未写入 MIME 的情况)。
|
||||
|
||||
### Community 181 - "allocate_next_biz_no"
|
||||
Cohesion: 0.20
|
||||
Nodes (15): _fill_contract_linked_count(), list_quotes(), _parse_optional_datetime(), _period_key(), Any, datetime, query_versions(), quote_row_to_dict() (+7 more)
|
||||
Cohesion: 0.40
|
||||
Nodes (3): Any, 供 get_tenant_no 等门户工具使用。, 与门户 JWT / apply_data_scope 所需的 user_info 字段对齐。
|
||||
|
||||
### Community 182 - "statistics.py"
|
||||
Cohesion: 0.45
|
||||
Nodes (11): _customer_base_query(), get_follow_statistics(), get_industry_statistics(), get_level_statistics(), get_overview_statistics(), get_owner_statistics(), get_source_statistics(), get_trend_statistics() (+3 more)
|
||||
|
||||
### Community 183 - "resolve_create_time_bounds"
|
||||
Cohesion: 0.30
|
||||
Nodes (12): business_type_from_path(), title_from_path(), _apply_oper_log_scope(), get_oper_log(), list_oper_logs(), _oper_log_row_in_scope(), _oper_status(), Any (+4 more)
|
||||
|
||||
### Community 184 - "__init__.py"
|
||||
Cohesion: 0.15
|
||||
Nodes (14): invoice_info_add(), invoice_info_by_customer(), _invoice_info_by_customer_impl(), invoice_info_delete(), invoice_info_list(), invoice_info_set_default(), invoice_info_update(), 按客户ID查询开票信息(与 by-customer 等价) (+6 more)
|
||||
|
||||
### Community 187 - "_build_user_info_payload"
|
||||
Cohesion: 0.17
|
||||
Nodes (11): price_letter_add(), price_letter_detail(), price_letter_list(), price_letter_update(), price_letter_void(), PriceLetterCreateBody, PriceLetterDetailBody, PriceLetterListBody (+3 more)
|
||||
Cohesion: 0.50
|
||||
Nodes (4): list_roles_for_select(), 返回运营端角色下拉选项(label=库中角色名,value=Web 角色码)。, _map_role_name_to_web(), 将 sys_role.role_name 映射为 web-admin 使用的 role 字符串。
|
||||
|
||||
### Community 188 - "context.py"
|
||||
Cohesion: 0.67
|
||||
Nodes (3): parse_optional_plan_datetime(), datetime, 运输计划相关日期时间解析:前端 date-picker 仅传 YYYY-MM-DD。
|
||||
|
||||
### Community 191 - "SoftDeleteModel"
|
||||
Cohesion: 0.50
|
||||
Nodes (4): ApiRequestLogCRUD, Session, SysApiRequestLog, SysApiRequestLogHis
|
||||
|
||||
### Community 193 - "create_from_quote"
|
||||
Cohesion: 0.48
|
||||
Nodes (7): _opp_list_kwargs(), opportunity_export(), opportunity_kanban(), opportunity_list(), opportunity_mine_list(), OpportunityKanbanBody, OpportunityListBody
|
||||
|
||||
### Community 194 - "web_login_rsa_public_key"
|
||||
Cohesion: 0.50
|
||||
Nodes (5): assert_products_allowed_for_supplier(), enrich_products_with_hazard_flags(), Any, Session, 批量回填明细行 isToxic/isExplosive(来自产品主数据,供前端切换主体剔除)。
|
||||
|
||||
### Community 196 - "crm_contract_sub_routes.py"
|
||||
Cohesion: 0.26
|
||||
Nodes (11): _apply_plan_product_update(), apply_product_snapshot_to_plan(), ProductSnapshot, Session, 地磅模块 — CRM 产品解析与快照写入。, 校验 CRM 产品并返回名称/规格快照。新建单据 product_id 必填。 require_on_shelf=False 用于运输计划联动地磅等历, resolve_crm_product(), _product() (+3 more)
|
||||
Cohesion: 0.29
|
||||
Nodes (9): ProductSnapshot, Session, 地磅模块 — CRM 产品解析与快照写入。, 校验 CRM 产品并返回名称/规格快照。新建单据 product_id 必填。 require_on_shelf=False 用于运输计划联动地磅等历, resolve_crm_product(), _product(), resolve_crm_product:运输联动场景允许已下架产品。, test_resolve_allows_off_shelf_when_not_required() (+1 more)
|
||||
|
||||
### Community 200 - "register_local_callback"
|
||||
Cohesion: 0.08
|
||||
Nodes (52): _build_page(), _get_by_token(), _make_handlers(), _models(), Session, 运输计划 · 入库/出库单现场免登录公共 API, PublicIoOrderFeedback, 按运输计划单据类型解析地磅往来单位(不区分 CRM 合同类型)。 - 入库单 inbound:供方 → party_a,其次 supplier_nam (+44 more)
|
||||
Cohesion: 0.44
|
||||
Nodes (11): apply_site_feedback(), OrderHeader, OrderItem, _header(), _item(), test_apply_site_feedback_does_not_reset_first_submitted_at(), test_apply_site_feedback_keeps_in_progress_when_requested(), test_apply_site_feedback_rejects_already_voided() (+3 more)
|
||||
|
||||
### Community 206 - "crm_quote_pdf.py"
|
||||
Cohesion: 0.36
|
||||
@@ -819,17 +794,17 @@ Nodes (6): eq_unicode(), like_unicode(), MySQL 字符串比较/模糊匹配时
|
||||
## Suggested Questions
|
||||
_Questions this graph is uniquely positioned to answer:_
|
||||
|
||||
- **Why does `Settings` connect `Community 72` to `backfill_crm_contract_attachment_urls.py`, `_ensure_subpack_slip_no`, `Community 35`, `crm_supplier_hazard.py`, `Community 37`, `Community 67`, `price_letter_detail`, `Community 73`, `Community 42`, `Base`, `Community 52`, `Any`, `Community 59`, `Community 30`?**
|
||||
- **Why does `Settings` connect `price_letter_detail` to `backfill_crm_contract_attachment_urls.py`, `_ensure_subpack_slip_no`, `Community 35`, `crm_supplier_hazard.py`, `Community 37`, `Community 67`, `Community 72`, `Community 73`, `Community 42`, `Base`, `Community 52`, `Any`, `Community 59`, `Community 30`?**
|
||||
_High betweenness centrality (0.097) - this node is a cross-community bridge._
|
||||
- **Why does `BaseModel` connect `Community 12` to `Community 0`, `Community 1`, `Community 2`, `Community 3`, `Community 5`, `Community 7`, `unsettled_plans_q_filter`, `Community 11`, `Community 14`, `Community 15`, `Community 16`, `resolve_crm_product`, `Community 18`, `Community 19`, `Community 24`, `Community 26`, `Community 27`, `Community 29`, `register_local_callback`, `Community 34`, `__init__.py`, `Community 36`, `Community 38`, `Community 43`, `apply_pl_scope`, `resolve_create_time_bounds`, `Community 46`, `Community 45`, `Community 48`, `Community 50`, `Community 53`, `Community 54`, `__init__.py`, `_build_user_info_payload`, `Community 60`, `Community 61`, `Community 62`, `Community 63`, `Community 64`, `create_from_quote`, `Community 66`, `Community 65`, `Community 71`, `register_local_callback`, `Community 86`, `list_customers`, `Community 109`, `Community 111`, `site.py`, `Community 119`, `Community 127`?**
|
||||
- **Why does `BaseModel` connect `Community 12` to `Community 0`, `Community 1`, `Community 2`, `Community 3`, `Community 5`, `Community 7`, `unsettled_plans_q_filter`, `Community 11`, `Community 14`, `Community 15`, `Community 16`, `Community 18`, `Community 19`, `Community 24`, `Community 26`, `Community 27`, `register_local_callback`, `Community 34`, `__init__.py`, `Community 38`, `Community 43`, `apply_pl_scope`, `Community 45`, `resolve_create_time_bounds`, `Community 46`, `Community 49`, `Community 50`, `Community 54`, `Community 60`, `Community 62`, `Community 63`, `Community 64`, `Community 65`, `Community 66`, `Community 71`, `list_customers`, `Community 109`, `Community 111`, `site.py`, `Community 119`, `Community 127`?**
|
||||
_High betweenness centrality (0.093) - this node is a cross-community bridge._
|
||||
- **Why does `generate_uuid()` connect `_invoice_info_by_customer_impl` to `Community 0`, `plan.py`, `datetime_parse.py`, `Community 4`, `Community 5`, `Community 6`, `Community 134`, `Community 8`, `statistics.py`, `Community 136`, `Community 11`, `Community 13`, `Community 14`, `SysEthnic`, `dict_data.py`, `resolve_crm_product`, `Community 15`, `Community 19`, `Community 16`, `Community 21`, `Community 24`, `response.py`, `Community 25`, `utils.py`, `Community 28`, `Community 29`, `register_local_callback`, `Community 33`, `__init__.py`, `get_client_ip`, `Community 36`, `Community 38`, `Community 39`, `Community 43`, `Community 44`, `Community 45`, `resolve_create_time_bounds`, `Community 48`, `Community 49`, `Community 58`, `Community 61`, `Community 62`, `Community 65`, `Community 66`, `Community 67`, `Community 68`, `Community 71`, `register_local_callback`, `Community 83`, `Community 87`, `pl_ocr_service.py`, `pl_vehicle_recharge_service.py`, `Community 92`, `Community 95`, `dept.py`, `apply_crm_create_by_scope`, `apply_pl_scope`, `Community 109`, `storage.py`, `quote_share_log.py`, `db_models.py`, `site.py`, `Community 116`, `Community 118`, `Community 122`, `customer_pool.py`?**
|
||||
_High betweenness centrality (0.090) - this node is a cross-community bridge._
|
||||
- **Why does `generate_uuid()` connect `_invoice_info_by_customer_impl` to `Community 0`, `plan.py`, `datetime_parse.py`, `Community 4`, `Community 5`, `Community 6`, `Community 134`, `Community 8`, `statistics.py`, `Community 136`, `Community 11`, `PlTransport`, `Community 14`, `SysEthnic`, `dict_data.py`, `Community 13`, `Community 15`, `Community 19`, `Community 16`, `Community 21`, `apply_site_feedback`, `Community 24`, `response.py`, `utils.py`, `Community 28`, `Community 33`, `get_client_ip`, `Community 36`, `Community 39`, `Community 44`, `Community 45`, `resolve_create_time_bounds`, `Community 48`, `Community 49`, `Community 53`, `Community 58`, `Community 61`, `Community 62`, `Community 65`, `Community 66`, `Community 67`, `Community 68`, `Community 71`, `Community 83`, `Community 86`, `Community 87`, `pl_ocr_service.py`, `pl_vehicle_recharge_service.py`, `Community 92`, `Community 95`, `apply_crm_create_by_scope`, `apply_pl_scope`, `Community 109`, `storage.py`, `quote_share_log.py`, `db_models.py`, `site.py`, `Community 116`, `Community 118`, `Community 122`, `customer_pool.py`?**
|
||||
_High betweenness centrality (0.092) - this node is a cross-community bridge._
|
||||
- **Are the 8 inferred relationships involving `DbUserContext` (e.g. with `InventoryRelatedData` and `AutoGenerateMonthlyResult`) actually correct?**
|
||||
_`DbUserContext` has 8 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **What connects `API 路由包 — 山峡化工生产一体化门户`, `返回运营端角色下拉选项(label=库中角色名,value=Web 角色码)。`, `返回用户下拉选项(label=昵称,value=用户ID,附带 nickName/userNo)。 供申请人/审批人等选择场景使用,返回本租户全部有效` to the rest of the system?**
|
||||
_541 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
_542 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
- **Should `Community 0` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.1492063492063492 - nodes in this community are weakly interconnected._
|
||||
_Cohesion score 0.10666666666666667 - nodes in this community are weakly interconnected._
|
||||
- **Should `Community 1` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.08367071524966262 - nodes in this community are weakly interconnected._
|
||||
_Cohesion score 0.07804878048780488 - nodes in this community are weakly interconnected._
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "label": "migrate_20260808_pl_plan_legacy_party_contracts.py", "file_type": "code", "source_file": "scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_resolve_side", "label": "_resolve_side()", "file_type": "code", "source_file": "scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L32"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_has_text", "label": "_has_text()", "file_type": "code", "source_file": "scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L36"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_main", "label": "main()", "file_type": "code", "source_file": "scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L40"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "argparse", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L18", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "sys", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L19", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L20", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "pathlib", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L21", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "app_core_database", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L27", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "app_core_utils", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L28", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "app_models_pl_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L29", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_resolve_side", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L32", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_has_text", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L36", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L40", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_main", "target": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_resolve_side", "relation": "caLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_py", "label": "invoice.py", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice", "label": "InvoiceService", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L30"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice_tenant_no", "label": "._tenant_no()", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L32"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/bx/invoice.py"}, {"id": "bxusercontext", "label": "BxUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/bx/invoice.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice_is_wallet_admin", "label": ".is_wallet_admin()", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L36"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice_can_query_others_wallet", "label": ".can_query_others_wallet()", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L43"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice_require_wallet_admin", "label": "._require_wallet_admin()", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L51"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice_lookup_user_name", "label": "._lookup_user_name()", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L56"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice_resolve_owner", "label": "._resolve_owner()", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L67"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice_resolve_owner_for_query", "label": "._resolve_owner_for_query()", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L79"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice_count_invoices", "label": "._count_invoices()", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L93"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice_get_mine_summary", "label": ".get_mine_summary()", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L105"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice_list_wallets", "label": ".list_wallets()", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L144"}, {"id": "bxinvoicewalletsummary", "label": "BxInvoiceWalletSummary", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/bx/invoice.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice_list_invoices", "label": ".list_invoices()", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L176"}, {"id": "bxinvoice", "label": "BxInvoice", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/bx/invoice.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice_list_ledgers", "label": ".list_ledgers()", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L199"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice_create", "label": ".create()", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L242"}, {"id": "decimal", "label": "Decimal", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/bx/invoice.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice_delete", "label": ".delete()", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L319"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_bx_invoice_invoiceservice_summary_to_dict", "label": "._summary_to_dict()", "file_type": "code", "source_file": "app/services/bx/invoice.py", "source_location": "L368"}, {"id": "users_wuzilong_work_00code_shanxia2_Line truncated
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"/Users/zlwu/work/00code/shanxia2.0/backend/start-prod.sh":{"size":7357,"mtime_ns":1782639355476060453,"hash":"ca89869446be74a2bf2367b3b28f448580220859a39a84ad9613ac5fe35a8433"},"/Users/zlwu/work/00code/shanxia2.0/backend/start.sh":{"size":9548,"mtime_ns":1780114661446983244,"hash":"4d632863e8a0cd81194b491d83a0218a4157435ae812dec76a6f6197b4d48e57"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/__init__.py":{"size":21,"mtime_ns":1780113982281973984,"hash":"60a04ff08fd97084e83ea809fd13feda6d2848be20ebf309e31fc1dad7523230"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/main.py":{"size":6280,"mtime_ns":1782790852770448643,"hash":"8f9da799977bee7134d87a26ff8434ac5ef8eabb0b7368dd537eee49ad7fd00b"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/tasks/__init__.py":{"size":2207,"mtime_ns":1783208067881286091,"hash":"313e6da0e91d743ce891dd283458c79b50b24c4d909dc96ca7b3fd9d2bfa5013"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/auth.py":{"size":7457,"mtime_ns":1782790841500516545,"hash":"34bac56e1c2cb6215f4b5fa2dc32d77d4b4abca51428819eebf4afd269cc51cf"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/api_crypto.py":{"size":1870,"mtime_ns":1780108930724444498,"hash":"c04b748aea86890a5971f749523c7b17dbad1ddd6f9f7f07a5679d159c984e33"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/login_crypto.py":{"size":3858,"mtime_ns":1780108930725155710,"hash":"b82d51afabf2293a9cb1fb2e5f994c383948e7f47ea95fe674686b4f3f3342b1"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/config.py":{"size":6958,"mtime_ns":1784032424448146538,"hash":"c2fb44aedb880733de28afa7f92d2c1c681eb600f821bbeba2bcda3933e5bc37"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/wechat_pay.py":{"size":23585,"mtime_ns":1780108930725768130,"hash":"3d52265ce65d21e7103f94afa1e8547aee0823b5ea6d65c50317436ac81fb4fc"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/api_request_log_middleware.py":{"size":11971,"mtime_ns":1782701669198208175,"hash":"0b84c32828939e6102bb3647691fa8f04b1f68e0e0e9f28127374cc44e19a11c"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/database.py":{"size":1510,"mtime_ns":1782790847265601586,"hash":"8bc9c8ae62e2be2c6920036582ba448dfcd1711c41cebb62274ff6bc6ee14b0b"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/security.py":{"size":728,"mtime_ns":1780108930725470004,"hash":"df0f01115064f7b8de1c81dbe9a6db39360c236610b68c33b3234a51d7f0025b"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/request_payload.py":{"size":2842,"mtime_ns":1780108930725350836,"hash":"e9937151530ab1417ef297aef59111977725cf90be2a8fa76c00a0618789aba0"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/__init__.py":{"size":61,"mtime_ns":1780108930724312414,"hash":"3dd1842ee59b0c804176b03b4b8a323bd4a252b7feb1bbc32db64f3a8928570e"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/response.py":{"size":1824,"mtime_ns":1780108930725412462,"hash":"f1739352d65ea8287d76e282a59553aa8d63c97e35764c64ac378aa5bd9c347e"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/menu_guard.py":{"size":1611,"mtime_ns":1780108930725223002,"hash":"3e26077288c3620a4780038b891a326206b45bffe00aca545bdae30172487235"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/db_collation.py":{"size":548,"mtime_ns":1780108930725025043,"hash":"0c680e25a18244ca839a7de6ed1f4313b33bc8da118d89c463aee1b6af00c6f9"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/context.py":{"size":421,"mtime_ns":1780108930724824458,"hash":"83a10aee67162374993c10a30bf8bb8bd9c4b35cf48f42c832415ccebd91660f"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/utils.py":{"size":1498,"mtime_ns":1780108930725607296,"hash":"09323693661c1d4560458b86a954128ccff82bbaf6522da0b44f24da99ddf9ea"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/storage.py":{"size":14141,"mtime_ns":1782855136810943216,"hash":"3ae2c413c10898a8adb3d6773870bafbfbc18c739c10e0e8b4f765b4b5ca6c08"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/order_status_compat.py":{"size":2828,"mtime_ns":1780108930725284669,"hash":"5349e5a0745ee6734c4a995337779307adefc46f453906171988a77de2081540"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/exceptions.py":{"size":4946,"mtime_ns":1780108930725084335,"hash":"79c997d964bca1a4f12f2b92fb1f181fdb9e2b3cf72eae39f4cc164d23794fd7"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/data_scope.py":{"size":8043,"mtime_ns":1782648925694296304,"hash":"626dff86937e5cacec634ecbc61cd53d3763d760223a1d4ec7cd11f64e59a220"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/admin_request_json.py":{"size":2669,"mtime_ns":1780108930724378914,"hash":"4f68b3cf84291e7bddad6ecf4bb4d29ca5e1ec246a9f7f9c4cf5909d0ec1174a"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/api_crypto_middleware.py":{"size":10876,"mtime_ns":1782790001926627098,"hash":"b39f128b6612589ea6ac5babd30752e9585b3af07b82bb1ad53c9e3c0d90816f"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/wechat_message.py":{"size":11194,"mtime_ns":1780108930725684255,"hash":"5086070deb14d99d1a69e419b2299ec4Line truncated
|
||||
{"/Users/zlwu/work/00code/shanxia2.0/backend/start-prod.sh":{"size":7357,"mtime_ns":1782639355476060453,"hash":"ca89869446be74a2bf2367b3b28f448580220859a39a84ad9613ac5fe35a8433"},"/Users/zlwu/work/00code/shanxia2.0/backend/start.sh":{"size":9548,"mtime_ns":1780114661446983244,"hash":"4d632863e8a0cd81194b491d83a0218a4157435ae812dec76a6f6197b4d48e57"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/__init__.py":{"size":21,"mtime_ns":1780113982281973984,"hash":"60a04ff08fd97084e83ea809fd13feda6d2848be20ebf309e31fc1dad7523230"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/main.py":{"size":6280,"mtime_ns":1782790852770448643,"hash":"8f9da799977bee7134d87a26ff8434ac5ef8eabb0b7368dd537eee49ad7fd00b"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/tasks/__init__.py":{"size":2207,"mtime_ns":1783208067881286091,"hash":"313e6da0e91d743ce891dd283458c79b50b24c4d909dc96ca7b3fd9d2bfa5013"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/auth.py":{"size":7457,"mtime_ns":1782790841500516545,"hash":"34bac56e1c2cb6215f4b5fa2dc32d77d4b4abca51428819eebf4afd269cc51cf"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/api_crypto.py":{"size":1870,"mtime_ns":1780108930724444498,"hash":"c04b748aea86890a5971f749523c7b17dbad1ddd6f9f7f07a5679d159c984e33"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/login_crypto.py":{"size":3858,"mtime_ns":1780108930725155710,"hash":"b82d51afabf2293a9cb1fb2e5f994c383948e7f47ea95fe674686b4f3f3342b1"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/config.py":{"size":6958,"mtime_ns":1784032424448146538,"hash":"c2fb44aedb880733de28afa7f92d2c1c681eb600f821bbeba2bcda3933e5bc37"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/wechat_pay.py":{"size":23585,"mtime_ns":1780108930725768130,"hash":"3d52265ce65d21e7103f94afa1e8547aee0823b5ea6d65c50317436ac81fb4fc"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/api_request_log_middleware.py":{"size":11971,"mtime_ns":1782701669198208175,"hash":"0b84c32828939e6102bb3647691fa8f04b1f68e0e0e9f28127374cc44e19a11c"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/database.py":{"size":1510,"mtime_ns":1782790847265601586,"hash":"8bc9c8ae62e2be2c6920036582ba448dfcd1711c41cebb62274ff6bc6ee14b0b"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/security.py":{"size":728,"mtime_ns":1780108930725470004,"hash":"df0f01115064f7b8de1c81dbe9a6db39360c236610b68c33b3234a51d7f0025b"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/request_payload.py":{"size":2842,"mtime_ns":1780108930725350836,"hash":"e9937151530ab1417ef297aef59111977725cf90be2a8fa76c00a0618789aba0"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/__init__.py":{"size":61,"mtime_ns":1780108930724312414,"hash":"3dd1842ee59b0c804176b03b4b8a323bd4a252b7feb1bbc32db64f3a8928570e"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/response.py":{"size":1824,"mtime_ns":1780108930725412462,"hash":"f1739352d65ea8287d76e282a59553aa8d63c97e35764c64ac378aa5bd9c347e"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/menu_guard.py":{"size":1611,"mtime_ns":1780108930725223002,"hash":"3e26077288c3620a4780038b891a326206b45bffe00aca545bdae30172487235"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/db_collation.py":{"size":548,"mtime_ns":1780108930725025043,"hash":"0c680e25a18244ca839a7de6ed1f4313b33bc8da118d89c463aee1b6af00c6f9"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/context.py":{"size":421,"mtime_ns":1780108930724824458,"hash":"83a10aee67162374993c10a30bf8bb8bd9c4b35cf48f42c832415ccebd91660f"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/utils.py":{"size":1498,"mtime_ns":1780108930725607296,"hash":"09323693661c1d4560458b86a954128ccff82bbaf6522da0b44f24da99ddf9ea"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/storage.py":{"size":14141,"mtime_ns":1782855136810943216,"hash":"3ae2c413c10898a8adb3d6773870bafbfbc18c739c10e0e8b4f765b4b5ca6c08"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/order_status_compat.py":{"size":2828,"mtime_ns":1780108930725284669,"hash":"5349e5a0745ee6734c4a995337779307adefc46f453906171988a77de2081540"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/exceptions.py":{"size":4946,"mtime_ns":1780108930725084335,"hash":"79c997d964bca1a4f12f2b92fb1f181fdb9e2b3cf72eae39f4cc164d23794fd7"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/data_scope.py":{"size":8043,"mtime_ns":1782648925694296304,"hash":"626dff86937e5cacec634ecbc61cd53d3763d760223a1d4ec7cd11f64e59a220"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/admin_request_json.py":{"size":2669,"mtime_ns":1780108930724378914,"hash":"4f68b3cf84291e7bddad6ecf4bb4d29ca5e1ec246a9f7f9c4cf5909d0ec1174a"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/api_crypto_middleware.py":{"size":10876,"mtime_ns":1782790001926627098,"hash":"b39f128b6612589ea6ac5babd30752e9585b3af07b82bb1ad53c9e3c0d90816f"},"/Users/zlwu/work/00code/shanxia2.0/backend/app/core/wechat_message.py":{"size":11194,"mtime_ns":1780108930725684255,"hash":"5086070deb14d99d1a69e419b2299ec4Line truncated
|
||||
@@ -63,12 +63,12 @@
|
||||
</div>
|
||||
<div id="legend"></div>
|
||||
</div>
|
||||
<div id="stats">4743 nodes · 16026 edges · 543 communities</div>
|
||||
<div id="stats">4746 nodes · 16030 edges · 538 communities</div>
|
||||
</div>
|
||||
<script>
|
||||
const RAW_NODES = [{"id": "app_init", "label": "__init__.py", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 304, "community_name": "__init__.py", "source_file": "app/__init__.py", "file_type": "code", "degree": 0}, {"id": "app_api_init", "label": "__init__.py", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.6, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 105, "community_name": "list_customers", "source_file": "app/api/__init__.py", "file_type": "code", "degree": 10}, {"id": "app_api_init_rationale_1", "label": "API \u8def\u7531\u5305 \u2014 \u5c71\u5ce1\u5316\u5de5\u751f\u4ea7\u4e00\u4f53\u5316\u95e8\u6237", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "API \u8def\u7531\u5305 \u2014 \u5c71\u5ce1\u5316\u5de5\u751f\u4ea7\u4e00\u4f53\u5316\u95e8\u6237", "community": 105, "community_name": "list_customers", "source_file": "app/api/__init__.py", "file_type": "rationale", "degree": 1}, {"id": "app_api_admin", "label": "admin.py", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 17.7, "font": {"size": 12, "color": "#ffffff"}, "title": "admin.py", "community": 3, "community_name": "Community 3", "source_file": "app/api/admin.py", "file_type": "code", "degree": 119}, {"id": "app_api_admin_list_roles_for_select", "label": "list_roles_for_select()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "list_roles_for_select()", "community": 3, "community_name": "Community 3", "source_file": "app/api/admin.py", "file_type": "code", "degree": 5}, {"id": "app_api_admin_py_session", "label": "Session", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 13.7, "font": {"size": 0, "color": "#ffffff"}, "title": "Session", "community": 3, "community_name": "Community 3", "source_file": "", "file_type": "code", "degree": 57}, {"id": "app_api_admin_list_users_for_select", "label": "list_users_for_select()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "list_users_for_select()", "community": 3, "community_name": "Community 3", "source_file": "app/api/admin.py", "file_type": "code", "degree": 5}, {"id": "app_api_admin_list_roles_for_designer", "label": "list_roles_for_designer()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "list_roles_for_designer()", "community": 3, "community_name": "Community 3", "source_file": "app/api/admin.py", "file_type": "code", "degree": 5}, {"id": "app_api_admin_tenantcreatebody", "label": "TenantCreateBody", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.6, "font": {"size": 0, "color": "#ffffff"}, "title": "TenantCreateBody", "community": 3, "community_name": "Community 3", "source_file": "app/api/admin.py", "file_type": "code", "degree": 10}, {"id": "app_api_admin_tenantupdatebody", "label": "TenantUpdateBody", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.6, "font": {"size": 0, "color": "#ffffff"}, "title": "TenantUpdateBody", "community": 3, "community_name": "Community 3", "source_file": "app/api/admin.py", "file_type": "code", "degree": 10}, {"id": "app_api_admin_list_tenants", "label": "list_tenants()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "list_tenants()", "community": 3, "community_name": "Community 3", "source_file": "app/api/admin.py", "file_type": "code", "degree": 3}, {"id": "app_api_admin_create_tenant", "label": "create_tenant()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "create_tenant()", "community": 3, "community_name": "Community 3", "source_file": "app/api/admin.py", "file_type": "code", "degree": 5}, {"id": "app_api_admin_update_tenant", "label": "update_tenant()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "sizLine truncated
|
||||
const RAW_EDGES = [{"from": "app_api_init", "to": "app_api_admin", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_bx_init", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_crm", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_db_init", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_leave", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_menu", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_monitor", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_public", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_workflow", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init_rationale_1", "to": "app_api_init", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_attachment_download_url", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_attachment_preview_url", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_attachmentdownloadurlbody", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_dept", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_dict_data", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_dict_type", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_menu", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_menu_favorite", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_post", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_role_management", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_site", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_tenant", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_user", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_delete_dept", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_delete_dict_data", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"Line truncated
|
||||
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Community 0", "count": 36}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 39}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 27}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 97}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 63}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 35}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 51}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 129}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 56}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 1}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 1}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 61}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 71}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 46}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 61}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 53}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 42}, {"cid": 17, "color": "#FF9DA7", "label": "Community 17", "count": 1}, {"cid": 18, "color": "#9C755F", "label": "Community 18", "count": 42}, {"cid": 19, "color": "#BAB0AC", "label": "Community 19", "count": 94}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 1}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 65}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 43}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 17}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 42}, {"cid": 25, "color": "#EDC948", "label": "Community 25", "count": 17}, {"cid": 26, "color": "#B07AA1", "label": "Community 26", "count": 41}, {"cid": 27, "color": "#FF9DA7", "label": "Community 27", "count": 35}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 63}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 65}, {"cid": 30, "color": "#4E79A7", "label": "Community 30", "count": 27}, {"cid": 31, "color": "#F28E2B", "label": "Community 31", "count": 1}, {"cid": 32, "color": "#E15759", "label": "Community 32", "count": 1}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 26}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 61}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 38}, {"cid": 36, "color": "#B07AA1", "label": "Community 36", "count": 53}, {"cid": 37, "color": "#FF9DA7", "label": "Community 37", "count": 26}, {"cid": 38, "color": "#9C755F", "label": "Community 38", "count": 33}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 29}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 1}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 1}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 33}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 58}, {"cid": 44, "color": "#59A14F", "label": "Community 44", "count": 60}, {"cid": 45, "color": "#EDC948", "label": "Community 45", "count": 95}, {"cid": 46, "color": "#B07AA1", "label": "Community 46", "count": 64}, {"cid": 47, "color": "#FF9DA7", "label": "Community 47", "count": 1}, {"cid": 48, "color": "#9C755F", "label": "Community 48", "count": 18}, {"cid": 49, "color": "#BAB0AC", "label": "Community 49", "count": 32}, {"cid": 50, "color": "#4E79A7", "label": "Community 50", "count": 18}, {"cid": 51, "color": "#F28E2B", "label": "Community 51", "count": 20}, {"cid": 52, "color": "#E15759", "label": "Community 52", "count": 31}, {"cid": 53, "color": "#76B7B2", "label": "Community 53", "count": 24}, {"cid": 54, "color": "#59A14F", "label": "Community 54", "count": 24}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 1}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 1}, {"cid": 57, "color": "#FF9DA7", "label": "Community 57", "count": 1}, {"cid": 58, "color": "#9C755F", "label": "Community 58", "count": 22}, {"cid": 59, "color": "#BAB0AC", "label": "Community 59", "count": 30}, {"cid": 60, "color": "#4E79A7", "label": "Community 60", "count": 17}, {"cid": 61, "color": "#F28E2B", "label": "Community 61", "count": 37}, {"cid": 62, "color": "#E15759", "label": "Community 62", "count": 30}, {"cid": 63, "color": "#76B7B2", "label": "Community 63", "count": 52}, {"cid": 64, "color": "#59A14F", "label": "Community 64", "count": 24}, {"cid": 65, "color": "#EDC948", "label": "Community 65", "count": 62}, {"cid": 66, "color": "#B07AA1", "label": "Community 66", "count": 34}, {"cid": 67, "color": "#FF9DA7", "label": "Community 67", "count": 38}, {"cid": 68, "color": "#9C755F", "label": "Community 68", "count": 14}, {"cid": 69, "color": "#BAB0AC", "label": "Community 69", "count": 37}, {"cid": 70, "color": "#4E79A7", "label": "CoLine truncated
|
||||
const RAW_NODES = [{"id": "app_init", "label": "__init__.py", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 304, "community_name": "__init__.py", "source_file": "app/__init__.py", "file_type": "code", "degree": 0}, {"id": "app_api_init", "label": "__init__.py", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.6, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 105, "community_name": "list_customers", "source_file": "app/api/__init__.py", "file_type": "code", "degree": 10}, {"id": "app_api_init_rationale_1", "label": "API \u8def\u7531\u5305 \u2014 \u5c71\u5ce1\u5316\u5de5\u751f\u4ea7\u4e00\u4f53\u5316\u95e8\u6237", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "API \u8def\u7531\u5305 \u2014 \u5c71\u5ce1\u5316\u5de5\u751f\u4ea7\u4e00\u4f53\u5316\u95e8\u6237", "community": 105, "community_name": "list_customers", "source_file": "app/api/__init__.py", "file_type": "rationale", "degree": 1}, {"id": "app_api_admin", "label": "admin.py", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 17.7, "font": {"size": 12, "color": "#ffffff"}, "title": "admin.py", "community": 3, "community_name": "Community 3", "source_file": "app/api/admin.py", "file_type": "code", "degree": 119}, {"id": "app_api_admin_list_roles_for_select", "label": "list_roles_for_select()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "list_roles_for_select()", "community": 183, "community_name": "resolve_create_time_bounds", "source_file": "app/api/admin.py", "file_type": "code", "degree": 5}, {"id": "app_api_admin_py_session", "label": "Session", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 13.7, "font": {"size": 0, "color": "#ffffff"}, "title": "Session", "community": 3, "community_name": "Community 3", "source_file": "", "file_type": "code", "degree": 57}, {"id": "app_api_admin_list_users_for_select", "label": "list_users_for_select()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "list_users_for_select()", "community": 3, "community_name": "Community 3", "source_file": "app/api/admin.py", "file_type": "code", "degree": 5}, {"id": "app_api_admin_list_roles_for_designer", "label": "list_roles_for_designer()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "list_roles_for_designer()", "community": 3, "community_name": "Community 3", "source_file": "app/api/admin.py", "file_type": "code", "degree": 5}, {"id": "app_api_admin_tenantcreatebody", "label": "TenantCreateBody", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.6, "font": {"size": 0, "color": "#ffffff"}, "title": "TenantCreateBody", "community": 3, "community_name": "Community 3", "source_file": "app/api/admin.py", "file_type": "code", "degree": 10}, {"id": "app_api_admin_tenantupdatebody", "label": "TenantUpdateBody", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.6, "font": {"size": 0, "color": "#ffffff"}, "title": "TenantUpdateBody", "community": 3, "community_name": "Community 3", "source_file": "app/api/admin.py", "file_type": "code", "degree": 10}, {"id": "app_api_admin_list_tenants", "label": "list_tenants()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "list_tenants()", "community": 3, "community_name": "Community 3", "source_file": "app/api/admin.py", "file_type": "code", "degree": 3}, {"id": "app_api_admin_create_tenant", "label": "create_tenant()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "create_tenant()", "community": 3, "community_name": "Community 3", "source_file": "app/api/admin.py", "file_type": "code", "degree": 5}, {"id": "app_api_admin_update_tenant", "label": "update_tenant()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": Line truncated
|
||||
const RAW_EDGES = [{"from": "app_api_init", "to": "app_api_admin", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_bx_init", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_crm", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_db_init", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_leave", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_menu", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_monitor", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_public", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init", "to": "app_api_workflow", "label": "re_exports", "title": "re_exports [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_init_rationale_1", "to": "app_api_init", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_attachment_download_url", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_attachment_preview_url", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_attachmentdownloadurlbody", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_dept", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_dict_data", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_dict_type", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_menu", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_menu_favorite", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_post", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_role_management", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_site", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_tenant", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_create_user", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_delete_dept", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_api_admin", "to": "app_api_admin_delete_dict_data", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"Line truncated
|
||||
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Community 0", "count": 51}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 41}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 28}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 95}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 79}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 38}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 30}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 139}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 48}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 1}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 1}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 61}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 85}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 40}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 65}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 79}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 66}, {"cid": 17, "color": "#FF9DA7", "label": "Community 17", "count": 1}, {"cid": 18, "color": "#9C755F", "label": "Community 18", "count": 59}, {"cid": 19, "color": "#BAB0AC", "label": "Community 19", "count": 131}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 1}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 58}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 43}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 18}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 34}, {"cid": 25, "color": "#EDC948", "label": "Community 25", "count": 22}, {"cid": 26, "color": "#B07AA1", "label": "Community 26", "count": 30}, {"cid": 27, "color": "#FF9DA7", "label": "Community 27", "count": 36}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 61}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 7}, {"cid": 30, "color": "#4E79A7", "label": "Community 30", "count": 27}, {"cid": 31, "color": "#F28E2B", "label": "Community 31", "count": 1}, {"cid": 32, "color": "#E15759", "label": "Community 32", "count": 1}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 43}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 65}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 38}, {"cid": 36, "color": "#B07AA1", "label": "Community 36", "count": 33}, {"cid": 37, "color": "#FF9DA7", "label": "Community 37", "count": 26}, {"cid": 38, "color": "#9C755F", "label": "Community 38", "count": 25}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 44}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 1}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 1}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 34}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 50}, {"cid": 44, "color": "#59A14F", "label": "Community 44", "count": 85}, {"cid": 45, "color": "#EDC948", "label": "Community 45", "count": 81}, {"cid": 46, "color": "#B07AA1", "label": "Community 46", "count": 26}, {"cid": 47, "color": "#FF9DA7", "label": "Community 47", "count": 1}, {"cid": 48, "color": "#9C755F", "label": "Community 48", "count": 15}, {"cid": 49, "color": "#BAB0AC", "label": "Community 49", "count": 31}, {"cid": 50, "color": "#4E79A7", "label": "Community 50", "count": 24}, {"cid": 51, "color": "#F28E2B", "label": "Community 51", "count": 20}, {"cid": 52, "color": "#E15759", "label": "Community 52", "count": 31}, {"cid": 53, "color": "#76B7B2", "label": "Community 53", "count": 21}, {"cid": 54, "color": "#59A14F", "label": "Community 54", "count": 26}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 1}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 1}, {"cid": 57, "color": "#FF9DA7", "label": "Community 57", "count": 1}, {"cid": 58, "color": "#9C755F", "label": "Community 58", "count": 13}, {"cid": 59, "color": "#BAB0AC", "label": "Community 59", "count": 30}, {"cid": 60, "color": "#4E79A7", "label": "Community 60", "count": 18}, {"cid": 61, "color": "#F28E2B", "label": "Community 61", "count": 80}, {"cid": 62, "color": "#E15759", "label": "Community 62", "count": 42}, {"cid": 63, "color": "#76B7B2", "label": "Community 63", "count": 22}, {"cid": 64, "color": "#59A14F", "label": "Community 64", "count": 16}, {"cid": 65, "color": "#EDC948", "label": "Community 65", "count": 62}, {"cid": 66, "color": "#B07AA1", "label": "Community 66", "count": 34}, {"cid": 67, "color": "#FF9DA7", "label": "Community 67", "count": 38}, {"cid": 68, "color": "#9C755F", "label": "Community 68", "count": 14}, {"cid": 69, "color": "#BAB0AC", "label": "Community 69", "count": 29}, {"cid": 70, "color": "#4E79A7", "label": "CoLine truncated
|
||||
|
||||
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
|
||||
function esc(s) {
|
||||
|
||||
+989
-918
File diff suppressed because it is too large.
Load diff
Vendored
+3
@@ -17,6 +17,8 @@ declare module 'vue' {
|
||||
VanActionSheet: typeof import('vant/es')['ActionSheet']
|
||||
VanCell: typeof import('vant/es')['Cell']
|
||||
VanCellGroup: typeof import('vant/es')['CellGroup']
|
||||
VanCheckbox: typeof import('vant/es')['Checkbox']
|
||||
VanCheckboxGroup: typeof import('vant/es')['CheckboxGroup']
|
||||
VanDialog: typeof import('vant/es')['Dialog']
|
||||
VanField: typeof import('vant/es')['Field']
|
||||
VanForm: typeof import('vant/es')['Form']
|
||||
@@ -26,6 +28,7 @@ declare module 'vue' {
|
||||
VanPicker: typeof import('vant/es')['Picker']
|
||||
VanPopup: typeof import('vant/es')['Popup']
|
||||
VanPullRefresh: typeof import('vant/es')['PullRefresh']
|
||||
VanSearch: typeof import('vant/es')['Search']
|
||||
VanSwitch: typeof import('vant/es')['Switch']
|
||||
VanTab: typeof import('vant/es')['Tab']
|
||||
VanTabs: typeof import('vant/es')['Tabs']
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"0": "HomePage.vue",
|
||||
"1": "ApprovalPage.vue",
|
||||
"2": "PaymentPage.vue",
|
||||
"3": "RoleManagePage.vue",
|
||||
"4": "InvoiceWalletAdminPage.vue",
|
||||
"5": "InvoiceWalletMinePage.vue",
|
||||
"6": "format.ts",
|
||||
"7": "MinePage.vue",
|
||||
"8": "ReimburseApplyPage.vue",
|
||||
"9": "AdvanceApprovePage.vue",
|
||||
"10": "AdvanceIssuePage.vue",
|
||||
"11": "ReimburseApprovePage.vue",
|
||||
"12": "MenuManagePage.vue",
|
||||
"13": "UserManagePage.vue",
|
||||
"14": "AllPage.vue",
|
||||
"15": "ReimburseDetailPage.vue",
|
||||
"16": "ExpenseProjectPage.vue",
|
||||
"17": "dependencies",
|
||||
"18": "WfReimbursePage.vue",
|
||||
"19": "ReimburseListPage.vue",
|
||||
"20": "WfAdvancePage.vue",
|
||||
"21": "ApprovalDetailPage.vue",
|
||||
"22": "AdvanceDetailPage.vue",
|
||||
"23": "compilerOptions",
|
||||
"24": "LoginPage.vue",
|
||||
"25": "AdvanceApplyPage.vue",
|
||||
"26": "useExpenseItemTree.ts",
|
||||
"27": "index.ts",
|
||||
"28": "compilerOptions",
|
||||
"29": "BizError",
|
||||
"31": "fetchPage",
|
||||
"32": "loadEditData",
|
||||
"33": "AdminIndexPage.vue",
|
||||
"34": "onSubmit",
|
||||
"35": "components.d.ts",
|
||||
"36": "MenuEntryCard.vue",
|
||||
"37": "fetchOffsetAdvances",
|
||||
"38": "isImageFile",
|
||||
"39": "loadBizAttachmentsTo",
|
||||
"40": "findRootForItem",
|
||||
"41": "env.d.ts",
|
||||
"42": "HomeLayout.vue",
|
||||
"43": "vite.config.ts"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"0": "HomePage.vue",
|
||||
"1": "ApprovalPage.vue",
|
||||
"2": "PaymentPage.vue",
|
||||
"3": "RoleManagePage.vue",
|
||||
"4": "InvoiceWalletAdminPage.vue",
|
||||
"5": "InvoiceWalletMinePage.vue",
|
||||
"6": "format.ts",
|
||||
"7": "MinePage.vue",
|
||||
"8": "ReimburseApplyPage.vue",
|
||||
"9": "AdvanceApprovePage.vue",
|
||||
"10": "AdvanceIssuePage.vue",
|
||||
"11": "ReimburseApprovePage.vue",
|
||||
"12": "MenuManagePage.vue",
|
||||
"13": "UserManagePage.vue",
|
||||
"14": "AllPage.vue",
|
||||
"15": "ReimburseDetailPage.vue",
|
||||
"16": "ExpenseProjectPage.vue",
|
||||
"17": "dependencies",
|
||||
"18": "WfReimbursePage.vue",
|
||||
"19": "ReimburseListPage.vue",
|
||||
"20": "WfAdvancePage.vue",
|
||||
"21": "ApprovalDetailPage.vue",
|
||||
"22": "AdvanceDetailPage.vue",
|
||||
"23": "compilerOptions",
|
||||
"24": "LoginPage.vue",
|
||||
"25": "AdvanceApplyPage.vue",
|
||||
"26": "useExpenseItemTree.ts",
|
||||
"27": "index.ts",
|
||||
"28": "compilerOptions",
|
||||
"29": "BizError",
|
||||
"30": "loadDetail",
|
||||
"31": "fetchPage",
|
||||
"32": "loadEditData",
|
||||
"33": "AdminIndexPage.vue",
|
||||
"34": "onSubmit",
|
||||
"35": "components.d.ts",
|
||||
"36": "MenuEntryCard.vue",
|
||||
"37": "fetchOffsetAdvances",
|
||||
"38": "isImageFile",
|
||||
"39": "loadBizAttachmentsTo",
|
||||
"40": "findRootForItem",
|
||||
"41": "env.d.ts",
|
||||
"42": "HomeLayout.vue",
|
||||
"43": "vite.config.ts"
|
||||
}
|
||||
@@ -0,0 +1,242 @@
|
||||
# Graph Report - bx-mobile (2026-08-09)
|
||||
|
||||
## Corpus Check
|
||||
- 59 files · ~49,404 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
- 937 nodes · 1417 edges · 44 communities (36 shown, 8 thin omitted)
|
||||
- Extraction: 99% EXTRACTED · 1% INFERRED · 0% AMBIGUOUS · INFERRED: 11 edges (avg confidence: 0.53)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Graph Freshness
|
||||
- Built from commit: `47a56e40`
|
||||
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
|
||||
- Run `graphify update .` after code changes (no API cost).
|
||||
|
||||
## Community Hubs (Navigation)
|
||||
- [[_COMMUNITY_HomePage.vue|HomePage.vue]]
|
||||
- [[_COMMUNITY_ApprovalPage.vue|ApprovalPage.vue]]
|
||||
- [[_COMMUNITY_PaymentPage.vue|PaymentPage.vue]]
|
||||
- [[_COMMUNITY_RoleManagePage.vue|RoleManagePage.vue]]
|
||||
- [[_COMMUNITY_InvoiceWalletAdminPage.vue|InvoiceWalletAdminPage.vue]]
|
||||
- [[_COMMUNITY_InvoiceWalletMinePage.vue|InvoiceWalletMinePage.vue]]
|
||||
- [[_COMMUNITY_format.ts|format.ts]]
|
||||
- [[_COMMUNITY_MinePage.vue|MinePage.vue]]
|
||||
- [[_COMMUNITY_ReimburseApplyPage.vue|ReimburseApplyPage.vue]]
|
||||
- [[_COMMUNITY_AdvanceApprovePage.vue|AdvanceApprovePage.vue]]
|
||||
- [[_COMMUNITY_AdvanceIssuePage.vue|AdvanceIssuePage.vue]]
|
||||
- [[_COMMUNITY_ReimburseApprovePage.vue|ReimburseApprovePage.vue]]
|
||||
- [[_COMMUNITY_MenuManagePage.vue|MenuManagePage.vue]]
|
||||
- [[_COMMUNITY_UserManagePage.vue|UserManagePage.vue]]
|
||||
- [[_COMMUNITY_AllPage.vue|AllPage.vue]]
|
||||
- [[_COMMUNITY_ReimburseDetailPage.vue|ReimburseDetailPage.vue]]
|
||||
- [[_COMMUNITY_ExpenseProjectPage.vue|ExpenseProjectPage.vue]]
|
||||
- [[_COMMUNITY_dependencies|dependencies]]
|
||||
- [[_COMMUNITY_WfReimbursePage.vue|WfReimbursePage.vue]]
|
||||
- [[_COMMUNITY_ReimburseListPage.vue|ReimburseListPage.vue]]
|
||||
- [[_COMMUNITY_WfAdvancePage.vue|WfAdvancePage.vue]]
|
||||
- [[_COMMUNITY_ApprovalDetailPage.vue|ApprovalDetailPage.vue]]
|
||||
- [[_COMMUNITY_AdvanceDetailPage.vue|AdvanceDetailPage.vue]]
|
||||
- [[_COMMUNITY_compilerOptions|compilerOptions]]
|
||||
- [[_COMMUNITY_LoginPage.vue|LoginPage.vue]]
|
||||
- [[_COMMUNITY_AdvanceApplyPage.vue|AdvanceApplyPage.vue]]
|
||||
- [[_COMMUNITY_useExpenseItemTree.ts|useExpenseItemTree.ts]]
|
||||
- [[_COMMUNITY_index.ts|index.ts]]
|
||||
- [[_COMMUNITY_compilerOptions|compilerOptions]]
|
||||
- [[_COMMUNITY_BizError|BizError]]
|
||||
- [[_COMMUNITY_loadDetail|loadDetail]]
|
||||
- [[_COMMUNITY_fetchPage|fetchPage]]
|
||||
- [[_COMMUNITY_loadEditData|loadEditData]]
|
||||
- [[_COMMUNITY_AdminIndexPage.vue|AdminIndexPage.vue]]
|
||||
- [[_COMMUNITY_onSubmit|onSubmit]]
|
||||
- [[_COMMUNITY_components.d.ts|components.d.ts]]
|
||||
- [[_COMMUNITY_MenuEntryCard.vue|MenuEntryCard.vue]]
|
||||
- [[_COMMUNITY_fetchOffsetAdvances|fetchOffsetAdvances]]
|
||||
- [[_COMMUNITY_isImageFile|isImageFile]]
|
||||
- [[_COMMUNITY_loadBizAttachmentsTo|loadBizAttachmentsTo]]
|
||||
- [[_COMMUNITY_findRootForItem|findRootForItem]]
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
1. `formatAmount()` - 28 edges
|
||||
2. `statusLabel()` - 19 edges
|
||||
3. `compilerOptions` - 18 edges
|
||||
4. `resolveExpenseDisplay()` - 17 edges
|
||||
5. `formatApplyDateTime()` - 14 edges
|
||||
6. `advanceApi` - 11 edges
|
||||
7. `reimburseApi` - 11 edges
|
||||
8. `useKeywordSearch()` - 11 edges
|
||||
9. `attachmentApi` - 10 edges
|
||||
10. `useExpenseItemTree()` - 10 edges
|
||||
|
||||
## Surprising Connections (you probably didn't know these)
|
||||
- `moneyOrDash()` --calls--> `formatAmount()` [EXTRACTED]
|
||||
src/views/reimburse/ReimburseListPage.vue → src/utils/format.ts
|
||||
- `allReimburseLineSubtitle()` --calls--> `resolveExpenseDisplay()` [EXTRACTED]
|
||||
src/views/all/AllPage.vue → src/hooks/useExpenseItemTree.ts
|
||||
- `reimburseLineSubtitle()` --calls--> `resolveExpenseDisplay()` [EXTRACTED]
|
||||
src/views/approval/ApprovalPage.vue → src/hooks/useExpenseItemTree.ts
|
||||
- `mineReimburseLineSubtitle()` --calls--> `resolveExpenseDisplay()` [EXTRACTED]
|
||||
src/views/mine/MinePage.vue → src/hooks/useExpenseItemTree.ts
|
||||
- `payCardTitle()` --calls--> `resolveExpenseDisplay()` [EXTRACTED]
|
||||
src/views/payment/PaymentPage.vue → src/hooks/useExpenseItemTree.ts
|
||||
|
||||
## Import Cycles
|
||||
- None detected.
|
||||
|
||||
## Communities (44 total, 8 thin omitted)
|
||||
|
||||
### Community 0 - "HomePage.vue"
|
||||
Cohesion: 0.05
|
||||
Nodes (33): reimburseApi, BX_MENU_CATALOG, BxMenuEntry, BxMenuPhase, app, router, routes, MenuItem (+25 more)
|
||||
|
||||
### Community 1 - "ApprovalPage.vue"
|
||||
Cohesion: 0.05
|
||||
Nodes (39): formatAmount(), actualIssuedDisplay(), popupOffsetTotalDisplay(), actualIssuedDisplay(), detailOffsetTotalDisplay(), actualIssuedDisplay(), actualIssuedDisplay(), moneyOrDash() (+31 more)
|
||||
|
||||
### Community 2 - "PaymentPage.vue"
|
||||
Cohesion: 0.05
|
||||
Nodes (33): activeTab, actualAmount, detailApplyAttachments, detailData, detailLoading, detailOffsetAttachments, detailOffsetRecords, detailPayAttachments (+25 more)
|
||||
|
||||
### Community 3 - "RoleManagePage.vue"
|
||||
Cohesion: 0.06
|
||||
Nodes (36): allUsers, collectAllParentIds(), currentPage, editingId, finished, form, handleAssignUserSubmit(), handleDelete() (+28 more)
|
||||
|
||||
### Community 4 - "InvoiceWalletAdminPage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (38): detailInvoices, detailSummary, detailUser, fetchInvoices(), fetchWallets(), invFinished, invLoading, InvoiceAtt (+30 more)
|
||||
|
||||
### Community 5 - "InvoiceWalletMinePage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (36): activeTab, allLedgers, ensureLedgersLoaded(), fetchInvoices(), fetchLedgersPage(), invFinished, invLoading, InvoiceAtt (+28 more)
|
||||
|
||||
### Community 6 - "format.ts"
|
||||
Cohesion: 0.08
|
||||
Nodes (33): advanceIssueRecordStatusLabel(), advanceIssueRecordStatusTagClass(), formatApplyDate(), formatApplyDateTime(), formatDate(), formatDateTime(), paymentDetailTicketToneClass(), paymentRecordRawStatus() (+25 more)
|
||||
|
||||
### Community 7 - "MinePage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (34): activeTab, addActions, advanceFinished, advanceList, advanceLoadingMore, advancePage, advanceRefreshing, advanceStatus (+26 more)
|
||||
|
||||
### Community 8 - "ReimburseApplyPage.vue"
|
||||
Cohesion: 0.05
|
||||
Nodes (28): applicantLabel, { applicantOptions, loadApplicantOptions }, applicantPickerColumns, auth, balanceInsufficient, DetailLine, detailTotalAmount, detailTotalNumber (+20 more)
|
||||
|
||||
### Community 9 - "AdvanceApprovePage.vue"
|
||||
Cohesion: 0.06
|
||||
Nodes (32): actionLoading, actionType, activeTab, confirmAction(), currentItem, detailData, downloadPopupFile(), fetchPage() (+24 more)
|
||||
|
||||
### Community 10 - "AdvanceIssuePage.vue"
|
||||
Cohesion: 0.06
|
||||
Nodes (27): activeTab, actualAmount, confirmIssue(), detailApplyAttachments, detailData, detailIssueAttachments, detailOffsetRecords, fetchList() (+19 more)
|
||||
|
||||
### Community 11 - "ReimburseApprovePage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (31): actionLoading, actionType, activeTab, cardTitle(), confirmAction(), currentItem, detailData, fetchPage() (+23 more)
|
||||
|
||||
### Community 12 - "MenuManagePage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (26): Props, Props, variantClass, menuTypeLabel(), editingId, form, handleDelete(), handleSubmit() (+18 more)
|
||||
|
||||
### Community 13 - "UserManagePage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (29): currentPage, editingId, finished, form, handleDelete(), handleSearch(), handleSubmit(), handleToggleStatus() (+21 more)
|
||||
|
||||
### Community 14 - "AllPage.vue"
|
||||
Cohesion: 0.09
|
||||
Nodes (27): activeTab, allReimburseCardTitle(), allReimburseLineSubtitle(), allRows, displayList, displayPage, extractRows(), filteredList (+19 more)
|
||||
|
||||
### Community 15 - "ReimburseDetailPage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (26): actionButtons, applyAttachments, approvals, canWithdraw, deleteLoading, detail, detailTab, downloadFile() (+18 more)
|
||||
|
||||
### Community 16 - "ExpenseProjectPage.vue"
|
||||
Cohesion: 0.09
|
||||
Nodes (24): dialogMode, dialogTitle, expandedIds, expenseTree, form, handleDelete(), handleSubmit(), isEdit (+16 more)
|
||||
|
||||
### Community 17 - "dependencies"
|
||||
Cohesion: 0.08
|
||||
Nodes (25): dependencies, axios, dayjs, jsencrypt, pinia, vant, @vant/use, vue (+17 more)
|
||||
|
||||
### Community 18 - "WfReimbursePage.vue"
|
||||
Cohesion: 0.12
|
||||
Nodes (22): workflowApi, approverDisplay, buildNodePayload(), formData, handleDelete(), handleSubmit(), isEdit, loading (+14 more)
|
||||
|
||||
### Community 19 - "ReimburseListPage.vue"
|
||||
Cohesion: 0.10
|
||||
Nodes (24): useKeywordSearch(), UseKeywordSearchOptions, activeTab, cardTitle(), currentStatus(), fetchList(), finished, { flatList } (+16 more)
|
||||
|
||||
### Community 20 - "WfAdvancePage.vue"
|
||||
Cohesion: 0.12
|
||||
Nodes (22): approverDisplay, approverKeyword, buildNodePayload(), formData, handleDelete(), handleSubmit(), isEdit, loading (+14 more)
|
||||
|
||||
### Community 21 - "ApprovalDetailPage.vue"
|
||||
Cohesion: 0.08
|
||||
Nodes (20): actionType, advanceOffsetTotalDisplay, approvals, bizType, detail, detailTab, dialogSubmitting, dialogTitle (+12 more)
|
||||
|
||||
### Community 22 - "AdvanceDetailPage.vue"
|
||||
Cohesion: 0.10
|
||||
Nodes (19): actionLoading, approvals, AttachmentInfo, attachments, checkResubmitPrompt(), detail, detailTab, downloadFile() (+11 more)
|
||||
|
||||
### Community 23 - "compilerOptions"
|
||||
Cohesion: 0.09
|
||||
Nodes (21): compilerOptions, allowImportingTsExtensions, baseUrl, isolatedModules, jsx, lib, module, moduleResolution (+13 more)
|
||||
|
||||
### Community 24 - "LoginPage.vue"
|
||||
Cohesion: 0.13
|
||||
Nodes (14): portalAdminApi, portalAuthApi, portalClient, PortalError, useApplicantOptions(), buildWebEncryptedLoginBody(), auth, clearError() (+6 more)
|
||||
|
||||
### Community 25 - "AdvanceApplyPage.vue"
|
||||
Cohesion: 0.13
|
||||
Nodes (14): SUBMIT_APPROVE_BUTTON_COLOR, attachment, attachmentAccept, fieldErr, form, isEdit, loadEditData(), onSubmit() (+6 more)
|
||||
|
||||
### Community 26 - "useExpenseItemTree.ts"
|
||||
Cohesion: 0.22
|
||||
Nodes (8): expenseItemApi, ExpenseItem, formatExpenseName(), pickExpenseItemId(), resolveExpenseDisplay(), useExpenseItemTree(), payCardTitle(), lineExpenseDisplay()
|
||||
|
||||
### Community 27 - "index.ts"
|
||||
Cohesion: 0.24
|
||||
Nodes (8): advanceApi, attachmentApi, BxId, invoiceApi, invoiceWalletApi, paymentApi, AttachmentFile, useAttachment()
|
||||
|
||||
### Community 28 - "compilerOptions"
|
||||
Cohesion: 0.25
|
||||
Nodes (7): compilerOptions, allowSyntheticDefaultImports, composite, module, moduleResolution, skipLibCheck, include
|
||||
|
||||
### Community 30 - "loadDetail"
|
||||
Cohesion: 0.29
|
||||
Nodes (7): advanceOffsetRecords, loadDetail(), checkResubmitPrompt(), handleSubmit(), handleWithdraw(), loadAttachments(), loadDetail()
|
||||
|
||||
### Community 31 - "fetchPage"
|
||||
Cohesion: 0.33
|
||||
Nodes (6): confirmIssue(), confirmOffset(), fetchPage(), onLoad(), onRefresh(), remainingOffset()
|
||||
|
||||
### Community 32 - "loadEditData"
|
||||
Cohesion: 0.40
|
||||
Nodes (5): loadEditData(), onApplicantConfirm(), refreshTitle(), refreshWallet(), todayYmd()
|
||||
|
||||
### Community 34 - "onSubmit"
|
||||
Cohesion: 0.67
|
||||
Nodes (3): buildInvoicePayload(), onSubmit(), validateReimburseApplyForm()
|
||||
|
||||
## Knowledge Gaps
|
||||
- **480 isolated node(s):** `GlobalComponents`, `name`, `private`, `version`, `type` (+475 more)
|
||||
These have ≤1 connection - possible missing edges or undocumented components.
|
||||
- **8 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
|
||||
|
||||
## Suggested Questions
|
||||
_Questions this graph is uniquely positioned to answer:_
|
||||
|
||||
- **Why does `statusLabel()` connect `format.ts` to `ApprovalPage.vue`, `RoleManagePage.vue`, `MinePage.vue`, `AdvanceApprovePage.vue`, `ReimburseApprovePage.vue`, `MenuManagePage.vue`, `UserManagePage.vue`, `AllPage.vue`, `ReimburseDetailPage.vue`, `ExpenseProjectPage.vue`, `WfReimbursePage.vue`, `ReimburseListPage.vue`, `WfAdvancePage.vue`, `ApprovalDetailPage.vue`, `AdvanceDetailPage.vue`?**
|
||||
_High betweenness centrality (0.053) - this node is a cross-community bridge._
|
||||
- **Why does `formatAmount()` connect `ApprovalPage.vue` to `PaymentPage.vue`, `format.ts`, `MinePage.vue`, `AdvanceApprovePage.vue`, `AdvanceIssuePage.vue`, `ReimburseApprovePage.vue`, `AllPage.vue`, `ReimburseDetailPage.vue`, `ReimburseListPage.vue`, `ApprovalDetailPage.vue`, `AdvanceDetailPage.vue`?**
|
||||
_High betweenness centrality (0.034) - this node is a cross-community bridge._
|
||||
- **Why does `attachmentApi` connect `index.ts` to `PaymentPage.vue`, `InvoiceWalletAdminPage.vue`, `InvoiceWalletMinePage.vue`, `AdvanceApprovePage.vue`, `AdvanceIssuePage.vue`, `ReimburseApprovePage.vue`, `ReimburseDetailPage.vue`, `AdvanceDetailPage.vue`?**
|
||||
_High betweenness centrality (0.024) - this node is a cross-community bridge._
|
||||
- **What connects `GlobalComponents`, `name`, `private` to the rest of the system?**
|
||||
_480 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
- **Should `HomePage.vue` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.05176470588235294 - nodes in this community are weakly interconnected._
|
||||
- **Should `ApprovalPage.vue` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.05353535353535353 - nodes in this community are weakly interconnected._
|
||||
- **Should `PaymentPage.vue` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.046511627906976744 - nodes in this community are weakly interconnected._
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,237 @@
|
||||
# Graph Report - bx-mobile (2026-08-09)
|
||||
|
||||
## Corpus Check
|
||||
- 59 files · ~49,502 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
- 938 nodes · 1418 edges · 43 communities (35 shown, 8 thin omitted)
|
||||
- Extraction: 99% EXTRACTED · 1% INFERRED · 0% AMBIGUOUS · INFERRED: 11 edges (avg confidence: 0.53)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Graph Freshness
|
||||
- Built from commit: `47a56e40`
|
||||
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
|
||||
- Run `graphify update .` after code changes (no API cost).
|
||||
|
||||
## Community Hubs (Navigation)
|
||||
- [[_COMMUNITY_HomePage.vue|HomePage.vue]]
|
||||
- [[_COMMUNITY_ApprovalPage.vue|ApprovalPage.vue]]
|
||||
- [[_COMMUNITY_PaymentPage.vue|PaymentPage.vue]]
|
||||
- [[_COMMUNITY_RoleManagePage.vue|RoleManagePage.vue]]
|
||||
- [[_COMMUNITY_InvoiceWalletAdminPage.vue|InvoiceWalletAdminPage.vue]]
|
||||
- [[_COMMUNITY_InvoiceWalletMinePage.vue|InvoiceWalletMinePage.vue]]
|
||||
- [[_COMMUNITY_format.ts|format.ts]]
|
||||
- [[_COMMUNITY_MinePage.vue|MinePage.vue]]
|
||||
- [[_COMMUNITY_ReimburseApplyPage.vue|ReimburseApplyPage.vue]]
|
||||
- [[_COMMUNITY_AdvanceApprovePage.vue|AdvanceApprovePage.vue]]
|
||||
- [[_COMMUNITY_AdvanceIssuePage.vue|AdvanceIssuePage.vue]]
|
||||
- [[_COMMUNITY_ReimburseApprovePage.vue|ReimburseApprovePage.vue]]
|
||||
- [[_COMMUNITY_MenuManagePage.vue|MenuManagePage.vue]]
|
||||
- [[_COMMUNITY_UserManagePage.vue|UserManagePage.vue]]
|
||||
- [[_COMMUNITY_AllPage.vue|AllPage.vue]]
|
||||
- [[_COMMUNITY_ReimburseDetailPage.vue|ReimburseDetailPage.vue]]
|
||||
- [[_COMMUNITY_ExpenseProjectPage.vue|ExpenseProjectPage.vue]]
|
||||
- [[_COMMUNITY_dependencies|dependencies]]
|
||||
- [[_COMMUNITY_WfReimbursePage.vue|WfReimbursePage.vue]]
|
||||
- [[_COMMUNITY_ReimburseListPage.vue|ReimburseListPage.vue]]
|
||||
- [[_COMMUNITY_WfAdvancePage.vue|WfAdvancePage.vue]]
|
||||
- [[_COMMUNITY_ApprovalDetailPage.vue|ApprovalDetailPage.vue]]
|
||||
- [[_COMMUNITY_AdvanceDetailPage.vue|AdvanceDetailPage.vue]]
|
||||
- [[_COMMUNITY_compilerOptions|compilerOptions]]
|
||||
- [[_COMMUNITY_LoginPage.vue|LoginPage.vue]]
|
||||
- [[_COMMUNITY_AdvanceApplyPage.vue|AdvanceApplyPage.vue]]
|
||||
- [[_COMMUNITY_useExpenseItemTree.ts|useExpenseItemTree.ts]]
|
||||
- [[_COMMUNITY_index.ts|index.ts]]
|
||||
- [[_COMMUNITY_compilerOptions|compilerOptions]]
|
||||
- [[_COMMUNITY_BizError|BizError]]
|
||||
- [[_COMMUNITY_fetchPage|fetchPage]]
|
||||
- [[_COMMUNITY_loadEditData|loadEditData]]
|
||||
- [[_COMMUNITY_AdminIndexPage.vue|AdminIndexPage.vue]]
|
||||
- [[_COMMUNITY_onSubmit|onSubmit]]
|
||||
- [[_COMMUNITY_components.d.ts|components.d.ts]]
|
||||
- [[_COMMUNITY_MenuEntryCard.vue|MenuEntryCard.vue]]
|
||||
- [[_COMMUNITY_fetchOffsetAdvances|fetchOffsetAdvances]]
|
||||
- [[_COMMUNITY_isImageFile|isImageFile]]
|
||||
- [[_COMMUNITY_loadBizAttachmentsTo|loadBizAttachmentsTo]]
|
||||
- [[_COMMUNITY_findRootForItem|findRootForItem]]
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
1. `formatAmount()` - 28 edges
|
||||
2. `statusLabel()` - 19 edges
|
||||
3. `compilerOptions` - 18 edges
|
||||
4. `resolveExpenseDisplay()` - 17 edges
|
||||
5. `formatApplyDateTime()` - 14 edges
|
||||
6. `advanceApi` - 11 edges
|
||||
7. `reimburseApi` - 11 edges
|
||||
8. `useKeywordSearch()` - 11 edges
|
||||
9. `attachmentApi` - 10 edges
|
||||
10. `useExpenseItemTree()` - 10 edges
|
||||
|
||||
## Surprising Connections (you probably didn't know these)
|
||||
- `moneyOrDash()` --calls--> `formatAmount()` [EXTRACTED]
|
||||
src/views/reimburse/ReimburseListPage.vue → src/utils/format.ts
|
||||
- `allReimburseLineSubtitle()` --calls--> `resolveExpenseDisplay()` [EXTRACTED]
|
||||
src/views/all/AllPage.vue → src/hooks/useExpenseItemTree.ts
|
||||
- `reimburseLineSubtitle()` --calls--> `resolveExpenseDisplay()` [EXTRACTED]
|
||||
src/views/approval/ApprovalPage.vue → src/hooks/useExpenseItemTree.ts
|
||||
- `mineReimburseLineSubtitle()` --calls--> `resolveExpenseDisplay()` [EXTRACTED]
|
||||
src/views/mine/MinePage.vue → src/hooks/useExpenseItemTree.ts
|
||||
- `payCardTitle()` --calls--> `resolveExpenseDisplay()` [EXTRACTED]
|
||||
src/views/payment/PaymentPage.vue → src/hooks/useExpenseItemTree.ts
|
||||
|
||||
## Import Cycles
|
||||
- None detected.
|
||||
|
||||
## Communities (43 total, 8 thin omitted)
|
||||
|
||||
### Community 0 - "HomePage.vue"
|
||||
Cohesion: 0.05
|
||||
Nodes (33): reimburseApi, BX_MENU_CATALOG, BxMenuEntry, BxMenuPhase, app, router, routes, MenuItem (+25 more)
|
||||
|
||||
### Community 1 - "ApprovalPage.vue"
|
||||
Cohesion: 0.08
|
||||
Nodes (25): actionLoading, actionType, bizKind, confirmAction(), currentItem, fetchPage(), finished, { flatList } (+17 more)
|
||||
|
||||
### Community 2 - "PaymentPage.vue"
|
||||
Cohesion: 0.05
|
||||
Nodes (33): activeTab, actualAmount, detailApplyAttachments, detailData, detailLoading, detailOffsetAttachments, detailOffsetRecords, detailPayAttachments (+25 more)
|
||||
|
||||
### Community 3 - "RoleManagePage.vue"
|
||||
Cohesion: 0.06
|
||||
Nodes (36): allUsers, collectAllParentIds(), currentPage, editingId, finished, form, handleAssignUserSubmit(), handleDelete() (+28 more)
|
||||
|
||||
### Community 4 - "InvoiceWalletAdminPage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (38): detailInvoices, detailSummary, detailUser, fetchInvoices(), fetchWallets(), invFinished, invLoading, InvoiceAtt (+30 more)
|
||||
|
||||
### Community 5 - "InvoiceWalletMinePage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (36): activeTab, allLedgers, ensureLedgersLoaded(), fetchInvoices(), fetchLedgersPage(), invFinished, invLoading, InvoiceAtt (+28 more)
|
||||
|
||||
### Community 6 - "format.ts"
|
||||
Cohesion: 0.13
|
||||
Nodes (17): advanceApi, activeTab, currentPage, fetchPage(), finished, handleDelete(), handleSubmit(), { keyword, clearKeyword, flushSearch } (+9 more)
|
||||
|
||||
### Community 7 - "MinePage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (34): activeTab, addActions, advanceFinished, advanceList, advanceLoadingMore, advancePage, advanceRefreshing, advanceStatus (+26 more)
|
||||
|
||||
### Community 8 - "ReimburseApplyPage.vue"
|
||||
Cohesion: 0.05
|
||||
Nodes (29): applicantKeyword, applicantLabel, { applicantOptions, loadApplicantOptions }, applicantPickerColumns, auth, balanceInsufficient, DetailLine, detailTotalAmount (+21 more)
|
||||
|
||||
### Community 9 - "AdvanceApprovePage.vue"
|
||||
Cohesion: 0.06
|
||||
Nodes (32): actionLoading, actionType, activeTab, confirmAction(), currentItem, detailData, downloadPopupFile(), fetchPage() (+24 more)
|
||||
|
||||
### Community 10 - "AdvanceIssuePage.vue"
|
||||
Cohesion: 0.06
|
||||
Nodes (27): activeTab, actualAmount, confirmIssue(), detailApplyAttachments, detailData, detailIssueAttachments, detailOffsetRecords, fetchList() (+19 more)
|
||||
|
||||
### Community 11 - "ReimburseApprovePage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (31): actionLoading, actionType, activeTab, cardTitle(), confirmAction(), currentItem, detailData, fetchPage() (+23 more)
|
||||
|
||||
### Community 12 - "MenuManagePage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (26): Props, Props, variantClass, menuTypeLabel(), editingId, form, handleDelete(), handleSubmit() (+18 more)
|
||||
|
||||
### Community 13 - "UserManagePage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (29): currentPage, editingId, finished, form, handleDelete(), handleSearch(), handleSubmit(), handleToggleStatus() (+21 more)
|
||||
|
||||
### Community 14 - "AllPage.vue"
|
||||
Cohesion: 0.06
|
||||
Nodes (44): advanceIssueRecordStatusLabel(), advanceIssueRecordStatusTagClass(), formatApplyDate(), formatApplyDateTime(), formatDate(), formatDateTime(), paymentDetailTicketToneClass(), paymentRecordRawStatus() (+36 more)
|
||||
|
||||
### Community 15 - "ReimburseDetailPage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (30): actionButtons, applyAttachments, approvals, canWithdraw, checkResubmitPrompt(), deleteLoading, detail, detailTab (+22 more)
|
||||
|
||||
### Community 16 - "ExpenseProjectPage.vue"
|
||||
Cohesion: 0.09
|
||||
Nodes (24): dialogMode, dialogTitle, expandedIds, expenseTree, form, handleDelete(), handleSubmit(), isEdit (+16 more)
|
||||
|
||||
### Community 17 - "dependencies"
|
||||
Cohesion: 0.08
|
||||
Nodes (25): dependencies, axios, dayjs, jsencrypt, pinia, vant, @vant/use, vue (+17 more)
|
||||
|
||||
### Community 18 - "WfReimbursePage.vue"
|
||||
Cohesion: 0.12
|
||||
Nodes (22): workflowApi, approverDisplay, buildNodePayload(), formData, handleDelete(), handleSubmit(), isEdit, loading (+14 more)
|
||||
|
||||
### Community 19 - "ReimburseListPage.vue"
|
||||
Cohesion: 0.11
|
||||
Nodes (22): activeTab, cardTitle(), currentStatus(), fetchList(), finished, { flatList }, handleDelete(), handleSubmit() (+14 more)
|
||||
|
||||
### Community 20 - "WfAdvancePage.vue"
|
||||
Cohesion: 0.12
|
||||
Nodes (22): approverDisplay, approverKeyword, buildNodePayload(), formData, handleDelete(), handleSubmit(), isEdit, loading (+14 more)
|
||||
|
||||
### Community 21 - "ApprovalDetailPage.vue"
|
||||
Cohesion: 0.07
|
||||
Nodes (23): actionType, advanceOffsetRecords, advanceOffsetTotalDisplay, approvals, bizType, detail, detailTab, dialogSubmitting (+15 more)
|
||||
|
||||
### Community 22 - "AdvanceDetailPage.vue"
|
||||
Cohesion: 0.10
|
||||
Nodes (20): paymentApi, actionLoading, approvals, AttachmentInfo, attachments, checkResubmitPrompt(), detail, detailTab (+12 more)
|
||||
|
||||
### Community 23 - "compilerOptions"
|
||||
Cohesion: 0.09
|
||||
Nodes (21): compilerOptions, allowImportingTsExtensions, baseUrl, isolatedModules, jsx, lib, module, moduleResolution (+13 more)
|
||||
|
||||
### Community 24 - "LoginPage.vue"
|
||||
Cohesion: 0.13
|
||||
Nodes (14): portalAdminApi, portalAuthApi, portalClient, PortalError, useApplicantOptions(), buildWebEncryptedLoginBody(), auth, clearError() (+6 more)
|
||||
|
||||
### Community 25 - "AdvanceApplyPage.vue"
|
||||
Cohesion: 0.08
|
||||
Nodes (22): BizError, bxClient, attachmentApi, BxId, invoiceApi, invoiceWalletApi, SUBMIT_APPROVE_BUTTON_COLOR, AttachmentFile (+14 more)
|
||||
|
||||
### Community 26 - "useExpenseItemTree.ts"
|
||||
Cohesion: 0.22
|
||||
Nodes (8): expenseItemApi, ExpenseItem, formatExpenseName(), pickExpenseItemId(), resolveExpenseDisplay(), useExpenseItemTree(), payCardTitle(), lineExpenseDisplay()
|
||||
|
||||
### Community 27 - "index.ts"
|
||||
Cohesion: 0.14
|
||||
Nodes (14): formatAmount(), actualIssuedDisplay(), popupOffsetTotalDisplay(), actualIssuedDisplay(), detailOffsetTotalDisplay(), actualIssuedDisplay(), actualIssuedDisplay(), moneyOrDash() (+6 more)
|
||||
|
||||
### Community 28 - "compilerOptions"
|
||||
Cohesion: 0.25
|
||||
Nodes (7): compilerOptions, allowSyntheticDefaultImports, composite, module, moduleResolution, skipLibCheck, include
|
||||
|
||||
### Community 31 - "fetchPage"
|
||||
Cohesion: 0.33
|
||||
Nodes (6): confirmIssue(), confirmOffset(), fetchPage(), onLoad(), onRefresh(), remainingOffset()
|
||||
|
||||
### Community 32 - "loadEditData"
|
||||
Cohesion: 0.40
|
||||
Nodes (5): loadEditData(), onApplicantConfirm(), refreshTitle(), refreshWallet(), todayYmd()
|
||||
|
||||
### Community 34 - "onSubmit"
|
||||
Cohesion: 0.67
|
||||
Nodes (3): buildInvoicePayload(), onSubmit(), validateReimburseApplyForm()
|
||||
|
||||
## Knowledge Gaps
|
||||
- **481 isolated node(s):** `GlobalComponents`, `name`, `private`, `version`, `type` (+476 more)
|
||||
These have ≤1 connection - possible missing edges or undocumented components.
|
||||
- **8 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
|
||||
|
||||
## Suggested Questions
|
||||
_Questions this graph is uniquely positioned to answer:_
|
||||
|
||||
- **Why does `statusLabel()` connect `AllPage.vue` to `ApprovalPage.vue`, `RoleManagePage.vue`, `format.ts`, `MinePage.vue`, `AdvanceApprovePage.vue`, `ReimburseApprovePage.vue`, `MenuManagePage.vue`, `UserManagePage.vue`, `ReimburseDetailPage.vue`, `ExpenseProjectPage.vue`, `WfReimbursePage.vue`, `ReimburseListPage.vue`, `WfAdvancePage.vue`, `ApprovalDetailPage.vue`, `AdvanceDetailPage.vue`?**
|
||||
_High betweenness centrality (0.053) - this node is a cross-community bridge._
|
||||
- **Why does `formatAmount()` connect `index.ts` to `ApprovalPage.vue`, `PaymentPage.vue`, `format.ts`, `MinePage.vue`, `AdvanceApprovePage.vue`, `AdvanceIssuePage.vue`, `ReimburseApprovePage.vue`, `AllPage.vue`, `ReimburseDetailPage.vue`, `ReimburseListPage.vue`, `ApprovalDetailPage.vue`, `AdvanceDetailPage.vue`?**
|
||||
_High betweenness centrality (0.034) - this node is a cross-community bridge._
|
||||
- **Why does `attachmentApi` connect `AdvanceApplyPage.vue` to `PaymentPage.vue`, `InvoiceWalletAdminPage.vue`, `InvoiceWalletMinePage.vue`, `AdvanceApprovePage.vue`, `AdvanceIssuePage.vue`, `ReimburseApprovePage.vue`, `ReimburseDetailPage.vue`, `AdvanceDetailPage.vue`?**
|
||||
_High betweenness centrality (0.024) - this node is a cross-community bridge._
|
||||
- **What connects `GlobalComponents`, `name`, `private` to the rest of the system?**
|
||||
_481 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
- **Should `HomePage.vue` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.05176470588235294 - nodes in this community are weakly interconnected._
|
||||
- **Should `ApprovalPage.vue` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.07956989247311828 - nodes in this community are weakly interconnected._
|
||||
- **Should `PaymentPage.vue` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.046511627906976744 - nodes in this community are weakly interconnected._
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_json", "label": "package.json", "file_type": "code", "source_file": "package.json", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_name", "label": "name", "file_type": "code", "source_file": "package.json", "source_location": "L2"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_private", "label": "private", "file_type": "code", "source_file": "package.json", "source_location": "L3"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_version", "label": "version", "file_type": "code", "source_file": "package.json", "source_location": "L4"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_type", "label": "type", "file_type": "code", "source_file": "package.json", "source_location": "L5"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_scripts", "label": "scripts", "file_type": "code", "source_file": "package.json", "source_location": "L6"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_scripts_dev", "label": "dev", "file_type": "code", "source_file": "package.json", "source_location": "L7"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_scripts_build", "label": "build", "file_type": "code", "source_file": "package.json", "source_location": "L8"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_scripts_preview", "label": "preview", "file_type": "code", "source_file": "package.json", "source_location": "L9"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies", "label": "dependencies", "file_type": "code", "source_file": "package.json", "source_location": "L11"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_vant_use", "label": "@vant/use", "file_type": "code", "source_file": "package.json", "source_location": "L12"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_axios", "label": "axios", "file_type": "code", "source_file": "package.json", "source_location": "L13"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_dayjs", "label": "dayjs", "file_type": "code", "source_file": "package.json", "source_location": "L14"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_jsencrypt", "label": "jsencrypt", "file_type": "code", "source_file": "package.json", "source_location": "L15"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_pinia", "label": "pinia", "file_type": "code", "source_file": "package.json", "source_location": "L16"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_vant", "label": "vant", "file_type": "code", "source_file": "package.json", "source_location": "L17"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_vue", "label": "vue", "file_type": "code", "source_file": "package.json", "source_location": "L18"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_vue_router", "label": "vue-router", "file_type": "code", "source_file": "package.json", "source_location": "L19"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies", "label": "devDependencies", "file_type": "code", "source_file": "package.json", "source_location": "L21"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies_types_node", "label": "@types/node", "file_type": "code", "source_file": "package.json", "source_location": "L22"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies_vant_auto_import_resolver", "label": "@vant/auto-import-resolver", "file_type": "code", "source_file": "package.json", "source_location": "L23"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies_vitejs_plugin_vue", "label": "@vitejs/plugin-vue", "file_type": "code", "source_file": "package.json", "source_location": "L24"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies_typescript", "label": "typescript", "file_type": "code", "source_file": "package.json", "source_location": "L25"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies_unplugin_vue_components", "label": "unplugin-vue-components", "file_type": "code", "source_file": "package.json", "source_location": "L26"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies_vite", "label": "vite", "file_type": "code", "source_file": "package.json", "source_location": "L27"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies_vue_tsc", "label": "vue-tsc", "file_type": "code", "source_file": "package.json", "source_location": "L28"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_json", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_name", "relation":Line truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_json", "label": "tsconfig.node.json", "file_type": "code", "source_file": "tsconfig.node.json", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions", "label": "compilerOptions", "file_type": "code", "source_file": "tsconfig.node.json", "source_location": "L2"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_composite", "label": "composite", "file_type": "code", "source_file": "tsconfig.node.json", "source_location": "L3"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_skiplibcheck", "label": "skipLibCheck", "file_type": "code", "source_file": "tsconfig.node.json", "source_location": "L4"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_module", "label": "module", "file_type": "code", "source_file": "tsconfig.node.json", "source_location": "L5"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_moduleresolution", "label": "moduleResolution", "file_type": "code", "source_file": "tsconfig.node.json", "source_location": "L6"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_allowsyntheticdefaultimports", "label": "allowSyntheticDefaultImports", "file_type": "code", "source_file": "tsconfig.node.json", "source_location": "L7"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_include", "label": "include", "file_type": "code", "source_file": "tsconfig.node.json", "source_location": "L9"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_json", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tsconfig.node.json", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_composite", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tsconfig.node.json", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_skiplibcheck", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tsconfig.node.json", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_module", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tsconfig.node.json", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_moduleresolution", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tsconfig.node.json", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_allowsyntheticdefaultimports", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tsconfig.node.json", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_json", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_include", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tsconfig.node.json", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_include", "target": "ref_vite_config_ts", "relation": "extends", "confidence": "EXTRACTED", "source_file": "tsconfig.node.json", "source_location": "L9", "weight": 1.0, "context": "import"}]}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_json", "label": "tsconfig.json", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions", "label": "compilerOptions", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L2"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_target", "label": "target", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L3"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_usedefineforclassfields", "label": "useDefineForClassFields", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L4"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_module", "label": "module", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L5"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_lib", "label": "lib", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L6"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_skiplibcheck", "label": "skipLibCheck", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L7"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_moduleresolution", "label": "moduleResolution", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L8"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_allowimportingtsextensions", "label": "allowImportingTsExtensions", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L9"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_resolvejsonmodule", "label": "resolveJsonModule", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L10"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_isolatedmodules", "label": "isolatedModules", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L11"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_noemit", "label": "noEmit", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L12"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_jsx", "label": "jsx", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L13"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_strict", "label": "strict", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L14"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_nounusedlocals", "label": "noUnusedLocals", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L15"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_nounusedparameters", "label": "noUnusedParameters", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L16"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_nofallthroughcasesinswitch", "label": "noFallthroughCasesInSwitch", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L17"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_baseurl", "label": "baseUrl", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L18"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_paths", "label": "paths", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L19"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_paths", "label": "@/*", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L20"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_include", "label": "include", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L23"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_references", "label": "references", "file_type": "code", "source_file": "tsconfig.json", "source_location": "L24"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_json", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tsconfig.json", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_target", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tsconfig.json", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compilLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"/Users/wuzilong/work/00code/shanxia2.0/bx-mobile/package.json":{"size":678,"mtime_ns":1786262418354466428,"hash":"70f289142ca77420afa538b1ab088647cfe813e32828df01f00948aa7a9dfb84"},"/Users/wuzilong/work/00code/shanxia2.0/bx-mobile/test-results/.last-run.json":{"size":45,"mtime_ns":1786258409518526574,"hash":"aa010b3bbd247fbe71f108461a45665003480cb20f19c69873c68aaa456a69e6"},"/Users/wuzilong/work/00code/shanxia2.0/bx-mobile/tsconfig.json":{"size":685,"mtime_ns":1786258409529797565,"hash":"e158eaebc6ca5298adfe703cfeef3ff24cbedc0b2b68d6b50ffde5e52549ccb4"},"/Users/wuzilong/work/00code/shanxia2.0/bx-mobile/tsconfig.node.json":{"size":213,"mtime_ns":1786258409530011356,"hash":"ca67f66208707de4001554257c5223210a7498bce3bf77b002ae63a54d9ac309"}}
|
||||
@@ -0,0 +1,307 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>graphify - graphify-out/graph.html</title>
|
||||
<script src="https://unpkg.com/vis-network@9.1.6/standalone/umd/vis-network.min.js"
|
||||
integrity="sha384-Ux6phic9PEHJ38YtrijhkzyJ8yQlH8i/+buBR8s3mAZOJrP1gwyvAcIYl3GWtpX1"
|
||||
crossorigin="anonymous"></script>
|
||||
<style>
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
body { background: #0f0f1a; color: #e0e0e0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; display: flex; height: 100vh; overflow: hidden; }
|
||||
#graph { flex: 1; }
|
||||
#sidebar { width: 280px; background: #1a1a2e; border-left: 1px solid #2a2a4e; display: flex; flex-direction: column; overflow: hidden; }
|
||||
#search-wrap { padding: 12px; border-bottom: 1px solid #2a2a4e; }
|
||||
#search { width: 100%; background: #0f0f1a; border: 1px solid #3a3a5e; color: #e0e0e0; padding: 7px 10px; border-radius: 6px; font-size: 13px; outline: none; }
|
||||
#search:focus { border-color: #4E79A7; }
|
||||
#search-results { max-height: 140px; overflow-y: auto; padding: 4px 12px; border-bottom: 1px solid #2a2a4e; display: none; }
|
||||
.search-item { padding: 4px 6px; cursor: pointer; border-radius: 4px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.search-item:hover { background: #2a2a4e; }
|
||||
#info-panel { padding: 14px; border-bottom: 1px solid #2a2a4e; min-height: 140px; }
|
||||
#info-panel h3 { font-size: 13px; color: #aaa; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
|
||||
#info-content { font-size: 13px; color: #ccc; line-height: 1.6; }
|
||||
#info-content .field { margin-bottom: 5px; }
|
||||
#info-content .field b { color: #e0e0e0; }
|
||||
#info-content .empty { color: #555; font-style: italic; }
|
||||
.neighbor-link { display: block; padding: 2px 6px; margin: 2px 0; border-radius: 3px; cursor: pointer; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid #333; }
|
||||
.neighbor-link:hover { background: #2a2a4e; }
|
||||
#neighbors-list { max-height: 160px; overflow-y: auto; margin-top: 4px; }
|
||||
#legend-wrap { flex: 1; overflow-y: auto; padding: 12px; }
|
||||
#legend-wrap h3 { font-size: 13px; color: #aaa; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
|
||||
.legend-item { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; border-radius: 4px; font-size: 12px; }
|
||||
.legend-item:hover { background: #2a2a4e; padding-left: 4px; }
|
||||
.legend-item.dimmed { opacity: 0.35; }
|
||||
.legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
|
||||
.legend-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.legend-count { color: #666; font-size: 11px; }
|
||||
#stats { padding: 10px 14px; border-top: 1px solid #2a2a4e; font-size: 11px; color: #555; }
|
||||
#legend-controls { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 4px 0; }
|
||||
#legend-controls label { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 12px; color: #aaa; user-select: none; }
|
||||
#legend-controls label:hover { color: #e0e0e0; }
|
||||
.legend-cb, #select-all-cb { appearance: none; -webkit-appearance: none; width: 14px; height: 14px; border: 1.5px solid #3a3a5e; border-radius: 3px; background: #0f0f1a; cursor: pointer; position: relative; flex-shrink: 0; }
|
||||
.legend-cb:checked, #select-all-cb:checked { background: #4E79A7; border-color: #4E79A7; }
|
||||
.legend-cb:checked::after, #select-all-cb:checked::after { content: ''; position: absolute; left: 3.5px; top: 1px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
|
||||
#select-all-cb:indeterminate { background: #4E79A7; border-color: #4E79A7; }
|
||||
#select-all-cb:indeterminate::after { content: ''; position: absolute; left: 2px; top: 5px; width: 8px; height: 2px; background: #fff; border: none; transform: none; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="graph"></div>
|
||||
<div id="sidebar">
|
||||
<div id="search-wrap">
|
||||
<input id="search" type="text" placeholder="Search nodes..." autocomplete="off">
|
||||
<div id="search-results"></div>
|
||||
</div>
|
||||
<div id="info-panel">
|
||||
<h3>Node Info</h3>
|
||||
<div id="info-content"><span class="empty">Click a node to inspect it</span></div>
|
||||
</div>
|
||||
<div id="legend-wrap">
|
||||
<h3>Communities</h3>
|
||||
<div id="legend-controls">
|
||||
<label><input type="checkbox" id="select-all-cb" checked onchange="toggleAllCommunities(!this.checked)">Select All</label>
|
||||
</div>
|
||||
<div id="legend"></div>
|
||||
</div>
|
||||
<div id="stats">938 nodes · 1418 edges · 43 communities</div>
|
||||
</div>
|
||||
<script>
|
||||
const RAW_NODES = [{"id": "components_d", "label": "components.d.ts", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "components.d.ts", "community": 35, "community_name": "components.d.ts", "source_file": "components.d.ts", "file_type": "code", "degree": 1}, {"id": "components_d_globalcomponents", "label": "GlobalComponents", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "GlobalComponents", "community": 35, "community_name": "components.d.ts", "source_file": "components.d.ts", "file_type": "code", "degree": 1}, {"id": "package", "label": "package.json", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 12.9, "font": {"size": 0, "color": "#ffffff"}, "title": "package.json", "community": 17, "community_name": "dependencies", "source_file": "package.json", "file_type": "code", "degree": 7}, {"id": "package_name", "label": "name", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "name", "community": 17, "community_name": "dependencies", "source_file": "package.json", "file_type": "code", "degree": 1}, {"id": "package_private", "label": "private", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "private", "community": 17, "community_name": "dependencies", "source_file": "package.json", "file_type": "code", "degree": 1}, {"id": "package_version", "label": "version", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "version", "community": 17, "community_name": "dependencies", "source_file": "package.json", "file_type": "code", "degree": 1}, {"id": "package_type", "label": "type", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "type", "community": 17, "community_name": "dependencies", "source_file": "package.json", "file_type": "code", "degree": 1}, {"id": "package_scripts", "label": "scripts", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.7, "font": {"size": 0, "color": "#ffffff"}, "title": "scripts", "community": 17, "community_name": "dependencies", "source_file": "package.json", "file_type": "code", "degree": 4}, {"id": "package_scripts_dev", "label": "dev", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "dev", "community": 17, "community_name": "dependencies", "source_file": "package.json", "file_type": "code", "degree": 1}, {"id": "package_scripts_build", "label": "build", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "build", "community": 17, "community_name": "dependencies", "source_file": "package.json", "file_type": "code", "degree": 1}, {"id": "package_scripts_preview", "label": "preview", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "preview", "community": 17, "community_name": "dependencies", "source_file": "package.json", "file_type": "code", "degree": 1}, {"id": "package_dependencies", "label": "dependencies", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "dependencies", "community": 17, "community_name": "dependencies", "source_file": "package.json", "file_type": "code", "degree": 9}, {"id": "package_dependencies_vant_use", "label": "@vant/use", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "@vant/use", "community": 17, "community_name": "dependencies", "source_file": "package.json", "file_type": "code", "degree": 1}, {"id": "package_dependencies_axios", "label": "axios", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "axios", "community": 17, "communitLine truncated
|
||||
const RAW_EDGES = [{"from": "components_d", "to": "components_d_globalcomponents", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package", "to": "package_dependencies", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package", "to": "package_devdependencies", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package", "to": "package_name", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package", "to": "package_private", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package", "to": "package_scripts", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package", "to": "package_type", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package", "to": "package_version", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_scripts", "to": "package_scripts_build", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_scripts", "to": "package_scripts_dev", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_scripts", "to": "package_scripts_preview", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_dependencies", "to": "package_dependencies_axios", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_dependencies", "to": "package_dependencies_dayjs", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_dependencies", "to": "package_dependencies_jsencrypt", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_dependencies", "to": "package_dependencies_pinia", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_dependencies", "to": "package_dependencies_vant", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_dependencies", "to": "package_dependencies_vant_use", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_dependencies", "to": "package_dependencies_vue", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_dependencies", "to": "package_dependencies_vue_router", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_devdependencies", "to": "package_devdependencies_types_node", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_devdependencies", "to": "package_devdependencies_typescript", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_devdependencies", "to": "package_devdependencies_unplugin_vue_components", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_devdependencies", "to": "package_devdependencies_vant_auto_import_resolver", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_devdependencies", "to": "package_devdependencies_vite", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "package_devdependencies", "to": "package_devdependencies_vitejs_plugin_vue", "label": "contains", "title": "contLine truncated
|
||||
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "HomePage.vue", "count": 51}, {"cid": 1, "color": "#F28E2B", "label": "ApprovalPage.vue", "count": 31}, {"cid": 2, "color": "#E15759", "label": "PaymentPage.vue", "count": 43}, {"cid": 3, "color": "#76B7B2", "label": "RoleManagePage.vue", "count": 42}, {"cid": 4, "color": "#59A14F", "label": "InvoiceWalletAdminPage.vue", "count": 41}, {"cid": 5, "color": "#EDC948", "label": "InvoiceWalletMinePage.vue", "count": 41}, {"cid": 6, "color": "#B07AA1", "label": "format.ts", "count": 19}, {"cid": 7, "color": "#FF9DA7", "label": "MinePage.vue", "count": 40}, {"cid": 8, "color": "#9C755F", "label": "ReimburseApplyPage.vue", "count": 41}, {"cid": 9, "color": "#BAB0AC", "label": "AdvanceApprovePage.vue", "count": 38}, {"cid": 10, "color": "#4E79A7", "label": "AdvanceIssuePage.vue", "count": 36}, {"cid": 11, "color": "#F28E2B", "label": "ReimburseApprovePage.vue", "count": 35}, {"cid": 12, "color": "#E15759", "label": "MenuManagePage.vue", "count": 34}, {"cid": 13, "color": "#76B7B2", "label": "UserManagePage.vue", "count": 34}, {"cid": 14, "color": "#59A14F", "label": "AllPage.vue", "count": 53}, {"cid": 15, "color": "#EDC948", "label": "ReimburseDetailPage.vue", "count": 34}, {"cid": 16, "color": "#B07AA1", "label": "ExpenseProjectPage.vue", "count": 28}, {"cid": 17, "color": "#FF9DA7", "label": "dependencies", "count": 26}, {"cid": 18, "color": "#9C755F", "label": "WfReimbursePage.vue", "count": 26}, {"cid": 19, "color": "#BAB0AC", "label": "ReimburseListPage.vue", "count": 23}, {"cid": 20, "color": "#4E79A7", "label": "WfAdvancePage.vue", "count": 26}, {"cid": 21, "color": "#F28E2B", "label": "ApprovalDetailPage.vue", "count": 29}, {"cid": 22, "color": "#E15759", "label": "AdvanceDetailPage.vue", "count": 24}, {"cid": 23, "color": "#76B7B2", "label": "compilerOptions", "count": 22}, {"cid": 24, "color": "#59A14F", "label": "LoginPage.vue", "count": 21}, {"cid": 25, "color": "#EDC948", "label": "AdvanceApplyPage.vue", "count": 32}, {"cid": 26, "color": "#B07AA1", "label": "useExpenseItemTree.ts", "count": 11}, {"cid": 27, "color": "#FF9DA7", "label": "index.ts", "count": 14}, {"cid": 28, "color": "#9C755F", "label": "compilerOptions", "count": 8}, {"cid": 29, "color": "#BAB0AC", "label": "BizError", "count": 3}, {"cid": 31, "color": "#F28E2B", "label": "fetchPage", "count": 6}, {"cid": 32, "color": "#E15759", "label": "loadEditData", "count": 5}, {"cid": 33, "color": "#76B7B2", "label": "AdminIndexPage.vue", "count": 3}, {"cid": 34, "color": "#59A14F", "label": "onSubmit", "count": 3}, {"cid": 35, "color": "#EDC948", "label": "components.d.ts", "count": 2}, {"cid": 36, "color": "#B07AA1", "label": "MenuEntryCard.vue", "count": 2}, {"cid": 37, "color": "#FF9DA7", "label": "fetchOffsetAdvances", "count": 2}, {"cid": 38, "color": "#9C755F", "label": "isImageFile", "count": 2}, {"cid": 39, "color": "#BAB0AC", "label": "loadBizAttachmentsTo", "count": 2}, {"cid": 40, "color": "#4E79A7", "label": "findRootForItem", "count": 2}, {"cid": 41, "color": "#F28E2B", "label": "env.d.ts", "count": 1}, {"cid": 42, "color": "#E15759", "label": "HomeLayout.vue", "count": 1}, {"cid": 43, "color": "#76B7B2", "label": "vite.config.ts", "count": 1}];
|
||||
|
||||
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
|
||||
function esc(s) {
|
||||
return String(s).replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/'/g,''');
|
||||
}
|
||||
|
||||
// Build vis datasets
|
||||
const nodesDS = new vis.DataSet(RAW_NODES.map(n => ({
|
||||
id: n.id, label: n.label, color: n.color, size: n.size,
|
||||
font: n.font, title: n.title,
|
||||
_community: n.community, _community_name: n.community_name,
|
||||
_source_file: n.source_file, _file_type: n.file_type, _degree: n.degree,
|
||||
})));
|
||||
|
||||
const edgesDS = new vis.DataSet(RAW_EDGES.map((e, i) => ({
|
||||
id: i, from: e.from, to: e.to,
|
||||
label: '',
|
||||
title: e.title,
|
||||
dashes: e.dashes,
|
||||
width: e.width,
|
||||
color: e.color,
|
||||
arrows: { to: { enabled: true, scaleFactor: 0.5 } },
|
||||
})));
|
||||
|
||||
const container = document.getElementById('graph');
|
||||
const network = new vis.Network(container, { nodes: nodesDS, edges: edgesDS }, {
|
||||
physics: {
|
||||
enabled: true,
|
||||
solver: 'forceAtlas2Based',
|
||||
forceAtlas2Based: {
|
||||
gravitationalConstant: -60,
|
||||
centralGravity: 0.005,
|
||||
springLength: 120,
|
||||
springConstant: 0.08,
|
||||
damping: 0.4,
|
||||
avoidOverlap: 0.8,
|
||||
},
|
||||
stabilization: { iterations: 200, fit: true },
|
||||
},
|
||||
interaction: {
|
||||
hover: true,
|
||||
tooltipDelay: 100,
|
||||
hideEdgesOnDrag: true,
|
||||
navigationButtons: false,
|
||||
keyboard: false,
|
||||
},
|
||||
nodes: { shape: 'dot', borderWidth: 1.5 },
|
||||
edges: { smooth: { type: 'continuous', roundness: 0.2 }, selectionWidth: 3 },
|
||||
});
|
||||
|
||||
network.once('stabilizationIterationsDone', () => {
|
||||
network.setOptions({ physics: { enabled: false } });
|
||||
});
|
||||
|
||||
function showInfo(nodeId) {
|
||||
const n = nodesDS.get(nodeId);
|
||||
if (!n) return;
|
||||
const neighborIds = network.getConnectedNodes(nodeId);
|
||||
const neighborItems = neighborIds.map(nid => {
|
||||
const nb = nodesDS.get(nid);
|
||||
const color = nb ? nb.color.background : '#555';
|
||||
return `<span class="neighbor-link" style="border-left-color:${esc(color)}" onclick="focusNode(${JSON.stringify(nid)})">${esc(nb ? nb.label : nid)}</span>`;
|
||||
}).join('');
|
||||
document.getElementById('info-content').innerHTML = `
|
||||
<div class="field"><b>${esc(n.label)}</b></div>
|
||||
<div class="field">Type: ${esc(n._file_type || 'unknown')}</div>
|
||||
<div class="field">Community: ${esc(n._community_name)}</div>
|
||||
<div class="field">Source: ${esc(n._source_file || '-')}</div>
|
||||
<div class="field">Degree: ${n._degree}</div>
|
||||
${neighborIds.length ? `<div class="field" style="margin-top:8px;color:#aaa;font-size:11px">Neighbors (${neighborIds.length})</div><div id="neighbors-list">${neighborItems}</div>` : ''}
|
||||
`;
|
||||
}
|
||||
|
||||
function focusNode(nodeId) {
|
||||
network.focus(nodeId, { scale: 1.4, animation: true });
|
||||
network.selectNodes([nodeId]);
|
||||
showInfo(nodeId);
|
||||
}
|
||||
|
||||
// Track hovered node — hover detection is more reliable than click params
|
||||
let hoveredNodeId = null;
|
||||
network.on('hoverNode', params => {
|
||||
hoveredNodeId = params.node;
|
||||
container.style.cursor = 'pointer';
|
||||
});
|
||||
network.on('blurNode', () => {
|
||||
hoveredNodeId = null;
|
||||
container.style.cursor = 'default';
|
||||
});
|
||||
container.addEventListener('click', () => {
|
||||
if (hoveredNodeId !== null) {
|
||||
showInfo(hoveredNodeId);
|
||||
network.selectNodes([hoveredNodeId]);
|
||||
}
|
||||
});
|
||||
network.on('click', params => {
|
||||
if (params.nodes.length > 0) {
|
||||
showInfo(params.nodes[0]);
|
||||
} else if (hoveredNodeId === null) {
|
||||
document.getElementById('info-content').innerHTML = '<span class="empty">Click a node to inspect it</span>';
|
||||
}
|
||||
});
|
||||
|
||||
const searchInput = document.getElementById('search');
|
||||
const searchResults = document.getElementById('search-results');
|
||||
searchInput.addEventListener('input', () => {
|
||||
const q = searchInput.value.toLowerCase().trim();
|
||||
searchResults.innerHTML = '';
|
||||
if (!q) { searchResults.style.display = 'none'; return; }
|
||||
const matches = RAW_NODES.filter(n => n.label.toLowerCase().includes(q)).slice(0, 20);
|
||||
if (!matches.length) { searchResults.style.display = 'none'; return; }
|
||||
searchResults.style.display = 'block';
|
||||
matches.forEach(n => {
|
||||
const el = document.createElement('div');
|
||||
el.className = 'search-item';
|
||||
el.textContent = n.label;
|
||||
el.style.borderLeft = `3px solid ${n.color.background}`;
|
||||
el.style.paddingLeft = '8px';
|
||||
el.onclick = () => {
|
||||
network.focus(n.id, { scale: 1.5, animation: true });
|
||||
network.selectNodes([n.id]);
|
||||
showInfo(n.id);
|
||||
searchResults.style.display = 'none';
|
||||
searchInput.value = '';
|
||||
};
|
||||
searchResults.appendChild(el);
|
||||
});
|
||||
});
|
||||
document.addEventListener('click', e => {
|
||||
if (!searchResults.contains(e.target) && e.target !== searchInput)
|
||||
searchResults.style.display = 'none';
|
||||
});
|
||||
|
||||
const hiddenCommunities = new Set();
|
||||
|
||||
const selectAllCb = document.getElementById('select-all-cb');
|
||||
|
||||
function updateSelectAllState() {
|
||||
const total = LEGEND.length;
|
||||
const hidden = hiddenCommunities.size;
|
||||
selectAllCb.checked = hidden === 0;
|
||||
selectAllCb.indeterminate = hidden > 0 && hidden < total;
|
||||
}
|
||||
|
||||
function toggleAllCommunities(hide) {
|
||||
document.querySelectorAll('.legend-item').forEach(item => {
|
||||
hide ? item.classList.add('dimmed') : item.classList.remove('dimmed');
|
||||
});
|
||||
document.querySelectorAll('.legend-cb').forEach(cb => {
|
||||
cb.checked = !hide;
|
||||
});
|
||||
LEGEND.forEach(c => {
|
||||
if (hide) hiddenCommunities.add(c.cid); else hiddenCommunities.delete(c.cid);
|
||||
});
|
||||
const updates = RAW_NODES.map(n => ({ id: n.id, hidden: hide }));
|
||||
nodesDS.update(updates);
|
||||
updateSelectAllState();
|
||||
}
|
||||
|
||||
const legendEl = document.getElementById('legend');
|
||||
LEGEND.forEach(c => {
|
||||
const item = document.createElement('div');
|
||||
item.className = 'legend-item';
|
||||
const cb = document.createElement('input');
|
||||
cb.type = 'checkbox';
|
||||
cb.className = 'legend-cb';
|
||||
cb.checked = true;
|
||||
cb.addEventListener('change', (e) => {
|
||||
e.stopPropagation();
|
||||
if (cb.checked) {
|
||||
hiddenCommunities.delete(c.cid);
|
||||
item.classList.remove('dimmed');
|
||||
} else {
|
||||
hiddenCommunities.add(c.cid);
|
||||
item.classList.add('dimmed');
|
||||
}
|
||||
const updates = RAW_NODES
|
||||
.filter(n => n.community === c.cid)
|
||||
.map(n => ({ id: n.id, hidden: !cb.checked }));
|
||||
nodesDS.update(updates);
|
||||
updateSelectAllState();
|
||||
});
|
||||
item.innerHTML = `<div class="legend-dot" style="background:${c.color}"></div>
|
||||
<span class="legend-label">${c.label}</span>
|
||||
<span class="legend-count">${c.count}</span>`;
|
||||
item.prepend(cb);
|
||||
item.onclick = (e) => {
|
||||
if (e.target === cb) return;
|
||||
cb.checked = !cb.checked;
|
||||
cb.dispatchEvent(new Event('change'));
|
||||
};
|
||||
legendEl.appendChild(item);
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Render hyperedges as shaded regions
|
||||
const hyperedges = [];
|
||||
// afterDrawing passes ctx already transformed to network coordinate space.
|
||||
// Draw node positions raw — no manual pan/zoom/DPR math needed.
|
||||
network.on('afterDrawing', function(ctx) {
|
||||
hyperedges.forEach(h => {
|
||||
const positions = h.nodes
|
||||
.map(nid => network.getPositions([nid])[nid])
|
||||
.filter(p => p !== undefined);
|
||||
if (positions.length < 2) return;
|
||||
ctx.save();
|
||||
ctx.globalAlpha = 0.12;
|
||||
ctx.fillStyle = '#6366f1';
|
||||
ctx.strokeStyle = '#6366f1';
|
||||
ctx.lineWidth = 2;
|
||||
ctx.beginPath();
|
||||
// Centroid and expanded hull in network coordinates
|
||||
const cx = positions.reduce((s, p) => s + p.x, 0) / positions.length;
|
||||
const cy = positions.reduce((s, p) => s + p.y, 0) / positions.length;
|
||||
const expanded = positions.map(p => ({
|
||||
x: cx + (p.x - cx) * 1.15,
|
||||
y: cy + (p.y - cy) * 1.15
|
||||
}));
|
||||
ctx.moveTo(expanded[0].x, expanded[0].y);
|
||||
expanded.slice(1).forEach(p => ctx.lineTo(p.x, p.y));
|
||||
ctx.closePath();
|
||||
ctx.fill();
|
||||
ctx.globalAlpha = 0.4;
|
||||
ctx.stroke();
|
||||
// Label
|
||||
ctx.globalAlpha = 0.8;
|
||||
ctx.fillStyle = '#4f46e5';
|
||||
ctx.font = 'bold 11px sans-serif';
|
||||
ctx.textAlign = 'center';
|
||||
ctx.fillText(h.label, cx, cy - 5);
|
||||
ctx.restore();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,307 @@
|
||||
{
|
||||
"components.d.ts": {
|
||||
"mtime": 1786274936.6667438,
|
||||
"ast_hash": "363aa845b3032fa0524566568437f599",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"package.json": {
|
||||
"mtime": 1786262418.3544664,
|
||||
"ast_hash": "2c56f1011f791f39d558695e70227717",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/App.vue": {
|
||||
"mtime": 1786258409.4925685,
|
||||
"ast_hash": "8af37b4ca96906787c0ad30c2195a7e1",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/api/bxClient.ts": {
|
||||
"mtime": 1786272029.49382,
|
||||
"ast_hash": "472cae285e56ad608e6047dd71caab35",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/api/client.ts": {
|
||||
"mtime": 1786262699.2184267,
|
||||
"ast_hash": "295a21467ca761b6baeff98e6ff93b89",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/api/index.ts": {
|
||||
"mtime": 1786273687.6606681,
|
||||
"ast_hash": "b51e3b26e08c8c82e1f8156ef0eece8f",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/api/portalAdmin.ts": {
|
||||
"mtime": 1786263461.5863287,
|
||||
"ast_hash": "83d8872faf79b8ebd58411c8d565741f",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/api/portalAuth.ts": {
|
||||
"mtime": 1786262637.9121063,
|
||||
"ast_hash": "6c4beee3155abfa0664c3c9de6cdff9f",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/api/portalClient.ts": {
|
||||
"mtime": 1786262635.6420074,
|
||||
"ast_hash": "1ee205b6902f1c93dbc11a29c2a92715",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/components/mobile/ActionCard.vue": {
|
||||
"mtime": 1786258409.4946604,
|
||||
"ast_hash": "3ed6d8c80b3b5d63dacec61450851698",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/components/mobile/BottomActionBar.vue": {
|
||||
"mtime": 1786258409.4949121,
|
||||
"ast_hash": "6448585d4ae0f6f70fb56656caeedbbc",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/components/mobile/MenuEntryCard.vue": {
|
||||
"mtime": 1786258409.495158,
|
||||
"ast_hash": "e8e84961da48ed8e200fcbe3b365a47b",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/components/mobile/MenuNode.vue": {
|
||||
"mtime": 1786258409.495371,
|
||||
"ast_hash": "5fda28f023a24fb38dad3b5de05d7149",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/components/mobile/StatusTag.vue": {
|
||||
"mtime": 1786258409.4955854,
|
||||
"ast_hash": "0bd0203319d3de141b00937ff3a34887",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/constants/bxMenuCatalog.ts": {
|
||||
"mtime": 1786271796.535126,
|
||||
"ast_hash": "487240df97d6b9252eee2a19add2f5a9",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/constants/dialog.ts": {
|
||||
"mtime": 1786258409.4959216,
|
||||
"ast_hash": "b12fc18e47b1836e657eafa772f12a2f",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/env.d.ts": {
|
||||
"mtime": 1786258409.4961708,
|
||||
"ast_hash": "8cbfd5476645cbcda423992b553a2b0c",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/hooks/useApplicantOptions.ts": {
|
||||
"mtime": 1786263462.7349868,
|
||||
"ast_hash": "fb4b49a656d6489e705afea04336abf3",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/hooks/useAttachment.ts": {
|
||||
"mtime": 1786274624.0302958,
|
||||
"ast_hash": "778f8f6d5423c9ee872d8c15ef19faa8",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/hooks/useExpenseItemTree.ts": {
|
||||
"mtime": 1786262978.4592369,
|
||||
"ast_hash": "23a4abb7f84221da6bbfd922615aa7fd",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/hooks/useKeywordSearch.ts": {
|
||||
"mtime": 1786258409.4969993,
|
||||
"ast_hash": "ebe0d3a72088d10e31ac1a027145928b",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/main.ts": {
|
||||
"mtime": 1786258409.4972637,
|
||||
"ast_hash": "17c17b432119d02ab8581a88b0fa833a",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/router/index.ts": {
|
||||
"mtime": 1786263467.5198789,
|
||||
"ast_hash": "00f13c7d9f8072cc8edae38fc80d3858",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/stores/auth.ts": {
|
||||
"mtime": 1786262800.1033008,
|
||||
"ast_hash": "ab5bf93e96e56c28dad87aef4d15f120",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/utils/bxPermission.ts": {
|
||||
"mtime": 1786262595.5543869,
|
||||
"ast_hash": "16c92d2d977c5408d698d66ab5fd02c9",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/utils/format.ts": {
|
||||
"mtime": 1786258409.5007405,
|
||||
"ast_hash": "45f476adfb3b4f832607c2bd03ce3939",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/utils/loginRsa.ts": {
|
||||
"mtime": 1786262636.993965,
|
||||
"ast_hash": "3daf5cb7756e16ec2ccbdacdb656b5af",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/admin/AdminIndexPage.vue": {
|
||||
"mtime": 1786258409.5044801,
|
||||
"ast_hash": "c7f6c14c7e6cdb7884c1403cb73f4617",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/admin/ExpenseProjectPage.vue": {
|
||||
"mtime": 1786270805.4758844,
|
||||
"ast_hash": "12bcce04f4034b5201b568910d77d334",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/admin/MenuManagePage.vue": {
|
||||
"mtime": 1786262764.1515756,
|
||||
"ast_hash": "4f4d65b5799fbb7467615e63b6066971",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/admin/RoleManagePage.vue": {
|
||||
"mtime": 1786262744.3694155,
|
||||
"ast_hash": "5b38f5bcc628ad0f60bf468540912c65",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/admin/UserManagePage.vue": {
|
||||
"mtime": 1786262742.4967825,
|
||||
"ast_hash": "74c041c94d31210d846b1f7e70632916",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/admin/WfAdvancePage.vue": {
|
||||
"mtime": 1786271317.8028283,
|
||||
"ast_hash": "7c184f07ed096de56d9b2d551455c2b7",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/admin/WfReimbursePage.vue": {
|
||||
"mtime": 1786263562.3527284,
|
||||
"ast_hash": "73573acf006975821d4e6b5f889f1e14",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/advance/AdvanceApplyPage.vue": {
|
||||
"mtime": 1786274607.060083,
|
||||
"ast_hash": "0388180ec78263faa7bdc961c2e8befd",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/advance/AdvanceApprovePage.vue": {
|
||||
"mtime": 1786262982.8888106,
|
||||
"ast_hash": "5fd378a3749503e624ba89256530dee8",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/advance/AdvanceDetailPage.vue": {
|
||||
"mtime": 1786263563.9671564,
|
||||
"ast_hash": "05a7d05256cf9cf4756bf5e3df48099e",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/advance/AdvanceIssuePage.vue": {
|
||||
"mtime": 1786274619.3770607,
|
||||
"ast_hash": "a66baddc29b09c346c713d3b33670c7b",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/advance/AdvanceListPage.vue": {
|
||||
"mtime": 1786258409.5115914,
|
||||
"ast_hash": "00165608edf432a73e440cf79c802a6d",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/all/AllPage.vue": {
|
||||
"mtime": 1786258409.512023,
|
||||
"ast_hash": "2e7de29476d83648bf5389e2b348ff7d",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/approval/ApprovalDetailPage.vue": {
|
||||
"mtime": 1786263565.4682083,
|
||||
"ast_hash": "b6f7cd4519e411f46fe6a39afbe724d7",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/approval/ApprovalPage.vue": {
|
||||
"mtime": 1786258409.5127761,
|
||||
"ast_hash": "ed8a207d4eb2b7101b5b7652fccfa6dc",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/home/HomeLayout.vue": {
|
||||
"mtime": 1786258409.5132074,
|
||||
"ast_hash": "59ea72827f9f714afbf5d40c3f197c96",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/home/HomePage.vue": {
|
||||
"mtime": 1786273704.612323,
|
||||
"ast_hash": "603c38d53a6628addf9c042fa11c9ea9",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/invoice/InvoiceWalletAdminPage.vue": {
|
||||
"mtime": 1786274252.667262,
|
||||
"ast_hash": "d077e9b9ab5e50b496427f54524b5112",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/invoice/InvoiceWalletMinePage.vue": {
|
||||
"mtime": 1786272743.8449159,
|
||||
"ast_hash": "25eb05e8f5646f61f18fa785d4313c45",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/login/LoginPage.vue": {
|
||||
"mtime": 1786274902.3611572,
|
||||
"ast_hash": "5bd43ba543e935727a90f7a1761a2261",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/mine/ApplyList.vue": {
|
||||
"mtime": 1786258409.5147424,
|
||||
"ast_hash": "6961e7b2e1bbe2688188a77dd2dd04b3",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/mine/MinePage.vue": {
|
||||
"mtime": 1786258409.5150225,
|
||||
"ast_hash": "0d2f6d0d16f6540b5485550e35e4422b",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/payment/PaymentPage.vue": {
|
||||
"mtime": 1786263041.3961108,
|
||||
"ast_hash": "340a26617c80f4fa438e97396dcea841",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/profile/ProfilePage.vue": {
|
||||
"mtime": 1786262840.2664106,
|
||||
"ast_hash": "c519d7eac3af7e06965bef5373183cd9",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/reimburse/ReimburseApplyPage.vue": {
|
||||
"mtime": 1786275071.0820756,
|
||||
"ast_hash": "34fe6c720b58680349afae99f96da901",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/reimburse/ReimburseApprovePage.vue": {
|
||||
"mtime": 1786262982.8882635,
|
||||
"ast_hash": "536062ca1df00abeed60b3bea4425166",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/reimburse/ReimburseDetailPage.vue": {
|
||||
"mtime": 1786263505.8691385,
|
||||
"ast_hash": "8cb48f80786cd6a42009251316baf269",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/views/reimburse/ReimburseListPage.vue": {
|
||||
"mtime": 1786258409.5181863,
|
||||
"ast_hash": "7e781609eb8fb307b54bd635519a9c07",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"test-results/.last-run.json": {
|
||||
"mtime": 1786258409.5185266,
|
||||
"ast_hash": "ff6d5dab1dfd50cea584142bc288ce9e",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"tsconfig.json": {
|
||||
"mtime": 1786258409.5297976,
|
||||
"ast_hash": "8bc4a29db666e8111efc537393738b52",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"tsconfig.node.json": {
|
||||
"mtime": 1786258409.5300114,
|
||||
"ast_hash": "767b2e9abe6452170cdc399ca052cfbc",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"vite.config.ts": {
|
||||
"mtime": 1786262499.10288,
|
||||
"ast_hash": "5bcecce02050ac065d288cf69ee03ece",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"index.html": {
|
||||
"mtime": 1786258407.1446717,
|
||||
"ast_hash": "7fd568d0a807a4e5b787071d39d669c3",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/assets/logo.gif": {
|
||||
"mtime": 1786258409.494151,
|
||||
"ast_hash": "275126e3913611d6d246019f22089ffe",
|
||||
"semantic_hash": ""
|
||||
}
|
||||
}
|
||||
@@ -11,8 +11,13 @@ export class BizError extends Error {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* FastAPI 以 @router.get("/") + prefix 注册的集合根须带尾斜杠,否则 307 会丢 Authorization。
|
||||
* 发票夹路由是无尾斜杠的 /invoices、/invoice-ledgers、/invoice-wallets,切勿追加 `/`。
|
||||
* 与 web-admin/src/utils/http/bx.ts 保持一致。
|
||||
*/
|
||||
const BX_COLLECTION_ROOT =
|
||||
/^\/(reimburses|advances|payments|workflows|expense-items|invoices|invoice-wallets|invoice-ledgers)$/
|
||||
/^\/(reimburses|advances|payments|workflows|expense-items)$/
|
||||
|
||||
function normalizeBxUrl(url?: string): string | undefined {
|
||||
if (!url || url.endsWith('/')) return url
|
||||
|
||||
@@ -27,6 +27,7 @@ export const advanceApi = {
|
||||
myStats: () => bxClient.get('/advances/my/stats'),
|
||||
pendingApproval: (params?: Record<string, any>) =>
|
||||
bxClient.get('/advances/pending-approval', { params }),
|
||||
pendingApprovalStats: () => bxClient.get('/advances/pending-approval/stats'),
|
||||
approvedByMe: (params?: Record<string, any>) =>
|
||||
bxClient.get('/advances/approved-by-me', { params }),
|
||||
getById: (id: BxId) => bxClient.get(`/advances/${id}`),
|
||||
@@ -59,6 +60,7 @@ export const reimburseApi = {
|
||||
myStats: () => bxClient.get('/reimburses/my/stats'),
|
||||
pendingApproval: (params?: Record<string, any>) =>
|
||||
bxClient.get('/reimburses/pending-approval', { params }),
|
||||
pendingApprovalStats: () => bxClient.get('/reimburses/pending-approval/stats'),
|
||||
approvedByMe: (params?: Record<string, any>) =>
|
||||
bxClient.get('/reimburses/approved-by-me', { params }),
|
||||
getById: (id: BxId) => bxClient.get(`/reimburses/${id}`),
|
||||
@@ -92,6 +94,8 @@ export const invoiceApi = {
|
||||
}
|
||||
|
||||
export const paymentApi = {
|
||||
financeStats: () => bxClient.get('/payments/stats'),
|
||||
advanceIssueStats: () => bxClient.get('/payments/advance-issues/stats'),
|
||||
pending: (params?: Record<string, any>) => bxClient.get('/payments/pending', { params }),
|
||||
pay: (id: BxId, data?: { payRemark?: string; actualAmount?: number }) =>
|
||||
bxClient.post(`/payments/${id}/pay`, data),
|
||||
|
||||
@@ -122,7 +122,7 @@ export const BX_MENU_CATALOG: BxMenuEntry[] = [
|
||||
},
|
||||
{
|
||||
menuCode: 'bx:workflowAdvance:list',
|
||||
title: '工作流(备用金)',
|
||||
title: '工作流\n(备用金)',
|
||||
path: '/admin/wf-advance',
|
||||
phase: 3,
|
||||
group: '配置',
|
||||
@@ -131,7 +131,7 @@ export const BX_MENU_CATALOG: BxMenuEntry[] = [
|
||||
},
|
||||
{
|
||||
menuCode: 'bx:workflowReimburse:list',
|
||||
title: '工作流(报销)',
|
||||
title: '工作流\n(报销)',
|
||||
path: '/admin/wf-reimburse',
|
||||
phase: 3,
|
||||
group: '配置',
|
||||
|
||||
@@ -10,6 +10,10 @@ export interface AttachmentFile {
|
||||
fileSize: number
|
||||
previewUrl: string
|
||||
_existing?: boolean
|
||||
/** 本地上传中占位(尚未拿到服务端 id) */
|
||||
_pending?: boolean
|
||||
/** 本地预览 URL(blob:),上传结束需 revoke */
|
||||
_localUrl?: string
|
||||
}
|
||||
|
||||
export function useAttachment() {
|
||||
@@ -31,37 +35,95 @@ export function useAttachment() {
|
||||
return (bytes / (1024 * 1024)).toFixed(1) + ' MB'
|
||||
}
|
||||
|
||||
function syncUploadingFlag() {
|
||||
uploading.value = files.value.some((f) => f._pending)
|
||||
}
|
||||
|
||||
function revokeLocalUrl(file?: AttachmentFile | null) {
|
||||
if (file?._localUrl) {
|
||||
URL.revokeObjectURL(file._localUrl)
|
||||
file._localUrl = undefined
|
||||
}
|
||||
}
|
||||
|
||||
function removeAt(index: number) {
|
||||
const file = files.value[index]
|
||||
if (!file) return
|
||||
revokeLocalUrl(file)
|
||||
files.value.splice(index, 1)
|
||||
syncUploadingFlag()
|
||||
}
|
||||
|
||||
async function upload(file: File, bizType: string = '', bizId: BxId = '') {
|
||||
uploading.value = true
|
||||
const pendingId = `pending_${Date.now()}_${Math.random().toString(36).slice(2, 9)}`
|
||||
const fileType = file.type || ''
|
||||
const localUrl = isImage(fileType) ? URL.createObjectURL(file) : ''
|
||||
const pending: AttachmentFile = {
|
||||
id: pendingId,
|
||||
fileName: file.name || '附件',
|
||||
fileType,
|
||||
fileSize: file.size || 0,
|
||||
previewUrl: localUrl,
|
||||
_pending: true,
|
||||
_localUrl: localUrl || undefined,
|
||||
}
|
||||
files.value.push(pending)
|
||||
syncUploadingFlag()
|
||||
|
||||
try {
|
||||
const res: any = await attachmentApi.upload(file, bizType, bizId)
|
||||
let previewUrl = localUrl
|
||||
let keepLocal = Boolean(localUrl)
|
||||
if (isImage(fileType || res.data.fileType || '')) {
|
||||
try {
|
||||
const previewRes: any = await attachmentApi.preview(String(res.data.id))
|
||||
if (previewRes?.data?.url) {
|
||||
previewUrl = previewRes.data.url
|
||||
keepLocal = false
|
||||
}
|
||||
} catch {
|
||||
/* 远程预览失败时保留本地缩略图 */
|
||||
}
|
||||
} else {
|
||||
previewUrl = ''
|
||||
keepLocal = false
|
||||
}
|
||||
|
||||
const fileData: AttachmentFile = {
|
||||
id: String(res.data.id),
|
||||
fileName: res.data.fileName,
|
||||
fileType: res.data.fileType || '',
|
||||
fileSize: res.data.fileSize,
|
||||
previewUrl: '',
|
||||
fileType: res.data.fileType || fileType,
|
||||
fileSize: res.data.fileSize ?? file.size,
|
||||
previewUrl,
|
||||
_localUrl: keepLocal ? localUrl : undefined,
|
||||
}
|
||||
if (isImage(fileData.fileType)) {
|
||||
try {
|
||||
const previewRes: any = await attachmentApi.preview(fileData.id)
|
||||
fileData.previewUrl = previewRes.data.url
|
||||
} catch {
|
||||
/* preview not critical */
|
||||
}
|
||||
|
||||
const idx = files.value.findIndex((f) => f.id === pendingId)
|
||||
if (idx >= 0) {
|
||||
// 所有权已转到 fileData 时,避免把 blob 提前 revoke
|
||||
if (keepLocal) files.value[idx]._localUrl = undefined
|
||||
else revokeLocalUrl(files.value[idx])
|
||||
files.value[idx] = fileData
|
||||
} else {
|
||||
if (!keepLocal) revokeLocalUrl(pending)
|
||||
else pending._localUrl = undefined
|
||||
files.value.push(fileData)
|
||||
}
|
||||
files.value.push(fileData)
|
||||
return fileData
|
||||
} catch (e: any) {
|
||||
const idx = files.value.findIndex((f) => f.id === pendingId)
|
||||
if (idx >= 0) removeAt(idx)
|
||||
else revokeLocalUrl(pending)
|
||||
showToast(e.message || '上传失败')
|
||||
return null
|
||||
} finally {
|
||||
uploading.value = false
|
||||
syncUploadingFlag()
|
||||
}
|
||||
}
|
||||
|
||||
async function remove(index: number) {
|
||||
const file = files.value[index]
|
||||
if (!file || file._pending) return
|
||||
try {
|
||||
await showConfirmDialog({
|
||||
title: '删除确认',
|
||||
@@ -71,7 +133,7 @@ export function useAttachment() {
|
||||
cancelButtonText: '取消',
|
||||
})
|
||||
await attachmentApi.delete(file.id)
|
||||
files.value.splice(index, 1)
|
||||
removeAt(index)
|
||||
showToast('已删除')
|
||||
} catch {
|
||||
/* cancelled */
|
||||
@@ -80,6 +142,10 @@ export function useAttachment() {
|
||||
|
||||
/** 图片:预览;其它类型:带 Token 下载到本地 */
|
||||
async function open(file: AttachmentFile) {
|
||||
if (file._pending) {
|
||||
showToast('上传中,请稍候')
|
||||
return
|
||||
}
|
||||
if (isImage(file.fileType)) {
|
||||
let url = file.previewUrl
|
||||
if (!url) {
|
||||
@@ -139,14 +205,16 @@ export function useAttachment() {
|
||||
}
|
||||
})
|
||||
await Promise.all(imgPromises)
|
||||
files.value.forEach((f) => revokeLocalUrl(f))
|
||||
files.value = list
|
||||
uploading.value = false
|
||||
} catch {
|
||||
/* ignore */
|
||||
}
|
||||
}
|
||||
|
||||
async function bindNew(bizType: string, bizId: BxId) {
|
||||
const newFiles = files.value.filter((f) => !f._existing)
|
||||
const newFiles = files.value.filter((f) => !f._existing && !f._pending)
|
||||
if (newFiles.length) {
|
||||
await attachmentApi.bindBiz(
|
||||
newFiles.map((f) => f.id),
|
||||
@@ -160,7 +228,9 @@ export function useAttachment() {
|
||||
}
|
||||
|
||||
function clear() {
|
||||
files.value.forEach((f) => revokeLocalUrl(f))
|
||||
files.value = []
|
||||
uploading.value = false
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
@@ -1108,6 +1108,31 @@ a { color: inherit; text-decoration: none }
|
||||
|
||||
.att-img img { width: 100%; height: 100%; object-fit: cover }
|
||||
|
||||
/* 附件上传中:本地缩略图 + 半透明遮罩,避免「选完突然出现」 */
|
||||
.att-img.is-uploading {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.att-upload-mask {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
background: rgba(15, 23, 42, 0.48);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.att-upload-mask__text {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.02em;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.att-img .del {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
@@ -1676,6 +1701,28 @@ a { color: inherit; text-decoration: none }
|
||||
box-shadow: 0 0 0 2px var(--surface);
|
||||
}
|
||||
|
||||
.menu-item .msg-badge {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
z-index: 1;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 16px;
|
||||
height: 16px;
|
||||
padding: 0 4px;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
line-height: 1;
|
||||
color: #fff;
|
||||
pointer-events: none;
|
||||
background: #dc2626;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 0 2px var(--surface);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------
|
||||
21. TODO CARD
|
||||
---------------------------------------------------------- */
|
||||
@@ -1782,11 +1829,11 @@ a { color: inherit; text-decoration: none }
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
border: 1px solid var(--border);
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
padding: 14px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.login-title { font-size: 16px; font-weight: 900; margin-bottom: 12px }
|
||||
|
||||
@@ -300,7 +300,6 @@ async function loadTree() {
|
||||
try {
|
||||
const res: any = await expenseItemApi.tree()
|
||||
expenseTree.value = res.data ?? []
|
||||
expandedIds.value = expenseTree.value.map((m: any) => String(m.id))
|
||||
} catch (e: any) {
|
||||
showToast(e?.message || '加载数据失败')
|
||||
} finally {
|
||||
|
||||
@@ -113,7 +113,32 @@
|
||||
</van-popup>
|
||||
|
||||
<!-- Approver Picker -->
|
||||
<van-popup v-model:show="showApproverPicker" position="bottom" round>
|
||||
<van-popup
|
||||
v-model:show="showApproverPicker"
|
||||
position="bottom"
|
||||
round
|
||||
@closed="approverKeyword = ''"
|
||||
>
|
||||
<div class="search-wrap">
|
||||
<div class="search-box">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>
|
||||
<input
|
||||
v-model="approverKeyword"
|
||||
placeholder="搜索姓名或账号"
|
||||
enterkeyhint="search"
|
||||
/>
|
||||
<button
|
||||
v-show="approverKeyword.trim()"
|
||||
type="button"
|
||||
class="search-box__clear"
|
||||
aria-label="清除关键词"
|
||||
@click="approverKeyword = ''"
|
||||
>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 6L6 18M6 6l12 12"/></svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<p v-if="userColumns.length === 0" class="approver-picker-empty">无匹配人员</p>
|
||||
<van-picker
|
||||
:columns="userColumns"
|
||||
@confirm="onApproverConfirm"
|
||||
@@ -143,13 +168,23 @@ const showForm = ref(false)
|
||||
const showApproverPicker = ref(false)
|
||||
const isEdit = ref(false)
|
||||
const loadingMap = reactive<Record<string, boolean>>({})
|
||||
const approverKeyword = ref('')
|
||||
|
||||
const userOptions = ref<
|
||||
{ id: string; realName: string; displayName: string }[]
|
||||
{ id: string; realName: string; account: string; displayName: string }[]
|
||||
>([])
|
||||
const userColumns = computed(() =>
|
||||
userOptions.value.map((u) => ({ text: u.displayName, value: u.id })),
|
||||
)
|
||||
const userColumns = computed(() => {
|
||||
const kw = approverKeyword.value.trim().toLowerCase()
|
||||
const list = !kw
|
||||
? userOptions.value
|
||||
: userOptions.value.filter((u) => {
|
||||
const name = u.realName.toLowerCase()
|
||||
const account = u.account.toLowerCase()
|
||||
const display = u.displayName.toLowerCase()
|
||||
return name.includes(kw) || account.includes(kw) || display.includes(kw)
|
||||
})
|
||||
return list.map((u) => ({ text: u.displayName, value: u.id }))
|
||||
})
|
||||
|
||||
const formData = reactive({
|
||||
editingNodeId: null as string | null,
|
||||
@@ -180,6 +215,7 @@ async function loadUsers() {
|
||||
return {
|
||||
id: String(u.value ?? u.id ?? ''),
|
||||
realName: name,
|
||||
account,
|
||||
displayName: account ? `${name}(${account})` : name,
|
||||
}
|
||||
})
|
||||
@@ -233,10 +269,16 @@ function openEditDialog(node: Record<string, any>) {
|
||||
}
|
||||
|
||||
function onApproverConfirm({ selectedOptions }: any) {
|
||||
if (selectedOptions.length > 0) {
|
||||
formData.approverId = String(selectedOptions[0].value)
|
||||
formData.approverName = String(selectedOptions[0].text || '').split('(')[0]
|
||||
if (!selectedOptions?.length || selectedOptions[0]?.value == null || selectedOptions[0]?.value === '') {
|
||||
if (userColumns.value.length === 0) {
|
||||
showToast('无匹配人员')
|
||||
return
|
||||
}
|
||||
showApproverPicker.value = false
|
||||
return
|
||||
}
|
||||
formData.approverId = String(selectedOptions[0].value)
|
||||
formData.approverName = String(selectedOptions[0].text || '').split('(')[0]
|
||||
showApproverPicker.value = false
|
||||
}
|
||||
|
||||
@@ -348,3 +390,13 @@ onMounted(() => {
|
||||
loadUsers()
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.approver-picker-empty {
|
||||
margin: 0;
|
||||
padding: 8px 16px 0;
|
||||
font-size: 13px;
|
||||
color: var(--text-muted);
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
@@ -66,11 +66,19 @@
|
||||
<van-uploader
|
||||
:after-read="onAfterRead"
|
||||
:before-read="beforeReadAttachment"
|
||||
:disabled="attachment.uploading.value"
|
||||
multiple
|
||||
result-type="file"
|
||||
:accept="attachmentAccept"
|
||||
>
|
||||
<button type="button" class="btn btn-primary btn-sm">上传附件</button>
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-primary btn-sm"
|
||||
:class="{ 'btn-loading': attachment.uploading.value }"
|
||||
:disabled="attachment.uploading.value"
|
||||
>
|
||||
{{ attachment.uploading.value ? '上传中…' : '上传附件' }}
|
||||
</button>
|
||||
</van-uploader>
|
||||
</div>
|
||||
<div v-if="attachment.files.value.length" class="att-grid advance-att-grid">
|
||||
@@ -78,6 +86,7 @@
|
||||
v-for="(file, idx) in attachment.files.value"
|
||||
:key="file.id"
|
||||
class="att-img advance-att-tile"
|
||||
:class="{ 'is-uploading': file._pending }"
|
||||
:title="file.fileName"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
@@ -93,7 +102,18 @@
|
||||
<span class="att-doc-thumb__ext">{{ attachment.fileExt(file.fileName) }}</span>
|
||||
<span class="att-doc-thumb__name">{{ file.fileName }}</span>
|
||||
</div>
|
||||
<button type="button" class="del" @click.stop="attachment.remove(idx)">×</button>
|
||||
<div v-if="file._pending" class="att-upload-mask" aria-label="上传中">
|
||||
<van-loading size="22px" color="#fff" />
|
||||
<span class="att-upload-mask__text">上传中</span>
|
||||
</div>
|
||||
<button
|
||||
v-if="!file._pending"
|
||||
type="button"
|
||||
class="del"
|
||||
@click.stop="attachment.remove(idx)"
|
||||
>
|
||||
×
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -228,6 +248,10 @@ async function onAfterRead(uploadFile: any) {
|
||||
|
||||
async function onSubmit() {
|
||||
if (!validateAdvanceApplyForm()) return
|
||||
if (attachment.uploading.value) {
|
||||
showToast('附件上传中,请稍候')
|
||||
return
|
||||
}
|
||||
|
||||
submitting.value = true
|
||||
const isEditingAction = isEdit.value || !!savedId.value
|
||||
|
||||
@@ -159,11 +159,19 @@
|
||||
<van-uploader
|
||||
:after-read="onIssueVoucherAfterRead"
|
||||
:before-read="beforeReadIssueVoucher"
|
||||
:disabled="issueVoucherAtt.uploading.value"
|
||||
multiple
|
||||
result-type="file"
|
||||
:accept="issueAttachmentAccept"
|
||||
>
|
||||
<button type="button" class="btn btn-primary btn-sm">上传附件</button>
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-primary btn-sm"
|
||||
:class="{ 'btn-loading': issueVoucherAtt.uploading.value }"
|
||||
:disabled="issueVoucherAtt.uploading.value"
|
||||
>
|
||||
{{ issueVoucherAtt.uploading.value ? '上传中…' : '上传附件' }}
|
||||
</button>
|
||||
</van-uploader>
|
||||
</div>
|
||||
<div v-if="issueVoucherAtt.files.value.length" class="att-grid advance-att-grid">
|
||||
@@ -171,6 +179,7 @@
|
||||
v-for="(file, idx) in issueVoucherAtt.files.value"
|
||||
:key="file.id"
|
||||
class="att-img advance-att-tile"
|
||||
:class="{ 'is-uploading': file._pending }"
|
||||
:title="file.fileName"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
@@ -186,7 +195,18 @@
|
||||
<span class="att-doc-thumb__ext">{{ issueVoucherAtt.fileExt(file.fileName) }}</span>
|
||||
<span class="att-doc-thumb__name">{{ file.fileName }}</span>
|
||||
</div>
|
||||
<button type="button" class="del" @click.stop="issueVoucherAtt.remove(idx)">×</button>
|
||||
<div v-if="file._pending" class="att-upload-mask" aria-label="上传中">
|
||||
<van-loading size="22px" color="#fff" />
|
||||
<span class="att-upload-mask__text">上传中</span>
|
||||
</div>
|
||||
<button
|
||||
v-if="!file._pending"
|
||||
type="button"
|
||||
class="del"
|
||||
@click.stop="issueVoucherAtt.remove(idx)"
|
||||
>
|
||||
×
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -64,7 +64,13 @@
|
||||
>
|
||||
<van-icon :name="item.icon" size="22" />
|
||||
</div>
|
||||
<span v-if="hasDot(item.menuCode)" class="msg-dot"></span>
|
||||
<span
|
||||
v-if="badgeCount(item.menuCode) > 0"
|
||||
class="msg-badge"
|
||||
:aria-label="`${badgeCount(item.menuCode)} 条待处理`"
|
||||
>
|
||||
{{ formatBadge(badgeCount(item.menuCode)) }}
|
||||
</span>
|
||||
<div class="txt">{{ item.title }}</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -81,13 +87,13 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed, onMounted, ref } from 'vue'
|
||||
import { computed, onActivated, onMounted, ref } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { showConfirmDialog } from 'vant'
|
||||
import { PRIMARY_CONFIRM_BUTTON_COLOR } from '@/constants/dialog'
|
||||
import { useAuthStore } from '@/stores/auth'
|
||||
import type { BxMenuEntry } from '@/constants/bxMenuCatalog'
|
||||
import { advanceApi, reimburseApi } from '@/api'
|
||||
import { advanceApi, paymentApi, reimburseApi } from '@/api'
|
||||
|
||||
const router = useRouter()
|
||||
const auth = useAuthStore()
|
||||
@@ -100,8 +106,17 @@ const stats = ref({
|
||||
totalCount: 0,
|
||||
})
|
||||
|
||||
/** 菜单角标:menuCode → 待审批/待处理数量 */
|
||||
const pendingApprovalCounts = ref<Record<string, number>>({})
|
||||
|
||||
const BADGE_MENU_CODES = [
|
||||
'bx:advanceApprove:list',
|
||||
'bx:advanceIssue:list',
|
||||
'bx:reimburseApprove:list',
|
||||
'bx:payment:list',
|
||||
'bx:viewTodo:list',
|
||||
] as const
|
||||
|
||||
interface TodoItem {
|
||||
id: string
|
||||
title: string
|
||||
@@ -123,12 +138,20 @@ onMounted(async () => {
|
||||
await fetchHomeData()
|
||||
})
|
||||
|
||||
onActivated(() => {
|
||||
void fetchHomeData()
|
||||
})
|
||||
|
||||
function pagedRows(res: any): any[] {
|
||||
const d = res?.data
|
||||
if (!d) return []
|
||||
return d.rows ?? d.items ?? d.list ?? (Array.isArray(d) ? d : [])
|
||||
}
|
||||
|
||||
function unwrapData(res: any): Record<string, any> {
|
||||
return (res?.data ?? res ?? {}) as Record<string, any>
|
||||
}
|
||||
|
||||
async function fetchHomeData() {
|
||||
try {
|
||||
const [advStatsRes, reimStatsRes] = await Promise.all([
|
||||
@@ -152,20 +175,44 @@ async function fetchHomeData() {
|
||||
totalCount,
|
||||
}
|
||||
|
||||
const [pendingAdvanceRes, pendingReimburseRes] = await Promise.all([
|
||||
const [
|
||||
pendingAdvanceRes,
|
||||
pendingReimburseRes,
|
||||
advancePendingStatsRes,
|
||||
reimbursePendingStatsRes,
|
||||
advanceIssueStatsRes,
|
||||
paymentStatsRes,
|
||||
] = await Promise.all([
|
||||
advanceApi.pendingApproval({ page: 1, pageSize: 5 }).catch(() => null),
|
||||
reimburseApi.pendingApproval({ page: 1, pageSize: 5 }).catch(() => null),
|
||||
advanceApi.pendingApprovalStats().catch(() => null),
|
||||
reimburseApi.pendingApprovalStats().catch(() => null),
|
||||
paymentApi.advanceIssueStats().catch(() => null),
|
||||
paymentApi.financeStats().catch(() => null),
|
||||
])
|
||||
|
||||
const pendingAdvanceItems: any[] = pagedRows(pendingAdvanceRes)
|
||||
const pendingReimburseItems: any[] = pagedRows(pendingReimburseRes)
|
||||
const pendingAdvanceTotal = (pendingAdvanceRes as any)?.data?.total || 0
|
||||
const pendingReimburseTotal = (pendingReimburseRes as any)?.data?.total || 0
|
||||
|
||||
const advancePendingTotal = Number(
|
||||
unwrapData(advancePendingStatsRes).pendingTotal ??
|
||||
(pendingAdvanceRes as any)?.data?.total ??
|
||||
0,
|
||||
)
|
||||
const reimbursePendingTotal = Number(
|
||||
unwrapData(reimbursePendingStatsRes).pendingTotal ??
|
||||
(pendingReimburseRes as any)?.data?.total ??
|
||||
0,
|
||||
)
|
||||
const advanceIssuePending = Number(unwrapData(advanceIssueStatsRes).pendingCount ?? 0)
|
||||
const paymentPending = Number(unwrapData(paymentStatsRes).pendingCount ?? 0)
|
||||
|
||||
pendingApprovalCounts.value = {
|
||||
'bx:advanceApprove:list': pendingAdvanceTotal,
|
||||
'bx:reimburseApprove:list': pendingReimburseTotal,
|
||||
'bx:viewTodo:list': pendingAdvanceTotal + pendingReimburseTotal,
|
||||
'bx:advanceApprove:list': advancePendingTotal,
|
||||
'bx:advanceIssue:list': advanceIssuePending,
|
||||
'bx:reimburseApprove:list': reimbursePendingTotal,
|
||||
'bx:payment:list': paymentPending,
|
||||
'bx:viewTodo:list': advancePendingTotal + reimbursePendingTotal,
|
||||
}
|
||||
|
||||
const items: TodoItem[] = []
|
||||
@@ -245,8 +292,13 @@ function navigateTo(path: string) {
|
||||
if (path) router.push(path)
|
||||
}
|
||||
|
||||
function hasDot(menuCode: string): boolean {
|
||||
return (pendingApprovalCounts.value[menuCode] || 0) > 0
|
||||
function badgeCount(menuCode: string): number {
|
||||
if (!(BADGE_MENU_CODES as readonly string[]).includes(menuCode)) return 0
|
||||
return Number(pendingApprovalCounts.value[menuCode] || 0)
|
||||
}
|
||||
|
||||
function formatBadge(n: number): string {
|
||||
return n > 99 ? '99+' : String(n)
|
||||
}
|
||||
|
||||
async function handleLogout() {
|
||||
|
||||
@@ -14,32 +14,74 @@
|
||||
|
||||
<!-- 员工额度列表 -->
|
||||
<template v-if="!detailUser">
|
||||
<van-search v-model="keyword" placeholder="搜索员工姓名" @search="loadWallets" />
|
||||
<van-pull-refresh v-model="refreshing" @refresh="loadWallets">
|
||||
<div v-if="!wallets.length" class="empty-state empty-state--embed">
|
||||
<p>暂无数据</p>
|
||||
<div class="search-wrap">
|
||||
<div class="search-box">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<circle cx="11" cy="11" r="8" />
|
||||
<path d="m21 21-4.3-4.3" />
|
||||
</svg>
|
||||
<input
|
||||
v-model="keyword"
|
||||
placeholder="搜索员工姓名"
|
||||
enterkeyhint="search"
|
||||
@keyup.enter="flushSearch"
|
||||
/>
|
||||
<button
|
||||
v-show="keyword.trim()"
|
||||
type="button"
|
||||
class="search-box__clear"
|
||||
aria-label="清除关键词"
|
||||
@click="clearKeyword"
|
||||
>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<path d="M18 6L6 18M6 6l12 12" />
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
v-for="row in wallets"
|
||||
:key="row.ownerUserId"
|
||||
class="list-card"
|
||||
role="button"
|
||||
@click="openDetail(row)"
|
||||
>
|
||||
<div class="list-card-title">{{ row.ownerUserName || row.ownerUserId }}</div>
|
||||
<div class="list-card-kv">
|
||||
<span class="list-card-kv__k">总额 / 已用 / 余额</span>
|
||||
<span class="list-card-kv__v">
|
||||
¥{{ money(row.totalAmount) }} / ¥{{ money(row.usedAmount) }} /
|
||||
<b>¥{{ money(row.balance) }}</b>
|
||||
</span>
|
||||
</div>
|
||||
<div class="list-card-kv">
|
||||
<span class="list-card-kv__k">发票</span>
|
||||
<span class="list-card-kv__v">{{ row.invoiceCount ?? 0 }} 张</span>
|
||||
</div>
|
||||
</div>
|
||||
</van-pull-refresh>
|
||||
</div>
|
||||
|
||||
<div class="page-padded wallet-list">
|
||||
<van-pull-refresh v-model="walletRefreshing" @refresh="onWalletRefresh">
|
||||
<van-list
|
||||
v-model:loading="walletLoading"
|
||||
:finished="walletFinished"
|
||||
:finished-text="wallets.length ? '没有更多了' : ''"
|
||||
@load="onWalletLoad"
|
||||
>
|
||||
<div v-if="!wallets.length && !walletLoading" class="empty-state empty-state--embed">
|
||||
<p>暂无数据</p>
|
||||
</div>
|
||||
<div
|
||||
v-for="(row, idx) in wallets"
|
||||
:key="row.ownerUserId"
|
||||
class="expense-card invoice-wallet-card"
|
||||
role="button"
|
||||
@click="openDetail(row)"
|
||||
>
|
||||
<span class="invoice-wallet-card__index" aria-label="序号">{{ idx + 1 }}</span>
|
||||
<div class="ec-top">
|
||||
<span class="ec-type">{{ row.ownerUserName || row.ownerUserId }}</span>
|
||||
</div>
|
||||
<div class="ec-amount-label">余额</div>
|
||||
<div class="ec-amount">{{ money(row.balance) }}</div>
|
||||
<div class="invoice-wallet-card__subs">
|
||||
<div class="invoice-wallet-card__sub">
|
||||
<span class="k">总额</span>
|
||||
<span class="v">¥{{ money(row.totalAmount) }}</span>
|
||||
</div>
|
||||
<div class="invoice-wallet-card__sub">
|
||||
<span class="k">已用</span>
|
||||
<span class="v">¥{{ money(row.usedAmount) }}</span>
|
||||
</div>
|
||||
<div class="invoice-wallet-card__sub">
|
||||
<span class="k">发票</span>
|
||||
<span class="v">{{ row.invoiceCount ?? 0 }} 张</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</van-list>
|
||||
</van-pull-refresh>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<!-- 某人详情 -->
|
||||
@@ -57,24 +99,88 @@
|
||||
<span>余额</span>
|
||||
<b>¥{{ money(detailSummary.balance) }}</b>
|
||||
</div>
|
||||
<div class="wallet-summary__meta">发票 {{ detailSummary.invoiceCount ?? 0 }} 张</div>
|
||||
</div>
|
||||
<div class="wallet-actions">
|
||||
<button type="button" class="btn btn-primary btn-block" @click="showUpload = true">
|
||||
代传发票
|
||||
</button>
|
||||
</div>
|
||||
<div v-for="inv in detailInvoices" :key="inv.id" class="list-card">
|
||||
<div class="list-card-kv">
|
||||
<span class="list-card-kv__k">金额</span>
|
||||
<span class="list-card-kv__v">¥{{ money(inv.amount) }}</span>
|
||||
</div>
|
||||
<div class="list-card-kv">
|
||||
<span class="list-card-kv__k">备注</span>
|
||||
<span class="list-card-kv__v">{{ inv.remark || '-' }}</span>
|
||||
</div>
|
||||
<button type="button" class="btn btn-ghost btn-sm danger" @click="onDelete(inv)">
|
||||
删除发票
|
||||
</button>
|
||||
<div class="page-padded wallet-list">
|
||||
<van-pull-refresh v-model="invRefreshing" @refresh="onInvoiceRefresh">
|
||||
<van-list
|
||||
v-model:loading="invLoading"
|
||||
:finished="invFinished"
|
||||
:finished-text="detailInvoices.length ? '没有更多了' : ''"
|
||||
@load="onInvoiceLoad"
|
||||
>
|
||||
<div
|
||||
v-if="!detailInvoices.length && !invLoading"
|
||||
class="empty-state empty-state--embed"
|
||||
>
|
||||
<p>暂无发票</p>
|
||||
</div>
|
||||
<div
|
||||
v-for="(inv, idx) in detailInvoices"
|
||||
:key="inv.id"
|
||||
class="expense-card invoice-wallet-card invoice-wallet-card--static"
|
||||
>
|
||||
<span class="invoice-wallet-card__index" aria-label="序号">{{ idx + 1 }}</span>
|
||||
<div class="ec-amount-label">金额</div>
|
||||
<div class="ec-amount">{{ money(inv.amount) }}</div>
|
||||
<div class="invoice-wallet-card__subs">
|
||||
<div class="invoice-wallet-card__sub">
|
||||
<span class="k">备注</span>
|
||||
<span class="v">{{ inv.remark || '-' }}</span>
|
||||
</div>
|
||||
<div class="invoice-wallet-card__sub">
|
||||
<span class="k">创建时间</span>
|
||||
<span class="v">{{ inv.createTime || '-' }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="invoice-wallet-card__att-label">附件</div>
|
||||
<template v-if="invoiceFiles(inv).length">
|
||||
<div class="att-grid advance-att-grid">
|
||||
<div
|
||||
v-for="file in invoiceFiles(inv)"
|
||||
:key="file.id"
|
||||
class="att-img advance-att-tile"
|
||||
:title="file.fileName"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
@click.stop="openAttachment(file)"
|
||||
@keydown.enter.prevent="openAttachment(file)"
|
||||
>
|
||||
<img
|
||||
v-if="isImage(file.fileType) && file.previewUrl"
|
||||
:src="file.previewUrl"
|
||||
:alt="file.fileName"
|
||||
loading="lazy"
|
||||
/>
|
||||
<div
|
||||
v-else-if="isImage(file.fileType) && file.previewLoading"
|
||||
class="att-preview-loading"
|
||||
>
|
||||
<van-loading size="20px" />
|
||||
</div>
|
||||
<div v-else class="att-file-icon att-doc-thumb">
|
||||
<span class="att-doc-thumb__ext">{{ fileExt(file.fileName) }}</span>
|
||||
<span class="att-doc-thumb__name">{{ file.fileName }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<p v-else class="invoice-wallet-card__att-empty">暂无附件</p>
|
||||
<div class="ec-bottom invoice-admin-card__bottom">
|
||||
<div class="op-actions">
|
||||
<button type="button" class="btn btn-sm btn-danger" @click="onDelete(inv)">
|
||||
删除发票
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</van-list>
|
||||
</van-pull-refresh>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -99,15 +205,30 @@
|
||||
<script setup lang="ts">
|
||||
import { reactive, ref } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { showConfirmDialog, showToast } from 'vant'
|
||||
import { showConfirmDialog, showImagePreview, showToast } from 'vant'
|
||||
import { DELETE_CONFIRM_BUTTON_COLOR, PRIMARY_CONFIRM_BUTTON_COLOR } from '@/constants/dialog'
|
||||
import { invoiceApi, invoiceWalletApi } from '@/api'
|
||||
import { attachmentApi, invoiceApi, invoiceWalletApi } from '@/api'
|
||||
import { BizError } from '@/api/client'
|
||||
import { useKeywordSearch } from '@/hooks/useKeywordSearch'
|
||||
|
||||
interface InvoiceAtt {
|
||||
id: string
|
||||
fileName: string
|
||||
fileType: string
|
||||
previewUrl: string
|
||||
previewLoading?: boolean
|
||||
}
|
||||
|
||||
const PAGE_SIZE = 5
|
||||
|
||||
const router = useRouter()
|
||||
const keyword = ref('')
|
||||
const refreshing = ref(false)
|
||||
|
||||
const wallets = ref<any[]>([])
|
||||
const walletLoading = ref(false)
|
||||
const walletRefreshing = ref(false)
|
||||
const walletFinished = ref(false)
|
||||
const walletPage = ref(1)
|
||||
|
||||
const detailUser = ref<any>(null)
|
||||
const detailSummary = reactive({
|
||||
totalAmount: 0,
|
||||
@@ -116,6 +237,10 @@ const detailSummary = reactive({
|
||||
invoiceCount: 0,
|
||||
})
|
||||
const detailInvoices = ref<any[]>([])
|
||||
const invLoading = ref(false)
|
||||
const invRefreshing = ref(false)
|
||||
const invFinished = ref(false)
|
||||
const invPage = ref(1)
|
||||
|
||||
const showUpload = ref(false)
|
||||
const uploadAmount = ref('')
|
||||
@@ -130,46 +255,242 @@ function money(v: unknown) {
|
||||
})
|
||||
}
|
||||
|
||||
function paged(res: any): any[] {
|
||||
function pagedRows(res: any): { rows: any[]; total: number } {
|
||||
const d = res?.data
|
||||
if (!d) return []
|
||||
return d.rows ?? d.items ?? d.list ?? (Array.isArray(d) ? d : [])
|
||||
if (!d) return { rows: [], total: 0 }
|
||||
if (Array.isArray(d)) return { rows: d, total: d.length }
|
||||
const rows = d.rows ?? d.items ?? d.list ?? []
|
||||
const total = typeof d.total === 'number' ? d.total : rows.length
|
||||
return { rows, total }
|
||||
}
|
||||
|
||||
async function loadWallets() {
|
||||
refreshing.value = true
|
||||
function isImage(fileType: string): boolean {
|
||||
return !!fileType?.startsWith('image/')
|
||||
}
|
||||
|
||||
function fileExt(name: string): string {
|
||||
const ext = name?.split('.').pop()
|
||||
return ext ? ext.toUpperCase() : 'FILE'
|
||||
}
|
||||
|
||||
function invoiceFiles(inv: any): InvoiceAtt[] {
|
||||
return (inv?._files as InvoiceAtt[]) || []
|
||||
}
|
||||
|
||||
function normalizeInvoiceFiles(inv: any): InvoiceAtt[] {
|
||||
const raw = Array.isArray(inv?.attachments) ? inv.attachments : []
|
||||
if (raw.length) {
|
||||
return raw.map((a: any) => ({
|
||||
id: String(a.id),
|
||||
fileName: a.fileName || a.file_name || '附件',
|
||||
fileType: a.fileType || a.file_type || '',
|
||||
previewUrl: '',
|
||||
previewLoading: false,
|
||||
}))
|
||||
}
|
||||
if (inv?.attachmentId || inv?.attachment_id) {
|
||||
return [
|
||||
{
|
||||
id: String(inv.attachmentId || inv.attachment_id),
|
||||
fileName: inv.fileName || inv.file_name || '附件',
|
||||
fileType: inv.fileType || inv.file_type || '',
|
||||
previewUrl: '',
|
||||
previewLoading: false,
|
||||
},
|
||||
]
|
||||
}
|
||||
return []
|
||||
}
|
||||
|
||||
/** 列表渲染后再异步拉预览,保证写到响应式对象上 */
|
||||
function kickInvoicePreviewLoads(rows: any[]) {
|
||||
for (const inv of rows) {
|
||||
const files = invoiceFiles(inv)
|
||||
for (const f of files) {
|
||||
if (!isImage(f.fileType) || f.previewUrl) continue
|
||||
f.previewLoading = true
|
||||
attachmentApi
|
||||
.preview(f.id)
|
||||
.then((pRes: any) => {
|
||||
f.previewUrl = pRes?.data?.url || ''
|
||||
})
|
||||
.catch(() => {
|
||||
/* preview optional */
|
||||
})
|
||||
.finally(() => {
|
||||
f.previewLoading = false
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
async function openAttachment(file: InvoiceAtt) {
|
||||
if (isImage(file.fileType)) {
|
||||
let url = file.previewUrl
|
||||
if (!url) {
|
||||
try {
|
||||
const res: any = await attachmentApi.preview(file.id)
|
||||
url = res?.data?.url ?? ''
|
||||
if (url) file.previewUrl = url
|
||||
} catch {
|
||||
showToast('暂无法预览')
|
||||
return
|
||||
}
|
||||
}
|
||||
if (url) showImagePreview({ images: [url] })
|
||||
else showToast('暂无法预览')
|
||||
return
|
||||
}
|
||||
try {
|
||||
const blob = (await attachmentApi.download(file.id)) as unknown as Blob
|
||||
if (!(blob instanceof Blob)) {
|
||||
showToast('下载失败')
|
||||
return
|
||||
}
|
||||
const url = URL.createObjectURL(blob)
|
||||
const a = document.createElement('a')
|
||||
a.href = url
|
||||
a.download = file.fileName || '附件'
|
||||
a.rel = 'noopener'
|
||||
document.body.appendChild(a)
|
||||
a.click()
|
||||
document.body.removeChild(a)
|
||||
URL.revokeObjectURL(url)
|
||||
} catch {
|
||||
showToast('下载失败')
|
||||
}
|
||||
}
|
||||
|
||||
async function fetchWallets(isRefresh: boolean) {
|
||||
try {
|
||||
const res: any = await invoiceWalletApi.list({
|
||||
page: 1,
|
||||
pageSize: 100,
|
||||
page: walletPage.value,
|
||||
pageSize: PAGE_SIZE,
|
||||
keyword: keyword.value || undefined,
|
||||
})
|
||||
wallets.value = paged(res)
|
||||
const { rows, total } = pagedRows(res)
|
||||
if (isRefresh) wallets.value = rows
|
||||
else wallets.value.push(...rows)
|
||||
if (wallets.value.length >= total || rows.length < PAGE_SIZE) {
|
||||
walletFinished.value = true
|
||||
} else {
|
||||
walletFinished.value = false
|
||||
}
|
||||
} catch (e: any) {
|
||||
if (!(e instanceof BizError)) showToast(e?.message || '加载失败')
|
||||
} finally {
|
||||
refreshing.value = false
|
||||
walletFinished.value = true
|
||||
}
|
||||
}
|
||||
|
||||
async function onWalletLoad() {
|
||||
walletLoading.value = true
|
||||
await fetchWallets(false)
|
||||
walletLoading.value = false
|
||||
walletPage.value++
|
||||
}
|
||||
|
||||
async function onWalletRefresh() {
|
||||
walletPage.value = 1
|
||||
walletFinished.value = false
|
||||
await fetchWallets(true)
|
||||
walletRefreshing.value = false
|
||||
walletPage.value = 2
|
||||
}
|
||||
|
||||
function resetWalletList() {
|
||||
wallets.value = []
|
||||
walletPage.value = 1
|
||||
walletFinished.value = false
|
||||
walletLoading.value = true
|
||||
void (async () => {
|
||||
await fetchWallets(true)
|
||||
walletLoading.value = false
|
||||
walletPage.value = 2
|
||||
})()
|
||||
}
|
||||
|
||||
const { keyword, clearKeyword, flushSearch } = useKeywordSearch(() => {
|
||||
resetWalletList()
|
||||
})
|
||||
|
||||
async function loadDetailSummary(userId: string | number) {
|
||||
try {
|
||||
const sumRes: any = await invoiceWalletApi.mineSummary({ userId })
|
||||
Object.assign(detailSummary, sumRes?.data || {})
|
||||
} catch {
|
||||
/* summary 失败不阻断列表 */
|
||||
}
|
||||
}
|
||||
|
||||
async function fetchInvoices(isRefresh: boolean) {
|
||||
if (!detailUser.value) return
|
||||
try {
|
||||
const res: any = await invoiceApi.list({
|
||||
page: invPage.value,
|
||||
pageSize: PAGE_SIZE,
|
||||
userId: detailUser.value.ownerUserId,
|
||||
})
|
||||
const { rows, total } = pagedRows(res)
|
||||
for (const inv of rows) {
|
||||
inv._files = normalizeInvoiceFiles(inv)
|
||||
}
|
||||
const start = isRefresh ? 0 : detailInvoices.value.length
|
||||
if (isRefresh) detailInvoices.value = rows
|
||||
else detailInvoices.value.push(...rows)
|
||||
kickInvoicePreviewLoads(detailInvoices.value.slice(start, start + rows.length))
|
||||
if (detailInvoices.value.length >= total || rows.length < PAGE_SIZE) {
|
||||
invFinished.value = true
|
||||
} else {
|
||||
invFinished.value = false
|
||||
}
|
||||
} catch (e: any) {
|
||||
if (!(e instanceof BizError)) showToast(e?.message || '加载失败')
|
||||
invFinished.value = true
|
||||
}
|
||||
}
|
||||
|
||||
async function onInvoiceLoad() {
|
||||
invLoading.value = true
|
||||
await fetchInvoices(false)
|
||||
invLoading.value = false
|
||||
invPage.value++
|
||||
}
|
||||
|
||||
async function onInvoiceRefresh() {
|
||||
if (!detailUser.value) {
|
||||
invRefreshing.value = false
|
||||
return
|
||||
}
|
||||
invPage.value = 1
|
||||
invFinished.value = false
|
||||
await Promise.all([
|
||||
loadDetailSummary(detailUser.value.ownerUserId),
|
||||
fetchInvoices(true),
|
||||
])
|
||||
invRefreshing.value = false
|
||||
invPage.value = 2
|
||||
}
|
||||
|
||||
async function openDetail(row: any) {
|
||||
detailInvoices.value = []
|
||||
invPage.value = 1
|
||||
invFinished.value = false
|
||||
invLoading.value = false
|
||||
Object.assign(detailSummary, {
|
||||
totalAmount: row.totalAmount ?? 0,
|
||||
usedAmount: row.usedAmount ?? 0,
|
||||
balance: row.balance ?? 0,
|
||||
invoiceCount: row.invoiceCount ?? 0,
|
||||
})
|
||||
detailUser.value = row
|
||||
try {
|
||||
const [sumRes, invRes]: any[] = await Promise.all([
|
||||
invoiceWalletApi.mineSummary({ userId: row.ownerUserId }),
|
||||
invoiceApi.list({ page: 1, pageSize: 100, userId: row.ownerUserId }),
|
||||
])
|
||||
Object.assign(detailSummary, sumRes?.data || row)
|
||||
detailInvoices.value = paged(invRes)
|
||||
} catch (e: any) {
|
||||
if (!(e instanceof BizError)) showToast(e?.message || '加载失败')
|
||||
}
|
||||
await loadDetailSummary(row.ownerUserId)
|
||||
}
|
||||
|
||||
function onBack() {
|
||||
if (detailUser.value) {
|
||||
detailUser.value = null
|
||||
loadWallets()
|
||||
detailInvoices.value = []
|
||||
resetWalletList()
|
||||
return
|
||||
}
|
||||
router.back()
|
||||
@@ -184,7 +505,7 @@ async function onDelete(inv: any) {
|
||||
})
|
||||
await invoiceApi.delete(inv.id)
|
||||
showToast('已删除')
|
||||
await openDetail(detailUser.value)
|
||||
await onInvoiceRefresh()
|
||||
} catch (e: any) {
|
||||
if (e !== 'cancel' && !(e instanceof BizError)) showToast(e?.message || '删除失败')
|
||||
}
|
||||
@@ -216,7 +537,7 @@ async function onUploadBeforeClose(action: string) {
|
||||
uploadAmount.value = ''
|
||||
uploadRemark.value = ''
|
||||
uploadFiles.value = []
|
||||
await openDetail(detailUser.value)
|
||||
await onInvoiceRefresh()
|
||||
return true
|
||||
} catch (e: any) {
|
||||
if (!(e instanceof BizError)) showToast(e?.message || '上传失败')
|
||||
@@ -225,13 +546,11 @@ async function onUploadBeforeClose(action: string) {
|
||||
uploading.value = false
|
||||
}
|
||||
}
|
||||
|
||||
loadWallets()
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.wallet-summary {
|
||||
margin: 12px 16px;
|
||||
margin: 12px 16px 8px;
|
||||
padding: 14px 16px;
|
||||
}
|
||||
.wallet-summary__row {
|
||||
@@ -239,28 +558,147 @@ loadWallets()
|
||||
justify-content: space-between;
|
||||
padding: 4px 0;
|
||||
font-size: 14px;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.wallet-summary__row--em b {
|
||||
color: var(--primary, #10b981);
|
||||
font-size: 18px;
|
||||
}
|
||||
.wallet-actions {
|
||||
padding: 0 16px 12px;
|
||||
}
|
||||
.list-card {
|
||||
margin: 0 16px 10px;
|
||||
padding: 12px 14px;
|
||||
background: #fff;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.list-card-title {
|
||||
font-weight: 600;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.danger {
|
||||
color: #dc2626;
|
||||
.wallet-summary__meta {
|
||||
margin-top: 8px;
|
||||
font-size: 12px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.wallet-actions {
|
||||
padding: 0 16px 8px;
|
||||
}
|
||||
|
||||
.wallet-list {
|
||||
padding-top: 5px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
|
||||
.invoice-wallet-card {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding-top: 20px;
|
||||
}
|
||||
.invoice-wallet-card--static {
|
||||
cursor: default;
|
||||
}
|
||||
.invoice-wallet-card--static:active {
|
||||
transform: none;
|
||||
}
|
||||
.invoice-wallet-card__index {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
min-width: 28px;
|
||||
height: 22px;
|
||||
padding: 0 8px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 0 0 10px 0;
|
||||
background: var(--primary-dark, #00a874);
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.ec-amount-label {
|
||||
font-size: 11px;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.invoice-wallet-card__subs {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
margin: 4px 0 10px;
|
||||
}
|
||||
.invoice-wallet-card__sub {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.invoice-wallet-card__sub .k {
|
||||
flex-shrink: 0;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.invoice-wallet-card__sub .v {
|
||||
min-width: 0;
|
||||
text-align: right;
|
||||
color: var(--text);
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.invoice-wallet-card__att-label {
|
||||
margin-bottom: 6px;
|
||||
font-size: 12px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.invoice-wallet-card__att-empty {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.advance-att-grid {
|
||||
margin-top: 0;
|
||||
}
|
||||
.advance-att-tile {
|
||||
cursor: pointer;
|
||||
}
|
||||
.advance-att-tile:active {
|
||||
opacity: 0.92;
|
||||
}
|
||||
.att-preview-loading {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--bg);
|
||||
}
|
||||
.att-img .att-file-icon.att-doc-thumb {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
flex-shrink: 1;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
padding: 6px 4px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.att-doc-thumb__ext {
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
color: var(--primary-dark);
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
.att-doc-thumb__name {
|
||||
font-size: 10px;
|
||||
color: var(--text-muted);
|
||||
text-align: center;
|
||||
line-height: 1.25;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.invoice-admin-card__bottom {
|
||||
justify-content: flex-end;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.upload-picker {
|
||||
padding: 8px 16px 16px;
|
||||
}
|
||||
|
||||
@@ -34,50 +34,112 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<van-tabs v-model:active="activeTab" sticky offset-top="46">
|
||||
<van-tabs v-model:active="activeTab" sticky offset-top="46" class="wallet-tabs">
|
||||
<van-tab title="发票列表">
|
||||
<van-pull-refresh v-model="refreshing" @refresh="reload">
|
||||
<div v-if="!invoices.length" class="empty-state empty-state--embed">
|
||||
<p>暂无发票</p>
|
||||
</div>
|
||||
<div v-for="inv in invoices" :key="inv.id" class="list-card">
|
||||
<div class="list-card-kv">
|
||||
<span class="list-card-kv__k">金额</span>
|
||||
<span class="list-card-kv__v">¥{{ money(inv.amount) }}</span>
|
||||
</div>
|
||||
<div class="list-card-kv">
|
||||
<span class="list-card-kv__k">备注</span>
|
||||
<span class="list-card-kv__v">{{ inv.remark || '-' }}</span>
|
||||
</div>
|
||||
<div class="list-card-kv">
|
||||
<span class="list-card-kv__k">时间</span>
|
||||
<span class="list-card-kv__v">{{ inv.createTime || '-' }}</span>
|
||||
</div>
|
||||
<van-pull-refresh v-model="invRefreshing" @refresh="onInvoiceRefresh">
|
||||
<div class="wallet-list page-padded">
|
||||
<van-list
|
||||
v-model:loading="invLoading"
|
||||
:finished="invFinished"
|
||||
:finished-text="invoices.length ? '没有更多了' : ''"
|
||||
@load="onInvoiceLoad"
|
||||
>
|
||||
<div v-if="!invoices.length && !invLoading" class="empty-state empty-state--embed">
|
||||
<p>暂无发票</p>
|
||||
</div>
|
||||
<div
|
||||
v-for="(inv, idx) in invoices"
|
||||
:key="inv.id"
|
||||
class="expense-card invoice-wallet-card"
|
||||
>
|
||||
<span class="invoice-wallet-card__index" aria-label="序号">{{ idx + 1 }}</span>
|
||||
<div class="ec-amount-label">金额</div>
|
||||
<div class="ec-amount">{{ money(inv.amount) }}</div>
|
||||
<div class="invoice-wallet-card__subs">
|
||||
<div class="invoice-wallet-card__sub">
|
||||
<span class="k">备注</span>
|
||||
<span class="v">{{ inv.remark || '-' }}</span>
|
||||
</div>
|
||||
<div class="invoice-wallet-card__sub">
|
||||
<span class="k">创建时间</span>
|
||||
<span class="v">{{ inv.createTime || '-' }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="invoice-wallet-card__att-label">附件</div>
|
||||
<template v-if="invoiceFiles(inv).length">
|
||||
<div class="att-grid advance-att-grid">
|
||||
<div
|
||||
v-for="file in invoiceFiles(inv)"
|
||||
:key="file.id"
|
||||
class="att-img advance-att-tile"
|
||||
:title="file.fileName"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
@click.stop="openAttachment(file)"
|
||||
@keydown.enter.prevent="openAttachment(file)"
|
||||
>
|
||||
<img
|
||||
v-if="isImage(file.fileType) && file.previewUrl"
|
||||
:src="file.previewUrl"
|
||||
:alt="file.fileName"
|
||||
loading="lazy"
|
||||
/>
|
||||
<div
|
||||
v-else-if="isImage(file.fileType) && file.previewLoading"
|
||||
class="att-preview-loading"
|
||||
>
|
||||
<van-loading size="20px" />
|
||||
</div>
|
||||
<div v-else class="att-file-icon att-doc-thumb">
|
||||
<span class="att-doc-thumb__ext">{{ fileExt(file.fileName) }}</span>
|
||||
<span class="att-doc-thumb__name">{{ file.fileName }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<p v-else class="invoice-wallet-card__att-empty">暂无附件</p>
|
||||
</div>
|
||||
</van-list>
|
||||
</div>
|
||||
</van-pull-refresh>
|
||||
</van-tab>
|
||||
<van-tab title="额度流水">
|
||||
<div v-if="!ledgers.length" class="empty-state empty-state--embed">
|
||||
<p>暂无流水</p>
|
||||
</div>
|
||||
<div v-for="(row, idx) in ledgers" :key="row.id || idx" class="list-card">
|
||||
<div class="list-card-kv">
|
||||
<span class="list-card-kv__k">类型</span>
|
||||
<span class="list-card-kv__v">{{ entryTypeLabel(row.entryType) }}</span>
|
||||
<van-pull-refresh v-model="ledRefreshing" @refresh="onLedgerRefresh">
|
||||
<div class="wallet-list page-padded">
|
||||
<van-list
|
||||
v-model:loading="ledLoading"
|
||||
:finished="ledFinished"
|
||||
:finished-text="ledgers.length ? '没有更多了' : ''"
|
||||
@load="onLedgerLoad"
|
||||
>
|
||||
<div v-if="!ledgers.length && !ledLoading" class="empty-state empty-state--embed">
|
||||
<p>暂无流水</p>
|
||||
</div>
|
||||
<div
|
||||
v-for="(row, idx) in ledgers"
|
||||
:key="row.id || idx"
|
||||
class="expense-card invoice-wallet-card"
|
||||
>
|
||||
<span class="invoice-wallet-card__index" aria-label="序号">{{ idx + 1 }}</span>
|
||||
<div class="ec-top">
|
||||
<span class="ec-type">{{ entryTypeLabel(row.entryType || row.entry_type) }}</span>
|
||||
</div>
|
||||
<div class="ec-amount-label">金额</div>
|
||||
<div class="ec-amount">{{ money(row.amount) }}</div>
|
||||
<div class="invoice-wallet-card__subs">
|
||||
<div class="invoice-wallet-card__sub">
|
||||
<span class="k">备注</span>
|
||||
<span class="v">{{ ledgerRemark(row) }}</span>
|
||||
</div>
|
||||
<div class="invoice-wallet-card__sub">
|
||||
<span class="k">创建时间</span>
|
||||
<span class="v">{{ row.createTime || row.create_time || '-' }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</van-list>
|
||||
</div>
|
||||
<div class="list-card-kv">
|
||||
<span class="list-card-kv__k">金额</span>
|
||||
<span class="list-card-kv__v">¥{{ money(row.amount) }}</span>
|
||||
</div>
|
||||
<div class="list-card-kv">
|
||||
<span class="list-card-kv__k">备注</span>
|
||||
<span class="list-card-kv__v">{{ row.remark || '-' }}</span>
|
||||
</div>
|
||||
<div class="list-card-kv">
|
||||
<span class="list-card-kv__k">时间</span>
|
||||
<span class="list-card-kv__v">{{ row.createTime || '-' }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</van-pull-refresh>
|
||||
</van-tab>
|
||||
</van-tabs>
|
||||
|
||||
@@ -102,22 +164,44 @@
|
||||
<script setup lang="ts">
|
||||
import { onMounted, reactive, ref } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { showToast } from 'vant'
|
||||
import { showImagePreview, showToast } from 'vant'
|
||||
import { PRIMARY_CONFIRM_BUTTON_COLOR } from '@/constants/dialog'
|
||||
import { invoiceApi, invoiceWalletApi } from '@/api'
|
||||
import { attachmentApi, invoiceApi, invoiceWalletApi } from '@/api'
|
||||
import { BizError } from '@/api/client'
|
||||
|
||||
interface InvoiceAtt {
|
||||
id: string
|
||||
fileName: string
|
||||
fileType: string
|
||||
previewUrl: string
|
||||
previewLoading?: boolean
|
||||
}
|
||||
|
||||
const PAGE_SIZE = 5
|
||||
|
||||
const router = useRouter()
|
||||
const activeTab = ref(0)
|
||||
const refreshing = ref(false)
|
||||
|
||||
const summary = reactive({
|
||||
totalAmount: 0,
|
||||
usedAmount: 0,
|
||||
balance: 0,
|
||||
invoiceCount: 0,
|
||||
})
|
||||
|
||||
const invoices = ref<any[]>([])
|
||||
const invLoading = ref(false)
|
||||
const invRefreshing = ref(false)
|
||||
const invFinished = ref(false)
|
||||
const invPage = ref(1)
|
||||
|
||||
const ledgers = ref<any[]>([])
|
||||
const allLedgers = ref<any[]>([])
|
||||
const ledLoading = ref(false)
|
||||
const ledRefreshing = ref(false)
|
||||
const ledFinished = ref(false)
|
||||
const ledPage = ref(1)
|
||||
const ledgersFetched = ref(false)
|
||||
|
||||
const showUpload = ref(false)
|
||||
const uploadAmount = ref('')
|
||||
@@ -142,30 +226,208 @@ function entryTypeLabel(t: string) {
|
||||
return map[t] || t || '-'
|
||||
}
|
||||
|
||||
function paged(res: any): any[] {
|
||||
const d = res?.data
|
||||
if (!d) return []
|
||||
return d.rows ?? d.items ?? d.list ?? (Array.isArray(d) ? d : [])
|
||||
function ledgerRemark(row: any) {
|
||||
const text = (row?.remark ?? '').toString().trim()
|
||||
return text || '-'
|
||||
}
|
||||
|
||||
async function reload() {
|
||||
refreshing.value = true
|
||||
function pagedRows(res: any): { rows: any[]; total: number } {
|
||||
const d = res?.data
|
||||
if (!d) return { rows: [], total: 0 }
|
||||
if (Array.isArray(d)) return { rows: d, total: d.length }
|
||||
const rows = d.rows ?? d.items ?? d.list ?? []
|
||||
const total = typeof d.total === 'number' ? d.total : rows.length
|
||||
return { rows, total }
|
||||
}
|
||||
|
||||
function isImage(fileType: string): boolean {
|
||||
return !!fileType?.startsWith('image/')
|
||||
}
|
||||
|
||||
function fileExt(name: string): string {
|
||||
const ext = name?.split('.').pop()
|
||||
return ext ? ext.toUpperCase() : 'FILE'
|
||||
}
|
||||
|
||||
function invoiceFiles(inv: any): InvoiceAtt[] {
|
||||
return (inv?._files as InvoiceAtt[]) || []
|
||||
}
|
||||
|
||||
function normalizeInvoiceFiles(inv: any): InvoiceAtt[] {
|
||||
const raw = Array.isArray(inv?.attachments) ? inv.attachments : []
|
||||
if (raw.length) {
|
||||
return raw.map((a: any) => ({
|
||||
id: String(a.id),
|
||||
fileName: a.fileName || a.file_name || '附件',
|
||||
fileType: a.fileType || a.file_type || '',
|
||||
previewUrl: '',
|
||||
previewLoading: false,
|
||||
}))
|
||||
}
|
||||
if (inv?.attachmentId || inv?.attachment_id) {
|
||||
return [
|
||||
{
|
||||
id: String(inv.attachmentId || inv.attachment_id),
|
||||
fileName: inv.fileName || inv.file_name || '附件',
|
||||
fileType: inv.fileType || inv.file_type || '',
|
||||
previewUrl: '',
|
||||
previewLoading: false,
|
||||
},
|
||||
]
|
||||
}
|
||||
return []
|
||||
}
|
||||
|
||||
/** 列表渲染后再异步拉预览,保证写到响应式对象上 */
|
||||
function kickInvoicePreviewLoads(rows: any[]) {
|
||||
for (const inv of rows) {
|
||||
const files = invoiceFiles(inv)
|
||||
for (const f of files) {
|
||||
if (!isImage(f.fileType) || f.previewUrl) continue
|
||||
f.previewLoading = true
|
||||
attachmentApi
|
||||
.preview(f.id)
|
||||
.then((pRes: any) => {
|
||||
f.previewUrl = pRes?.data?.url || ''
|
||||
})
|
||||
.catch(() => {
|
||||
/* preview optional */
|
||||
})
|
||||
.finally(() => {
|
||||
f.previewLoading = false
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
async function openAttachment(file: InvoiceAtt) {
|
||||
if (isImage(file.fileType)) {
|
||||
let url = file.previewUrl
|
||||
if (!url) {
|
||||
try {
|
||||
const res: any = await attachmentApi.preview(file.id)
|
||||
url = res?.data?.url ?? ''
|
||||
if (url) file.previewUrl = url
|
||||
} catch {
|
||||
showToast('暂无法预览')
|
||||
return
|
||||
}
|
||||
}
|
||||
if (url) showImagePreview({ images: [url] })
|
||||
else showToast('暂无法预览')
|
||||
return
|
||||
}
|
||||
try {
|
||||
const [sumRes, invRes, ledRes]: any[] = await Promise.all([
|
||||
invoiceWalletApi.mineSummary(),
|
||||
invoiceApi.list({ page: 1, pageSize: 100 }),
|
||||
invoiceApi.ledgers(),
|
||||
])
|
||||
const blob = (await attachmentApi.download(file.id)) as unknown as Blob
|
||||
if (!(blob instanceof Blob)) {
|
||||
showToast('下载失败')
|
||||
return
|
||||
}
|
||||
const url = URL.createObjectURL(blob)
|
||||
const a = document.createElement('a')
|
||||
a.href = url
|
||||
a.download = file.fileName || '附件'
|
||||
a.rel = 'noopener'
|
||||
document.body.appendChild(a)
|
||||
a.click()
|
||||
document.body.removeChild(a)
|
||||
URL.revokeObjectURL(url)
|
||||
} catch {
|
||||
showToast('下载失败')
|
||||
}
|
||||
}
|
||||
|
||||
async function loadSummary() {
|
||||
try {
|
||||
const sumRes: any = await invoiceWalletApi.mineSummary()
|
||||
Object.assign(summary, sumRes?.data || {})
|
||||
invoices.value = paged(invRes)
|
||||
ledgers.value = paged(ledRes)
|
||||
} catch {
|
||||
/* summary 失败不阻断列表 */
|
||||
}
|
||||
}
|
||||
|
||||
async function fetchInvoices(isRefresh: boolean) {
|
||||
try {
|
||||
const res: any = await invoiceApi.list({ page: invPage.value, pageSize: PAGE_SIZE })
|
||||
const { rows, total } = pagedRows(res)
|
||||
for (const inv of rows) {
|
||||
inv._files = normalizeInvoiceFiles(inv)
|
||||
}
|
||||
const start = isRefresh ? 0 : invoices.value.length
|
||||
if (isRefresh) invoices.value = rows
|
||||
else invoices.value.push(...rows)
|
||||
// 写入 ref 后再异步加载,确保 previewUrl 变更能驱动视图
|
||||
kickInvoicePreviewLoads(invoices.value.slice(start, start + rows.length))
|
||||
if (invoices.value.length >= total || rows.length < PAGE_SIZE) {
|
||||
invFinished.value = true
|
||||
} else {
|
||||
invFinished.value = false
|
||||
}
|
||||
} catch (e: any) {
|
||||
if (!(e instanceof BizError)) showToast(e?.message || '加载失败')
|
||||
} finally {
|
||||
refreshing.value = false
|
||||
invFinished.value = true
|
||||
}
|
||||
}
|
||||
|
||||
async function onInvoiceLoad() {
|
||||
invLoading.value = true
|
||||
await fetchInvoices(false)
|
||||
invLoading.value = false
|
||||
invPage.value++
|
||||
}
|
||||
|
||||
async function onInvoiceRefresh() {
|
||||
invPage.value = 1
|
||||
invFinished.value = false
|
||||
await Promise.all([loadSummary(), fetchInvoices(true)])
|
||||
invRefreshing.value = false
|
||||
invPage.value = 2
|
||||
}
|
||||
|
||||
async function ensureLedgersLoaded() {
|
||||
if (ledgersFetched.value) return
|
||||
try {
|
||||
const ledRes: any = await invoiceApi.ledgers()
|
||||
const data = ledRes?.data
|
||||
allLedgers.value = Array.isArray(data) ? data : pagedRows(ledRes).rows
|
||||
ledgersFetched.value = true
|
||||
} catch (e: any) {
|
||||
if (!(e instanceof BizError)) showToast(e?.message || '流水加载失败')
|
||||
allLedgers.value = []
|
||||
ledgersFetched.value = true
|
||||
}
|
||||
}
|
||||
|
||||
async function fetchLedgersPage(isRefresh: boolean) {
|
||||
await ensureLedgersLoaded()
|
||||
const start = (ledPage.value - 1) * PAGE_SIZE
|
||||
const slice = allLedgers.value.slice(start, start + PAGE_SIZE)
|
||||
if (isRefresh) ledgers.value = slice
|
||||
else ledgers.value.push(...slice)
|
||||
if (ledgers.value.length >= allLedgers.value.length || slice.length < PAGE_SIZE) {
|
||||
ledFinished.value = true
|
||||
} else {
|
||||
ledFinished.value = false
|
||||
}
|
||||
}
|
||||
|
||||
async function onLedgerLoad() {
|
||||
ledLoading.value = true
|
||||
await fetchLedgersPage(false)
|
||||
ledLoading.value = false
|
||||
ledPage.value++
|
||||
}
|
||||
|
||||
async function onLedgerRefresh() {
|
||||
ledgersFetched.value = false
|
||||
allLedgers.value = []
|
||||
ledPage.value = 1
|
||||
ledFinished.value = false
|
||||
await Promise.all([loadSummary(), fetchLedgersPage(true)])
|
||||
ledRefreshing.value = false
|
||||
ledPage.value = 2
|
||||
}
|
||||
|
||||
async function onUploadBeforeClose(action: string) {
|
||||
if (action !== 'confirm') return true
|
||||
const amount = Number(uploadAmount.value)
|
||||
@@ -190,7 +452,9 @@ async function onUploadBeforeClose(action: string) {
|
||||
uploadAmount.value = ''
|
||||
uploadRemark.value = ''
|
||||
uploadFiles.value = []
|
||||
await reload()
|
||||
activeTab.value = 0
|
||||
await onInvoiceRefresh()
|
||||
ledgersFetched.value = false
|
||||
return true
|
||||
} catch (e: any) {
|
||||
if (!(e instanceof BizError)) showToast(e?.message || '上传失败')
|
||||
@@ -200,12 +464,14 @@ async function onUploadBeforeClose(action: string) {
|
||||
}
|
||||
}
|
||||
|
||||
onMounted(reload)
|
||||
onMounted(() => {
|
||||
void loadSummary()
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.wallet-summary {
|
||||
margin: 12px 16px;
|
||||
margin: 12px 16px 8px;
|
||||
padding: 14px 16px;
|
||||
}
|
||||
.wallet-summary__row {
|
||||
@@ -225,14 +491,138 @@ onMounted(reload)
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.wallet-actions {
|
||||
padding: 0 16px 12px;
|
||||
padding: 0 16px 8px;
|
||||
}
|
||||
.list-card {
|
||||
margin: 0 16px 10px;
|
||||
padding: 12px 14px;
|
||||
background: #fff;
|
||||
border-radius: 10px;
|
||||
|
||||
.wallet-tabs :deep(.van-tabs__wrap) {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.wallet-tabs :deep(.van-tabs__content) {
|
||||
padding-top: 0;
|
||||
}
|
||||
.wallet-tabs :deep(.van-tab__panel) {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.wallet-list {
|
||||
padding-top: 5px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
|
||||
.invoice-wallet-card {
|
||||
position: relative;
|
||||
cursor: default;
|
||||
overflow: hidden;
|
||||
padding-top: 20px;
|
||||
}
|
||||
.invoice-wallet-card:active {
|
||||
transform: none;
|
||||
}
|
||||
.invoice-wallet-card__index {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
min-width: 28px;
|
||||
height: 22px;
|
||||
padding: 0 8px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 0 0 10px 0;
|
||||
background: var(--primary-dark, #00a874);
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.ec-amount-label {
|
||||
font-size: 11px;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.invoice-wallet-card__subs {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
margin: 4px 0 10px;
|
||||
}
|
||||
.invoice-wallet-card__sub {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.invoice-wallet-card__sub .k {
|
||||
flex-shrink: 0;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.invoice-wallet-card__sub .v {
|
||||
min-width: 0;
|
||||
text-align: right;
|
||||
color: var(--text);
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.invoice-wallet-card__att-label {
|
||||
margin-bottom: 6px;
|
||||
font-size: 12px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.invoice-wallet-card__att-empty {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.advance-att-grid {
|
||||
margin-top: 0;
|
||||
}
|
||||
.advance-att-tile {
|
||||
cursor: pointer;
|
||||
}
|
||||
.advance-att-tile:active {
|
||||
opacity: 0.92;
|
||||
}
|
||||
.att-preview-loading {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--bg);
|
||||
}
|
||||
.att-img .att-file-icon.att-doc-thumb {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
flex-shrink: 1;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
padding: 6px 4px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.att-doc-thumb__ext {
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
color: var(--primary-dark);
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
.att-doc-thumb__name {
|
||||
font-size: 10px;
|
||||
color: var(--text-muted);
|
||||
text-align: center;
|
||||
line-height: 1.25;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.upload-picker {
|
||||
padding: 8px 16px 16px;
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
:class="{ 'btn-loading': loading }"
|
||||
:disabled="loading"
|
||||
>
|
||||
{{ loading ? '登录中' : '登录系统' }}
|
||||
{{ loading ? '登录中' : '登 录' }}
|
||||
</button>
|
||||
</van-form>
|
||||
</div>
|
||||
|
||||
@@ -49,7 +49,33 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<van-popup v-model:show="showApplicantPicker" position="bottom" round :style="{ height: '60%' }">
|
||||
<van-popup
|
||||
v-model:show="showApplicantPicker"
|
||||
position="bottom"
|
||||
round
|
||||
:style="{ height: '60%' }"
|
||||
@closed="applicantKeyword = ''"
|
||||
>
|
||||
<div class="search-wrap">
|
||||
<div class="search-box">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>
|
||||
<input
|
||||
v-model="applicantKeyword"
|
||||
placeholder="搜索人员名称"
|
||||
enterkeyhint="search"
|
||||
/>
|
||||
<button
|
||||
v-show="applicantKeyword.trim()"
|
||||
type="button"
|
||||
class="search-box__clear"
|
||||
aria-label="清除关键词"
|
||||
@click="applicantKeyword = ''"
|
||||
>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 6L6 18M6 6l12 12"/></svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<p v-if="applicantPickerColumns.length === 0" class="applicant-picker-empty">无匹配人员</p>
|
||||
<van-picker
|
||||
title="选择申请人"
|
||||
:columns="applicantPickerColumns"
|
||||
@@ -313,6 +339,7 @@ const showExpensePicker = ref(false)
|
||||
const pickingLineIndex = ref(0)
|
||||
const selectedLeftId = ref<string | null>(null)
|
||||
const showApplicantPicker = ref(false)
|
||||
const applicantKeyword = ref('')
|
||||
|
||||
const { expenseTree, flatList, load: loadExpenseItems } = useExpenseItemTree()
|
||||
const { applicantOptions, loadApplicantOptions } = useApplicantOptions()
|
||||
@@ -322,9 +349,13 @@ const applicantLabel = computed(() => {
|
||||
return opt?.label || ''
|
||||
})
|
||||
|
||||
const applicantPickerColumns = computed(() =>
|
||||
applicantOptions.value.map((o) => ({ text: o.label, value: o.value })),
|
||||
)
|
||||
const applicantPickerColumns = computed(() => {
|
||||
const kw = applicantKeyword.value.trim().toLowerCase()
|
||||
const list = !kw
|
||||
? applicantOptions.value
|
||||
: applicantOptions.value.filter((o) => o.label.toLowerCase().includes(kw))
|
||||
return list.map((o) => ({ text: o.label, value: o.value }))
|
||||
})
|
||||
|
||||
function onApplicantConfirm({ selectedOptions }: any) {
|
||||
const opt = selectedOptions?.[0]
|
||||
@@ -959,4 +990,12 @@ onMounted(async () => {
|
||||
margin: 0 0 12px;
|
||||
}
|
||||
|
||||
.applicant-picker-empty {
|
||||
margin: 0;
|
||||
padding: 8px 16px 0;
|
||||
font-size: 13px;
|
||||
color: var(--text-muted);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
</style>
|
||||
@@ -2180,7 +2180,12 @@
|
||||
"2178": "handleExportPdf",
|
||||
"2179": "CRM 选择产品弹窗增强 Implementation Plan",
|
||||
"2180": "报价、合同审批人设置合并 Implementation Plan",
|
||||
"2181": "vehicle-detail.vue",
|
||||
"2182": "H5-mobile",
|
||||
"2183": "post.py",
|
||||
"2184": "文件结构",
|
||||
"2185": "报价单管理:已提交 / 已审批 / 已驳回可再编辑并回草稿",
|
||||
"2186": "list.vue",
|
||||
"2187": "customer_follow.py",
|
||||
"2188": "customer_pool.py",
|
||||
"2189": "customer.py",
|
||||
@@ -2189,13 +2194,37 @@
|
||||
"2192": "opportunity.py",
|
||||
"2193": "pool_rule.py",
|
||||
"2194": "product.py",
|
||||
"2195": "VoidDialog.vue",
|
||||
"2196": "deploy-release.sh",
|
||||
"2197": "生成产品编号(格式:CP + yyyyMMdd + 3位序号,如 CP20260530001)",
|
||||
"2198": "Java: generateAutoProductNo — SXWL + 8位随机大写字符",
|
||||
"2199": ".to_list_kwargs",
|
||||
"2200": "statistics.py",
|
||||
"2201": "leave.py",
|
||||
"2202": "parse_admin_request_json",
|
||||
"2203": "handleTabChange",
|
||||
"2204": "Ha",
|
||||
"2205": "quote.py",
|
||||
"2206": "supplier_info.py",
|
||||
"2207": "compilerOptions",
|
||||
"2208": "二、线索 · 新增表单 `crm/clue/form`",
|
||||
"2209": "useECharts.ts",
|
||||
"2210": "product.ts",
|
||||
"2211": "invoice_info.py",
|
||||
"2212": "loading.ts",
|
||||
"2213": "filter_current_cycle_approvals",
|
||||
"2214": "报价单再编辑回草稿 — 实现计划",
|
||||
"2215": "生产一键发版脚本设计",
|
||||
"2216": "H5-mobile",
|
||||
"2217": "__init__.py",
|
||||
"2218": "Requirement: CRM Excel 导出字典 label 转换",
|
||||
"2219": "Requirement: 侧边栏菜单图标层级规则",
|
||||
"2220": "statistics.py",
|
||||
"2221": "supplier_info.py",
|
||||
"2222": "AdminIndexPage.vue",
|
||||
"2223": "index.vue",
|
||||
"2224": "components.d.ts",
|
||||
"2225": "MenuEntryCard.vue",
|
||||
"2226": "__init__.py",
|
||||
"2227": "leave.py",
|
||||
"2228": "menu.py",
|
||||
@@ -2205,6 +2234,8 @@
|
||||
"2232": "user.py",
|
||||
"2233": "workflow.py",
|
||||
"2234": "__init__.py",
|
||||
"2235": "env.d.ts",
|
||||
"2236": "HomeLayout.vue",
|
||||
"2237": "base.py",
|
||||
"2238": "__tablename__",
|
||||
"2239": "__init__.py",
|
||||
@@ -2479,6 +2510,7 @@
|
||||
"2508": "code:block1 (B1 DDL + Model → B2 后端全量 API → D1 拷贝前端 → D2 Fresh Mint 适配 → )",
|
||||
"2509": "01-overview.md",
|
||||
"2510": "code:bash (./docs/crm-migration/scripts/snapshot-java.sh contract \\)",
|
||||
"2511": "vite.config.ts",
|
||||
"2512": "code:block1 (index.vue getList())",
|
||||
"2513": "code:mermaid (flowchart LR)",
|
||||
"2514": "code:ts (queryParams.contractNo = queryParams.contractName = queryPar)",
|
||||
@@ -2488,6 +2520,7 @@
|
||||
"2518": "code:sql (contract.id IN ",
|
||||
"2519": "code:java (vo.setCanApprove(contractApprovalService.canUserApprove(vo.g)",
|
||||
"2520": "code:mermaid (stateDiagram-v2)",
|
||||
"2521": "pl.js",
|
||||
"2523": "04-api-spec.md",
|
||||
"2524": "code:mermaid (flowchart LR)",
|
||||
"2526": "code:markdown (继续合同管理重写移植。)",
|
||||
@@ -4405,13 +4438,11 @@
|
||||
"4601": "isAccordionBodyWrapperNode",
|
||||
"4602": "isAccordionDetailsNode",
|
||||
"4603": "isAtDetailsStart",
|
||||
"4604": "isBoolean",
|
||||
"4605": "isComment",
|
||||
"4606": "isDetails",
|
||||
"4607": "isDetailsSelected",
|
||||
"4609": "isDocumentFragment",
|
||||
"4610": "isEmptyTag",
|
||||
"4611": "isFunction",
|
||||
"4612": "isInsertAllowed",
|
||||
"4613": "isInSummary",
|
||||
"4614": "isNonEditable",
|
||||
@@ -4422,7 +4453,6 @@
|
||||
"4624": "isText",
|
||||
"4626": "plugin.js",
|
||||
"4629": "Ae",
|
||||
"4631": "c",
|
||||
"4633": "E",
|
||||
"4634": "ee",
|
||||
"4637": "G",
|
||||
@@ -4433,8 +4463,6 @@
|
||||
"4644": "Le",
|
||||
"4645": "m",
|
||||
"4646": "Me",
|
||||
"4647": "n",
|
||||
"4648": "ne",
|
||||
"4651": "p",
|
||||
"4657": "{summaryNode:o,wrapperNode:r}",
|
||||
"4658": "{summaryNode:t,wrapperNode:n,otherNodes:r}",
|
||||
@@ -4451,7 +4479,6 @@
|
||||
"4674": "onSetup",
|
||||
"4676": "padInputNode",
|
||||
"4679": "point",
|
||||
"4682": "rawSet",
|
||||
"4683": "register",
|
||||
"4684": "register$1",
|
||||
"4686": "remove$2",
|
||||
@@ -4484,7 +4511,6 @@
|
||||
"4722": "c",
|
||||
"4723": "d",
|
||||
"4728": "plugin.min.js",
|
||||
"4729": "l",
|
||||
"4732": "r",
|
||||
"4735": "normalizeStyleValue",
|
||||
"4736": "option",
|
||||
@@ -4511,7 +4537,6 @@
|
||||
"4757": "plugin.min.js",
|
||||
"4760": "plugin.min.js",
|
||||
"4763": "n",
|
||||
"4764": "s",
|
||||
"4765": "u",
|
||||
"4767": "open",
|
||||
"4769": "register",
|
||||
@@ -4535,13 +4560,11 @@
|
||||
"4789": "hasProtocol",
|
||||
"4790": "isBracketOrSpace",
|
||||
"4791": "isElement",
|
||||
"4792": "isNonNullable",
|
||||
"4793": "isNullable",
|
||||
"4794": "isPunctuation",
|
||||
"4798": "plugin.js",
|
||||
"4799": "link",
|
||||
"4800": "plugin.min.js",
|
||||
"4802": "f",
|
||||
"4805": "plugin.min.js",
|
||||
"4806": "k",
|
||||
"4807": "m",
|
||||
@@ -4613,7 +4636,6 @@
|
||||
"4891": "constant",
|
||||
"4894": "extendCharMap",
|
||||
"4895": "fireInsertCustomChar",
|
||||
"4896": "flatten",
|
||||
"4897": "get",
|
||||
"4898": "getCharMap",
|
||||
"4899": "getCharMap$1",
|
||||
@@ -4635,7 +4657,6 @@
|
||||
"4926": "v",
|
||||
"4928": "never",
|
||||
"4929": "onSetupEditable",
|
||||
"4930": "open",
|
||||
"4931": "option",
|
||||
"4932": "register",
|
||||
"4933": "register$1",
|
||||
@@ -4651,7 +4672,6 @@
|
||||
"4943": "register",
|
||||
"4945": "setContent",
|
||||
"4946": "index.js",
|
||||
"4948": "constant",
|
||||
"4949": "get",
|
||||
"4950": "get$1",
|
||||
"4951": "getCurrentCode",
|
||||
@@ -4667,7 +4687,6 @@
|
||||
"4962": "plugin.js",
|
||||
"4963": "d",
|
||||
"4964": "plugin.min.js",
|
||||
"4965": "m",
|
||||
"4969": "option",
|
||||
"4970": "prismjs",
|
||||
"4971": "register",
|
||||
@@ -4676,9 +4695,7 @@
|
||||
"4976": "useGlobalPrismJS",
|
||||
"4977": "index.js",
|
||||
"4979": "children$2",
|
||||
"4980": "filter",
|
||||
"4981": "fromDom",
|
||||
"4982": "fromHtml",
|
||||
"4985": "get",
|
||||
"4986": "getDirection",
|
||||
"4987": "getNodeChangeHandler",
|
||||
@@ -4716,14 +4733,12 @@
|
||||
"5050": "databaseId",
|
||||
"5051": "databaseUrl",
|
||||
"5053": "emojisFrom",
|
||||
"5054": "eq",
|
||||
"5056": "getAppendedEmoji",
|
||||
"5057": "getEmojiDatabase",
|
||||
"5058": "getEmojiDatabaseId",
|
||||
"5059": "getEmojiDatabaseUrl",
|
||||
"5060": "getEmojiImageUrl",
|
||||
"5061": "getUserDefinedEmoji",
|
||||
"5062": "has",
|
||||
"5063": "init",
|
||||
"5064": "initDatabase",
|
||||
"5065": "insertEmoticon",
|
||||
@@ -4732,13 +4747,10 @@
|
||||
"5071": "map$1",
|
||||
"5072": "merge",
|
||||
"5074": "C",
|
||||
"5075": "e",
|
||||
"5078": "plugin.min.js",
|
||||
"5081": "n",
|
||||
"5082": "o",
|
||||
"5083": "p",
|
||||
"5085": "s",
|
||||
"5089": "x",
|
||||
"5094": "option",
|
||||
"5095": "register",
|
||||
"5096": "register$1",
|
||||
@@ -4775,13 +4787,10 @@
|
||||
"5135": "findUntil",
|
||||
"5136": "fireFullscreenStateChanged",
|
||||
"5138": "firstMatch",
|
||||
"5140": "fromDom",
|
||||
"5142": "fromPoint",
|
||||
"5143": "fromRawEvent",
|
||||
"5144": "fromTag",
|
||||
"5146": "fullscreenState",
|
||||
"5147": "get",
|
||||
"5148": "get$1",
|
||||
"5150": "get$5",
|
||||
"5151": "getBody",
|
||||
"5152": "getFullscreenchangeEventName",
|
||||
@@ -4814,7 +4823,6 @@
|
||||
"5197": "a",
|
||||
"5199": "Be",
|
||||
"5201": "ce",
|
||||
"5202": "d",
|
||||
"5204": "et",
|
||||
"5206": "ge",
|
||||
"5207": "h",
|
||||
@@ -4922,17 +4930,14 @@
|
||||
"5349": "C",
|
||||
"5352": "plugin.min.js",
|
||||
"5353": "n",
|
||||
"5354": "o",
|
||||
"5356": "S",
|
||||
"5359": "x",
|
||||
"5361": "never",
|
||||
"5362": "option",
|
||||
"5363": "parseHelpTabsSetting",
|
||||
"5364": "pLoadI18nHtml",
|
||||
"5365": "pParseCustomTabs",
|
||||
"5366": "pTab",
|
||||
"5368": "register",
|
||||
"5369": "register$1",
|
||||
"5370": "register$2",
|
||||
"5371": "shortcuts",
|
||||
"5372": "sort",
|
||||
@@ -4990,7 +4995,6 @@
|
||||
"5434": "imageSize",
|
||||
"5435": "insertImageAtCaret",
|
||||
"5436": "insertOrUpdateImage",
|
||||
"5439": "isArray",
|
||||
"5440": "isArrayOf",
|
||||
"5441": "isAutomaticUploadsEnabled",
|
||||
"5442": "isBoolean",
|
||||
@@ -5043,7 +5047,6 @@
|
||||
"5513": "normalized",
|
||||
"5514": "normalizeStyle",
|
||||
"5515": "objAcc",
|
||||
"5516": "onSetupEditable",
|
||||
"5517": "option",
|
||||
"5518": "parseIntAndGetMax",
|
||||
"5519": "parseStyle",
|
||||
@@ -5059,7 +5062,6 @@
|
||||
"5531": "sanitizeList",
|
||||
"5532": "sanitizer",
|
||||
"5533": "serializeStyle",
|
||||
"5534": "set",
|
||||
"5535": "setAlt",
|
||||
"5536": "setBorder",
|
||||
"5537": "setBorderStyle",
|
||||
@@ -5069,7 +5071,6 @@
|
||||
"5541": "showAccessibilityOptions",
|
||||
"5542": "splitTextBlock",
|
||||
"5543": "submitHandler",
|
||||
"5544": "SugarElement",
|
||||
"5545": "syncSrcAttr",
|
||||
"5546": "toggleCaption",
|
||||
"5547": "toggleContentEditableState",
|
||||
@@ -5103,15 +5104,12 @@
|
||||
"5580": "isCssPageRule",
|
||||
"5581": "isExclusiveMode",
|
||||
"5582": "isFunction",
|
||||
"5583": "isObject",
|
||||
"5584": "isSimpleType",
|
||||
"5585": "isSkinContentCss",
|
||||
"5587": "isType",
|
||||
"5588": "isUniqueSelector",
|
||||
"5589": "plugin.js",
|
||||
"5590": "map",
|
||||
"5591": "markUniqueSelector",
|
||||
"5593": "g",
|
||||
"5594": "h",
|
||||
"5595": "plugin.min.js",
|
||||
"5596": "k",
|
||||
@@ -5152,7 +5150,6 @@
|
||||
"5639": "monthsShort",
|
||||
"5640": "onSetupEditable",
|
||||
"5641": "option",
|
||||
"5642": "register",
|
||||
"5643": "register$1",
|
||||
"5645": "shouldInsertTimeElement",
|
||||
"5646": "updateElement",
|
||||
@@ -5169,7 +5166,6 @@
|
||||
"5659": "DialogConfirms",
|
||||
"5660": "DialogInfo",
|
||||
"5661": "each",
|
||||
"5662": "each$1",
|
||||
"5664": "extractFromAnchor",
|
||||
"5665": "fallbacks",
|
||||
"5667": "findCatalog",
|
||||
@@ -5318,7 +5314,6 @@
|
||||
"5854": "flattenListSelection",
|
||||
"5855": "fromDom",
|
||||
"5856": "fromElements",
|
||||
"5858": "fromPoint",
|
||||
"5859": "fromTag",
|
||||
"5862": "getClosestEditingHost",
|
||||
"5863": "getClosestListHost",
|
||||
@@ -5379,15 +5374,12 @@
|
||||
"5928": "isListNode",
|
||||
"5929": "isLowercase",
|
||||
"5930": "isNonNullable",
|
||||
"5931": "isNullable",
|
||||
"5932": "isNumber",
|
||||
"5933": "isNumeric",
|
||||
"5935": "isOlNode",
|
||||
"5936": "isOlUlNode",
|
||||
"5937": "isParentListSelected",
|
||||
"5939": "isSelected",
|
||||
"5940": "isShadowRoot",
|
||||
"5941": "isSimpleType",
|
||||
"5944": "isTextBlock",
|
||||
"5945": "isTextNode",
|
||||
"5946": "isTextNode$1",
|
||||
@@ -5475,7 +5467,6 @@
|
||||
"6051": "moveChildren",
|
||||
"6052": "mutate",
|
||||
"6053": "name",
|
||||
"6056": "noop",
|
||||
"6057": "normalizeEntries",
|
||||
"6058": "normalizeList",
|
||||
"6059": "normalizeLists",
|
||||
@@ -5583,7 +5574,6 @@
|
||||
"6191": "plugin.min.js",
|
||||
"6192": "l",
|
||||
"6194": "me",
|
||||
"6195": "n",
|
||||
"6199": "q",
|
||||
"6202": "se",
|
||||
"6205": "U",
|
||||
@@ -5620,7 +5610,6 @@
|
||||
"6246": "plugin.min.js",
|
||||
"6247": "o",
|
||||
"6249": "s",
|
||||
"6250": "t",
|
||||
"6251": "u",
|
||||
"6252": "onSetupEditable",
|
||||
"6253": "option",
|
||||
@@ -5637,7 +5626,6 @@
|
||||
"6266": "plugin.min.js",
|
||||
"6270": "t",
|
||||
"6271": "onSetupEditable",
|
||||
"6272": "option",
|
||||
"6273": "register$1",
|
||||
"6274": "register$2",
|
||||
"6275": "setup",
|
||||
@@ -5653,7 +5641,6 @@
|
||||
"6286": "plugin.min.js",
|
||||
"6287": "n",
|
||||
"6288": "r",
|
||||
"6289": "s",
|
||||
"6290": "t",
|
||||
"6291": "open",
|
||||
"6293": "register",
|
||||
@@ -5684,7 +5671,6 @@
|
||||
"6327": "e",
|
||||
"6329": "plugin.min.js",
|
||||
"6330": "k",
|
||||
"6331": "l",
|
||||
"6332": "n",
|
||||
"6334": "r",
|
||||
"6339": "option",
|
||||
@@ -5704,11 +5690,9 @@
|
||||
"6354": "plugin.min.js",
|
||||
"6355": "i",
|
||||
"6356": "plugin.min.js",
|
||||
"6359": "r",
|
||||
"6360": "s",
|
||||
"6361": "t",
|
||||
"6362": "option",
|
||||
"6364": "register$2",
|
||||
"6365": "save",
|
||||
"6366": "stateToggle",
|
||||
"6367": "index.js",
|
||||
@@ -5747,7 +5731,6 @@
|
||||
"6414": "isString",
|
||||
"6415": "isText",
|
||||
"6416": "isText$1",
|
||||
"6417": "isType",
|
||||
"6418": "isType$1",
|
||||
"6419": "plugin.js",
|
||||
"6420": "leaf",
|
||||
@@ -5755,15 +5738,12 @@
|
||||
"6422": "mark",
|
||||
"6423": "markAllMatches",
|
||||
"6424": "a",
|
||||
"6425": "b",
|
||||
"6429": "ee",
|
||||
"6430": "i",
|
||||
"6431": "j",
|
||||
"6432": "plugin.min.js",
|
||||
"6435": "M",
|
||||
"6436": "n",
|
||||
"6437": "P",
|
||||
"6442": "u",
|
||||
"6443": "v",
|
||||
"6445": "X",
|
||||
"6448": "moveSelection",
|
||||
@@ -5776,7 +5756,6 @@
|
||||
"6460": "singleton",
|
||||
"6461": "spot",
|
||||
"6463": "toLeaf",
|
||||
"6464": "typeOf",
|
||||
"6466": "walk",
|
||||
"6467": "index.js",
|
||||
"6468": "addMenuItems",
|
||||
@@ -5814,7 +5793,6 @@
|
||||
"6506": "columns",
|
||||
"6507": "commonElement",
|
||||
"6508": "comparePosition",
|
||||
"6510": "contains",
|
||||
"6511": "defaultCellBorderStyles",
|
||||
"6512": "defaultCellBorderWidths",
|
||||
"6513": "descendants",
|
||||
@@ -5858,7 +5836,6 @@
|
||||
"6561": "fromStringValues",
|
||||
"6562": "fromTable",
|
||||
"6563": "fromTable$1",
|
||||
"6565": "fromText",
|
||||
"6567": "generate$1",
|
||||
"6568": "generateColumns",
|
||||
"6569": "generateMenuItemsCallback",
|
||||
@@ -5971,7 +5948,6 @@
|
||||
"6699": "eo",
|
||||
"6701": "fo",
|
||||
"6702": "ft",
|
||||
"6703": "g",
|
||||
"6705": "gl",
|
||||
"6706": "go",
|
||||
"6707": "gt",
|
||||
@@ -5992,7 +5968,6 @@
|
||||
"6728": "lt",
|
||||
"6731": "mo",
|
||||
"6734": "No",
|
||||
"6735": "o",
|
||||
"6737": "ol",
|
||||
"6738": "oo",
|
||||
"6740": "p",
|
||||
@@ -6016,7 +5991,6 @@
|
||||
"6762": "ul",
|
||||
"6763": "uo",
|
||||
"6764": "ut",
|
||||
"6765": "v",
|
||||
"6766": "ve",
|
||||
"6767": "vo",
|
||||
"6768": "vt",
|
||||
@@ -6156,7 +6130,6 @@
|
||||
"6946": "fireVisualChars",
|
||||
"6947": "first",
|
||||
"6952": "get",
|
||||
"6955": "hasProto",
|
||||
"6956": "hide",
|
||||
"6957": "isContentEditableFalse",
|
||||
"6959": "isEnabledByDefault",
|
||||
@@ -6164,7 +6137,6 @@
|
||||
"6962": "isNonNullable",
|
||||
"6964": "isNumber",
|
||||
"6966": "isSimpleType",
|
||||
"6967": "isString",
|
||||
"6969": "isType",
|
||||
"6971": "isWrappedNbsp",
|
||||
"6972": "plugin.js",
|
||||
@@ -6174,13 +6146,10 @@
|
||||
"6978": "H",
|
||||
"6979": "j",
|
||||
"6980": "plugin.min.js",
|
||||
"6981": "k",
|
||||
"6983": "m",
|
||||
"6985": "o",
|
||||
"6986": "p",
|
||||
"6987": "r",
|
||||
"6988": "T",
|
||||
"6989": "u",
|
||||
"6994": "option",
|
||||
"6996": "regExp",
|
||||
"6997": "regExpGlobal",
|
||||
@@ -6192,7 +6161,6 @@
|
||||
"7006": "resolve",
|
||||
"7007": "sandHTMLElement",
|
||||
"7008": "selector",
|
||||
"7010": "setup",
|
||||
"7012": "show",
|
||||
"7014": "toggle",
|
||||
"7015": "toggleActiveState",
|
||||
@@ -10262,7 +10230,6 @@
|
||||
"11102": "results",
|
||||
"11103": "index.vue",
|
||||
"11104": "workbook",
|
||||
"11105": "if",
|
||||
"11106": "lastSegment",
|
||||
"11107": "sanitizedItem",
|
||||
"11108": "segments",
|
||||
@@ -10394,7 +10361,6 @@
|
||||
"11234": "index.ts",
|
||||
"11235": "index.ts",
|
||||
"11236": "index.ts",
|
||||
"11237": "iconify-loader.ts",
|
||||
"11238": "index.ts",
|
||||
"11239": "loading.ts",
|
||||
"11240": "confirmMsg",
|
||||
@@ -10657,7 +10623,6 @@
|
||||
"11511": "scrollToFirstError",
|
||||
"11512": "seenParamIds",
|
||||
"11513": "selected",
|
||||
"11514": "selectedIdSet",
|
||||
"11515": "sortItems",
|
||||
"11516": "ts",
|
||||
"11517": "uploadClientKey",
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
+544
-444
File diff suppressed because it is too large.
Load diff
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_json", "label": "package.json", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_name", "label": "name", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L2"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_version", "label": "version", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L3"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_description", "label": "description", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L4"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_type", "label": "type", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L5"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_engines", "label": "engines", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L6"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_engines_node", "label": "node", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L7"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_engines_pnpm", "label": "pnpm", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L8"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_scripts", "label": "scripts", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L10"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_scripts_dev", "label": "dev", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L11"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_scripts_build", "label": "build", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L12"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_scripts_build_typecheck", "label": "build:typecheck", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L13"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_scripts_serve", "label": "serve", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L14"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_scripts_lint", "label": "lint", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L15"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_scripts_fix", "label": "fix", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L16"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_scripts_lint_prettier", "label": "lint:prettier", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L17"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_scripts_lint_stylelint", "label": "lint:stylelint", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L18"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_scripts_lint_lint_staged", "label": "lint:lint-staged", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L19"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_scripts_prepare", "label": "prepare", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L20"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_scripts_commit", "label": "commit", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L21"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_scripts_clean_dev", "label": "clean:dev", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L22"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_config", "label": "config", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L24"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_config_commitizen", "label": "commitizen", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L25"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_commitizen_path", "label": "path", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L26"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_lint_staged", "label": "lint-staged", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L29"}, {"id": "users_wuzilong_work_00code_shanxia2_0_web_admin_package_lint_staged_js_ts_mjs_mts_tsx", "label": "*.{js,ts,mjs,mts,tsx}", "file_type": "code", "source_file": "web-admin/package.json", "source_location": "L30"}, {"id": "users_wuzilong_work_00code_shanxia2_0_weLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_internal_customer_py", "label": "pl_internal_customer.py", "file_type": "code", "source_file": "backend/app/services/pl_internal_customer.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_internal_customer_is_internal_customer_name", "label": "is_internal_customer_name()", "file_type": "code", "source_file": "backend/app/services/pl_internal_customer.py", "source_location": "L12"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_internal_customer_rationale_1", "label": "\u8fd0\u8f93\u8ba1\u5212\uff1a\u5185\u7f6e\u5c71\u5ce1/\u4e91\u680b\u5ba2\u6237\u5224\u5b9a\uff08\u5408\u540c\u53ef\u514d\uff09", "file_type": "rationale", "source_file": "backend/app/services/pl_internal_customer.py", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_internal_customer_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/services/pl_internal_customer.py", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_internal_customer_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_internal_customer_is_internal_customer_name", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/services/pl_internal_customer.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_internal_customer_rationale_1", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_internal_customer_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/app/services/pl_internal_customer.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_internal_customer_is_internal_customer_name", "callee": "strip", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_internal_customer.py", "source_location": "L13", "receiver": null}], "callable_nids": ["users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_internal_customer_is_internal_customer_name"]}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_py", "label": "plan.py", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_planproductbase", "label": "PlanProductBase", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L16"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_planproductcreate", "label": "PlanProductCreate", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L55"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_planproductupdate", "label": "PlanProductUpdate", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L59"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_planarchivebrandqtyitem", "label": "PlanArchiveBrandQtyItem", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L81"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_planproductread", "label": "PlanProductRead", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L88"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_planbase", "label": "PlanBase", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L105"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_plancontractlink", "label": "PlanContractLink", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L155"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_plancreate", "label": "PlanCreate", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L161"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_plantransportcreateblock", "label": "PlanTransportCreateBlock", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L176"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_planupdate", "label": "PlanUpdate", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L190"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_hazardcertreadybody", "label": "HazardCertReadyBody", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L239"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_planread", "label": "PlanRead", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L244"}, {"id": "planresourcesnapshotmixin", "label": "PlanResourceSnapshotMixin", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_planwithproducts", "label": "PlanWithProducts", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L278"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_planinboundsliptemplatesave", "label": "PlanInboundSlipTemplateSave", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L282"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_plandeliverysliptemplatesave", "label": "PlanDeliverySlipTemplateSave", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L287"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_plansubpacksliptemplatesave", "label": "PlanSubpackSlipTemplateSave", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L294"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_createfromcontractrequest", "label": "CreateFromContractRequest", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L306"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_plancreatefull", "label": "PlanCreateFull", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L317"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_planlistquery", "label": "PlanListQuery", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L328"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_planproductcertitem", "label": "PlanProductCertItem", "file_type": "code", "source_file": "backend/app/schemas/pl/plan.py", "source_location": "L353"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_plan_planproductcertsupLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_json", "label": "package.json", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_name", "label": "name", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L2"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_private", "label": "private", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L3"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_version", "label": "version", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L4"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_type", "label": "type", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L5"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_scripts", "label": "scripts", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L6"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_scripts_dev", "label": "dev", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L7"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_scripts_build", "label": "build", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L8"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_scripts_preview", "label": "preview", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L9"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies", "label": "dependencies", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L11"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_vant_use", "label": "@vant/use", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L12"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_axios", "label": "axios", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L13"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_dayjs", "label": "dayjs", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L14"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_jsencrypt", "label": "jsencrypt", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L15"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_pinia", "label": "pinia", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L16"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_vant", "label": "vant", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L17"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_vue", "label": "vue", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L18"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_dependencies_vue_router", "label": "vue-router", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L19"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies", "label": "devDependencies", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L21"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies_types_node", "label": "@types/node", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L22"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies_vant_auto_import_resolver", "label": "@vant/auto-import-resolver", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L23"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies_vitejs_plugin_vue", "label": "@vitejs/plugin-vue", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L24"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies_typescript", "label": "typescript", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L25"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies_unplugin_vue_components", "label": "unplugin-vue-components", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L26"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies_vite", "label": "vite", "file_type": "code", "source_file": "bx-mobile/package.json", "source_location": "L27"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_package_devdependencies_vue_tsc", "label": "vue-tsc", Line truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_docs_business_inventory_03_\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6_md", "label": "03-\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6.md", "file_type": "document", "source_file": "docs/business-inventory/03-\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_business_inventory_03_\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6_\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6\u6e05\u5355_shanxia2_0_\u73b0\u72b6", "label": "\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6\u6e05\u5355\uff08shanxia2.0 \u73b0\u72b6\uff09", "file_type": "document", "source_file": "docs/business-inventory/03-\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_business_inventory_03_\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6_1_\u6a21\u5757\u5b9a\u4f4d", "label": "1. \u6a21\u5757\u5b9a\u4f4d", "file_type": "document", "source_file": "docs/business-inventory/03-\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6.md", "source_location": "L10"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_business_inventory_03_\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6_2_\u6280\u672f\u5b9e\u73b0", "label": "2. \u6280\u672f\u5b9e\u73b0", "file_type": "document", "source_file": "docs/business-inventory/03-\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6.md", "source_location": "L18"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_business_inventory_03_\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6_3_\u6570\u636e\u8868\u6e05\u5355_14_\u5f20", "label": "3. \u6570\u636e\u8868\u6e05\u5355\uff0814 \u5f20\uff09", "file_type": "document", "source_file": "docs/business-inventory/03-\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6.md", "source_location": "L33"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_business_inventory_03_\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6_4_\u4e1a\u52a1\u6a21\u5757\u660e\u7ec6", "label": "4. \u4e1a\u52a1\u6a21\u5757\u660e\u7ec6", "file_type": "document", "source_file": "docs/business-inventory/03-\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6.md", "source_location": "L56"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_business_inventory_03_\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6_4_1_\u8d39\u7528\u9879\u76ee\u7ba1\u7406_bx_expense_item", "label": "4.1 \u8d39\u7528\u9879\u76ee\u7ba1\u7406\uff08`/bx/expense-item`\uff09", "file_type": "document", "source_file": "docs/business-inventory/03-\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6.md", "source_location": "L58"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_business_inventory_03_\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6_4_2_\u5de5\u4f5c\u6d41\u914d\u7f6e_bx_workflow_advance_bx_workflow_reimburse", "label": "4.2 \u5de5\u4f5c\u6d41\u914d\u7f6e\uff08`/bx/workflow/advance`\u3001`/bx/workflow/reimburse`\uff09", "file_type": "document", "source_file": "docs/business-inventory/03-\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6.md", "source_location": "L69"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_business_inventory_03_\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6_4_3_\u5907\u7528\u91d1_bx_advance", "label": "4.3 \u5907\u7528\u91d1\uff08`/bx/advance`\uff09", "file_type": "document", "source_file": "docs/business-inventory/03-\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6.md", "source_location": "L82"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_business_inventory_03_\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6_4_3_1_\u5907\u7528\u91d1\u7533\u8bf7_bx_advance_apply", "label": "4.3.1 \u5907\u7528\u91d1\u7533\u8bf7\uff08`/bx/advance/apply`\uff09", "file_type": "document", "source_file": "docs/business-inventory/03-\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6.md", "source_location": "L84"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_business_inventory_03_\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6_4_3_2_\u5907\u7528\u91d1\u5ba1\u6279_bx_advance_approve", "label": "4.3.2 \u5907\u7528\u91d1\u5ba1\u6279\uff08`/bx/advance/approve`\uff09", "file_type": "document", "source_file": "docs/business-inventory/03-\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6.md", "source_location": "L94"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_business_inventory_03_\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6_4_3_3_\u5907\u7528\u91d1\u53d1\u653e_bx_advance_issue", "label": "4.3.3 \u5907\u7528\u91d1\u53d1\u653e\uff08`/bx/advance/issue`\uff09", "file_type": "document", "source_file": "docs/business-inventory/03-\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6.md", "source_location": "L103"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_business_inventory_03_\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6_4_4_\u62a5\u9500\u5355_bx_reimburse", "label": "4.4 \u62a5\u9500\u5355\uff08`/bx/reimburse`\uff09", "file_type": "document", "source_file": "docs/business-inventory/03-\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6.md", "source_location": "L115"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_business_inventory_03_\u62a5\u9500\u4e1a\u52a1\u660e\u7ec6_4_4_1_\u62a5\u9500\u7533\u8bf7_bx_reimburse_apply", "label": "4.4.1 \u62a5\u9500\u7533\u8bf7\uff08`/bx/reimburse/apply`\uff09", "file_type": "document", Line truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_py", "label": "quote.py", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quoteproductitem", "label": "QuoteProductItem", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L8"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quotelistbody", "label": "QuoteListBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L35"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quotedetailbody", "label": "QuoteDetailBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L61"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quotedeletebody", "label": "QuoteDeleteBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L65"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quotecreatebody", "label": "QuoteCreateBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L69"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quoteupdatebody", "label": "QuoteUpdateBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L103"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quotesubmitbody", "label": "QuoteSubmitBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L107"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quotetemplatesavebody", "label": "QuoteTemplateSaveBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L113"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quotetemplategetbody", "label": "QuoteTemplateGetBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L118"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quotepdfbody", "label": "QuotePdfBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L122"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quotesharegeneratebody", "label": "QuoteShareGenerateBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L126"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quoteacceptbody", "label": "QuoteAcceptBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L132"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quoterejectbody", "label": "QuoteRejectBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L137"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quotetocontractbody", "label": "QuoteToContractBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L143"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quotenewversionbody", "label": "QuoteNewVersionBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L152"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quoteversionsbody", "label": "QuoteVersionsBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L158"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quoteinvalidbody", "label": "QuoteInvalidBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L162"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quotestatisticsoverviewbody", "label": "QuoteStatisticsOverviewBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L167"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quotestatisticstrendbody", "label": "QuoteStatisticsTrendBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L173"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quoteproductlistbody", "label": "QuoteProductListBody", "file_type": "code", "source_file": "backend/app/schemas/crm/quote.py", "source_location": "L179"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_quote_quoteproductcreatebody", "label": "QuoteProductCreateBody", "file_typeLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_pl_plan_supplier_demander_free_product_md", "label": "2026-08-08-pl-plan-supplier-demander-free-product.md", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-pl-plan-supplier-demander-free-product.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_pl_plan_supplier_demander_free_product_\u8fd0\u8f93\u8ba1\u5212\u4f9b\u65b9_\u9700\u65b9_\u81ea\u7531\u9009\u4ea7\u54c1_implementation_plan", "label": "\u8fd0\u8f93\u8ba1\u5212\u4f9b\u65b9/\u9700\u65b9 + \u81ea\u7531\u9009\u4ea7\u54c1 Implementation Plan", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-pl-plan-supplier-demander-free-product.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_pl_plan_supplier_demander_free_product_\u6587\u4ef6\u7ed3\u6784", "label": "\u6587\u4ef6\u7ed3\u6784", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-pl-plan-supplier-demander-free-product.md", "source_location": "L15"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_pl_plan_supplier_demander_free_product_task_1_ddl_model_pl_plan_contract", "label": "Task 1: DDL + Model `pl_plan_contract`", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-pl-plan-supplier-demander-free-product.md", "source_location": "L36"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_pl_plan_supplier_demander_free_product_task_2_\u5185\u90e8\u5ba2\u6237\u5de5\u5177_schema", "label": "Task 2: \u5185\u90e8\u5ba2\u6237\u5de5\u5177 + Schema", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-pl-plan-supplier-demander-free-product.md", "source_location": "L74"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_pl_plan_supplier_demander_free_product_task_3_service_\u6821\u9a8c\u4e0e\u6301\u4e45\u5316", "label": "Task 3: Service \u6821\u9a8c\u4e0e\u6301\u4e45\u5316", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-pl-plan-supplier-demander-free-product.md", "source_location": "L116"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_pl_plan_supplier_demander_free_product_task_4_\u524d\u7aef\u7c7b\u578b\u4e0e\u5185\u90e8\u5ba2\u6237\u5de5\u5177", "label": "Task 4: \u524d\u7aef\u7c7b\u578b\u4e0e\u5185\u90e8\u5ba2\u6237\u5de5\u5177", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-pl-plan-supplier-demander-free-product.md", "source_location": "L165"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_pl_plan_supplier_demander_free_product_task_5_\u5408\u540c\u591a\u9009\u7ec4\u4ef6", "label": "Task 5: \u5408\u540c\u591a\u9009\u7ec4\u4ef6", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-pl-plan-supplier-demander-free-product.md", "source_location": "L190"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_pl_plan_supplier_demander_free_product_task_6_\u91cd\u6784_plplanformdialog_\u4e3b\u6d41\u7a0b", "label": "Task 6: \u91cd\u6784 `PlPlanFormDialog` \u4e3b\u6d41\u7a0b", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-pl-plan-supplier-demander-free-product.md", "source_location": "L211"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_pl_plan_supplier_demander_free_product_task_7_\u5217\u8868\u4e0e\u67e5\u770b\u5c55\u793a", "label": "Task 7: \u5217\u8868\u4e0e\u67e5\u770b\u5c55\u793a", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-pl-plan-supplier-demander-free-product.md", "source_location": "L241"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_pl_plan_supplier_demander_free_product_task_8_\u6536\u5c3e", "label": "Task 8: \u6536\u5c3e", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-pl-plan-supplier-demander-free-product.md", "source_location": "L263"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_pl_plan_supplier_demander_free_product_\u9a8c\u6536\u6e05\u5355_\u5bf9\u7167_spec_8", "label": "\u9a8c\u6536\u6e05\u5355\uff08\u5bf9\u7167 Spec \u00a78\uff09", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-pl-plan-supplier-demander-free-product.md", "source_location": "L272"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_pl_plan_supplier_demander_free_product_md", "target": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_pl_plan_supplier_demander_free_product_\u8fd0\u8f93\u8ba1\u5212\u4f9b\u65b9_\u9700\u65b9_\u81ea\u7531\u9009\u4ea7\u54c1_implementation_plan", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/supeLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_py", "label": "quote_product.py", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_ensure_quote_parent_scope", "label": "_ensure_quote_parent_scope()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L18"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/quote_product.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_decimal_value", "label": "_decimal_value()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L26"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/quote_product.py"}, {"id": "decimal", "label": "Decimal", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/quote_product.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_get_field", "label": "_get_field()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L34"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_calculate_subtotal", "label": "calculate_subtotal()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L41"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_normalize_line_brand", "label": "normalize_line_brand()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L51"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_product_has_brands", "label": "product_has_brands()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L64"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_resolve_line_brand_fields", "label": "_resolve_line_brand_fields()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L76"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L97"}, {"id": "crmquoteproduct", "label": "CrmQuoteProduct", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/quote_product.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_product_row_to_dict", "label": "product_row_to_dict()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L128"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_list_quote_products", "label": "list_quote_products()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L132"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_list_products_by_quote_ids", "label": "list_products_by_quote_ids()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L154"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_get_quote_product", "label": "get_quote_product()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L184"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_insert_quote_product", "label": "insert_quote_product()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L192"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_update_quote_product", "label": "update_quote_product()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L271"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_soft_delete_quote_products", "label": "soft_delete_quote_products()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L335"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_batch_insert_quote_products", "label": "batch_insert_quote_products()", "file_type": "code", "source_file": "backend/app/crud/crm/quote_product.py", "source_location": "L369"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_product_deleteLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_json", "label": "tsconfig.json", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions", "label": "compilerOptions", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L2"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_target", "label": "target", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L3"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_usedefineforclassfields", "label": "useDefineForClassFields", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L4"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_module", "label": "module", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L5"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_lib", "label": "lib", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L6"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_skiplibcheck", "label": "skipLibCheck", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L7"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_moduleresolution", "label": "moduleResolution", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L8"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_allowimportingtsextensions", "label": "allowImportingTsExtensions", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L9"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_resolvejsonmodule", "label": "resolveJsonModule", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L10"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_isolatedmodules", "label": "isolatedModules", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L11"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_noemit", "label": "noEmit", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L12"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_jsx", "label": "jsx", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L13"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_strict", "label": "strict", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L14"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_nounusedlocals", "label": "noUnusedLocals", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L15"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_nounusedparameters", "label": "noUnusedParameters", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L16"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_nofallthroughcasesinswitch", "label": "noFallthroughCasesInSwitch", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L17"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_baseurl", "label": "baseUrl", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L18"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions_paths", "label": "paths", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L19"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_paths", "label": "@/*", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L20"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_include", "label": "include", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L23"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_references", "label": "references", "file_type": "code", "source_file": "bx-mobile/tsconfig.json", "source_location": "L24"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_json", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bx-mobile/tsconfig.json", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_compileroptions", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tscLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_prod_deploy_release_design_md", "label": "2026-08-08-prod-deploy-release-design.md", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-prod-deploy-release-design.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_prod_deploy_release_design_\u751f\u4ea7\u4e00\u952e\u53d1\u7248\u811a\u672c\u8bbe\u8ba1", "label": "\u751f\u4ea7\u4e00\u952e\u53d1\u7248\u811a\u672c\u8bbe\u8ba1", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-prod-deploy-release-design.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_prod_deploy_release_design_\u76ee\u6807", "label": "\u76ee\u6807", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-prod-deploy-release-design.md", "source_location": "L6"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_prod_deploy_release_design_\u6d41\u7a0b", "label": "\u6d41\u7a0b", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-prod-deploy-release-design.md", "source_location": "L10"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_prod_deploy_release_design_\u7ea6\u675f", "label": "\u7ea6\u675f", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-prod-deploy-release-design.md", "source_location": "L21"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_prod_deploy_release_design_md", "target": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_prod_deploy_release_design_\u751f\u4ea7\u4e00\u952e\u53d1\u7248\u811a\u672c\u8bbe\u8ba1", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/superpowers/specs/2026-08-08-prod-deploy-release-design.md", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_prod_deploy_release_design_\u751f\u4ea7\u4e00\u952e\u53d1\u7248\u811a\u672c\u8bbe\u8ba1", "target": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_prod_deploy_release_design_\u76ee\u6807", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/superpowers/specs/2026-08-08-prod-deploy-release-design.md", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_prod_deploy_release_design_\u751f\u4ea7\u4e00\u952e\u53d1\u7248\u811a\u672c\u8bbe\u8ba1", "target": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_prod_deploy_release_design_\u6d41\u7a0b", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/superpowers/specs/2026-08-08-prod-deploy-release-design.md", "source_location": "L10", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_prod_deploy_release_design_\u751f\u4ea7\u4e00\u952e\u53d1\u7248\u811a\u672c\u8bbe\u8ba1", "target": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_prod_deploy_release_design_\u7ea6\u675f", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/superpowers/specs/2026-08-08-prod-deploy-release-design.md", "source_location": "L21", "weight": 1.0}], "input_tokens": 0, "output_tokens": 0}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_py", "label": "contract.py", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_ensure_contract_in_scope", "label": "_ensure_contract_in_scope()", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L51"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contract.py"}, {"id": "crmcontract", "label": "CrmContract", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contract.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_get_contract_row_in_scope", "label": "_get_contract_row_in_scope()", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L55"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L72"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_decimal_value", "label": "_decimal_value()", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L78"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contract.py"}, {"id": "decimal", "label": "Decimal", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contract.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_parse_optional_date", "label": "_parse_optional_date()", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L86"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contract.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_parse_optional_datetime", "label": "_parse_optional_datetime()", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L104"}, {"id": "datetime", "label": "datetime", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contract.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_get_field", "label": "_get_field()", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L120"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_resolve_user_display_name", "label": "_resolve_user_display_name()", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L127"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_is_blank", "label": "_is_blank()", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L137"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_first_non_blank", "label": "_first_non_blank()", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L141"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_get_default_invoice_info", "label": "_get_default_invoice_info()", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L149"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_build_customer_address", "label": "_build_customer_address()", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L159"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L171"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_contract_row_to_dict", "label": "contract_row_to_dict()", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L250"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_build_contract_filters", "label": "_build_contract_filters()", "file_type": "code", "source_file": "backend/app/crud/crm/contract.py", "source_location": "L254"}, {"id": "query", "label": "Query", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_py", "label": "crm_models.py", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmproductcategory", "label": "CrmProductCategory", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L21"}, {"id": "base", "label": "Base", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmproduct", "label": "CrmProduct", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L43"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmproductbrand", "label": "CrmProductBrand", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L79"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmproductalias", "label": "CrmProductAlias", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L99"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_sysoss", "label": "SysOss", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L118"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmcustomer", "label": "CrmCustomer", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L150"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmcontact", "label": "CrmContact", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L234"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crminvoiceinfo", "label": "CrmInvoiceInfo", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L269"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmcustomerfollow", "label": "CrmCustomerFollow", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L297"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmcustomerpool", "label": "CrmCustomerPool", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L328"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmcustomerpoolrule", "label": "CrmCustomerPoolRule", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L354"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmopportunity", "label": "CrmOpportunity", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L377"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmopportunityfollow", "label": "CrmOpportunityFollow", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L420"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmopportunityproduct", "label": "CrmOpportunityProduct", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L451"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmopportunitystagelog", "label": "CrmOpportunityStageLog", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L481"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmcontract", "label": "CrmContract", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L512"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmcontractapproversetting", "label": "CrmContractApproverSetting", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L597"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmcontractapproval", "label": "CrmContractApproval", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L616"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmcontractchange", "label": "CrmContractChange", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L647"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmcontracttemplate", "label": "CrmContractTemplate", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_location": "L678"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_crm_models_crmcontractproduct", "label": "CrmContractProduct", "file_type": "code", "source_file": "backend/app/models/crm_models.py", "source_locatLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_init_py", "label": "__init__.py", "file_type": "code", "source_file": "backend/app/models/__init__.py", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_init_py", "target": "app_models_base", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/models/__init__.py", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_init_py", "target": "app_models_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/models/__init__.py", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_init_py", "target": "app_models_pl_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/models/__init__.py", "source_location": "L30", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_init_py", "callee": "SysUser", "is_member_call": false, "indirect": true, "context": "assignment", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/models/__init__.py", "source_location": "L61"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_init_py", "callee": "SysApiRequestLog", "is_member_call": false, "indirect": true, "context": "assignment", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/models/__init__.py", "source_location": "L62"}]}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_py", "label": "quote.py", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_ensure_quote_in_scope", "label": "_ensure_quote_in_scope()", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L42"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/quote.py"}, {"id": "crmquote", "label": "CrmQuote", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/quote.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_get_quote_in_scope", "label": "_get_quote_in_scope()", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L46"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L60"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_decimal_value", "label": "_decimal_value()", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L66"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/quote.py"}, {"id": "decimal", "label": "Decimal", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/quote.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_parse_optional_date", "label": "_parse_optional_date()", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L74"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/quote.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_parse_optional_datetime", "label": "_parse_optional_datetime()", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L92"}, {"id": "datetime", "label": "datetime", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/quote.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_get_field", "label": "_get_field()", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L108"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_resolve_user_display_name", "label": "_resolve_user_display_name()", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L115"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L125"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_quote_row_to_dict", "label": "quote_row_to_dict()", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L177"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_build_quote_filters", "label": "_build_quote_filters()", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L181"}, {"id": "query", "label": "Query", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/quote.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_fill_contract_linked_count", "label": "_fill_contract_linked_count()", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L323"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_calculate_quote_amount", "label": "calculate_quote_amount()", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L345"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_resolve_quote_product_ids", "label": "_resolve_quote_product_ids()", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L371"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_generate_quote_no", "label": "generate_quote_no()", "file_type": "code", "source_file": "backend/app/crud/crm/quote.py", "source_location": "L392"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_quote_generate_quote_title", "label": "geLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_09_bx_mobile_shanxia2_adapt_md", "label": "2026-08-09-bx-mobile-shanxia2-adapt.md", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-09-bx-mobile-shanxia2-adapt.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_09_bx_mobile_shanxia2_adapt_bx_mobile_\u9002\u914d_shanxia2_0_implementation_plan", "label": "bx-mobile \u9002\u914d shanxia2.0 \u2014 Implementation Plan", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-09-bx-mobile-shanxia2-adapt.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_09_bx_mobile_shanxia2_adapt_\u6587\u4ef6\u7ed3\u6784", "label": "\u6587\u4ef6\u7ed3\u6784", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-09-bx-mobile-shanxia2-adapt.md", "source_location": "L15"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_09_bx_mobile_shanxia2_adapt_\u9636\u6bb5\u4e0e\u4efb\u52a1\u7d22\u5f15", "label": "\u9636\u6bb5\u4e0e\u4efb\u52a1\u7d22\u5f15", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-09-bx-mobile-shanxia2-adapt.md", "source_location": "L46"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_09_bx_mobile_shanxia2_adapt_p1_\u9274\u6743_\u6838\u5fc3\u5355\u636e", "label": "P1 \u2014 \u9274\u6743 + \u6838\u5fc3\u5355\u636e", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-09-bx-mobile-shanxia2-adapt.md", "source_location": "L56"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_09_bx_mobile_shanxia2_adapt_task_1_\u73af\u5883\u4ee3\u7406\u4e0e\u4f9d\u8d56", "label": "Task 1: \u73af\u5883\u4ee3\u7406\u4e0e\u4f9d\u8d56", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-09-bx-mobile-shanxia2-adapt.md", "source_location": "L58"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_09_bx_mobile_shanxia2_adapt_task_2_\u83dc\u5355\u76ee\u5f55\u4e0e\u6743\u9650\u7eaf\u51fd\u6570", "label": "Task 2: \u83dc\u5355\u76ee\u5f55\u4e0e\u6743\u9650\u7eaf\u51fd\u6570", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-09-bx-mobile-shanxia2-adapt.md", "source_location": "L101"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_09_bx_mobile_shanxia2_adapt_task_3_portalclient_rsa_\u767b\u5f55_api", "label": "Task 3: portalClient + RSA \u767b\u5f55 API", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-09-bx-mobile-shanxia2-adapt.md", "source_location": "L191"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_09_bx_mobile_shanxia2_adapt_task_4_bxclient_\u6539\u9020_api_index_ts_p1_\u6240\u9700", "label": "Task 4: bxClient + \u6539\u9020 `api/index.ts`\uff08P1 \u6240\u9700\uff09", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-09-bx-mobile-shanxia2-adapt.md", "source_location": "L307"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_09_bx_mobile_shanxia2_adapt_task_5_\u91cd\u5199_auth_store_loginpage", "label": "Task 5: \u91cd\u5199 auth store + LoginPage", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-09-bx-mobile-shanxia2-adapt.md", "source_location": "L434"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_09_bx_mobile_shanxia2_adapt_task_6_\u8def\u7531\u5b88\u536b_\u5220\u9664\u7528\u6237_\u89d2\u8272_\u83dc\u5355\u7ba1\u7406", "label": "Task 6: \u8def\u7531\u5b88\u536b + \u5220\u9664\u7528\u6237/\u89d2\u8272/\u83dc\u5355\u7ba1\u7406", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-09-bx-mobile-shanxia2-adapt.md", "source_location": "L544"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_09_bx_mobile_shanxia2_adapt_task_7_\u9996\u9875\u5165\u53e3\u6539\u4e3a_catalog", "label": "Task 7: \u9996\u9875\u5165\u53e3\u6539\u4e3a catalog", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-09-bx-mobile-shanxia2-adapt.md", "source_location": "L599"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_09_bx_mobile_shanxia2_adapt_task_8_\u4e1a\u52a1\u9875_uuid_\u4e0e_p1_\u95ed\u73af\u8054\u8c03", "label": "Task 8: \u4e1a\u52a1\u9875 UUID \u4e0e P1 \u95ed\u73af\u8054\u8c03", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-09-bx-mobile-shanxia2-adapt.md", "source_location": "L645"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_09_bx_mobile_shanxia2_adapt_p2_\u53d1\u7968\u5939\u5b8c\u6574\u95ed\u73af", "label": "P2 \u2014 \u53d1\u7968\u5939\u5b8c\u6574\u95ed\u73af", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-09-bx-mobile-shanxia2-adapt.md", "source_location": "L691"}, {"id": "users_Line truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_init_py", "label": "__init__.py", "file_type": "code", "source_file": "backend/app/schemas/pl/__init__.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_init_rationale_1", "label": "\u8fd0\u8f93\u8ba1\u5212\u7ba1\u7406 - Pydantic Schema", "file_type": "rationale", "source_file": "backend/app/schemas/pl/__init__.py", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_init_py", "target": "app_schemas_pl_base_data", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/pl/__init__.py", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_init_py", "target": "app_schemas_pl_plan", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/pl/__init__.py", "source_location": "L33", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_init_py", "target": "app_schemas_pl_transport", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/pl/__init__.py", "source_location": "L50", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_init_py", "target": "app_schemas_pl_freight", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/pl/__init__.py", "source_location": "L63", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_init_py", "target": "app_schemas_pl_inventory", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/pl/__init__.py", "source_location": "L75", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_init_py", "target": "app_schemas_pl_vehicle_recharge", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/pl/__init__.py", "source_location": "L95", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_init_rationale_1", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_init_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/pl/__init__.py", "source_location": "L1", "weight": 1.0}], "raw_calls": []}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_py", "label": "plan.py", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_resolve_list_product_name", "label": "_resolve_list_product_name()", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L102"}, {"id": "plplanproduct", "label": "PlPlanProduct", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/plan.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_resolve_create_date", "label": "_resolve_create_date()", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L118"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/plan.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_generate_plan_no", "label": "_generate_plan_no()", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L122"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/plan.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_format_subpack_slip_no", "label": "_format_subpack_slip_no()", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L154"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_normalize_subpack_slip_no", "label": "_normalize_subpack_slip_no()", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L158"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_subpack_slip_no_seq", "label": "_subpack_slip_no_seq()", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L183"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_ensure_subpack_slip_no", "label": "_ensure_subpack_slip_no()", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L191"}, {"id": "plplan", "label": "PlPlan", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/plan.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_determine_plan_type", "label": "_determine_plan_type()", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L223"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_get_plan_type_label", "label": "_get_plan_type_label()", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L228"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_generate_notify_message", "label": "_generate_notify_message()", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L237"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_plan_product_name_exists", "label": "_plan_product_name_exists()", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L257"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_plan_plate_match", "label": "_plan_plate_match()", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L271"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_list_plans", "label": "list_plans()", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L281"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/plan.py"}, {"id": "planlistresponse", "label": "PlanListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/plan.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_count_plans_by_contract", "label": "count_plans_by_contract()", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L457"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_create_plan", "label": "create_plan()", "file_type": "code", "source_file": "backend/app/api/pl/plan.py", "source_location": "L511"}, {"id": "plancreate", "label": "PlanCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/plan.py"}, {"id": "planread", "label": "PlanRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_json", "label": "tsconfig.node.json", "file_type": "code", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions", "label": "compilerOptions", "file_type": "code", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L2"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_composite", "label": "composite", "file_type": "code", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L3"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_skiplibcheck", "label": "skipLibCheck", "file_type": "code", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L4"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_module", "label": "module", "file_type": "code", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L5"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_moduleresolution", "label": "moduleResolution", "file_type": "code", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L6"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_allowsyntheticdefaultimports", "label": "allowSyntheticDefaultImports", "file_type": "code", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L7"}, {"id": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_include", "label": "include", "file_type": "code", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L9"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_json", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_composite", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_skiplibcheck", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_module", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_moduleresolution", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_compileroptions_allowsyntheticdefaultimports", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_json", "target": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_include", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bx_mobile_tsconfig_node_include", "target": "ref_vite_config_ts", "relation": "extends", "confidence": "EXTRACTED", "source_file": "bx-mobile/tsconfig.node.json", "source_location": "L9", "weight": 1.0, "context": "import"}]}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "label": "migrate_20260808_pl_plan_legacy_party_contracts.py", "file_type": "code", "source_file": "backend/scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_resolve_side", "label": "_resolve_side()", "file_type": "code", "source_file": "backend/scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L32"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_has_text", "label": "_has_text()", "file_type": "code", "source_file": "backend/scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L36"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_main", "label": "main()", "file_type": "code", "source_file": "backend/scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L40"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "argparse", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L18", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "sys", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L19", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L20", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "pathlib", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L21", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "app_core_database", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L27", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "app_core_utils", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L28", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "app_models_pl_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L29", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_resolve_side", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L32", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_has_text", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L36", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/scripts/migrate_20260808_pl_plan_legacy_party_contracts.py", "source_location": "L40", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_scripts_migrate_20260808_pl_plan_legacy_party_contracts_main", "target": "users_wuzilong_work_Line truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_py", "label": "pl_models.py", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_plcarrier", "label": "PlCarrier", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L28"}, {"id": "base", "label": "Base", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_plvehicle", "label": "PlVehicle", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L57"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_plpersonnel", "label": "PlPersonnel", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L84"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_pltransportaddress", "label": "PlTransportAddress", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L119"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_plcert", "label": "PlCert", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L143"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_pldriver", "label": "PlDriver", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L169"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_plvehiclepersonnel", "label": "PlVehiclePersonnel", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L195"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_plvehicledriver", "label": "PlVehicleDriver", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L216"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_plplan", "label": "PlPlan", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L241"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_plplancontract", "label": "PlPlanContract", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L348"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_plplanproduct", "label": "PlPlanProduct", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L370"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_plplanproductbrandqty", "label": "PlPlanProductBrandQty", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L429"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_plplanchange", "label": "PlPlanChange", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L451"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_pltransport", "label": "PlTransport", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L478"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_pltransportproductfeedback", "label": "PlTransportProductFeedback", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L540"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_pltransportproductbrandqty", "label": "PlTransportProductBrandQty", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L561"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_pltransportdblink", "label": "PlTransportDbLink", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L584"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_plplantransport", "label": "PlPlanTransport", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L607"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_pltransportsitelink", "label": "PlTransportSiteLink", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L626"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_plinboundorder", "label": "PlInboundOrder", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L659"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_plinboundorderitem", "label": "PlInboundOrderItem", "file_type": "code", "source_file": "backend/app/models/pl_models.py", "source_location": "L689"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_models_pl_models_plinboundorderitLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_service_py", "label": "pl_plan_service.py", "file_type": "code", "source_file": "backend/app/services/pl_plan_service.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_service_determine_plan_type", "label": "determine_plan_type()", "file_type": "code", "source_file": "backend/app/services/pl_plan_service.py", "source_location": "L49"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_service_is_ton_product_unit", "label": "is_ton_product_unit()", "file_type": "code", "source_file": "backend/app/services/pl_plan_service.py", "source_location": "L57"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_service_product_quantity", "label": "_product_quantity()", "file_type": "code", "source_file": "backend/app/services/pl_plan_service.py", "source_location": "L64"}, {"id": "planproductcreate", "label": "PlanProductCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_service.py"}, {"id": "decimal", "label": "Decimal", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_service_product_create_actual_qty", "label": "_product_create_actual_qty()", "file_type": "code", "source_file": "backend/app/services/pl_plan_service.py", "source_location": "L74"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_service_plan_product_actual_qty", "label": "_plan_product_actual_qty()", "file_type": "code", "source_file": "backend/app/services/pl_plan_service.py", "source_location": "L80"}, {"id": "plplanproduct", "label": "PlPlanProduct", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_service_sum_product_actual_quantities", "label": "sum_product_actual_quantities()", "file_type": "code", "source_file": "backend/app/services/pl_plan_service.py", "source_location": "L86"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_service_sum_plan_product_actual_quantities", "label": "sum_plan_product_actual_quantities()", "file_type": "code", "source_file": "backend/app/services/pl_plan_service.py", "source_location": "L90"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_service_estimate_qty_fields", "label": "_estimate_qty_fields()", "file_type": "code", "source_file": "backend/app/services/pl_plan_service.py", "source_location": "L94"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_service_build_plan_product", "label": "build_plan_product()", "file_type": "code", "source_file": "backend/app/services/pl_plan_service.py", "source_location": "L105"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_service_apply_vehicle_snapshot_to_plan_transport", "label": "_apply_vehicle_snapshot_to_plan_transport()", "file_type": "code", "source_file": "backend/app/services/pl_plan_service.py", "source_location": "L155"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_service.py"}, {"id": "plplan", "label": "PlPlan", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_service.py"}, {"id": "pltransport", "label": "PlTransport", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_service.py"}, {"id": "plvehicle", "label": "PlVehicle", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_plan_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_service_resolve_driver", "label": "_resolve_driver()", "file_type": "code", "source_file": "backend/app/services/pl_plan_service.py", "source_location": "L173"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_service_calc_freight_amount", "label": "_calc_freight_amount()", "file_type": "code", "source_file": "backend/app/services/pl_plan_service.py", "source_location": "L219"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_plan_service_fetch_hazard_flags_map", "label": "fetch_hazard_flags_map()", "file_type": "code", "source_file": "backend/app/services/pl_plan_service.py", "source_location": "L240"}, {"id": "users_wuzilong_work_00coLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_09_bx_mobile_shanxia2_adapt_design_md", "label": "2026-08-09-bx-mobile-shanxia2-adapt-design.md", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_09_bx_mobile_shanxia2_adapt_design_bx_mobile_\u9002\u914d_shanxia2_0_\u8bbe\u8ba1\u6587\u6863", "label": "bx-mobile \u9002\u914d shanxia2.0 \u2014 \u8bbe\u8ba1\u6587\u6863", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_09_bx_mobile_shanxia2_adapt_design_\u80cc\u666f", "label": "\u80cc\u666f", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md", "source_location": "L8"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_09_bx_mobile_shanxia2_adapt_design_\u5df2\u786e\u8ba4\u51b3\u7b56", "label": "\u5df2\u786e\u8ba4\u51b3\u7b56", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md", "source_location": "L18"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_09_bx_mobile_shanxia2_adapt_design_\u65b9\u6848\u9009\u62e9", "label": "\u65b9\u6848\u9009\u62e9", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md", "source_location": "L33"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_09_bx_mobile_shanxia2_adapt_design_\u4e00_\u67b6\u6784\u4e0e\u9636\u6bb5\u8fb9\u754c", "label": "\u4e00\u3001\u67b6\u6784\u4e0e\u9636\u6bb5\u8fb9\u754c", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md", "source_location": "L45"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_09_bx_mobile_shanxia2_adapt_design_1_1_\u76ee\u6807\u5f62\u6001", "label": "1.1 \u76ee\u6807\u5f62\u6001", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md", "source_location": "L47"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_09_bx_mobile_shanxia2_adapt_design_1_2_\u83dc\u5355\u6620\u5c04\u539f\u5219", "label": "1.2 \u83dc\u5355\u6620\u5c04\u539f\u5219", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md", "source_location": "L67"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_09_bx_mobile_shanxia2_adapt_design_1_3_\u4e09\u9636\u6bb5\u9a8c\u6536\u76ee\u6807", "label": "1.3 \u4e09\u9636\u6bb5\u9a8c\u6536\u76ee\u6807", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md", "source_location": "L83"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_09_bx_mobile_shanxia2_adapt_design_1_4_\u5de5\u7a0b\u843d\u70b9_bx_mobile", "label": "1.4 \u5de5\u7a0b\u843d\u70b9\uff08bx-mobile\uff09", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md", "source_location": "L91"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_09_bx_mobile_shanxia2_adapt_design_\u4e8c_\u9274\u6743_\u83dc\u5355_\u8def\u7531\u5b88\u536b", "label": "\u4e8c\u3001\u9274\u6743 / \u83dc\u5355 / \u8def\u7531\u5b88\u536b", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md", "source_location": "L100"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_09_bx_mobile_shanxia2_adapt_design_2_1_\u767b\u5f55\u4e0e\u4f1a\u8bdd", "label": "2.1 \u767b\u5f55\u4e0e\u4f1a\u8bdd", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md", "source_location": "L102"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_09_bx_mobile_shanxia2_adapt_design_2_2_http_\u5ba2\u6237\u7aef", "label": "2.2 HTTP \u5ba2\u6237\u7aef", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md", "source_location": "L119"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_09_bx_mobile_shanxia2_adapt_design_2_3_\u83dc\u5355_\u9996\u9875\u5165\u53e3", "label": "2.3 \u83dc\u5355 \u2192 \u9996\u9875\u5165\u53e3", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md", "source_location": "L126"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_09_bx_mobile_shanxia2_adapt_design_2_4_\u8def\u7531\u5b88\u536b", "label": "2.4 \u8def\u7531\u5b88\u536b", "file_type"Line truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_sh", "label": "deploy-release.sh", "file_type": "code", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/deploy-release.sh", "source_location": "L1", "metadata": {"language": "bash", "kind": "file"}}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_sh__entry", "label": "deploy-release.sh script", "file_type": "code", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/deploy-release.sh", "source_location": "L1", "metadata": {"language": "bash", "kind": "bash_entrypoint"}}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_log_info", "label": "log_info()", "file_type": "code", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/deploy-release.sh", "source_location": "L55", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_log_warn", "label": "log_warn()", "file_type": "code", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/deploy-release.sh", "source_location": "L56", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_log_err", "label": "log_err()", "file_type": "code", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/deploy-release.sh", "source_location": "L57", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_die", "label": "die()", "file_type": "code", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/deploy-release.sh", "source_location": "L59", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_require_cmd", "label": "require_cmd()", "file_type": "code", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/deploy-release.sh", "source_location": "L64", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_parse_credentials", "label": "parse_credentials()", "file_type": "code", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/deploy-release.sh", "source_location": "L80", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_sshpass", "label": "SSHPASS", "file_type": "code", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/deploy-release.sh", "source_location": "L119", "metadata": {"language": "bash", "kind": "code"}}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_remote_ssh", "label": "remote_ssh()", "file_type": "code", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/deploy-release.sh", "source_location": "L122", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_remote_rsync", "label": "remote_rsync()", "file_type": "code", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/deploy-release.sh", "source_location": "L126", "metadata": {"language": "bash", "kind": "bash_function"}}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_sh", "target": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_sh__entry", "relation": "contains", "confidence": "EXTRACTED", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/deploy-release.sh", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_sh", "target": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_log_info", "relation": "defines", "confidence": "EXTRACTED", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/deploy-release.sh", "source_location": "L55", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_sh", "target": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_log_warn", "relation": "defines", "confidence": "EXTRACTED", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/deploy-release.sh", "source_location": "L56", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_sh", "target": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_deploy_release_log_err", "relation": "defines", "confidence": "EXTRACTED", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/deploy-release.sh", "source_location": "L57", "weiLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "label": "crm_contract_routes.py", "file_type": "code", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_register_contract_routes", "label": "register_contract_routes()", "file_type": "code", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L78"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_rationale_1", "label": "CRM \u5408\u540c API \u8def\u7531 \u2014 GET/PUT/DELETE/POST \u5bf9\u9f50\u539f Java CRM", "file_type": "rationale", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_core_database", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L10", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_core_menu_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_core_oper_log_decorator", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_core_response", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_core_tenant_context", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L14", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_crud_crm_data_scope_helpers", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L15", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_crud_crm_contract", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L16", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_crud_crm_contract_approval", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L47", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_crud_crm_contract_approver_setting", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L51", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_crud_crm_contract_approver_setting", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/crm_contract_routes.py", "source_location": "L5Line truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_py", "label": "crm_quote_pdf.py", "file_type": "code", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_default_value", "label": "_default_value()", "file_type": "code", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L15"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_format_date", "label": "_format_date()", "file_type": "code", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L19"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/crm_quote_pdf.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_format_money", "label": "_format_money()", "file_type": "code", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L32"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_format_discount", "label": "_format_discount()", "file_type": "code", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L39"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_get_pdf_styles", "label": "_get_pdf_styles()", "file_type": "code", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L49"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_build_quote_html", "label": "build_quote_html()", "file_type": "code", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L99"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_generate_quote_pdf", "label": "generate_quote_pdf()", "file_type": "code", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L188"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_rationale_1", "label": "CRM \u62a5\u4ef7\u5355 PDF/HTML \u751f\u6210 \u2014 \u5bf9\u7167 CrmQuotePdfServiceImpl.java", "file_type": "rationale", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_rationale_189", "label": "Java: generateQuotePdf \u2014 \u751f\u6210 HTML \u6587\u4ef6\uff08\u6269\u5c55\u540d .pdf\uff09\uff0c\u8fd4\u56de\u76f8\u5bf9 URL\u3002 \u63a5\u53d7 quote dict + prod", "file_type": "rationale", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L189"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_py", "target": "re", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_py", "target": "decimal", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_py", "target": "pathlib", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_py", "target": "app_core_config", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L10", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_default_value", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/services/crm_quote_pdf.py", "source_location": "L15", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_crm_quote_pdf_format_date", "relation": "contLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_py", "label": "contract.py", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractproductpricetieritem", "label": "ContractProductPriceTierItem", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L8"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractproductitem", "label": "ContractProductItem", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L23"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractlistquery", "label": "ContractListQuery", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L55"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractcreatebody", "label": "ContractCreateBody", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L85"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractupdatebody", "label": "ContractUpdateBody", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L149"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractsubmitbody", "label": "ContractSubmitBody", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L153"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractbatchsubmitbody", "label": "ContractBatchSubmitBody", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L159"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractwithdrawbody", "label": "ContractWithdrawBody", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L165"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractstatusbody", "label": "ContractStatusBody", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L170"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractinvalidbody", "label": "ContractInvalidBody", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L175"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contracttemplatesavebody", "label": "ContractTemplateSaveBody", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L181"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractdeletebody", "label": "ContractDeleteBody", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L187"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractapprovalactionbody", "label": "ContractApprovalActionBody", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L191"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractuploadfilebody", "label": "ContractUploadFileBody", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L203"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractuploadattachmentsbody", "label": "ContractUploadAttachmentsBody", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L208"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractexportbody", "label": "ContractExportBody", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L216"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractstatisticsoverviewquery", "label": "ContractStatisticsOverviewQuery", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L221"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractstatisticstrendquery", "label": "ContractStatisticsTrendQuery", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L227"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractrenewbody", "label": "ContractRenewBody", "file_type": "code", "source_file": "backend/app/schemas/crm/contract.py", "source_location": "L233"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractapprovaLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_py", "label": "public.py", "file_type": "code", "source_file": "backend/app/api/public.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_avatar_url_field", "label": "_avatar_url_field()", "file_type": "code", "source_file": "backend/app/api/public.py", "source_location": "L39"}, {"id": "sysuser", "label": "SysUser", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/public.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_web_role_list", "label": "_web_role_list()", "file_type": "code", "source_file": "backend/app/api/public.py", "source_location": "L47"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_build_user_info_payload", "label": "_build_user_info_payload()", "file_type": "code", "source_file": "backend/app/api/public.py", "source_location": "L53"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_jwt_user_payload", "label": "_jwt_user_payload()", "file_type": "code", "source_file": "backend/app/api/public.py", "source_location": "L71"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_web_login_rsa_public_key", "label": "web_login_rsa_public_key()", "file_type": "code", "source_file": "backend/app/api/public.py", "source_location": "L84"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_web_login", "label": "web_login()", "file_type": "code", "source_file": "backend/app/api/public.py", "source_location": "L91"}, {"id": "request", "label": "Request", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/public.py"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/public.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_refresh_token", "label": "refresh_token()", "file_type": "code", "source_file": "backend/app/api/public.py", "source_location": "L149"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_logout", "label": "logout()", "file_type": "code", "source_file": "backend/app/api/public.py", "source_location": "L211"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_get_current_user_profile", "label": "get_current_user_profile()", "file_type": "code", "source_file": "backend/app/api/public.py", "source_location": "L228"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_get_web_auth_menu_codes", "label": "get_web_auth_menu_codes()", "file_type": "code", "source_file": "backend/app/api/public.py", "source_location": "L263"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_change_current_user_password", "label": "change_current_user_password()", "file_type": "code", "source_file": "backend/app/api/public.py", "source_location": "L312"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_public_quote_share", "label": "public_quote_share()", "file_type": "code", "source_file": "backend/app/api/public.py", "source_location": "L345"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_rationale_1", "label": "\u516c\u5171\u63a5\u53e3\uff08Web \u767b\u5f55\u3001\u5237\u65b0 Token\u3001\u767b\u51fa\uff1b\u7528\u6237\u6a21\u578b\u5bf9\u9f50 docs/sql/shanxia2.0.sql \u57fa\u7ebf\uff09", "file_type": "rationale", "source_file": "backend/app/api/public.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_rationale_48", "label": "\u4e0e web-admin \u9759\u6001\u8def\u7531 meta.roles\uff08admin/super_admin\uff09\u5bf9\u9f50\u7684\u5355\u5143\u7d20\u6570\u7ec4\u3002", "file_type": "rationale", "source_file": "backend/app/api/public.py", "source_location": "L48"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_rationale_54", "label": "\u4e0e web-admin `userInfo` \u5b57\u6bb5\u7ea6\u5b9a\u4e00\u81f4\u3002", "file_type": "rationale", "source_file": "backend/app/api/public.py", "source_location": "L54"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_rationale_85", "label": "Web \u7aef\u767b\u5f55\u7528 RSA \u516c\u94a5\uff08PKCS#1 v1.5\uff0c\u4e0e JSEncrypt \u4e00\u81f4\uff09", "file_type": "rationale", "source_file": "backend/app/api/public.py", "source_location": "L85"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_rationale_96", "label": "Web \u7aef\u767b\u5f55\uff1a\u8d26\u53f7\u4e3a sys_user.user_no\uff0c\u5bc6\u7801\u4e3a sys_user.password\uff08bcrypt\uff09\u3002", "file_type": "rationale", "source_file": "backend/app/api/public.py", "source_location": "L96"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_public_rationale_212",Line truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_crm_quote_reedit_to_draft_design_md", "label": "2026-08-08-crm-quote-reedit-to-draft-design.md", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-crm-quote-reedit-to-draft-design.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_crm_quote_reedit_to_draft_design_\u62a5\u4ef7\u5355\u7ba1\u7406_\u5df2\u63d0\u4ea4_\u5df2\u5ba1\u6279_\u5df2\u9a73\u56de\u53ef\u518d\u7f16\u8f91\u5e76\u56de\u8349\u7a3f", "label": "\u62a5\u4ef7\u5355\u7ba1\u7406\uff1a\u5df2\u63d0\u4ea4 / \u5df2\u5ba1\u6279 / \u5df2\u9a73\u56de\u53ef\u518d\u7f16\u8f91\u5e76\u56de\u8349\u7a3f", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-crm-quote-reedit-to-draft-design.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_crm_quote_reedit_to_draft_design_\u76ee\u6807", "label": "\u76ee\u6807", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-crm-quote-reedit-to-draft-design.md", "source_location": "L3"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_crm_quote_reedit_to_draft_design_\u53ef\u7f16\u8f91\u72b6\u6001", "label": "\u53ef\u7f16\u8f91\u72b6\u6001", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-crm-quote-reedit-to-draft-design.md", "source_location": "L9"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_crm_quote_reedit_to_draft_design_\u524d\u7aef\u884c\u4e3a", "label": "\u524d\u7aef\u884c\u4e3a", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-crm-quote-reedit-to-draft-design.md", "source_location": "L19"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_crm_quote_reedit_to_draft_design_\u6253\u5f00\u7f16\u8f91\u524d\u786e\u8ba4", "label": "\u6253\u5f00\u7f16\u8f91\u524d\u786e\u8ba4", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-crm-quote-reedit-to-draft-design.md", "source_location": "L21"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_crm_quote_reedit_to_draft_design_\u5165\u53e3", "label": "\u5165\u53e3", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-crm-quote-reedit-to-draft-design.md", "source_location": "L32"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_crm_quote_reedit_to_draft_design_\u672a\u4fdd\u5b58", "label": "\u672a\u4fdd\u5b58", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-crm-quote-reedit-to-draft-design.md", "source_location": "L41"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_crm_quote_reedit_to_draft_design_\u540e\u7aef\u884c\u4e3a_\u66f4\u65b0\u62a5\u4ef7\u5355", "label": "\u540e\u7aef\u884c\u4e3a\uff08\u66f4\u65b0\u62a5\u4ef7\u5355\uff09", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-crm-quote-reedit-to-draft-design.md", "source_location": "L45"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_crm_quote_reedit_to_draft_design_\u4e0d\u53d8\u8303\u56f4", "label": "\u4e0d\u53d8\u8303\u56f4", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-crm-quote-reedit-to-draft-design.md", "source_location": "L57"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_crm_quote_reedit_to_draft_design_\u6539\u52a8\u843d\u70b9_\u5b9e\u73b0\u65f6", "label": "\u6539\u52a8\u843d\u70b9\uff08\u5b9e\u73b0\u65f6\uff09", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-crm-quote-reedit-to-draft-design.md", "source_location": "L65"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_crm_quote_reedit_to_draft_design_\u9a8c\u6536\u8981\u70b9", "label": "\u9a8c\u6536\u8981\u70b9", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-crm-quote-reedit-to-draft-design.md", "source_location": "L71"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_crm_quote_reedit_to_draft_design_md", "target": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_crm_quote_reedit_to_draft_design_\u62a5\u4ef7\u5355\u7ba1\u7406_\u5df2\u63d0\u4ea4_\u5df2\u5ba1\u6279_\u5df2\u9a73\u56de\u53ef\u518d\u7f16\u8f91\u5e76\u56de\u8349\u7a3f", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/superpowers/specs/2026-08-08-crm-quote-reedit-to-draft-design.md", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_crm_quote_reedit_to_draft_design_\u62a5\u4ef7\u5355\u7ba1\u7406_\u5df2\u63d0\u4ea4_\u5df2\u5ba1\u6279_\u5df2\u9a73\u56de\u53ef\u518d\u7f16\u8f91\u5e76\u56de\u8349\u7a3f", "target": "users_wuzilongLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_crm_quote_reedit_to_draft_md", "label": "2026-08-08-crm-quote-reedit-to-draft.md", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-crm-quote-reedit-to-draft.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_crm_quote_reedit_to_draft_\u62a5\u4ef7\u5355\u518d\u7f16\u8f91\u56de\u8349\u7a3f_\u5b9e\u73b0\u8ba1\u5212", "label": "\u62a5\u4ef7\u5355\u518d\u7f16\u8f91\u56de\u8349\u7a3f \u2014 \u5b9e\u73b0\u8ba1\u5212", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-crm-quote-reedit-to-draft.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_crm_quote_reedit_to_draft_task_1_backend_update_quote", "label": "Task 1: Backend `update_quote`", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-crm-quote-reedit-to-draft.md", "source_location": "L9"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_crm_quote_reedit_to_draft_task_2_frontend_helper", "label": "Task 2: Frontend helper", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-crm-quote-reedit-to-draft.md", "source_location": "L15"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_crm_quote_reedit_to_draft_task_3_wire_ui_entries", "label": "Task 3: Wire UI entries", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-crm-quote-reedit-to-draft.md", "source_location": "L19"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_crm_quote_reedit_to_draft_md", "target": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_crm_quote_reedit_to_draft_\u62a5\u4ef7\u5355\u518d\u7f16\u8f91\u56de\u8349\u7a3f_\u5b9e\u73b0\u8ba1\u5212", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/superpowers/plans/2026-08-08-crm-quote-reedit-to-draft.md", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_crm_quote_reedit_to_draft_\u62a5\u4ef7\u5355\u518d\u7f16\u8f91\u56de\u8349\u7a3f_\u5b9e\u73b0\u8ba1\u5212", "target": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_crm_quote_reedit_to_draft_task_1_backend_update_quote", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/superpowers/plans/2026-08-08-crm-quote-reedit-to-draft.md", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_crm_quote_reedit_to_draft_\u62a5\u4ef7\u5355\u518d\u7f16\u8f91\u56de\u8349\u7a3f_\u5b9e\u73b0\u8ba1\u5212", "target": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_crm_quote_reedit_to_draft_task_2_frontend_helper", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/superpowers/plans/2026-08-08-crm-quote-reedit-to-draft.md", "source_location": "L15", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_crm_quote_reedit_to_draft_\u62a5\u4ef7\u5355\u518d\u7f16\u8f91\u56de\u8349\u7a3f_\u5b9e\u73b0\u8ba1\u5212", "target": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_crm_quote_reedit_to_draft_task_3_wire_ui_entries", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/superpowers/plans/2026-08-08-crm-quote-reedit-to-draft.md", "source_location": "L19", "weight": 1.0}], "input_tokens": 0, "output_tokens": 0}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_md", "label": "README.md", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72\u65b9\u6848", "label": "shanxia2.0 \u751f\u4ea7\u73af\u5883\u90e8\u7f72\u65b9\u6848", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_1_\u90e8\u7f72\u601d\u8def\u603b\u89c8", "label": "1. \u90e8\u7f72\u601d\u8def\u603b\u89c8", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L8"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_1_1_\u67b6\u6784", "label": "1.1 \u67b6\u6784", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L10"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_1_2_\u6838\u5fc3\u539f\u5219", "label": "1.2 \u6838\u5fc3\u539f\u5219", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L30"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_1_3_\u76ee\u5f55\u7ea6\u5b9a_\u751f\u4ea7\u673a", "label": "1.3 \u76ee\u5f55\u7ea6\u5b9a\uff08\u751f\u4ea7\u673a\uff09", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L41"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_2_\u524d\u7f6e\u6761\u4ef6", "label": "2. \u524d\u7f6e\u6761\u4ef6", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L53"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_2_1_\u670d\u52a1\u5668\u8f6f\u4ef6", "label": "2.1 \u670d\u52a1\u5668\u8f6f\u4ef6", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L55"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_2_2_\u7f51\u7edc\u4e0e\u9632\u706b\u5899", "label": "2.2 \u7f51\u7edc\u4e0e\u9632\u706b\u5899", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L61"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_2_3_\u6570\u636e\u5e93", "label": "2.3 \u6570\u636e\u5e93", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L67"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_3_\u90e8\u7f72\u6b65\u9aa4", "label": "3. \u90e8\u7f72\u6b65\u9aa4", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L76"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_\u9636\u6bb5_a_\u51c6\u5907\u4ee3\u7801_\u672c\u5730\u6216_ci", "label": "\u9636\u6bb5 A\uff1a\u51c6\u5907\u4ee3\u7801\uff08\u672c\u5730\u6216 CI\uff09", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L78"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_a1_\u68c0\u51fa_\u6253\u5305\u540e\u7aef", "label": "A1. \u68c0\u51fa/\u6253\u5305\u540e\u7aef", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L80"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_a2_\u914d\u7f6e\u751f\u4ea7\u73af\u5883\u53d8\u91cf", "label": "A2. \u914d\u7f6e\u751f\u4ea7\u73af\u5883\u53d8\u91cf", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L93"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_a3_\u6784\u5efa\u524d\u7aef", "label": "A3. \u6784\u5efa\u524d\u7aef", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L104"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_\u9636\u6bb5_b_\u4e0a\u4f20\u5230\u751f\u4ea7\u673a", "label": "\u9636\u6bb5 B\uff1a\u4e0a\u4f20\u5230\u751f\u4ea7\u673a", "file_type": "document", "source_file": "\u751f\u4ea7\u73af\u5883\u90e8\u7f72/README.md", "source_location": "L124"}, {"id": "users_wuzilong_work_00code_shanxia2_0_\u751f\u4ea7\u73af\u5883\u90e8\u7f72_readme_\u9636\u6bb5_c_\u540e\u7aef\u521d\u59cb\u5316\u4e0e\u542f\u52a8", "label": "\u9636\u6bb5 C\uff1a\u540e\u7aef\u521d\u59cb\u5316\u4e0e\u542f\u52a8", "fiLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_pl_plan_supplier_demander_free_product_design_md", "label": "2026-08-08-pl-plan-supplier-demander-free-product-design.md", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-pl-plan-supplier-demander-free-product-design.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_pl_plan_supplier_demander_free_product_design_\u8fd0\u8f93\u8ba1\u5212_\u4f9b\u65b9_\u9700\u65b9_\u5408\u540c\u591a\u9009_\u4ea7\u54c1\u81ea\u7531\u9009\u62e9", "label": "\u8fd0\u8f93\u8ba1\u5212\uff1a\u4f9b\u65b9/\u9700\u65b9 + \u5408\u540c\u591a\u9009 + \u4ea7\u54c1\u81ea\u7531\u9009\u62e9", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-pl-plan-supplier-demander-free-product-design.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_pl_plan_supplier_demander_free_product_design_1_\u76ee\u6807", "label": "1. \u76ee\u6807", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-pl-plan-supplier-demander-free-product-design.md", "source_location": "L7"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_pl_plan_supplier_demander_free_product_design_2_\u975e\u76ee\u6807", "label": "2. \u975e\u76ee\u6807", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-pl-plan-supplier-demander-free-product-design.md", "source_location": "L17"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_pl_plan_supplier_demander_free_product_design_3_\u4e1a\u52a1\u89c4\u5219", "label": "3. \u4e1a\u52a1\u89c4\u5219", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-pl-plan-supplier-demander-free-product-design.md", "source_location": "L25"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_pl_plan_supplier_demander_free_product_design_3_1_\u5ba2\u6237", "label": "3.1 \u5ba2\u6237", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-pl-plan-supplier-demander-free-product-design.md", "source_location": "L27"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_pl_plan_supplier_demander_free_product_design_3_2_\u5408\u540c_\u5206\u4fa7_\u53ef\u591a\u9009", "label": "3.2 \u5408\u540c\uff08\u5206\u4fa7\u3001\u53ef\u591a\u9009\uff09", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-pl-plan-supplier-demander-free-product-design.md", "source_location": "L39"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_pl_plan_supplier_demander_free_product_design_3_3_\u4ea7\u54c1", "label": "3.3 \u4ea7\u54c1", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-pl-plan-supplier-demander-free-product-design.md", "source_location": "L63"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_pl_plan_supplier_demander_free_product_design_3_4_\u5f52\u5c5e\u516c\u53f8\u4e0e\u5176\u5b83\u57fa\u7840\u5b57\u6bb5", "label": "3.4 \u5f52\u5c5e\u516c\u53f8\u4e0e\u5176\u5b83\u57fa\u7840\u5b57\u6bb5", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-pl-plan-supplier-demander-free-product-design.md", "source_location": "L70"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_pl_plan_supplier_demander_free_product_design_3_5_\u5386\u53f2\u6570\u636e", "label": "3.5 \u5386\u53f2\u6570\u636e", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-pl-plan-supplier-demander-free-product-design.md", "source_location": "L75"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_pl_plan_supplier_demander_free_product_design_4_\u4ea4\u4e92\u7ed3\u6784_\u65b0\u5efa_\u7f16\u8f91\u5f39\u7a97", "label": "4. \u4ea4\u4e92\u7ed3\u6784\uff08\u65b0\u5efa/\u7f16\u8f91\u5f39\u7a97\uff09", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-pl-plan-supplier-demander-free-product-design.md", "source_location": "L90"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_pl_plan_supplier_demander_free_product_design_5_\u6570\u636e\u6a21\u578b", "label": "5. \u6570\u636e\u6a21\u578b", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-pl-plan-supplier-demander-free-product-design.md", "source_location": "L112"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_specs_2026_08_08_pl_plan_supplier_demander_free_product_design_5_1_\u4e3b\u8868\u5b57\u6bb5\u8bed\u4e49\u8c03\u6574_pl_plan", "label": "5.1 \u4e3b\u8868\u5b57\u6bb5\u8bed\u4e49\u8c03\u6574\uff08`pl_plan`\uff09", "file_type": "document", "source_file": "docs/superpowers/specs/2026-08-08-pl-plan-supplier-demander-free-product-design.md", "source_location": "L114"}, {"id": "users_wuzilong_work_00code_shanLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_md", "label": "2026-08-08-quote-contract-approval-menus.md", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-quote-contract-approval-menus.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_\u62a5\u4ef7\u5355_\u5408\u540c\u5ba1\u6279\u83dc\u5355\u62c6\u5206_implementation_plan", "label": "\u62a5\u4ef7\u5355/\u5408\u540c\u5ba1\u6279\u83dc\u5355\u62c6\u5206 Implementation Plan", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-quote-contract-approval-menus.md", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_task_1_\u62a5\u4ef7\u5355\u5217\u8868\u7ec4\u4ef6\u5316_\u53cc\u5165\u53e3", "label": "Task 1: \u62a5\u4ef7\u5355\u5217\u8868\u7ec4\u4ef6\u5316 + \u53cc\u5165\u53e3", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-quote-contract-approval-menus.md", "source_location": "L19"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_task_2_\u5408\u540c\u5217\u8868\u7ec4\u4ef6\u5316_\u53cc\u5165\u53e3", "label": "Task 2: \u5408\u540c\u5217\u8868\u7ec4\u4ef6\u5316 + \u53cc\u5165\u53e3", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-quote-contract-approval-menus.md", "source_location": "L32"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_task_3_\u83dc\u5355_sql_\u57fa\u7ebf\u5feb\u7167", "label": "Task 3: \u83dc\u5355 SQL + \u57fa\u7ebf\u5feb\u7167", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-quote-contract-approval-menus.md", "source_location": "L44"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_task_4_\u6536\u5c3e", "label": "Task 4: \u6536\u5c3e", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-quote-contract-approval-menus.md", "source_location": "L54"}, {"id": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_\u9a8c\u6536", "label": "\u9a8c\u6536", "file_type": "document", "source_file": "docs/superpowers/plans/2026-08-08-quote-contract-approval-menus.md", "source_location": "L61"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_md", "target": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_\u62a5\u4ef7\u5355_\u5408\u540c\u5ba1\u6279\u83dc\u5355\u62c6\u5206_implementation_plan", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/superpowers/plans/2026-08-08-quote-contract-approval-menus.md", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_\u62a5\u4ef7\u5355_\u5408\u540c\u5ba1\u6279\u83dc\u5355\u62c6\u5206_implementation_plan", "target": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_task_1_\u62a5\u4ef7\u5355\u5217\u8868\u7ec4\u4ef6\u5316_\u53cc\u5165\u53e3", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/superpowers/plans/2026-08-08-quote-contract-approval-menus.md", "source_location": "L19", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_\u62a5\u4ef7\u5355_\u5408\u540c\u5ba1\u6279\u83dc\u5355\u62c6\u5206_implementation_plan", "target": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_task_2_\u5408\u540c\u5217\u8868\u7ec4\u4ef6\u5316_\u53cc\u5165\u53e3", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/superpowers/plans/2026-08-08-quote-contract-approval-menus.md", "source_location": "L32", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_\u62a5\u4ef7\u5355_\u5408\u540c\u5ba1\u6279\u83dc\u5355\u62c6\u5206_implementation_plan", "target": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_task_3_\u83dc\u5355_sql_\u57fa\u7ebf\u5feb\u7167", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/superpowers/plans/2026-08-08-quote-contract-approval-menus.md", "source_location": "L44", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_08_quote_contract_approval_menus_\u62a5\u4ef7\u5355_\u5408\u540c\u5ba1\u6279\u83dc\u5355\u62c6\u5206_implementation_plan", "target": "users_wuzilong_work_00code_shanxia2_0_docs_superpowers_plans_2026_08_Line truncated
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
{"/Users/wuzilong/work/00code/shanxia2.0/.agents/skills/brainstorming/scripts/start-server.sh":{"size":4606,"mtime_ns":1780108930000000000,"hash":"7c3c6c5cce454f755159758334ffb434c970a29960bbff6669efe0cb22d1f2fb"},"/Users/wuzilong/work/00code/shanxia2.0/.agents/skills/brainstorming/scripts/stop-server.sh":{"size":1314,"mtime_ns":1780108930000000000,"hash":"9581ff879388aaa10463aea1fc1e9f9c00d69f2106f055ac976f97513ab84aba"},"/Users/wuzilong/work/00code/shanxia2.0/.agents/skills/systematic-debugging/find-polluter.sh":{"size":1528,"mtime_ns":1780108930000000000,"hash":"8340aac47e1279874e46d7ecb4954b5faae531a883abf05b118951687d8ca044"},"/Users/wuzilong/work/00code/shanxia2.0/.cursor/mcp.json":{"size":468,"mtime_ns":1780120483000000000,"hash":"ce4b438767a095c6a830e4612c221303ea16ab46af23f438bfb033eace904c36"},"/Users/wuzilong/work/00code/shanxia2.0/.opencode/opencode.json":{"size":105,"mtime_ns":1780120095000000000,"hash":"936122822138b12f363fb9b7a8567edaa1f834c835137a4c72d81c17116ce11e"},"/Users/wuzilong/work/00code/shanxia2.0/.opencode/package.json":{"size":65,"mtime_ns":1780109751000000000,"hash":"cf97d417f1ebce0ba81ad4629a5345e13cc95cb799c6eb2632caead5364880de"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_17f66cf13ffeo6JpSbBDM7Jx4t.json":{"size":214,"mtime_ns":1780274139000000000,"hash":"26182a523926188400188b8cc668585f8e81586416fa2399fd3585b0c07ff86c"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_1818ffbf9ffezXCeRFVV3Jj01O.json":{"size":263,"mtime_ns":1780238536000000000,"hash":"bf2e860eaa6fa5051d4cb0f70a53cf419b558c57759154e559712efef636dcb5"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_181f43997ffeO8mkoWfZl8v2Ri.json":{"size":214,"mtime_ns":1780236423000000000,"hash":"8252a79ead22a73fe0e229ef4eb6e1aac159547cdc04607d4102c75b077501a2"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_1823f3f66ffesCD5qohVVcWtbf.json":{"size":214,"mtime_ns":1780230242000000000,"hash":"27ba5fb0606f8ddda44c4f01ce5fbce77d7429f890317c6a1a6f9456058b1f70"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_183d2d323ffeBMoLOLwwPmAXym.json":{"size":214,"mtime_ns":1780210339000000000,"hash":"26814a22a2f0ee80b65a7306c4f52becca5edb09358cc12b588efa896546f571"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_183f72fc4ffeCZI7jMs3P9gB5n.json":{"size":214,"mtime_ns":1780201410000000000,"hash":"cd6c278503c190ec5dae59675957e9a963cbd94ce09cf974b838a0e717b42817"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_184f894aeffej3cvErXgdYFhY8.json":{"size":263,"mtime_ns":1780201410000000000,"hash":"d3bb6c88a4c332c09d2684c3a34f10e311620956a8777a894cb1492ab15cce86"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_186a13679ffenULQIK102x2NfS.json":{"size":214,"mtime_ns":1780201410000000000,"hash":"eb2fe454abea5ef36854bc2858ba6e9ac5e8f4d18e0121901f007816e0e40ebe"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_187ac729affeBH1jDFb5X7rWz0.json":{"size":214,"mtime_ns":1780201410000000000,"hash":"b571d2be1c871201f1d572c536b57c89a277b0b3eb3f3a3e4125db5008b37a3f"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_18880f06fffeJSijqM7oWZ6JYI.json":{"size":214,"mtime_ns":1780201410000000000,"hash":"efb86e46a8d0c2af314450407bfacd3f422ec8f68025291a440760cffe4ca092"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_1892f6be2ffe1K80MWGl0oc2Fo.json":{"size":214,"mtime_ns":1780114611000000000,"hash":"9b109fac4a24678ea27b4afe2840bcd06c339b490508d6aa531e051fe3f034b7"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/__init__.py":{"size":21,"mtime_ns":1780113982000000000,"hash":"5d7c80dd077475acb7eb12227dc0e7cf38bbb5fd9e84c4eab9eb2be8c5406357"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/__init__.py":{"size":665,"mtime_ns":1780804649000000000,"hash":"349c40e55e8aae86d0913a17da2f9d338d842243e5fdf807bad52382bc2876d9"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/admin.py":{"size":52987,"mtime_ns":1786164471385093466,"hash":"4566289fd8c57c51d4047a461b3953f67f5ddb83dbd59cd999c9d0c77caf142a"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/__init__.py":{"size":827,"mtime_ns":1784980394000000000,"hash":"7605bb52b5361261c5e04d52bec9a1e704b49dd4ffe5c561da079831e8d8db9e"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/advance.py":{"size":13404,"mtime_ns":1784992736000000000,"hash":"7e4bacb178dde4fddc158713abe0eb9e8ab6fedf57e571701e45a5af3189f858"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/attachment.py":{"size":5758,"mtime_ns":1782790898000000000,"hash":"f2d20fc5b2a98748835ae1710666f11eae1aa323d80a4678189bb2d032559b4b"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/expense_item.py":{"size":3362,"mtime_ns":1782650913000000000,"hash":"142f0f6a3e45cb5d7b8153ee3048c5fb82258167264f325dd4fa8801b2e56c35"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/apLine truncated
|
||||
{"/Users/wuzilong/work/00code/shanxia2.0/.agents/skills/brainstorming/scripts/start-server.sh":{"size":4606,"mtime_ns":1780108930000000000,"hash":"7c3c6c5cce454f755159758334ffb434c970a29960bbff6669efe0cb22d1f2fb"},"/Users/wuzilong/work/00code/shanxia2.0/.agents/skills/brainstorming/scripts/stop-server.sh":{"size":1314,"mtime_ns":1780108930000000000,"hash":"9581ff879388aaa10463aea1fc1e9f9c00d69f2106f055ac976f97513ab84aba"},"/Users/wuzilong/work/00code/shanxia2.0/.agents/skills/systematic-debugging/find-polluter.sh":{"size":1528,"mtime_ns":1780108930000000000,"hash":"8340aac47e1279874e46d7ecb4954b5faae531a883abf05b118951687d8ca044"},"/Users/wuzilong/work/00code/shanxia2.0/.cursor/mcp.json":{"size":468,"mtime_ns":1780120483000000000,"hash":"ce4b438767a095c6a830e4612c221303ea16ab46af23f438bfb033eace904c36"},"/Users/wuzilong/work/00code/shanxia2.0/.opencode/opencode.json":{"size":105,"mtime_ns":1780120095000000000,"hash":"936122822138b12f363fb9b7a8567edaa1f834c835137a4c72d81c17116ce11e"},"/Users/wuzilong/work/00code/shanxia2.0/.opencode/package.json":{"size":65,"mtime_ns":1780109751000000000,"hash":"cf97d417f1ebce0ba81ad4629a5345e13cc95cb799c6eb2632caead5364880de"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_17f66cf13ffeo6JpSbBDM7Jx4t.json":{"size":214,"mtime_ns":1780274139000000000,"hash":"26182a523926188400188b8cc668585f8e81586416fa2399fd3585b0c07ff86c"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_1818ffbf9ffezXCeRFVV3Jj01O.json":{"size":263,"mtime_ns":1780238536000000000,"hash":"bf2e860eaa6fa5051d4cb0f70a53cf419b558c57759154e559712efef636dcb5"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_181f43997ffeO8mkoWfZl8v2Ri.json":{"size":214,"mtime_ns":1780236423000000000,"hash":"8252a79ead22a73fe0e229ef4eb6e1aac159547cdc04607d4102c75b077501a2"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_1823f3f66ffesCD5qohVVcWtbf.json":{"size":214,"mtime_ns":1780230242000000000,"hash":"27ba5fb0606f8ddda44c4f01ce5fbce77d7429f890317c6a1a6f9456058b1f70"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_183d2d323ffeBMoLOLwwPmAXym.json":{"size":214,"mtime_ns":1780210339000000000,"hash":"26814a22a2f0ee80b65a7306c4f52becca5edb09358cc12b588efa896546f571"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_183f72fc4ffeCZI7jMs3P9gB5n.json":{"size":214,"mtime_ns":1780201410000000000,"hash":"cd6c278503c190ec5dae59675957e9a963cbd94ce09cf974b838a0e717b42817"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_184f894aeffej3cvErXgdYFhY8.json":{"size":263,"mtime_ns":1780201410000000000,"hash":"d3bb6c88a4c332c09d2684c3a34f10e311620956a8777a894cb1492ab15cce86"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_186a13679ffenULQIK102x2NfS.json":{"size":214,"mtime_ns":1780201410000000000,"hash":"eb2fe454abea5ef36854bc2858ba6e9ac5e8f4d18e0121901f007816e0e40ebe"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_187ac729affeBH1jDFb5X7rWz0.json":{"size":214,"mtime_ns":1780201410000000000,"hash":"b571d2be1c871201f1d572c536b57c89a277b0b3eb3f3a3e4125db5008b37a3f"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_18880f06fffeJSijqM7oWZ6JYI.json":{"size":214,"mtime_ns":1780201410000000000,"hash":"efb86e46a8d0c2af314450407bfacd3f422ec8f68025291a440760cffe4ca092"},"/Users/wuzilong/work/00code/shanxia2.0/.sisyphus/run-continuation/ses_1892f6be2ffe1K80MWGl0oc2Fo.json":{"size":214,"mtime_ns":1780114611000000000,"hash":"9b109fac4a24678ea27b4afe2840bcd06c339b490508d6aa531e051fe3f034b7"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/__init__.py":{"size":21,"mtime_ns":1780113982000000000,"hash":"5d7c80dd077475acb7eb12227dc0e7cf38bbb5fd9e84c4eab9eb2be8c5406357"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/__init__.py":{"size":665,"mtime_ns":1780804649000000000,"hash":"349c40e55e8aae86d0913a17da2f9d338d842243e5fdf807bad52382bc2876d9"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/admin.py":{"size":52987,"mtime_ns":1786164471385093466,"hash":"4566289fd8c57c51d4047a461b3953f67f5ddb83dbd59cd999c9d0c77caf142a"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/__init__.py":{"size":827,"mtime_ns":1784980394000000000,"hash":"7605bb52b5361261c5e04d52bec9a1e704b49dd4ffe5c561da079831e8d8db9e"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/advance.py":{"size":13404,"mtime_ns":1784992736000000000,"hash":"7e4bacb178dde4fddc158713abe0eb9e8ab6fedf57e571701e45a5af3189f858"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/attachment.py":{"size":5758,"mtime_ns":1782790898000000000,"hash":"f2d20fc5b2a98748835ae1710666f11eae1aa323d80a4678189bb2d032559b4b"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/expense_item.py":{"size":3362,"mtime_ns":1782650913000000000,"hash":"142f0f6a3e45cb5d7b8153ee3048c5fb82258167264f325dd4fa8801b2e56c35"},"/Users/wuzilong/work/00code/shanxia2.0/backend/app/apLine truncated
|
||||
+53051
-22601
File diff suppressed because it is too large.
Load diff
+174
-5209
File diff suppressed because it is too large.
Load diff
@@ -191,9 +191,13 @@
|
||||
"189": "Community 189",
|
||||
"190": "ViewKvTableCell.vue",
|
||||
"191": "handleConfirmApproval",
|
||||
"192": "handleDisburse",
|
||||
"192": "index.vue",
|
||||
"193": "navigation.ts",
|
||||
"194": "canDeleteByCreator",
|
||||
"195": "Community 195",
|
||||
"196": "Community 196",
|
||||
"197": "v2.4.2.1 - 2025-06-16",
|
||||
"198": "index.vue",
|
||||
"200": "index.js",
|
||||
"201": "index.vue",
|
||||
"202": "Community 202",
|
||||
@@ -202,7 +206,6 @@
|
||||
"208": "Community 208",
|
||||
"209": "Community 209",
|
||||
"210": "Community 210",
|
||||
"211": "v2.4.2.1 - 2025-06-16",
|
||||
"212": "index.js",
|
||||
"213": "Community 213",
|
||||
"214": "Community 214",
|
||||
|
||||
@@ -191,11 +191,8 @@
|
||||
"189": "Community 189",
|
||||
"190": "ViewKvTableCell.vue",
|
||||
"191": "handleConfirmApproval",
|
||||
"192": "handleDisburse",
|
||||
"194": "handlePublish",
|
||||
"195": "Community 195",
|
||||
"196": "Community 196",
|
||||
"199": "index.vue",
|
||||
"200": "index.js",
|
||||
"201": "index.vue",
|
||||
"202": "Community 202",
|
||||
@@ -204,7 +201,6 @@
|
||||
"208": "Community 208",
|
||||
"209": "Community 209",
|
||||
"210": "Community 210",
|
||||
"211": "v2.4.2.1 - 2025-06-16",
|
||||
"212": "index.js",
|
||||
"213": "Community 213",
|
||||
"214": "Community 214",
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
+1717
-1293
File diff suppressed because it is too large.
Load diff
@@ -7,6 +7,8 @@ export interface PortalHomeCardItem {
|
||||
path: string
|
||||
title: string
|
||||
icon?: string
|
||||
/** 与侧栏 meta.menuCode 一致,用于待办数字角标 */
|
||||
menuCode?: string
|
||||
}
|
||||
|
||||
export interface PortalHomeSection {
|
||||
@@ -64,10 +66,12 @@ function buildPinyinMeta(title: string): { py: string; abbr: string; letter: str
|
||||
function toCard(item: AppRouteRecord): PortalHomeCardItem | null {
|
||||
const path = String(item.meta?.activePath || item.path || '')
|
||||
if (!path) return null
|
||||
const menuCode = String(item.meta?.menuCode || '').trim()
|
||||
return {
|
||||
path,
|
||||
title: routeTitle(item),
|
||||
icon: item.meta?.icon ? String(item.meta.icon) : undefined
|
||||
icon: item.meta?.icon ? String(item.meta.icon) : undefined,
|
||||
menuCode: menuCode || undefined
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -51,6 +51,13 @@
|
||||
class="portal-home-card portal-home-card--fav"
|
||||
@click="onFavCardClick(card.path)"
|
||||
>
|
||||
<span
|
||||
v-if="pendingCountFor(card) > 0"
|
||||
class="portal-home-card__pending"
|
||||
:aria-label="`${pendingCountFor(card)} 条待审批`"
|
||||
>
|
||||
{{ formatPendingCount(pendingCountFor(card)) }}
|
||||
</span>
|
||||
<span class="portal-home-card__badge portal-home-card__badge--fav" aria-hidden="true">
|
||||
{{ titleAbbr(card.title) }}
|
||||
</span>
|
||||
@@ -80,6 +87,13 @@
|
||||
class="portal-home-card"
|
||||
@click="openCard(card.path)"
|
||||
>
|
||||
<span
|
||||
v-if="pendingCountFor(card) > 0"
|
||||
class="portal-home-card__pending"
|
||||
:aria-label="`${pendingCountFor(card)} 条待审批`"
|
||||
>
|
||||
{{ formatPendingCount(pendingCountFor(card)) }}
|
||||
</span>
|
||||
<span
|
||||
class="portal-home-card__badge"
|
||||
:data-tone="toneIndex(activeModule)"
|
||||
@@ -115,13 +129,19 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed, onMounted, ref, watch } from 'vue'
|
||||
import { computed, onActivated, onMounted, ref, watch } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { storeToRefs } from 'pinia'
|
||||
import { Star, StarFilled } from '@element-plus/icons-vue'
|
||||
import { VueDraggable } from 'vue-draggable-plus'
|
||||
import { listQuote } from '@/api/crm/quote'
|
||||
import { listContract } from '@/api/crm/contract'
|
||||
import { MENU_BADGE_CODES, MENU_BADGE_CODE_SET } from '@/constants/menu-badge-codes'
|
||||
import { useMenuStore } from '@/store/modules/menu'
|
||||
import { useMenuBadgeStore } from '@/store/modules/menu-badge'
|
||||
import { useMenuFavoriteStore } from '@/store/modules/menuFavorite'
|
||||
import { useUserStore } from '@/store/modules/user'
|
||||
import { refreshMenuBadges } from '@/utils/menu-badge-registry'
|
||||
import {
|
||||
collectPortalHomeSections,
|
||||
findHomeCardByPath,
|
||||
@@ -131,17 +151,38 @@
|
||||
defineOptions({ name: 'PortalHome' })
|
||||
|
||||
const FAV_KEY = '__favorites__'
|
||||
/** CRM 报价/合同审批:侧栏角标体系尚未覆盖,首页单独拉取 */
|
||||
const PENDING_CARD_RULES: Array<{
|
||||
key: 'quote' | 'contract'
|
||||
pathIncludes: string
|
||||
titles: string[]
|
||||
}> = [
|
||||
{ key: 'quote', pathIncludes: 'quote-approval', titles: ['报价单审批'] },
|
||||
{ key: 'contract', pathIncludes: 'contract-approval', titles: ['合同审批'] }
|
||||
]
|
||||
/** 标题兜底 → 侧栏 menuCode(与 menu-badge-registry 一致) */
|
||||
const TITLE_BADGE_CODE: Record<string, string> = {
|
||||
备用金审批: MENU_BADGE_CODES.BX_ADVANCE_APPROVE,
|
||||
备用金发放: MENU_BADGE_CODES.BX_ADVANCE_ISSUE,
|
||||
报销审批: MENU_BADGE_CODES.BX_REIMBURSE_APPROVE,
|
||||
支付发放冲抵: MENU_BADGE_CODES.BX_PAYMENT,
|
||||
待我审批: MENU_BADGE_CODES.BX_VIEW_TODO
|
||||
}
|
||||
|
||||
const router = useRouter()
|
||||
const menuStore = useMenuStore()
|
||||
const badgeStore = useMenuBadgeStore()
|
||||
const favStore = useMenuFavoriteStore()
|
||||
const userStore = useUserStore()
|
||||
const { menuList } = storeToRefs(menuStore)
|
||||
const { items: favItems } = storeToRefs(favStore)
|
||||
const { counts: badgeCounts, loaded: badgeLoaded } = storeToRefs(badgeStore)
|
||||
|
||||
const activeModule = ref(FAV_KEY)
|
||||
const favoriteList = ref<PortalHomeCardItem[]>([])
|
||||
const favDragging = ref(false)
|
||||
const suppressFavClick = ref(false)
|
||||
const pendingCounts = ref({ quote: 0, contract: 0 })
|
||||
|
||||
const modules = computed(() => collectPortalHomeSections(menuList.value || []))
|
||||
|
||||
@@ -207,6 +248,71 @@
|
||||
)
|
||||
}
|
||||
|
||||
const resolveCurrentUserId = (): string => {
|
||||
const info = (userStore.info || {}) as { id?: string | number; userId?: string | number }
|
||||
return String(info.id || info.userId || '')
|
||||
}
|
||||
|
||||
const resolveBadgeMenuCode = (card: PortalHomeCardItem) => {
|
||||
const code = String(card.menuCode || '').trim()
|
||||
if (code && MENU_BADGE_CODE_SET.has(code)) return code
|
||||
const title = String(card.title || '').trim()
|
||||
const byTitle = TITLE_BADGE_CODE[title]
|
||||
if (byTitle) return byTitle
|
||||
return ''
|
||||
}
|
||||
|
||||
const matchPendingRule = (card: PortalHomeCardItem) => {
|
||||
const path = String(card.path || '')
|
||||
const title = String(card.title || '').trim()
|
||||
return PENDING_CARD_RULES.find(
|
||||
(r) => path.includes(r.pathIncludes) || r.titles.includes(title)
|
||||
)
|
||||
}
|
||||
|
||||
const pendingCountFor = (card: PortalHomeCardItem) => {
|
||||
// 依赖 badgeCounts / badgeLoaded,保证角标刷新后视图更新
|
||||
void badgeCounts.value
|
||||
void badgeLoaded.value
|
||||
const badgeCode = resolveBadgeMenuCode(card)
|
||||
if (badgeCode) return badgeStore.getCount(badgeCode)
|
||||
const rule = matchPendingRule(card)
|
||||
if (!rule) return 0
|
||||
return Number(pendingCounts.value[rule.key] || 0)
|
||||
}
|
||||
|
||||
const formatPendingCount = (n: number) => (n > 99 ? '99+' : String(n))
|
||||
|
||||
const loadCrmPendingCounts = async () => {
|
||||
const userId = resolveCurrentUserId()
|
||||
if (!userId) {
|
||||
pendingCounts.value = { quote: 0, contract: 0 }
|
||||
return
|
||||
}
|
||||
const [quoteRes, contractRes] = await Promise.all([
|
||||
listQuote({
|
||||
pageNum: 1,
|
||||
pageSize: 1,
|
||||
status: 'submitted',
|
||||
pendingApprovalUserId: userId
|
||||
}).catch(() => ({ total: 0 })),
|
||||
listContract({
|
||||
pageNum: 1,
|
||||
pageSize: 1,
|
||||
approvalStatus: 'pending',
|
||||
pendingApprovalUserId: userId
|
||||
}).catch(() => ({ total: 0 }))
|
||||
])
|
||||
pendingCounts.value = {
|
||||
quote: Number(quoteRes.total || 0),
|
||||
contract: Number(contractRes.total || 0)
|
||||
}
|
||||
}
|
||||
|
||||
const loadPendingCounts = async () => {
|
||||
await Promise.all([refreshMenuBadges(menuList.value), loadCrmPendingCounts()])
|
||||
}
|
||||
|
||||
watch(modules, ensureActiveModule, { immediate: true, deep: true })
|
||||
watch([favItems, modules], syncFavoriteList, { immediate: true, deep: true })
|
||||
|
||||
@@ -214,6 +320,11 @@
|
||||
if (!favStore.loaded) {
|
||||
await favStore.loadFavorites()
|
||||
}
|
||||
await loadPendingCounts()
|
||||
})
|
||||
|
||||
onActivated(() => {
|
||||
void loadPendingCounts()
|
||||
})
|
||||
|
||||
const openCard = (path: string) => {
|
||||
@@ -391,10 +502,6 @@
|
||||
|
||||
&--fav {
|
||||
margin-top: 14px;
|
||||
padding: 12px 12px 14px;
|
||||
background: linear-gradient(180deg, #ecfdf5 0%, #fff 72%);
|
||||
border: 1px solid #bbf7d0;
|
||||
border-radius: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -434,7 +541,7 @@
|
||||
.portal-home-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
|
||||
gap: 10px;
|
||||
gap: 16px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
@@ -444,7 +551,7 @@
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
min-height: 64px;
|
||||
padding: 12px 34px 12px 12px;
|
||||
padding: 12px 34px 28px 12px;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
background: #fff;
|
||||
@@ -573,10 +680,32 @@
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.portal-home-card__star {
|
||||
.portal-home-card__pending {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
z-index: 1;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
padding: 0 5px;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
line-height: 1;
|
||||
color: #fff;
|
||||
pointer-events: none;
|
||||
background: #dc2626;
|
||||
border-radius: 9px;
|
||||
box-shadow: 0 1px 2px rgba(220, 38, 38, 0.25);
|
||||
}
|
||||
|
||||
.portal-home-card__star {
|
||||
position: absolute;
|
||||
right: 6px;
|
||||
bottom: 6px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
Reference in new issue
Block a user