Bläddra i källkod

fix: 多张大图并行上传时不再拆掉进行中的请求,并放宽附件上传超时。

审批附件在第一张成功后会重建上传组件,其余请求被取消并显示超时。现保留进行中的文件,附件请求与 Nginx 上传超时放宽到 5 分钟,存储写入不再堵住事件循环。

Co-authored-by: Cursor <cursoragent@cursor.com>
zlwu 1 dag sedan
förälder
incheckning
8020e667f1

+ 5 - 1
backend/app/api/admin.py

@@ -1,4 +1,5 @@
 """运营端管理接口(租户、角色下拉等)"""
+import asyncio
 import os
 import uuid
 from typing import Any, List, Optional
@@ -1616,7 +1617,10 @@ async def upload_attachment(
         return error_response(400, "请选择文件")
     try:
         file_content = await file.read()
-        full_url = storage.upload_file(file_content, file.filename, folder or "")
+        # MinIO/本地写入是同步的。多张大图并行时若占住事件循环,其它上传会一直等不到响应,前端表现为超时后文件消失。
+        full_url = await asyncio.to_thread(
+            storage.upload_file, file_content, file.filename, folder or ""
+        )
         base_url = settings.MINIO_BASE_URL.rstrip("/") if settings.MINIO_BASE_URL else ""
         if base_url and full_url.startswith(base_url + "/"):
             file_url = full_url[len(base_url) + 1:]

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 312 - 255
backend/graphify-out/.graphify_analysis.json


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 137 - 128
backend/graphify-out/.graphify_extract.json


+ 88 - 100
backend/graphify-out/GRAPH_REPORT.md

@@ -1,10 +1,10 @@
-# Graph Report - app  (2026-10-28)
+# Graph Report - app  (2026-10-29)
 
 ## Corpus Check
-- Large corpus: 320 files · ~394,363 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
+- Large corpus: 320 files · ~394,483 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
 
 ## Summary
-- 6604 nodes · 36562 edges · 46 communities detected
+- 6609 nodes · 36569 edges · 44 communities detected
 - Extraction: 32% EXTRACTED · 68% INFERRED · 0% AMBIGUOUS · INFERRED: 25020 edges (avg confidence: 0.6)
 - Token cost: 0 input · 0 output
 
@@ -46,15 +46,13 @@
 - [[_COMMUNITY_Community 34|Community 34]]
 - [[_COMMUNITY_Community 35|Community 35]]
 - [[_COMMUNITY_Community 36|Community 36]]
-- [[_COMMUNITY_Community 37|Community 37]]
-- [[_COMMUNITY_Community 38|Community 38]]
+- [[_COMMUNITY_Community 39|Community 39]]
+- [[_COMMUNITY_Community 40|Community 40]]
 - [[_COMMUNITY_Community 41|Community 41]]
 - [[_COMMUNITY_Community 42|Community 42]]
 - [[_COMMUNITY_Community 43|Community 43]]
 - [[_COMMUNITY_Community 44|Community 44]]
-- [[_COMMUNITY_Community 45|Community 45]]
-- [[_COMMUNITY_Community 46|Community 46]]
-- [[_COMMUNITY_Community 49|Community 49]]
+- [[_COMMUNITY_Community 47|Community 47]]
 
 ## God Nodes (most connected - your core abstractions)
 1. `success_response()` - 842 edges
@@ -71,100 +69,100 @@
 ## Surprising Connections (you probably didn't know these)
 - `统一记录 API 请求/响应出入参的中间件` --uses--> `SysApiRequestLog`  [INFERRED]
   core/api_request_log_middleware.py → models/models.py
-- `get_menu_list()` --calls--> `success_response()`  [INFERRED]
-  api/menu.py → core/response.py
 - `菜单 code 权限守卫(V0.3:通过 sys_user_role → sys_role_menu → sys_menu.perms)` --uses--> `SysUser`  [INFERRED]
   core/menu_guard.py → models/models.py
 - `运营端角色守卫:admin / super_admin 可访问。` --uses--> `SysUser`  [INFERRED]
   core/menu_guard.py → models/models.py
 - `读取用户授权的菜单权限标识集合(与前端 meta.menuCode / perms 对齐)。` --uses--> `SysUser`  [INFERRED]
   core/menu_guard.py → models/models.py
+- `接口菜单权限守卫(已统一放行 menuCode 校验,仅保留运营端登录)。` --uses--> `SysUser`  [INFERRED]
+  core/menu_guard.py → models/models.py
 
 ## Communities
 
 ### Community 0 - "Community 0"
 Cohesion: 0.01
-Nodes (1198): _assert_user_tenant_access(), attachment_download_url(), create_dept(), create_dict_data(), create_dict_type(), create_express_company(), create_item_unit(), create_menu() (+1190 more)
+Nodes (1175): _assert_user_tenant_access(), attachment_download_url(), create_dept(), create_dict_data(), create_dict_type(), create_express_company(), create_item_unit(), create_menu() (+1167 more)
 
 ### Community 1 - "Community 1"
-Cohesion: 0.01
-Nodes (860): _save_sample_payments(), BaseSettings, Config, secret_key_must_be_strong(), Settings, generate_uuid(), allocate_next_biz_no(), _allocate_sqlite_sequence() (+852 more)
+Cohesion: 0.0
+Nodes (901): BaseSettings, Config, secret_key_must_be_strong(), Settings, generate_uuid(), allocate_next_biz_no(), _allocate_sqlite_sequence(), _format_biz_no() (+893 more)
 
 ### Community 2 - "Community 2"
 Cohesion: 0.01
-Nodes (615): GarmentBatchDeleteBody, GarmentBatchDiscardBody, GarmentCreateBody, GarmentDiscardBody, GarmentUpdateBody, SterilizeLogBatchBody, SterilizeLogCreateBody, SterilizeLogUpdateBody (+607 more)
+Nodes (735): AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, DictDataCreateBody, DictDataUpdateBody, DictTypeCreateBody, DictTypeUpdateBody, ExpressCompanyCreateBody (+727 more)
 
 ### Community 3 - "Community 3"
-Cohesion: 0.04
-Nodes (495): CellSampleTypeCreateBody, CellSampleTypeUpdateBody, CollectionRegionCreateBody, CollectionRegionUpdateBody, CustomerCreateBody, CustomerUpdateBody, HospitalCreateBody, HospitalUpdateBody (+487 more)
+Cohesion: 0.07
+Nodes (479): CellSampleTypeCreateBody, CellSampleTypeUpdateBody, CollectionRegionCreateBody, CollectionRegionUpdateBody, CustomerCreateBody, CustomerUpdateBody, HospitalCreateBody, HospitalUpdateBody (+471 more)
 
 ### Community 4 - "Community 4"
-Cohesion: 0.01
-Nodes (428): _normalize_date_bound(), assert_protocol_sensitive_fields(), _attach_handler_name(), create_collection_protocol(), delete_collection_protocol(), get_collection_protocol_detail(), _get_current_user_id(), get_invoice_eligible_payments() (+420 more)
+Cohesion: 0.04
+Nodes (427): AuditCreateBody, BatchDetailIdsBody, BatchRefundFinanceSubmitBody, FinanceConfirmBody, FullmoonHandleBody, FullmoonTodoInsuranceBody, InvoiceRequestCompleteBody, InvoiceRequestCreateBody (+419 more)
 
 ### Community 5 - "Community 5"
-Cohesion: 0.08
-Nodes (412): 环境检测 — 检测项维护 + 登记管理 API, InsuranceCompanyCreateBody, InsuranceCompanyInvoiceCreateBody, InsuranceCompanyInvoiceUpdateBody, InsuranceCompanyUpdateBody, InsuranceProjectPriceCreateBody, InsuranceProjectPriceUpdateBody, 保险公司及险种价格管理 API(保险公司 + 开票信息 + 险种价格) (+404 more)
+Cohesion: 0.01
+Nodes (365): _normalize_date_bound(), assert_protocol_sensitive_fields(), create_collection_protocol(), _persist_protocol_sub_resources(), _resolve_consent_form_urls(), _resolve_health_survey_form_urls(), _resolve_protocol_attachments(), update_collection_protocol() (+357 more)
 
 ### Community 6 - "Community 6"
-Cohesion: 0.02
-Nodes (359): AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, DictDataCreateBody, DictDataUpdateBody, DictTypeCreateBody, DictTypeUpdateBody, ExpressCompanyCreateBody (+351 more)
+Cohesion: 0.01
+Nodes (328): _body_to_payload(), _get_current_user_id(), get_production_reception_by_sample_code(), get_production_reception_detail(), _get_tenant_no(), post_production_reception(), put_production_reception(), _resolve_reception_id() (+320 more)
 
 ### Community 7 - "Community 7"
-Cohesion: 0.01
-Nodes (349): eq_unicode(), like_unicode(), MySQL 字符串比较/模糊匹配时统一排序规则,避免 Illegal mix of collations。, 跨表字符串等值比较(JOIN / WHERE)时统一为 utf8mb4_unicode_ci。, 将列显式设为 utf8mb4_unicode_ci。, unicode_ci(), get_cell_product(), _load_lineage_qc_for_nodes() (+341 more)
+Cohesion: 0.02
+Nodes (312): 截止日期:仅日期时扩到当天 23:59:59。, 发起前预览审批链(条件齐后解析最终路径与审批人)。, 兼容旧 GET:无 formData,含条件分支时多为待确定占位。, _app_to_dict(), _copied_app_name(), copy_app(), create_app(), create_group() (+304 more)
 
 ### Community 8 - "Community 8"
-Cohesion: 0.02
-Nodes (237): list_ethnics_for_select(), _leave_local_callback(), apply_data_scope(), _get_child_dept_ids(), _resolve_user_role_scopes(), delete(), get_multi_with_filters(), count_pending_protocol_invoice_requests() (+229 more)
+Cohesion: 0.01
+Nodes (256): list_ethnics_for_select(), get_designer_data(), apply_data_scope(), _get_child_dept_ids(), _resolve_user_role_scopes(), delete(), get_multi_with_filters(), count_pending_protocol_invoice_requests() (+248 more)
 
 ### Community 9 - "Community 9"
 Cohesion: 0.02
-Nodes (178): _ancestor_link_from_cell_product_input(), _ancestor_sample_chain_link(), _apply_cell_product_status_change(), _build_ancestor_chain(), _build_descendant_chain(), _build_facility_path_label(), build_split_product_codes(), create_cell_product() (+170 more)
+Nodes (188): _register_attachment_routes(), _register_freight_routes(), _register_payment_routes(), _register_presign_routes(), _register_protocol_routes(), mp_bind_status(), 小程序鉴权:微信登录 / 绑定 openid。, 当前用户是否已绑定微信服务号 openid。 (+180 more)
 
 ### Community 10 - "Community 10"
 Cohesion: 0.02
-Nodes (154): _register_attachment_routes(), _register_freight_routes(), _register_payment_routes(), _register_presign_routes(), _register_protocol_routes(), mp_bind_status(), 小程序鉴权:微信登录 / 绑定 openid。, 当前用户是否已绑定微信服务号 openid。 (+146 more)
+Nodes (173): _ancestor_link_from_cell_product_input(), _ancestor_sample_chain_link(), _apply_cell_product_status_change(), _build_ancestor_chain(), _build_descendant_chain(), _build_facility_path_label(), build_split_product_codes(), create_cell_product() (+165 more)
 
 ### Community 11 - "Community 11"
 Cohesion: 0.03
-Nodes (122): 验证密码(哈希非 bcrypt 或损坏时返回 False,避免抛错), verify_password(), 按行同步子表。  带 ID 的行原地修改,没有 ID 时按业务键对上尚未占用的原行,其余才新增。 本次提交里没有的活动行才软删除。不要整表软删后再插入,否则外键, 按关联 id 更新关系行。重新加回已删除的关联时恢复原行,避免唯一索引冲突。, _sort_key(), sync_child_rows(), sync_link_rows(), batch_create_checkups() (+114 more)
+Nodes (140): _save_sample_payments(), deduct_for_step(), _display_remark(), list_stock_logs(), _parse_receiver_purpose_from_remark(), 耗材变动记录 CRUD(biz_consumable_stock_log), 撤销步骤此前 step_save 扣减,便于重新填报。, 扣减耗材库存并生成变动记录。调用方控制事务,本函数不 commit。 (+132 more)
 
 ### Community 12 - "Community 12"
-Cohesion: 0.03
-Nodes (98): get_designer_data(), _error_json(), lifespan(), 未捕获异常:统一 JSON 500,确保跨域场景下仍有 Access-Control-Allow-Origin, 数据库异常:返回 JSON 并保留 CORS 头,避免浏览器只报跨域错误, sqlalchemy_exception_handler(), unhandled_exception_handler(), BaseHTTPMiddleware (+90 more)
+Cohesion: 0.04
+Nodes (97): get_customer_service_dict(), _get_tenant_no(), _get_current_user_id(), get_sample_insurance(), get_sample_storage_cert(), _get_tenant_no(), put_sample_insurance(), put_sample_storage_cert() (+89 more)
 
 ### Community 13 - "Community 13"
-Cohesion: 0.05
-Nodes (114): AccessLogCreateBody, AccessLogUpdateBody, CleanRoomCreateBody, CleanRoomUpdateBody, ExhibitionAppointmentCreateBody, ExhibitionAppointmentUpdateBody, list_storage_slot_stats(), OccupancyCreateBody (+106 more)
+Cohesion: 0.06
+Nodes (105): AccessLogCreateBody, AccessLogUpdateBody, CleanRoomCreateBody, CleanRoomUpdateBody, ExhibitionAppointmentCreateBody, ExhibitionAppointmentUpdateBody, list_storage_slot_stats(), OccupancyCreateBody (+97 more)
 
 ### Community 14 - "Community 14"
-Cohesion: 0.04
-Nodes (96): get_customer_service_dict(), _get_tenant_no(), _get_current_user_id(), get_sample_insurance(), get_sample_storage_cert(), _get_tenant_no(), put_sample_insurance(), put_sample_storage_cert() (+88 more)
+Cohesion: 0.05
+Nodes (58): _error_json(), lifespan(), 未捕获异常:统一 JSON 500,确保跨域场景下仍有 Access-Control-Allow-Origin, 数据库异常:返回 JSON 并保留 CORS 头,避免浏览器只报跨域错误, sqlalchemy_exception_handler(), unhandled_exception_handler(), BaseHTTPMiddleware, ApiCryptoError (+50 more)
 
 ### Community 15 - "Community 15"
-Cohesion: 0.08
-Nodes (64): add_transfer(), assert_presign_convertible(), confirm_receipt(), confirmed_deposit_amount(), confirmed_deposit_amount_map(), convert_to_protocol(), create_presign_order(), _dec() (+56 more)
+Cohesion: 0.05
+Nodes (52): 验证密码(哈希非 bcrypt 或损坏时返回 False,避免抛错), verify_password(), 按行同步子表。  带 ID 的行原地修改,没有 ID 时按业务键对上尚未占用的原行,其余才新增。 本次提交里没有的活动行才软删除。不要整表软删后再插入,否则外键, 按关联 id 更新关系行。重新加回已删除的关联时恢复原行,避免唯一索引冲突。, _sort_key(), sync_link_rows(), _bound_user_names_by_post_ids(), create_post() (+44 more)
 
 ### Community 16 - "Community 16"
-Cohesion: 0.08
-Nodes (57): api_save_application(), auto_generate_schedules(), complete_application(), create_application(), create_basic_experiment_sale_schedules(), create_infusion_plan(), create_schedule(), _create_schedule_products() (+49 more)
+Cohesion: 0.09
+Nodes (50): complete_application(), create_basic_experiment_sale_schedules(), create_infusion_plan(), create_schedule(), _create_schedule_products(), _format_yyyy_mm_dd(), _generate_application_no(), get_application() (+42 more)
 
 ### Community 17 - "Community 17"
-Cohesion: 0.06
-Nodes (22): extract_avatar_storage_key(), 用户头像 URL 解析(sys_user.avatar 可能存 MinIO 相对路径或完整 URL), 从 upload 返回值或历史完整 URL 中提取 avatar/ 相对路径。, 服务端内部拼完整 URL(邮件等);Web API 应返回库中原始路径。, resolve_avatar_display_url(), BaseStorage, convert_heic_to_jpeg(), get_storage() (+14 more)
+Cohesion: 0.1
+Nodes (38): get_detail(), _load_sample_context(), _row_to_dict(), upsert(), _with_prefill(), dumps_payload(), empty_detail(), loads_payload() (+30 more)
 
 ### Community 18 - "Community 18"
-Cohesion: 0.1
-Nodes (39): get_detail(), _load_sample_context(), _row_to_dict(), upsert(), _with_prefill(), dumps_payload(), empty_detail(), loads_payload() (+31 more)
+Cohesion: 0.11
+Nodes (35): batch_create_sterilize_logs(), batch_create_wash_logs(), batch_discard_garments(), batch_soft_delete_garments(), _count_map(), create_garment(), create_sterilize_log(), create_wash_log() (+27 more)
 
 ### Community 19 - "Community 19"
 Cohesion: 0.12
-Nodes (31): _assert_routes_exist(), collect_missing_route_ids(), collect_route_ids_without_steps(), create_set(), create_set_from_work_order(), create_tasks_from_set(), delete_set(), get_set() (+23 more)
+Nodes (11): get_wechat_pay_client(), get_wechat_pay_v2(), 微信支付工具模块  支持微信支付 V3 API 文档参考: https://pay.weixin.qq.com/docs/v3/apis/index.ht, 统一下单接口 (V3)          Args:             out_trade_no: 商户订单号             total, 申请退款          Args:             out_trade_no: 商户订单号             total_amount, 小程序调起支付的二次签名参数(与公众号 JSAPI 规则一致), 统一下单 (V2 API)          Args:             out_trade_no: 商户订单号             tot, 生成签名 V3 (SHA256 with RSA) (+3 more)
 
 ### Community 20 - "Community 20"
-Cohesion: 0.12
-Nodes (11): get_wechat_pay_client(), get_wechat_pay_v2(), 微信支付工具模块  支持微信支付 V3 API 文档参考: https://pay.weixin.qq.com/docs/v3/apis/index.ht, 统一下单接口 (V3)          Args:             out_trade_no: 商户订单号             total, 申请退款          Args:             out_trade_no: 商户订单号             total_amount, 小程序调起支付的二次签名参数(与公众号 JSAPI 规则一致), 统一下单 (V2 API)          Args:             out_trade_no: 商户订单号             tot, 生成签名 V3 (SHA256 with RSA) (+3 more)
+Cohesion: 0.13
+Nodes (23): batch_create_checkups(), _checkup_project_fee(), _checkup_project_name(), create_checkup(), delete_actual_item(), delete_reserve_item(), get_checkup_by_id(), list_actual_items() (+15 more)
 
 ### Community 21 - "Community 21"
 Cohesion: 0.19
@@ -179,139 +177,129 @@ Cohesion: 0.2
 Nodes (19): _code_exists(), create_material(), _dec(), _fmt_dt(), get_material(), get_material_entity(), get_my_usages(), _is_enabled_status() (+11 more)
 
 ### Community 24 - "Community 24"
-Cohesion: 0.25
-Nodes (15): create_protocol_refund_record(), delete_protocol_refund_record(), _get_current_user_id(), _get_tenant_no(), list_protocol_refund_records(), _protocol_accessible(), update_protocol_refund_record(), create_refund_record() (+7 more)
+Cohesion: 0.19
+Nodes (18): _field_label(), _is_non_empty_str(), _is_required(), _is_valid_receive_account_item(), normalize_account_fields(), _pick(), _pick_order_num(), _pick_str() (+10 more)
 
 ### Community 25 - "Community 25"
-Cohesion: 0.19
-Nodes (17): apply_trip_kit_days(), calc_trip_leg_days(), _day_index(), _end_offset(), _extract_rules(), is_half_day_multiple(), _kit_trip_fields(), 出差套件:半日制行程时长(与前端 oa-trip-days.ts 对齐) (+9 more)
+Cohesion: 0.25
+Nodes (15): create_protocol_refund_record(), delete_protocol_refund_record(), _get_current_user_id(), _get_tenant_no(), list_protocol_refund_records(), _protocol_accessible(), update_protocol_refund_record(), create_refund_record() (+7 more)
 
 ### Community 26 - "Community 26"
-Cohesion: 0.32
-Nodes (12): _attach_owner_names(), create_account(), _filtered_query(), get_account(), list_accounts(), list_options(), _owner_name_map(), OA 收款账户 CRUD(oa_receive_account) (+4 more)
+Cohesion: 0.22
+Nodes (15): apply_trip_kit_days(), calc_trip_leg_days(), _day_index(), _end_offset(), _extract_rules(), is_half_day_multiple(), 出差套件:半日制行程时长(与前端 oa-trip-days.ts 对齐), 遍历 tripKit:行程未手改则覆盖 duration;出差天数未手改则覆盖为各行程时长之和。 (+7 more)
 
 ### Community 27 - "Community 27"
-Cohesion: 0.27
-Nodes (12): _field_label(), _is_empty(), _is_required(), _parse_money(), OA 表单设计器:金额控件 form_data 校验, 校验 form_data 中金额控件的值格式,返回中文错误列表(空表示通过)。, 解析金额值。成功返回 (number, None);失败返回 (None, error_key)。, _rule_props() (+4 more)
+Cohesion: 0.32
+Nodes (12): _attach_owner_names(), create_account(), _filtered_query(), get_account(), list_accounts(), list_options(), _owner_name_map(), OA 收款账户 CRUD(oa_receive_account) (+4 more)
 
 ### Community 28 - "Community 28"
-Cohesion: 0.31
-Nodes (10): _build_tree(), _cascade_soft_delete(), _collect_with_ancestors(), get_dept(), list_depts(), list_depts_tree(), 保留匹配节点及其全部上级,供关键词检索后仍能正确组树。, _row_to_dict() (+2 more)
+Cohesion: 0.24
+Nodes (11): deduct_for_step(), _display_remark(), list_stock_logs(), _parse_receiver_purpose_from_remark(), 试剂变动记录 CRUD(biz_reagent_stock_log), 撤销步骤此前 step_save 扣减,便于重新填报。, 扣减试剂库存并生成变动记录。调用方控制事务,本函数不 commit。, _resolve_receiver_purpose() (+3 more)
 
 ### Community 29 - "Community 29"
 Cohesion: 0.29
 Nodes (2): BaseModel, SoftDeleteModel
 
 ### Community 30 - "Community 30"
-Cohesion: 0.46
-Nodes (7): _dec(), _due_date(), 未作废期:应缴金额与应缴时间必填(分期场景由调用方 require_fields=True)。, 未作废期 dueAmount 合计须等于合同金额。     require_schedule_fields=True 时先校验每期金额与应缴日必填。     返, schedule_dues_match_contract(), schedule_required_fields_ok(), _status()
-
-### Community 31 - "Community 31"
 Cohesion: 0.38
 Nodes (6): derive_legacy_status_from_three(), derive_three_status_from_legacy(), 阶段A兼容:从旧 status 推导三字段。     约束:旧 status 本身混合了支付/配送/订单生命周期,因此只能尽力推断;     若业务侧已有更精确, 阶段A兼容:从三字段反推旧 status(用于旧前端/旧筛选参数兼容)。, ThreeStatus, _to_decimal()
 
-### Community 32 - "Community 32"
+### Community 31 - "Community 31"
 Cohesion: 0.4
 Nodes (5): batch_matches_stock_status(), normalize_batch_stock_status(), 质检物料入库批次:按剩余数量过滤的语义辅助。, 纯函数判定(供单测);list_batches 用 SQL 等价条件。, 返回 'available' | 'exhausted';全部 / 空 / 非法 → None(不加剩余数量条件)。
 
-### Community 33 - "Community 33"
+### Community 32 - "Community 32"
 Cohesion: 0.5
 Nodes (2): _auto_fill_create_dept_id(), ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID
 
-### Community 34 - "Community 34"
-Cohesion: 0.67
-Nodes (2): get_menu_list(), 运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,5 个一级菜单分组)
-
-### Community 35 - "Community 35"
+### Community 33 - "Community 33"
 Cohesion: 0.67
 Nodes (1): 转正套件:入职日 + 试用期月数 → 建议转正日(YYYY-MM-DD)。
 
-### Community 36 - "Community 36"
+### Community 34 - "Community 34"
 Cohesion: 1.0
 Nodes (1): 质检物料金额查看授权:专用角色与菜单权限常量。
 
-### Community 37 - "Community 37"
+### Community 35 - "Community 35"
 Cohesion: 1.0
 Nodes (1): 请求级别的用户上下文变量  通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传
 
-### Community 38 - "Community 38"
+### Community 36 - "Community 36"
 Cohesion: 1.0
 Nodes (1): API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)
 
-### Community 41 - "Community 41"
+### Community 39 - "Community 39"
 Cohesion: 1.0
 Nodes (1): 发送订单状态通知                  Args:             openid: 用户openid             ord
 
-### Community 42 - "Community 42"
+### Community 40 - "Community 40"
 Cohesion: 1.0
 Nodes (1): 发送支付成功通知                  Args:             openid: 用户openid             ord
 
-### Community 43 - "Community 43"
+### Community 41 - "Community 41"
 Cohesion: 1.0
 Nodes (1): 发送配送通知                  Args:             openid: 配送员openid             task
 
-### Community 44 - "Community 44"
+### Community 42 - "Community 42"
 Cohesion: 1.0
 Nodes (1): 发送配送时效预警                  Args:             openid: 配送员openid             ta
 
-### Community 45 - "Community 45"
+### Community 43 - "Community 43"
 Cohesion: 1.0
 Nodes (1): 发送退款结果通知                  Args:             openid: 用户openid             ord
 
-### Community 46 - "Community 46"
+### Community 44 - "Community 44"
 Cohesion: 1.0
 Nodes (1): 发送催单通知给配送员                  Args:             deliver_openid: 配送员openid
 
-### Community 49 - "Community 49"
+### Community 47 - "Community 47"
 Cohesion: 1.0
 Nodes (1): 接受 YYYYMMDD / YYYY-MM-DD,统一规范为 CHAR(8) YYYYMMDD。
 
 ## Knowledge Gaps
-- **212 isolated node(s):** `刷新会话 TTL(refreshToken 续期;已登录用户每次 API 校验通过后滑动续期)`, `写入 refreshToken(用于 one-time 使用/吊销)`, `根据 token 获取当前用户(包含 Redis 会话校验;会话滑动续期)`, `严格判断当前租户用户是否拥有指定移动市场权限码。`, `为移动市场 API 提供租户化、精确匹配的菜单权限依赖。` (+207 more)
+- **213 isolated node(s):** `刷新会话 TTL(refreshToken 续期;已登录用户每次 API 校验通过后滑动续期)`, `写入 refreshToken(用于 one-time 使用/吊销)`, `根据 token 获取当前用户(包含 Redis 会话校验;会话滑动续期)`, `严格判断当前租户用户是否拥有指定移动市场权限码。`, `为移动市场 API 提供租户化、精确匹配的菜单权限依赖。` (+208 more)
   These have ≤1 connection - possible missing edges or undocumented components.
 - **Thin community `Community 29`** (8 nodes): `BaseModel`, `.to_dict()`, `get_active()`, `base.py`, `SoftDeleteModel`, `.restore()`, `.soft_delete()`, `__tablename__()`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 33`** (4 nodes): `_auto_fill_create_dept_id()`, `get_db()`, `database.py`, `ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID`
-  Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 34`** (3 nodes): `get_menu_list()`, `menu.py`, `运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,5 个一级菜单分组)`
+- **Thin community `Community 32`** (4 nodes): `_auto_fill_create_dept_id()`, `get_db()`, `database.py`, `ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 35`** (3 nodes): `add_months_ymd()`, `oa_confirmation_date.py`, `转正套件:入职日 + 试用期月数 → 建议转正日(YYYY-MM-DD)。`
+- **Thin community `Community 33`** (3 nodes): `add_months_ymd()`, `oa_confirmation_date.py`, `转正套件:入职日 + 试用期月数 → 建议转正日(YYYY-MM-DD)。`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 36`** (2 nodes): `qc_material_amount_auth_constants.py`, `质检物料金额查看授权:专用角色与菜单权限常量。`
+- **Thin community `Community 34`** (2 nodes): `qc_material_amount_auth_constants.py`, `质检物料金额查看授权:专用角色与菜单权限常量。`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 37`** (2 nodes): `context.py`, `请求级别的用户上下文变量  通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传`
+- **Thin community `Community 35`** (2 nodes): `context.py`, `请求级别的用户上下文变量  通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 38`** (2 nodes): `__init__.py`, `API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)`
+- **Thin community `Community 36`** (2 nodes): `__init__.py`, `API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 41`** (1 nodes): `发送订单状态通知                  Args:             openid: 用户openid             ord`
+- **Thin community `Community 39`** (1 nodes): `发送订单状态通知                  Args:             openid: 用户openid             ord`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 42`** (1 nodes): `发送支付成功通知                  Args:             openid: 用户openid             ord`
+- **Thin community `Community 40`** (1 nodes): `发送支付成功通知                  Args:             openid: 用户openid             ord`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 43`** (1 nodes): `发送配送通知                  Args:             openid: 配送员openid             task`
+- **Thin community `Community 41`** (1 nodes): `发送配送通知                  Args:             openid: 配送员openid             task`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 44`** (1 nodes): `发送配送时效预警                  Args:             openid: 配送员openid             ta`
+- **Thin community `Community 42`** (1 nodes): `发送配送时效预警                  Args:             openid: 配送员openid             ta`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 45`** (1 nodes): `发送退款结果通知                  Args:             openid: 用户openid             ord`
+- **Thin community `Community 43`** (1 nodes): `发送退款结果通知                  Args:             openid: 用户openid             ord`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 46`** (1 nodes): `发送催单通知给配送员                  Args:             deliver_openid: 配送员openid`
+- **Thin community `Community 44`** (1 nodes): `发送催单通知给配送员                  Args:             deliver_openid: 配送员openid`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 49`** (1 nodes): `接受 YYYYMMDD / YYYY-MM-DD,统一规范为 CHAR(8) YYYYMMDD。`
+- **Thin community `Community 47`** (1 nodes): `接受 YYYYMMDD / YYYY-MM-DD,统一规范为 CHAR(8) YYYYMMDD。`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
 
 ## Suggested Questions
 _Questions this graph is uniquely positioned to answer:_
 
-- **Why does `SysUser` connect `Community 3` to `Community 0`, `Community 1`, `Community 2`, `Community 5`, `Community 6`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 26`?**
-  _High betweenness centrality (0.128) - this node is a cross-community bridge._
-- **Why does `success_response()` connect `Community 0` to `Community 2`, `Community 34`, `Community 4`, `Community 8`, `Community 10`, `Community 12`, `Community 13`, `Community 14`, `Community 16`, `Community 24`?**
-  _High betweenness centrality (0.043) - this node is a cross-community bridge._
-- **Why does `generate_uuid()` connect `Community 1` to `Community 0`, `Community 3`, `Community 4`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 15`, `Community 16`, `Community 18`, `Community 19`, `Community 23`, `Community 24`, `Community 26`?**
-  _High betweenness centrality (0.030) - this node is a cross-community bridge._
+- **Why does `SysUser` connect `Community 2` to `Community 0`, `Community 1`, `Community 3`, `Community 4`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 15`, `Community 27`, `Community 28`?**
+  _High betweenness centrality (0.118) - this node is a cross-community bridge._
+- **Why does `success_response()` connect `Community 0` to `Community 2`, `Community 5`, `Community 6`, `Community 8`, `Community 9`, `Community 12`, `Community 13`, `Community 25`?**
+  _High betweenness centrality (0.050) - this node is a cross-community bridge._
+- **Why does `OaEngineError` connect `Community 7` to `Community 0`, `Community 1`, `Community 2`?**
+  _High betweenness centrality (0.035) - this node is a cross-community bridge._
 - **Are the 1209 inferred relationships involving `str` (e.g. with `unhandled_exception_handler()` and `get_current_user_by_token()`) actually correct?**
   _`str` has 1209 INFERRED edges - model-reasoned connections that need verification._
 - **Are the 841 inferred relationships involving `success_response()` (e.g. with `list_storage_release_reviews()` and `get_storage_release_review_detail()`) actually correct?**
   _`success_response()` has 841 INFERRED edges - model-reasoned connections that need verification._
 - **Are the 754 inferred relationships involving `SysUser` (e.g. with `菜单 code 权限守卫(V0.3:通过 sys_user_role → sys_role_menu → sys_menu.perms)` and `运营端角色守卫:admin / super_admin 可访问。`) actually correct?**
   _`SysUser` has 754 INFERRED edges - model-reasoned connections that need verification._
-- **Are the 707 inferred relationships involving `ValueError` (e.g. with `secret_key_must_be_strong()` and `assert_protocol_status_transition()`) actually correct?**
-  _`ValueError` has 707 INFERRED edges - model-reasoned connections that need verification._
+- **Are the 708 inferred relationships involving `ValueError` (e.g. with `secret_key_must_be_strong()` and `assert_protocol_status_transition()`) actually correct?**
+  _`ValueError` has 708 INFERRED edges - model-reasoned connections that need verification._

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 112 - 112
backend/graphify-out/graph.json


+ 2 - 2
backend/graphify-out/manifest.json

@@ -64,7 +64,7 @@
   "/Users/wuzilong/work/00code/zkxw/backend/app/schemas/inquiry.py": 1778578258.095357,
   "/Users/wuzilong/work/00code/zkxw/backend/app/schemas/order.py": 1778578258.0960286,
   "/Users/wuzilong/work/00code/zkxw/backend/app/schemas/__init__.py": 1781502992.2721803,
-  "/Users/wuzilong/work/00code/zkxw/backend/app/schemas/market_mobile.py": 1793154270.7000167,
+  "/Users/wuzilong/work/00code/zkxw/backend/app/schemas/market_mobile.py": 1793155336.902657,
   "/Users/wuzilong/work/00code/zkxw/backend/app/schemas/order_adjust.py": 1778578258.0963318,
   "/Users/wuzilong/work/00code/zkxw/backend/app/schemas/cell_product.py": 1782711015.11309,
   "/Users/wuzilong/work/00code/zkxw/backend/app/schemas/menu.py": 1778578258.0957444,
@@ -235,7 +235,7 @@
   "/Users/wuzilong/work/00code/zkxw/backend/app/api/menu.py": 1792580899.7326677,
   "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_delivery.py": 1779655584.820777,
   "/Users/wuzilong/work/00code/zkxw/backend/app/api/sample_cert_insurance.py": 1793001635.2987237,
-  "/Users/wuzilong/work/00code/zkxw/backend/app/api/admin.py": 1790217215.444356,
+  "/Users/wuzilong/work/00code/zkxw/backend/app/api/admin.py": 1793240569.7858844,
   "/Users/wuzilong/work/00code/zkxw/backend/app/api/env_detect.py": 1786945487.513935,
   "/Users/wuzilong/work/00code/zkxw/backend/app/api/research_donation.py": 1793001640.0574386,
   "/Users/wuzilong/work/00code/zkxw/backend/app/api/ethnic.py": 1779266243.9511197,

+ 14 - 0
deploy/docker/nginx/default.conf

@@ -34,6 +34,20 @@ server {
         proxy_set_header Host $host;
     }
 
+    # 附件上传:大文件要等正文传完再落存储,不能跟普通接口共用 120s
+    location ^~ /api/web/admin/attachment/upload {
+        proxy_pass http://backend:8111;
+        proxy_http_version 1.1;
+        proxy_set_header Host $host;
+        proxy_set_header X-Real-IP $remote_addr;
+        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+        proxy_set_header X-Forwarded-Proto $scheme;
+        proxy_request_buffering off;
+        proxy_connect_timeout 30s;
+        proxy_send_timeout 300s;
+        proxy_read_timeout 300s;
+    }
+
     location ^~ /api/ {
         proxy_pass http://backend:8111;
         proxy_http_version 1.1;

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 496 - 543
web-admin/graphify-out/.graphify_analysis.json


+ 81 - 88
web-admin/graphify-out/.graphify_extract.json

@@ -6053,28 +6053,28 @@
       "label": "resolveUploadResponseUrl()",
       "file_type": "code",
       "source_file": "utils/oa-form-create-upload.ts",
-      "source_location": "L32"
+      "source_location": "L33"
     },
     {
       "id": "utils_oa_form_create_upload_ensureuploadrule",
       "label": "ensureUploadRule()",
       "file_type": "code",
       "source_file": "utils/oa-form-create-upload.ts",
-      "source_location": "L40"
+      "source_location": "L41"
     },
     {
       "id": "utils_oa_form_create_upload_ensureoauploadruleprops",
       "label": "ensureOaUploadRuleProps()",
       "file_type": "code",
       "source_file": "utils/oa-form-create-upload.ts",
-      "source_location": "L77"
+      "source_location": "L78"
     },
     {
       "id": "utils_oa_form_create_upload_setupformcreateupload",
       "label": "setupFormCreateUpload()",
       "file_type": "code",
       "source_file": "utils/oa-form-create-upload.ts",
-      "source_location": "L105"
+      "source_location": "L106"
     },
     {
       "id": "utils_protocol_payment_flow_steps_ts",
@@ -10974,49 +10974,42 @@
       "label": "toFormValue()",
       "file_type": "code",
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L211"
+      "source_location": "L210"
     },
     {
       "id": "oa_approval_oafcupload_tovalue",
       "label": "toValue()",
       "file_type": "code",
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L214"
+      "source_location": "L213"
     },
     {
       "id": "oa_approval_oafcupload_data",
       "label": "data()",
       "file_type": "code",
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L229"
+      "source_location": "L228"
     },
     {
       "id": "oa_approval_oafcupload_handler",
       "label": "handler()",
       "file_type": "code",
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L271"
+      "source_location": "L272"
     },
     {
       "id": "oa_approval_oafcupload_handlepreview",
       "label": "handlePreview()",
       "file_type": "code",
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L281"
+      "source_location": "L285"
     },
     {
       "id": "oa_approval_oafcupload_handledownload",
       "label": "handleDownload()",
       "file_type": "code",
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L294"
-    },
-    {
-      "id": "oa_approval_oafcupload_if",
-      "label": "if()",
-      "file_type": "code",
-      "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L341"
+      "source_location": "L298"
     },
     {
       "id": "components_oa_approval_oaownerdeptselect_vue",
@@ -13865,126 +13858,126 @@
       "label": "fetchUploadAttachment()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L121"
+      "source_location": "L124"
     },
     {
       "id": "api_business_fetchattachmentdownloadurl",
       "label": "fetchAttachmentDownloadUrl()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L135"
+      "source_location": "L139"
     },
     {
       "id": "api_business_fetchuploadproductimage",
       "label": "fetchUploadProductImage()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L142"
+      "source_location": "L146"
     },
     {
       "id": "api_business_fetchsystemconfig",
       "label": "fetchSystemConfig()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L149"
+      "source_location": "L153"
     },
     {
       "id": "api_business_fetchclinicalpayments",
       "label": "fetchClinicalPayments()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L157"
+      "source_location": "L161"
     },
     {
       "id": "api_business_fetchclinicalpaymentdetail",
       "label": "fetchClinicalPaymentDetail()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L164"
+      "source_location": "L168"
     },
     {
       "id": "api_business_submitclinicalreceipt",
       "label": "submitClinicalReceipt()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L170"
+      "source_location": "L174"
     },
     {
       "id": "api_business_batchsubmitclinicalreceipt",
       "label": "batchSubmitClinicalReceipt()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L177"
+      "source_location": "L181"
     },
     {
       "id": "api_business_confirmclinicalreceipt",
       "label": "confirmClinicalReceipt()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L184"
+      "source_location": "L188"
     },
     {
       "id": "api_business_rejectclinicalreceipt",
       "label": "rejectClinicalReceipt()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L191"
+      "source_location": "L195"
     },
     {
       "id": "api_business_submitclinicalrefund",
       "label": "submitClinicalRefund()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L198"
+      "source_location": "L202"
     },
     {
       "id": "api_business_batchsubmitclinicalrefund",
       "label": "batchSubmitClinicalRefund()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L205"
+      "source_location": "L209"
     },
     {
       "id": "api_business_confirmclinicalrefund",
       "label": "confirmClinicalRefund()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L212"
+      "source_location": "L216"
     },
     {
       "id": "api_business_rejectclinicalrefund",
       "label": "rejectClinicalRefund()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L219"
+      "source_location": "L223"
     },
     {
       "id": "api_business_fetchclinicalreceiptpending",
       "label": "fetchClinicalReceiptPending()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L226"
+      "source_location": "L230"
     },
     {
       "id": "api_business_fetchclinicalreceiptconfirmed",
       "label": "fetchClinicalReceiptConfirmed()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L233"
+      "source_location": "L237"
     },
     {
       "id": "api_business_fetchclinicalrefundpending",
       "label": "fetchClinicalRefundPending()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L240"
+      "source_location": "L244"
     },
     {
       "id": "api_business_fetchclinicalrefundconfirmed",
       "label": "fetchClinicalRefundConfirmed()",
       "file_type": "code",
       "source_file": "api/business.ts",
-      "source_location": "L247"
+      "source_location": "L251"
     },
     {
       "id": "api_admin_ts",
@@ -40014,7 +40007,7 @@
     },
     {
       "source": "utils_oa_form_create_upload_ts",
-      "target": "users_wuzilong_work_00code_zkxw_web_admin_src_composables_useattachmentactions",
+      "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_http_error",
       "relation": "imports_from",
       "confidence": "EXTRACTED",
       "source_file": "utils/oa-form-create-upload.ts",
@@ -40023,7 +40016,7 @@
     },
     {
       "source": "utils_oa_form_create_upload_ts",
-      "target": "components_oa_approval_oafcrow_vue",
+      "target": "users_wuzilong_work_00code_zkxw_web_admin_src_composables_useattachmentactions",
       "relation": "imports_from",
       "confidence": "EXTRACTED",
       "source_file": "utils/oa-form-create-upload.ts",
@@ -40032,20 +40025,29 @@
     },
     {
       "source": "utils_oa_form_create_upload_ts",
-      "target": "components_oa_approval_oafcupload_vue",
+      "target": "components_oa_approval_oafcrow_vue",
       "relation": "imports_from",
       "confidence": "EXTRACTED",
       "source_file": "utils/oa-form-create-upload.ts",
       "source_location": "L11",
       "weight": 1.0
     },
+    {
+      "source": "utils_oa_form_create_upload_ts",
+      "target": "components_oa_approval_oafcupload_vue",
+      "relation": "imports_from",
+      "confidence": "EXTRACTED",
+      "source_file": "utils/oa-form-create-upload.ts",
+      "source_location": "L12",
+      "weight": 1.0
+    },
     {
       "source": "utils_oa_form_create_upload_ts",
       "target": "utils_oa_form_create_upload_resolveuploadresponseurl",
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "utils/oa-form-create-upload.ts",
-      "source_location": "L32",
+      "source_location": "L33",
       "weight": 1.0
     },
     {
@@ -40054,7 +40056,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "utils/oa-form-create-upload.ts",
-      "source_location": "L40",
+      "source_location": "L41",
       "weight": 1.0
     },
     {
@@ -40063,7 +40065,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "utils/oa-form-create-upload.ts",
-      "source_location": "L77",
+      "source_location": "L78",
       "weight": 1.0
     },
     {
@@ -40072,7 +40074,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "utils/oa-form-create-upload.ts",
-      "source_location": "L105",
+      "source_location": "L106",
       "weight": 1.0
     },
     {
@@ -49351,7 +49353,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L211",
+      "source_location": "L210",
       "weight": 1.0
     },
     {
@@ -49360,7 +49362,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L214",
+      "source_location": "L213",
       "weight": 1.0
     },
     {
@@ -49369,7 +49371,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L229",
+      "source_location": "L228",
       "weight": 1.0
     },
     {
@@ -49378,7 +49380,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L271",
+      "source_location": "L272",
       "weight": 1.0
     },
     {
@@ -49387,7 +49389,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L281",
+      "source_location": "L285",
       "weight": 1.0
     },
     {
@@ -49396,16 +49398,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L294",
-      "weight": 1.0
-    },
-    {
-      "source": "components_oa_approval_oafcupload_vue",
-      "target": "oa_approval_oafcupload_if",
-      "relation": "contains",
-      "confidence": "EXTRACTED",
-      "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L341",
+      "source_location": "L298",
       "weight": 1.0
     },
     {
@@ -53788,7 +53781,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L121",
+      "source_location": "L124",
       "weight": 1.0
     },
     {
@@ -53797,7 +53790,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L135",
+      "source_location": "L139",
       "weight": 1.0
     },
     {
@@ -53806,7 +53799,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L142",
+      "source_location": "L146",
       "weight": 1.0
     },
     {
@@ -53815,7 +53808,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L149",
+      "source_location": "L153",
       "weight": 1.0
     },
     {
@@ -53824,7 +53817,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L157",
+      "source_location": "L161",
       "weight": 1.0
     },
     {
@@ -53833,7 +53826,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L164",
+      "source_location": "L168",
       "weight": 1.0
     },
     {
@@ -53842,7 +53835,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L170",
+      "source_location": "L174",
       "weight": 1.0
     },
     {
@@ -53851,7 +53844,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L177",
+      "source_location": "L181",
       "weight": 1.0
     },
     {
@@ -53860,7 +53853,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L184",
+      "source_location": "L188",
       "weight": 1.0
     },
     {
@@ -53869,7 +53862,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L191",
+      "source_location": "L195",
       "weight": 1.0
     },
     {
@@ -53878,7 +53871,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L198",
+      "source_location": "L202",
       "weight": 1.0
     },
     {
@@ -53887,7 +53880,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L205",
+      "source_location": "L209",
       "weight": 1.0
     },
     {
@@ -53896,7 +53889,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L212",
+      "source_location": "L216",
       "weight": 1.0
     },
     {
@@ -53905,7 +53898,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L219",
+      "source_location": "L223",
       "weight": 1.0
     },
     {
@@ -53914,7 +53907,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L226",
+      "source_location": "L230",
       "weight": 1.0
     },
     {
@@ -53923,7 +53916,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L233",
+      "source_location": "L237",
       "weight": 1.0
     },
     {
@@ -53932,7 +53925,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L240",
+      "source_location": "L244",
       "weight": 1.0
     },
     {
@@ -53941,7 +53934,7 @@
       "relation": "contains",
       "confidence": "EXTRACTED",
       "source_file": "api/business.ts",
-      "source_location": "L247",
+      "source_location": "L251",
       "weight": 1.0
     },
     {
@@ -83822,7 +83815,7 @@
       "confidence": "INFERRED",
       "confidence_score": 0.8,
       "source_file": "utils/oa-form-create-upload.ts",
-      "source_location": "L37",
+      "source_location": "L38",
       "weight": 1.0
     },
     {
@@ -85672,7 +85665,7 @@
       "confidence": "INFERRED",
       "confidence_score": 0.8,
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L286",
+      "source_location": "L290",
       "weight": 1.0
     },
     {
@@ -85682,7 +85675,7 @@
       "confidence": "INFERRED",
       "confidence_score": 0.8,
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L287",
+      "source_location": "L291",
       "weight": 1.0
     },
     {
@@ -85692,7 +85685,7 @@
       "confidence": "INFERRED",
       "confidence_score": 0.8,
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L288",
+      "source_location": "L292",
       "weight": 1.0
     },
     {
@@ -85702,7 +85695,7 @@
       "confidence": "INFERRED",
       "confidence_score": 0.8,
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L296",
+      "source_location": "L300",
       "weight": 1.0
     },
     {
@@ -85712,7 +85705,7 @@
       "confidence": "INFERRED",
       "confidence_score": 0.8,
       "source_file": "components/oa-approval/OaFcUpload.vue",
-      "source_location": "L317",
+      "source_location": "L321",
       "weight": 1.0
     },
     {
@@ -87102,7 +87095,7 @@
       "confidence": "INFERRED",
       "confidence_score": 0.8,
       "source_file": "api/business.ts",
-      "source_location": "L150",
+      "source_location": "L154",
       "weight": 1.0
     },
     {
@@ -87112,7 +87105,7 @@
       "confidence": "INFERRED",
       "confidence_score": 0.8,
       "source_file": "api/business.ts",
-      "source_location": "L158",
+      "source_location": "L162",
       "weight": 1.0
     },
     {
@@ -87122,7 +87115,7 @@
       "confidence": "INFERRED",
       "confidence_score": 0.8,
       "source_file": "api/business.ts",
-      "source_location": "L165",
+      "source_location": "L169",
       "weight": 1.0
     },
     {
@@ -87132,7 +87125,7 @@
       "confidence": "INFERRED",
       "confidence_score": 0.8,
       "source_file": "api/business.ts",
-      "source_location": "L227",
+      "source_location": "L231",
       "weight": 1.0
     },
     {
@@ -87142,7 +87135,7 @@
       "confidence": "INFERRED",
       "confidence_score": 0.8,
       "source_file": "api/business.ts",
-      "source_location": "L234",
+      "source_location": "L238",
       "weight": 1.0
     },
     {
@@ -87152,7 +87145,7 @@
       "confidence": "INFERRED",
       "confidence_score": 0.8,
       "source_file": "api/business.ts",
-      "source_location": "L241",
+      "source_location": "L245",
       "weight": 1.0
     },
     {
@@ -87162,7 +87155,7 @@
       "confidence": "INFERRED",
       "confidence_score": 0.8,
       "source_file": "api/business.ts",
-      "source_location": "L248",
+      "source_location": "L252",
       "weight": 1.0
     },
     {

+ 156 - 134
web-admin/graphify-out/GRAPH_REPORT.md

@@ -1,10 +1,10 @@
-# Graph Report - src  (2026-10-28)
+# Graph Report - src  (2026-10-29)
 
 ## Corpus Check
-- Large corpus: 1053 files · ~695,830 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
+- Large corpus: 1053 files · ~695,949 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
 
 ## Summary
-- 3935 nodes · 5769 edges · 63 communities detected
+- 3934 nodes · 5768 edges · 67 communities detected
 - Extraction: 76% EXTRACTED · 24% INFERRED · 0% AMBIGUOUS · INFERRED: 1378 edges (avg confidence: 0.8)
 - Token cost: 0 input · 0 output
 
@@ -50,28 +50,32 @@
 - [[_COMMUNITY_Community 38|Community 38]]
 - [[_COMMUNITY_Community 39|Community 39]]
 - [[_COMMUNITY_Community 40|Community 40]]
+- [[_COMMUNITY_Community 41|Community 41]]
 - [[_COMMUNITY_Community 42|Community 42]]
 - [[_COMMUNITY_Community 43|Community 43]]
+- [[_COMMUNITY_Community 44|Community 44]]
+- [[_COMMUNITY_Community 45|Community 45]]
 - [[_COMMUNITY_Community 47|Community 47]]
 - [[_COMMUNITY_Community 48|Community 48]]
-- [[_COMMUNITY_Community 50|Community 50]]
-- [[_COMMUNITY_Community 51|Community 51]]
-- [[_COMMUNITY_Community 52|Community 52]]
+- [[_COMMUNITY_Community 49|Community 49]]
 - [[_COMMUNITY_Community 53|Community 53]]
 - [[_COMMUNITY_Community 54|Community 54]]
-- [[_COMMUNITY_Community 55|Community 55]]
 - [[_COMMUNITY_Community 56|Community 56]]
 - [[_COMMUNITY_Community 57|Community 57]]
 - [[_COMMUNITY_Community 58|Community 58]]
+- [[_COMMUNITY_Community 59|Community 59]]
 - [[_COMMUNITY_Community 60|Community 60]]
-- [[_COMMUNITY_Community 63|Community 63]]
-- [[_COMMUNITY_Community 64|Community 64]]
-- [[_COMMUNITY_Community 70|Community 70]]
-- [[_COMMUNITY_Community 75|Community 75]]
-- [[_COMMUNITY_Community 80|Community 80]]
-- [[_COMMUNITY_Community 92|Community 92]]
-- [[_COMMUNITY_Community 95|Community 95]]
+- [[_COMMUNITY_Community 62|Community 62]]
+- [[_COMMUNITY_Community 65|Community 65]]
+- [[_COMMUNITY_Community 66|Community 66]]
+- [[_COMMUNITY_Community 68|Community 68]]
+- [[_COMMUNITY_Community 69|Community 69]]
+- [[_COMMUNITY_Community 74|Community 74]]
+- [[_COMMUNITY_Community 78|Community 78]]
+- [[_COMMUNITY_Community 83|Community 83]]
 - [[_COMMUNITY_Community 96|Community 96]]
+- [[_COMMUNITY_Community 99|Community 99]]
+- [[_COMMUNITY_Community 100|Community 100]]
 
 ## God Nodes (most connected - your core abstractions)
 1. `get()` - 350 edges
@@ -86,135 +90,135 @@
 10. `walkRules()` - 17 edges
 
 ## Surprising Connections (you probably didn't know these)
-- `mapRemoteSlotSelectOption()` --calls--> `Number()`  [INFERRED]
-  utils/storage-slot-options.ts → views/cell-storage/payment-info/PaymentBySampleTab.vue
-- `getStorageFacilityOrderNum()` --calls--> `Number()`  [INFERRED]
-  utils/storage-slot-options.ts → views/cell-storage/payment-info/PaymentBySampleTab.vue
-- `isStorageSlotAvailable()` --calls--> `Number()`  [INFERRED]
-  utils/storage-slot-options.ts → views/cell-storage/payment-info/PaymentBySampleTab.vue
 - `handleBatchDelete()` --calls--> `withFullscreenLoading()`  [INFERRED]
   views/operations/exhibition-appointment/index.vue → utils/fullscreen-loading.ts
 - `handleBatchDelete()` --calls--> `withFullscreenLoading()`  [INFERRED]
   views/system/tenant/index.vue → utils/fullscreen-loading.ts
+- `handleBatchDelete()` --calls--> `withFullscreenLoading()`  [INFERRED]
+  views/system/unit/index.vue → utils/fullscreen-loading.ts
+- `handleBatchDelete()` --calls--> `withFullscreenLoading()`  [INFERRED]
+  views/pilot-service/cell-product-type/CellProductPriceTab.vue → utils/fullscreen-loading.ts
+- `handleBatchDelete()` --calls--> `withFullscreenLoading()`  [INFERRED]
+  views/basic-info/cell-sample-type/index.vue → utils/fullscreen-loading.ts
 
 ## Communities
 
 ### Community 0 - "Community 0"
 Cohesion: 0.0
-Nodes (214): fetchAccessLogList(), fetchActiveRegions(), fetchCategoryList(), fetchCategoryParameters(), fetchChannelAccount(), fetchChannelAgreementPrices(), fetchChannelAgreements(), fetchChannelInvoices() (+206 more)
+Nodes (225): fetchAccessLogList(), fetchActiveRegions(), fetchCategoryList(), fetchCategoryParameters(), fetchChannelAccount(), fetchChannelAgreementPrices(), fetchChannelAgreements(), fetchChannelInvoices() (+217 more)
 
 ### Community 1 - "Community 1"
-Cohesion: 0.02
-Nodes (138): formatNowDatetime(), formatTodayDate(), if(), Number(), addPaymentDetail(), applyPreferentialContractForV1Mode(), createEmptyTransport(), datetimeToYmd() (+130 more)
+Cohesion: 0.01
+Nodes (161): formatNowDatetime(), handleFocus(), handleInput(), formatTodayDate(), if(), Number(), addPaymentDetail(), applyPreferentialContractForV1Mode() (+153 more)
 
 ### Community 2 - "Community 2"
 Cohesion: 0.02
-Nodes (116): fetchMyProductionTasks(), fetchMyQcTaskList(), fetchQcTaskDetail(), fetchQcTaskList(), buildTemporaryViewSections(), buildInsertedSiblingCard(), fetchMineTasksForWorkOrders(), resolveShowProtocolPaymentAtGroup() (+108 more)
+Nodes (148): fetchUploadAttachment(), fetchOaRelatedSummaries(), handleReportUpload(), handleReportUpload(), walk(), if(), async(), addDispatchItem() (+140 more)
 
 ### Community 3 - "Community 3"
 Cohesion: 0.02
-Nodes (113): fetchCellProductPackageList(), fetchCellProductPriceList(), fetchCellProductSpecList(), fetchCellProductTypeList(), fetchCheckupInstitutionInvoices(), fetchCheckupInstitutionProjects(), fetchCreateCellProductPackage(), fetchCreateCellProductPrice() (+105 more)
+Nodes (122): fetchCellProductPackageList(), fetchCheckupInstitutionInvoices(), fetchCollectionRegionList(), fetchCreateCellProductPackage(), fetchCreateCellProductSpec(), fetchCreateCellProductType(), fetchCreateCheckupInstitution(), fetchCreateCheckupInstitutionInvoice() (+114 more)
 
 ### Community 4 - "Community 4"
 Cohesion: 0.02
-Nodes (90): fetchAddTaskStep(), fetchCopyTaskStep(), fetchDeleteTaskStep(), fetchDispatchProductionTaskSteps(), fetchForwardProductionTask(), fetchProductionTaskDetail(), fetchProductionTaskEditorInit(), fetchProductionTaskList() (+82 more)
+Nodes (111): fetchMyProductionTasks(), fetchMyQcTaskList(), fetchQcTaskDetail(), fetchQcTaskList(), buildTemporaryViewSections(), buildInsertedSiblingCard(), fetchMineTasksForWorkOrders(), resolveShowProtocolPaymentAtGroup() (+103 more)
 
 ### Community 5 - "Community 5"
-Cohesion: 0.02
-Nodes (95): fetchUpdatePostBoundRoles(), fetchUploadAttachment(), FireworkSystem, handleReportUpload(), handleReportUpload(), walk(), branchConditionLines(), collectConditionReferencedFields() (+87 more)
+Cohesion: 0.03
+Nodes (94): batchSavePilotCheckup(), deletePilotCheckupActualItem(), fetchCheckupInstitutionList(), fetchCheckupInstitutionPackageDetail(), fetchCheckupInstitutionPackages(), fetchCheckupInstitutionProjects(), fetchPilotCheckupActualItems(), fetchPilotCheckupDetail() (+86 more)
 
 ### Community 6 - "Community 6"
-Cohesion: 0.03
-Nodes (91): batchSavePilotCheckup(), deletePilotCheckupActualItem(), fetchCheckupInstitutionList(), fetchCheckupInstitutionPackageDetail(), fetchCheckupInstitutionPackages(), fetchPilotCheckupActualItems(), fetchPilotCheckupDetail(), fetchPilotCheckupList() (+83 more)
+Cohesion: 0.02
+Nodes (67): fetchBatchDeleteOaReceiveAccounts(), fetchBatchMarkOaCcTasksRead(), fetchCreateOaReceiveAccount(), fetchDeleteOaReceiveAccount(), fetchMarkOaCcTaskRead(), fetchOaAppDraft(), fetchOaBankReceipts(), fetchOaCcUnreadCount() (+59 more)
 
 ### Community 7 - "Community 7"
 Cohesion: 0.02
-Nodes (67): fetchBatchDeleteOaReceiveAccounts(), fetchBatchMarkOaCcTasksRead(), fetchCreateOaReceiveAccount(), fetchDeleteOaReceiveAccount(), fetchMarkOaCcTaskRead(), fetchOaAppDraft(), fetchOaBankReceipts(), fetchOaCcUnreadCount() (+59 more)
+Nodes (69): fetchProductionTaskList(), fetchProductionWasteOutputList(), fetchProductionReceptionBySampleCode(), fetchProductionReceptionSubmit(), fetchProductionReceptionUpdate(), fetchSampleStorageCertQc(), saveSampleStorageCertQc(), handleDialogClose() (+61 more)
 
 ### Community 8 - "Community 8"
-Cohesion: 0.03
-Nodes (63): buildInboundBasicSection(), buildInboundCellStorageViewSections(), buildInboundResearchDonationViewSections(), buildReceptionSection(), buildTransportSection(), resolveInboundProtocolStatus(), buildBaseFields(), buildInboundBasicSection() (+55 more)
+Cohesion: 0.02
+Nodes (42): fetchGetMenuList(), useSettingsHandlers(), useSettingsPanel(), useSettingsState(), ComponentLoader, IframeRouteManager, MenuProcessor, RoutePermissionValidator (+34 more)
 
 ### Community 9 - "Community 9"
 Cohesion: 0.03
-Nodes (69): fetchCellSampleTypeList(), fetchCreateCellSampleType(), fetchCreateItemUnit(), fetchCreateMenu(), fetchCreateTenant(), fetchDeleteCellSampleType(), fetchDeleteItemUnit(), fetchDeleteMenu() (+61 more)
+Nodes (58): fetchAttachmentDownloadUrl(), qcAttachmentFullUrl(), qcDownloadAttachment(), qcPreviewAttachment(), formatHandoverUserLabel(), formatNowDatetime(), fullFileUrl(), handleDownloadAttachment() (+50 more)
 
 ### Community 10 - "Community 10"
 Cohesion: 0.03
-Nodes (58): fetchDictDataOptions(), fetchAttachmentDownloadUrl(), formatProtocolAmount(), handleAttachmentPreview(), resolveFileUrl(), showStepContent(), visibleFields(), qcAttachmentFullUrl() (+50 more)
+Nodes (55): fetchUpdatePostBoundRoles(), fetchMineProductionWorkOrderTabStepCounts(), fetchMineProductionWorkOrderTabStepCountsDeduped(), fetchProductionWorkOrderCellProductOptions(), fetchProductionWorkOrderDetail(), fetchProductionWorkOrderList(), fetchProductionWorkOrderQcDispatchOptions(), fetchProductionWorkOrderTabStepCounts() (+47 more)
 
 ### Community 11 - "Community 11"
-Cohesion: 0.03
-Nodes (33): fetchGetMenuList(), ComponentLoader, IframeRouteManager, MenuProcessor, RouteRegistry, RouteTransformer, useAppMode(), useAuth() (+25 more)
+Cohesion: 0.04
+Nodes (49): fetchCreateMenu(), fetchDeleteMenu(), fetchMenuTree(), fetchUpdateMenu(), collectIds(), buildInboundBasicSection(), buildInboundCellStorageViewSections(), buildInboundResearchDonationViewSections() (+41 more)
 
 ### Community 12 - "Community 12"
-Cohesion: 0.03
-Nodes (55): handleBlur(), handleFocus(), handleInput(), fetchCreatePaymentTransfer(), fetchDeletePaymentTransfer(), fetchPaymentChaseList(), fetchPaymentTransferList(), fetchPaymentTransferReceiptConfirmedList() (+47 more)
+Cohesion: 0.04
+Nodes (65): fetchDeptTree(), fetchUserList(), fetchOaFlowPreview(), fetchOaTemplateDetail(), openForDraft(), remoteSearchHandoverUsers(), applySchema(), flowNeedsInitiatorSelect() (+57 more)
 
 ### Community 13 - "Community 13"
-Cohesion: 0.03
-Nodes (57): useSettingsHandlers(), useSettingsPanel(), useSettingsState(), RoutePermissionValidator, useCeremony(), useTheme(), if(), nodeSummary() (+49 more)
+Cohesion: 0.04
+Nodes (45): buildBaseFields(), buildInboundBasicSection(), buildInboundCellStorageProductionViewSections(), buildInboundResearchDonationProductionViewSections(), buildOutboundBasicExperimentProductionViewSections(), buildOutboundClinicalProductionViewSections(), buildOutboundDetail(), buildOutboundPilotProductionViewSections() (+37 more)
 
 ### Community 14 - "Community 14"
 Cohesion: 0.04
-Nodes (70): fetchDeptTree(), fetchUserList(), fetchOaFlowPreview(), fetchOaTemplateDetail(), openForDraft(), remoteSearchHandoverUsers(), applySchema(), flowNeedsInitiatorSelect() (+62 more)
+Nodes (42): handleBlur(), handleFocus(), handleInput(), fetchClinicalReceiptConfirmed(), fetchClinicalRefundConfirmed(), buildConfirmedParams(), buildPendingParams(), formatAmount() (+34 more)
 
 ### Community 15 - "Community 15"
-Cohesion: 0.04
-Nodes (58): fetchCollectionRegionList(), fetchCreateCollectionRegion(), fetchCreateHospital(), fetchCreateRegionStaff(), fetchDeleteCollectionRegion(), fetchDeleteHospital(), fetchDeleteRegionStaff(), fetchHospitalList() (+50 more)
-
-### Community 16 - "Community 16"
 Cohesion: 0.05
 Nodes (54): fetchGetMenuCodes(), fetchGetUserInfo(), fetchLogin(), fetchRefreshToken(), fetchUpdateProfile(), fetchUploadProfileAvatar(), fetchWxQrStatus(), toLogin() (+46 more)
 
-### Community 17 - "Community 17"
+### Community 16 - "Community 16"
 Cohesion: 0.04
-Nodes (42): fetchMineProductionWorkOrderTabStepCounts(), fetchMineProductionWorkOrderTabStepCountsDeduped(), fetchProductionWorkOrderCellProductOptions(), fetchProductionWorkOrderDetail(), fetchProductionWorkOrderList(), fetchProductionWorkOrderQcDispatchOptions(), fetchProductionWorkOrderQcInfo(), fetchProductionWorkOrderTabStepCounts() (+34 more)
+Nodes (18): fetchProductionWorkOrderQcInfo(), fetchSampleInsurance(), fetchSampleStorageCert(), fetchUpdateSampleStorageCert(), dash(), fmtMoney(), auditorDisplay(), dash() (+10 more)
 
-### Community 18 - "Community 18"
+### Community 17 - "Community 17"
 Cohesion: 0.05
-Nodes (56): fetchOaRelatedSummaries(), buildFormRows(), buildOaPrintFilename(), buildOaPrintModel(), canvasToPdf(), ensurePlainObject(), exportOaApprovalPdf(), extractUrls() (+48 more)
+Nodes (41): fetchCreatePaymentTransfer(), fetchDeletePaymentTransfer(), fetchPaymentChaseList(), fetchPaymentTransferList(), fetchPaymentTransferReceiptConfirmedList(), fetchPaymentTransferReceiptConfirmList(), fetchProtocolRefundRecords(), fetchSamplePaymentDetail() (+33 more)
 
-### Community 19 - "Community 19"
-Cohesion: 0.04
-Nodes (16): fetchSampleInsurance(), fetchSampleStorageCert(), fetchUpdateSampleStorageCert(), dash(), fmtMoney(), auditorDisplay(), dash(), ensureUnitsInOptions() (+8 more)
-
-### Community 20 - "Community 20"
+### Community 18 - "Community 18"
 Cohesion: 0.05
-Nodes (34): fetchClinicalPaymentDetail(), fetchClinicalPayments(), fetchClinicalReceiptConfirmed(), fetchClinicalReceiptPending(), fetchClinicalRefundConfirmed(), fetchClinicalRefundPending(), fetchOrderAdjusts(), fetchOrderDetail() (+26 more)
+Nodes (39): fetchCreateQcInspectionItemTemplate(), fetchDeleteQcInspectionItemTemplate(), fetchQcInspectionItemTemplateDetail(), fetchQcInspectionItemTemplateList(), fetchQcInspectionItemTemplatesActive(), fetchUpdateQcInspectionItemTemplate(), fetchQcLabTestItemList(), fetchQcLabTestItemsActive() (+31 more)
 
-### Community 21 - "Community 21"
+### Community 19 - "Community 19"
 Cohesion: 0.05
 Nodes (46): completePilotApplication(), deletePilotApplication(), fetchCreateExhibitionAppointment(), fetchDeleteExhibitionAppointment(), fetchExhibitionAppointmentList(), fetchPilotApplicationList(), fetchUpdateExhibitionAppointment(), startPilotApplication() (+38 more)
 
-### Community 22 - "Community 22"
-Cohesion: 0.05
-Nodes (39): fetchCreateQcInspectionItemTemplate(), fetchDeleteQcInspectionItemTemplate(), fetchQcInspectionItemTemplateDetail(), fetchQcInspectionItemTemplateList(), fetchQcInspectionItemTemplatesActive(), fetchUpdateQcInspectionItemTemplate(), fetchQcLabTestItemList(), fetchQcLabTestItemsActive() (+31 more)
-
-### Community 23 - "Community 23"
+### Community 20 - "Community 20"
 Cohesion: 0.06
 Nodes (25): fetchQcMaterialBatchDetail(), fetchQcMaterialBatchList(), fetchQcMaterialBatchOptions(), fetchQcMaterialList(), fetchQcMaterialOptions(), fetchUpdateQcMaterialBatch(), fetchMarkQcMaterialUsageFullyUsed(), financeAttachmentsToUrlString() (+17 more)
 
-### Community 24 - "Community 24"
+### Community 21 - "Community 21"
 Cohesion: 0.1
 Nodes (2): WebSocketClient, TableCache
 
-### Community 25 - "Community 25"
+### Community 22 - "Community 22"
 Cohesion: 0.09
 Nodes (8): getDefaultLanguage(), checkStorageCompatibility(), StorageConfig, getSystemStorage(), getSysVersion(), StorageKeyManager, StorageCompatibilityManager, validateStorageData()
 
-### Community 26 - "Community 26"
+### Community 23 - "Community 23"
+Cohesion: 0.08
+Nodes (31): fetchCreateItemUnit(), fetchCreateTenant(), fetchDeleteItemUnit(), fetchDeleteTenant(), fetchItemUnitList(), fetchTenantList(), fetchUpdateItemUnit(), fetchUpdateTenant() (+23 more)
+
+### Community 24 - "Community 24"
+Cohesion: 0.09
+Nodes (29): fetchAddTaskStep(), fetchCopyTaskStep(), fetchDeleteTaskStep(), fetchDispatchProductionTaskSteps(), fetchForwardProductionTask(), fetchProductionTaskDetail(), fetchProductionTaskEditorInit(), fetchReassignProductionTask() (+21 more)
+
+### Community 25 - "Community 25"
 Cohesion: 0.08
 Nodes (20): createEmptySnapshots(), normalizeConfiguredReagents(), normalizeConsumables(), normalizeDataCollections(), normalizeReagents(), normalizeStepOutputs(), serializeAttachments(), serializeEquipmentIds() (+12 more)
 
-### Community 27 - "Community 27"
+### Community 26 - "Community 26"
 Cohesion: 0.07
 Nodes (19): fetchDeleteMaterialBatch(), fetchMaterialBatchList(), fetchMaterialBatchOptions(), fetchMaterialList(), fetchMaterialOptions(), fetchUpdateMaterialBatch(), fetchMaterialUsageList(), fetchMyMaterialUsageList() (+11 more)
 
-### Community 28 - "Community 28"
+### Community 27 - "Community 27"
 Cohesion: 0.09
 Nodes (22): fetchOaAppList(), fetchOaGroupList(), fetchPublishOaApp(), loadData(), loadGroups(), resetForm(), onSuccess(), goBack() (+14 more)
 
+### Community 28 - "Community 28"
+Cohesion: 0.1
+Nodes (24): fetchCellProductPriceList(), fetchCellProductSpecList(), fetchCellProductTypeList(), fetchCreateCellProductPrice(), fetchUpdateCellProductPrice(), ensureSpecInOptions(), ensureTypeInOptions(), handleAdd() (+16 more)
+
 ### Community 29 - "Community 29"
 Cohesion: 0.08
 Nodes (17): fetchEthnicList(), fetchSampleFreightDetail(), fetchSampleFreightList(), fetchSampleFreightSampleOptions(), fetchUpdateSampleFreight(), applyDonationBundleToForm(), createEmptyTransport(), ensureEthnicOptionInList() (+9 more)
@@ -224,179 +228,197 @@ Cohesion: 0.11
 Nodes (12): fetchCollectionProtocolList(), handleBatchDelete(), handleDelete(), handleDropdownCommand(), handleEdit(), handleReset(), handleSearch(), loadData() (+4 more)
 
 ### Community 31 - "Community 31"
-Cohesion: 0.18
-Nodes (22): buildPaymentFlowSteps(), dash(), formatAmount(), hasFinanceReceipt(), hasFinanceRefund(), hasReceiptSubmit(), hasRefundSubmit(), receiptSubmitTime() (+14 more)
-
-### Community 32 - "Community 32"
 Cohesion: 0.1
 Nodes (12): fetchOutboundReleaseMaterial(), fetchOutboundReleaseReviewDetail(), fetchOutboundReleaseReviewList(), fetchReleaseReviewList(), handleReset(), handleSearch(), handleTabChange(), handleToggleSelect() (+4 more)
 
+### Community 32 - "Community 32"
+Cohesion: 0.13
+Nodes (19): fetchCellSampleTypeList(), fetchCreateCellSampleType(), fetchDeleteCellSampleType(), fetchUpdateCellSampleType(), handleAdd(), handleBatchDelete(), handleDelete(), handleDropdownCommand() (+11 more)
+
 ### Community 33 - "Community 33"
 Cohesion: 0.12
 Nodes (15): addCopyButton(), highlightCode(), insertLineNumbers(), isBlockProcessed(), markBlockAsProcessed(), processBlock(), setupHighlightDirective(), setupRippleDirective() (+7 more)
 
 ### Community 34 - "Community 34"
+Cohesion: 0.17
+Nodes (15): updateInfusionScheduleStatus(), handleSubmit(), buildCompleteConfirmMessage(), canCancelSchedule(), canCompleteSchedule(), canConfirmSchedule(), canEditSchedule(), canShowHandover() (+7 more)
+
+### Community 35 - "Community 35"
+Cohesion: 0.13
+Nodes (8): chipTitle(), confirmPicker(), memberOptionLabel(), removeUser(), resolveUser(), signBadge(), signBadgeText(), updateSelect()
+
+### Community 36 - "Community 36"
 Cohesion: 0.2
 Nodes (14): applyFlagToRule(), applySchema(), countRules(), getActiveRule(), getDesigner(), getSetupState(), onMessage(), readFlag() (+6 more)
 
-### Community 35 - "Community 35"
+### Community 37 - "Community 37"
 Cohesion: 0.16
 Nodes (14): fetchCreateEnvDetectItem(), fetchDeleteEnvDetectItem(), fetchEnvDetectItemDetail(), fetchEnvDetectItemList(), fetchEnvDetectItemsActive(), fetchUpdateEnvDetectItem(), handleAdd(), handleBatchDelete() (+6 more)
 
-### Community 36 - "Community 36"
+### Community 38 - "Community 38"
 Cohesion: 0.12
 Nodes (6): setupOaConfirmationKit(), ensureOaKitMenu(), setupOaLeaveKit(), setupOaOvertimeKit(), setupOaResignationKit(), setupOaTripKit()
 
-### Community 37 - "Community 37"
+### Community 39 - "Community 39"
 Cohesion: 0.16
 Nodes (10): useTable(), useTableImpl(), getColumnChecks(), useTableColumns(), createErrorHandler(), createSmartDebounce(), defaultResponseAdapter(), extractPagination() (+2 more)
 
-### Community 38 - "Community 38"
+### Community 40 - "Community 40"
 Cohesion: 0.27
 Nodes (14): useChart(), useChartComponent(), useChartOps(), colourBlend(), getCssVar(), getDarkColor(), getLightColor(), handleElementThemeColor() (+6 more)
 
-### Community 39 - "Community 39"
+### Community 41 - "Community 41"
+Cohesion: 0.13
+Nodes (4): fetchPresignOrderDetail(), fetchPresignOrderList(), fetchPresignTransferReceiptConfirmedList(), fetchPresignTransferReceiptConfirmList()
+
+### Community 42 - "Community 42"
+Cohesion: 0.33
+Nodes (13): buildProtocolPaymentFlowSteps(), dash(), financeReceiptTime(), formatAmount(), hasFinanceReceipt(), hasFinanceRefund(), hasReceiptSubmit(), hasRefundSubmit() (+5 more)
+
+### Community 43 - "Community 43"
+Cohesion: 0.25
+Nodes (12): buildFlowItems(), isCcProgressItem(), peopleDisplayNames(), progressNodeStatusText(), progressPersonLinesFromItem(), statusText(), displayName(), formatProgressPersonLines() (+4 more)
+
+### Community 44 - "Community 44"
 Cohesion: 0.19
 Nodes (6): fetchServiceOrderTxnList(), handleReset(), handleSearch(), handleTabChange(), loadData(), switchTab()
 
-### Community 40 - "Community 40"
+### Community 45 - "Community 45"
 Cohesion: 0.24
 Nodes (10): buildPrintDocumentHtml(), cleanupPrintIframe(), embedSopImagesAsDataUrls(), getSopA4ContentHeightPx(), getSopA4EditorHeightPx(), normalizeSopCheckboxes(), prepareSopHtmlForPrint(), printSopHtml() (+2 more)
 
-### Community 42 - "Community 42"
+### Community 47 - "Community 47"
 Cohesion: 0.33
 Nodes (7): buildSheetColumns(), downloadOaHistoryExcel(), exportTimestamp(), pad(), sanitizeFilename(), styleHeaderCell(), writeHeaderRows()
 
-### Community 43 - "Community 43"
+### Community 48 - "Community 48"
 Cohesion: 0.25
 Nodes (2): handleTouchEnd(), setTransition()
 
-### Community 47 - "Community 47"
+### Community 49 - "Community 49"
+Cohesion: 0.28
+Nodes (1): FireworkSystem
+
+### Community 53 - "Community 53"
 Cohesion: 0.39
 Nodes (6): isIgnorableScriptError(), normalizeErrorMessage(), registerPromiseErrorHandler(), registerResourceErrorHandler(), scriptErrorHandler(), setupErrorHandle()
 
-### Community 48 - "Community 48"
+### Community 54 - "Community 54"
 Cohesion: 0.36
 Nodes (1): TableHeightCalculator
 
-### Community 50 - "Community 50"
+### Community 56 - "Community 56"
 Cohesion: 0.33
 Nodes (2): logApiCryptoBootInfo(), maskSecret()
 
-### Community 51 - "Community 51"
-Cohesion: 0.38
-Nodes (4): handleFocus(), handleInput(), parseDecimalToNumber(), sanitizeDecimalInput()
-
-### Community 52 - "Community 52"
+### Community 57 - "Community 57"
 Cohesion: 0.29
 Nodes (1): fetchQcMonthTemplateList()
 
-### Community 53 - "Community 53"
-Cohesion: 0.29
-Nodes (2): fetchLeaveDetail(), fetchLeaveList()
-
-### Community 54 - "Community 54"
-Cohesion: 0.29
-Nodes (2): fetchStorageReleaseReviewDetail(), fetchStorageReleaseReviewList()
-
-### Community 55 - "Community 55"
-Cohesion: 0.48
-Nodes (5): buildPrefilledLabStorageCode(), formatYear(), formatYm(), normalizeSampleTypeName(), normalizeSourceType()
-
-### Community 56 - "Community 56"
+### Community 58 - "Community 58"
 Cohesion: 0.4
 Nodes (2): isUnfinishedQcWorkOrder(), resolveQcWorkOrderUnfinishedBadgeCount()
 
-### Community 57 - "Community 57"
+### Community 59 - "Community 59"
 Cohesion: 0.5
 Nodes (2): parseEquipmentIds(), syncEquipmentNamesFromOptions()
 
-### Community 58 - "Community 58"
+### Community 60 - "Community 60"
 Cohesion: 0.7
 Nodes (4): createEmptyStepOutputRow(), createStableRowId(), createStepOutputId(), toStepOutputReplaceItem()
 
-### Community 60 - "Community 60"
+### Community 62 - "Community 62"
 Cohesion: 0.5
 Nodes (2): focusInput(), handleKeydown()
 
-### Community 63 - "Community 63"
+### Community 65 - "Community 65"
 Cohesion: 0.67
 Nodes (2): isCurrentPending(), isNotReached()
 
-### Community 64 - "Community 64"
+### Community 66 - "Community 66"
 Cohesion: 0.67
 Nodes (2): if(), logSidebarMenu()
 
-### Community 70 - "Community 70"
+### Community 68 - "Community 68"
+Cohesion: 0.5
+Nodes (1): fetchStorageEntrySmsList()
+
+### Community 69 - "Community 69"
+Cohesion: 0.5
+Nodes (1): fetchSampleSmsNotificationList()
+
+### Community 74 - "Community 74"
 Cohesion: 1.0
 Nodes (2): getSettingDefaults(), resetToDefaults()
 
-### Community 75 - "Community 75"
+### Community 78 - "Community 78"
 Cohesion: 1.0
 Nodes (2): copyTextToClipboard(), copyTextWithFallback()
 
-### Community 80 - "Community 80"
+### Community 83 - "Community 83"
 Cohesion: 1.0
 Nodes (2): getSourceProtocolAttachment(), normalizeAttachmentFiles()
 
-### Community 92 - "Community 92"
+### Community 96 - "Community 96"
 Cohesion: 1.0
 Nodes (2): emptyTabCounts(), useProductionWorkOrderTabStepCounts()
 
-### Community 95 - "Community 95"
+### Community 99 - "Community 99"
 Cohesion: 1.0
 Nodes (2): initialProgress(), useQcWorkOrderAttachmentExport()
 
-### Community 96 - "Community 96"
+### Community 100 - "Community 100"
 Cohesion: 1.0
 Nodes (2): emptyTabCounts(), useQcWorkOrderTabUnfinishedCounts()
 
 ## Knowledge Gaps
-- **Thin community `Community 24`** (42 nodes): `WebSocketClient`, `.calculateReconnectDelay()`, `.clearAllTimers()`, `.clearConnectionTimers()`, `.clearTimer()`, `.close()`, `.closeCurrentSocketForReconnect()`, `.connect()`, `.connectionStatusText()`, `.constructor()`, `.destroyInstance()`, `.flushMessageQueue()`, `.getInstance()`, `.getReadyStateText()`, `.handleClose()`, `.handleConnectionTimeout()`, `.handleError()`, `.handleMessage()`, `.handleOpen()`, `.init()`, `.isWebSocketConnected()`, `.reconnect()`, `.resetHeartbeat()`, `.send()`, `.startHeartbeat()`, `.startPing()`, `TableCache`, `.cleanupExpired()`, `.clear()`, `.clearByTags()`, `.clearCurrentSearch()`, `.clearPagination()`, `.constructor()`, `.evictLRU()`, `.generateKey()`, `.generateTags()`, `.get()`, `.getStats()`, `.log()`, `.set()`, `index.ts`, `tableCache.ts`
+- **Thin community `Community 21`** (42 nodes): `WebSocketClient`, `.calculateReconnectDelay()`, `.clearAllTimers()`, `.clearConnectionTimers()`, `.clearTimer()`, `.close()`, `.closeCurrentSocketForReconnect()`, `.connect()`, `.connectionStatusText()`, `.constructor()`, `.destroyInstance()`, `.flushMessageQueue()`, `.getInstance()`, `.getReadyStateText()`, `.handleClose()`, `.handleConnectionTimeout()`, `.handleError()`, `.handleMessage()`, `.handleOpen()`, `.init()`, `.isWebSocketConnected()`, `.reconnect()`, `.resetHeartbeat()`, `.send()`, `.startHeartbeat()`, `.startPing()`, `TableCache`, `.cleanupExpired()`, `.clear()`, `.clearByTags()`, `.clearCurrentSearch()`, `.clearPagination()`, `.constructor()`, `.evictLRU()`, `.generateKey()`, `.generateTags()`, `.get()`, `.getStats()`, `.log()`, `.set()`, `index.ts`, `tableCache.ts`
+  Too small to be a meaningful cluster - may be noise or needs more connections extracted.
+- **Thin community `Community 48`** (9 nodes): `cleanupEventListeners()`, `handleTouchEnd()`, `handleTouchMove()`, `handleTouchStart()`, `handleWheelScroll()`, `if()`, `setTransition()`, `setupEventListeners()`, `index.vue`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 43`** (9 nodes): `cleanupEventListeners()`, `handleTouchEnd()`, `handleTouchMove()`, `handleTouchStart()`, `handleWheelScroll()`, `if()`, `setTransition()`, `setupEventListeners()`, `index.vue`
+- **Thin community `Community 49`** (9 nodes): `FireworkSystem`, `.constructor()`, `.createFirework()`, `.createParticle()`, `.getAvailableParticle()`, `.initializePool()`, `.preloadAllImages()`, `.preloadImage()`, `index.vue`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 48`** (8 nodes): `TableHeightCalculator`, `.calculate()`, `.calculateOffset()`, `.calculatePaginationOffset()`, `.constructor()`, `.getHeaderHeight()`, `useTableHeight()`, `useTableHeight.ts`
+- **Thin community `Community 54`** (8 nodes): `TableHeightCalculator`, `.calculate()`, `.calculateOffset()`, `.calculatePaginationOffset()`, `.constructor()`, `.getHeaderHeight()`, `useTableHeight()`, `useTableHeight.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 50`** (7 nodes): `App.vue`, `main.ts`, `refreshButtonAutoIcons()`, `refreshPanelTitleIcons()`, `logApiCryptoBootInfo()`, `maskSecret()`, `console.ts`
+- **Thin community `Community 56`** (7 nodes): `App.vue`, `main.ts`, `refreshButtonAutoIcons()`, `refreshPanelTitleIcons()`, `logApiCryptoBootInfo()`, `maskSecret()`, `console.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 52`** (7 nodes): `fetchConfirmQcMonthImport()`, `fetchCreateQcMonthTemplate()`, `fetchDeleteQcMonthTemplate()`, `fetchPreviewQcMonthImport()`, `fetchQcMonthTemplateList()`, `fetchUpdateQcMonthTemplate()`, `qc-material-month-template.ts`
+- **Thin community `Community 57`** (7 nodes): `fetchConfirmQcMonthImport()`, `fetchCreateQcMonthTemplate()`, `fetchDeleteQcMonthTemplate()`, `fetchPreviewQcMonthImport()`, `fetchQcMonthTemplateList()`, `fetchUpdateQcMonthTemplate()`, `qc-material-month-template.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 53`** (7 nodes): `fetchCreateLeave()`, `fetchDeleteLeave()`, `fetchLeaveDetail()`, `fetchLeaveList()`, `fetchSubmitLeave()`, `fetchUpdateLeave()`, `leave.ts`
+- **Thin community `Community 58`** (6 nodes): `formatQcWorkOrderUnfinishedBadgeCount()`, `isUnfinishedQcWorkOrder()`, `qcWorkOrderUnfinishedBadgeTitle()`, `resolveQcWorkOrderUnfinishedBadgeCount()`, `sumQcWorkOrderGroupUnfinishedBadgeCount()`, `qc-work-order-unfinished-badge.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 54`** (7 nodes): `batchReviewStorageRelease()`, `batchStoreSample()`, `fetchStorageReleaseReviewDetail()`, `fetchStorageReleaseReviewList()`, `storeSample()`, `submitStorageReleaseReview()`, `storage-release-review.ts`
+- **Thin community `Community 59`** (5 nodes): `equipmentOptionLabel()`, `joinEquipmentIds()`, `parseEquipmentIds()`, `syncEquipmentNamesFromOptions()`, `equipment-select.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 56`** (6 nodes): `formatQcWorkOrderUnfinishedBadgeCount()`, `isUnfinishedQcWorkOrder()`, `qcWorkOrderUnfinishedBadgeTitle()`, `resolveQcWorkOrderUnfinishedBadgeCount()`, `sumQcWorkOrderGroupUnfinishedBadgeCount()`, `qc-work-order-unfinished-badge.ts`
+- **Thin community `Community 62`** (5 nodes): `focusInput()`, `handleKeydown()`, `if()`, `search()`, `index.vue`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 57`** (5 nodes): `equipmentOptionLabel()`, `joinEquipmentIds()`, `parseEquipmentIds()`, `syncEquipmentNamesFromOptions()`, `equipment-select.ts`
+- **Thin community `Community 65`** (4 nodes): `isCurrentPending()`, `isNotReached()`, `mergeProgressWithComments()`, `oa-progress-merge-comments.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 60`** (5 nodes): `focusInput()`, `handleKeydown()`, `if()`, `search()`, `index.vue`
+- **Thin community `Community 66`** (4 nodes): `if()`, `logSidebarMenu()`, `index.vue`, `SidebarSubmenu.vue`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 63`** (4 nodes): `isCurrentPending()`, `isNotReached()`, `mergeProgressWithComments()`, `oa-progress-merge-comments.ts`
+- **Thin community `Community 68`** (4 nodes): `fetchGenerateStorageEntrySms()`, `fetchStorageEntrySmsList()`, `fetchToggleStorageEntrySmsNotified()`, `storage-entry-sms-notification.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 64`** (4 nodes): `if()`, `logSidebarMenu()`, `index.vue`, `SidebarSubmenu.vue`
+- **Thin community `Community 69`** (4 nodes): `fetchGenerateSms()`, `fetchSampleSmsNotificationList()`, `fetchToggleSmsNotified()`, `sample-sms-notification.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 70`** (3 nodes): `getSettingDefaults()`, `resetToDefaults()`, `setting.ts`
+- **Thin community `Community 74`** (3 nodes): `getSettingDefaults()`, `resetToDefaults()`, `setting.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 75`** (3 nodes): `copyTextToClipboard()`, `copyTextWithFallback()`, `copy-text.ts`
+- **Thin community `Community 78`** (3 nodes): `copyTextToClipboard()`, `copyTextWithFallback()`, `copy-text.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 80`** (3 nodes): `getSourceProtocolAttachment()`, `normalizeAttachmentFiles()`, `protocol-source-attachment.ts`
+- **Thin community `Community 83`** (3 nodes): `getSourceProtocolAttachment()`, `normalizeAttachmentFiles()`, `protocol-source-attachment.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 92`** (3 nodes): `emptyTabCounts()`, `useProductionWorkOrderTabStepCounts()`, `useProductionWorkOrderTabStepCounts.ts`
+- **Thin community `Community 96`** (3 nodes): `emptyTabCounts()`, `useProductionWorkOrderTabStepCounts()`, `useProductionWorkOrderTabStepCounts.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 95`** (3 nodes): `initialProgress()`, `useQcWorkOrderAttachmentExport()`, `useQcWorkOrderAttachmentExport.ts`
+- **Thin community `Community 99`** (3 nodes): `initialProgress()`, `useQcWorkOrderAttachmentExport()`, `useQcWorkOrderAttachmentExport.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 96`** (3 nodes): `emptyTabCounts()`, `useQcWorkOrderTabUnfinishedCounts()`, `useQcWorkOrderTabUnfinishedCounts.ts`
+- **Thin community `Community 100`** (3 nodes): `emptyTabCounts()`, `useQcWorkOrderTabUnfinishedCounts()`, `useQcWorkOrderTabUnfinishedCounts.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
 
 ## Suggested Questions
 _Questions this graph is uniquely positioned to answer:_
 
-- **Why does `get()` connect `Community 0` to `Community 1`, `Community 2`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 9`, `Community 10`, `Community 12`, `Community 13`, `Community 14`, `Community 15`, `Community 16`, `Community 17`, `Community 18`, `Community 19`, `Community 20`, `Community 21`, `Community 22`, `Community 23`, `Community 27`, `Community 28`, `Community 29`, `Community 30`, `Community 32`, `Community 35`, `Community 39`, `Community 52`, `Community 53`, `Community 54`?**
-  _High betweenness centrality (0.287) - this node is a cross-community bridge._
-- **Why does `push()` connect `Community 5` to `Community 0`, `Community 1`, `Community 2`, `Community 3`, `Community 4`, `Community 6`, `Community 7`, `Community 8`, `Community 10`, `Community 12`, `Community 13`, `Community 14`, `Community 16`, `Community 17`, `Community 18`, `Community 19`, `Community 21`, `Community 22`, `Community 24`, `Community 26`, `Community 28`, `Community 42`?**
-  _High betweenness centrality (0.251) - this node is a cross-community bridge._
-- **Why does `Number()` connect `Community 1` to `Community 0`, `Community 2`, `Community 3`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 12`, `Community 13`, `Community 14`, `Community 16`, `Community 18`, `Community 19`, `Community 23`, `Community 26`, `Community 27`, `Community 29`, `Community 31`, `Community 38`, `Community 51`?**
+- **Why does `get()` connect `Community 0` to `Community 1`, `Community 2`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 10`, `Community 11`, `Community 12`, `Community 14`, `Community 15`, `Community 16`, `Community 17`, `Community 18`, `Community 19`, `Community 20`, `Community 23`, `Community 24`, `Community 26`, `Community 27`, `Community 28`, `Community 29`, `Community 30`, `Community 31`, `Community 32`, `Community 37`, `Community 41`, `Community 44`, `Community 57`, `Community 68`, `Community 69`?**
+  _High betweenness centrality (0.285) - this node is a cross-community bridge._
+- **Why does `push()` connect `Community 2` to `Community 0`, `Community 1`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 15`, `Community 16`, `Community 17`, `Community 18`, `Community 19`, `Community 21`, `Community 24`, `Community 25`, `Community 27`, `Community 35`, `Community 43`, `Community 47`, `Community 49`?**
+  _High betweenness centrality (0.245) - this node is a cross-community bridge._
+- **Why does `Number()` connect `Community 1` to `Community 0`, `Community 2`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 15`, `Community 16`, `Community 17`, `Community 20`, `Community 25`, `Community 26`, `Community 29`, `Community 40`, `Community 42`?**
   _High betweenness centrality (0.123) - this node is a cross-community bridge._
 - **Are the 349 inferred relationships involving `get()` (e.g. with `resolveStorageSlotRangeFill()` and `buildNodeCodePathFromFlat()`) actually correct?**
   _`get()` has 349 INFERRED edges - model-reasoned connections that need verification._

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 1 - 1
web-admin/graphify-out/graph.html


+ 5 - 5
web-admin/graphify-out/manifest.json

@@ -17,8 +17,8 @@
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/common/index.ts": 1781272556.3597305,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/directive/directive.d.ts": 1781272556.3601494,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/api/api.d.ts": 1781272556.3606477,
-  "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/components.d.ts": 1793154421.2186985,
-  "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/auto-imports.d.ts": 1793154400.933743,
+  "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/components.d.ts": 1793240951.889733,
+  "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/auto-imports.d.ts": 1793240850.854424,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/store/index.ts": 1787887312.735774,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/router/index.ts": 1787887320.8486114,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/composables/useAttachmentActions.ts": 1788162977.6691713,
@@ -186,7 +186,7 @@
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/process-material-ui.ts": 1785243503.4279134,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/protocol-fq-params-change.ts": 1791799710.1024482,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/oa-leave-kit-runtime.ts": 1785398692.446228,
-  "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/oa-form-create-upload.ts": 1785145511.866446,
+  "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/oa-form-create-upload.ts": 1793240567.559549,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/protocol-payment-flow-steps.ts": 1791162210.6796443,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/oa-form-create-related-approval.ts": 1785145511.866155,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-step-output.test.ts": 1793094273.9771798,
@@ -394,7 +394,7 @@
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaDeptSelect.vue": 1785382264.265851,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaTripItinerary.vue": 1785489392.2403016,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaMoneyField.vue": 1785382264.3025115,
-  "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaFcUpload.vue": 1791328421.0696688,
+  "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaFcUpload.vue": 1793240675.8076081,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaOwnerDeptSelect.vue": 1785401021.3290825,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaAppIconPicker.vue": 1791328376.3116827,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaBankReceiptDialog.vue": 1792141056.2698953,
@@ -444,7 +444,7 @@
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/collection-protocol.ts": 1792199724.7526388,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/chinaRegion.ts": 1781272556.6606348,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/storage-entry-sms-notification.ts": 1781272556.660898,
-  "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/business.ts": 1781750847.0646322,
+  "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/business.ts": 1793240565.4559534,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/admin.ts": 1792641884.5035758,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/inbound-sample.ts": 1782889889.452178,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/customer-service-dict.ts": 1791860298.5249445,

+ 5 - 1
web-admin/src/api/business.ts

@@ -118,6 +118,9 @@ export function fetchPriceVersionDetail(id: string) {
   })
 }
 
+/** 多张大图并行上传会超过全局 60s,单独放宽 */
+const ATTACHMENT_UPLOAD_TIMEOUT_MS = 300_000
+
 export function fetchUploadAttachment(data: FormData) {
   return request.post<{
     id: string
@@ -128,7 +131,8 @@ export function fetchUploadAttachment(data: FormData) {
     fileType?: string
   }>({
     url: '/web/admin/attachment/upload',
-    data
+    data,
+    timeout: ATTACHMENT_UPLOAD_TIMEOUT_MS
   })
 }
 

+ 31 - 1
web-admin/src/components/oa-approval/OaFcUpload.vue

@@ -6,7 +6,6 @@
   <div class="_fc-upload _oa-fc-upload">
     <el-upload
       ref="uploadRef"
-      :key="fileCount"
       v-bind="uploadAttrs"
       :list-type="resolvedListType"
       :class="{ '_fc-exceed': isExceed }"
@@ -230,6 +229,8 @@
       return {
         previewVisible: false,
         previewImage: '',
+        /** 进行中的上传次数。大于 0 时不要用 modelValue 覆盖 fileList,否则会拆掉仍在上传的文件 */
+        uploadInflight: 0,
         fileList: [] as Array<UploadUserFile & { is_string?: boolean; value?: unknown }>
       }
     },
@@ -269,6 +270,9 @@
       modelValue: {
         immediate: true,
         handler(n: unknown) {
+          // 多文件并行时,第一个成功会改 modelValue。若此时整表替换,
+          // Element Plus 会丢掉仍在上传的项,并在销毁后的实例上读 uid 抛错。
+          if (this.uploadInflight > 0) return
           this.fileList = toArray(n).map(parseFile).map(parseUpload)
         }
       }
@@ -338,6 +342,32 @@
         upload?.handleRemove?.(file)
       },
       doHttpRequest(option: UploadRequestOptions) {
+        this.uploadInflight += 1
+        let settled = false
+        const finish = () => {
+          if (settled) return
+          settled = true
+          this.uploadInflight = Math.max(0, this.uploadInflight - 1)
+          if (this.uploadInflight === 0) {
+            this.fileList = toArray(this.modelValue).map(parseFile).map(parseUpload)
+          }
+        }
+        const prevSuccess = option.onSuccess
+        const prevError = option.onError
+        option.onSuccess = (res: any) => {
+          try {
+            prevSuccess?.(res)
+          } finally {
+            finish()
+          }
+        }
+        option.onError = (err: any) => {
+          try {
+            prevError?.(err)
+          } finally {
+            finish()
+          }
+        }
         if (typeof this.httpRequest === 'function') {
           return this.httpRequest(option)
         }

+ 6 - 2
web-admin/src/utils/oa-form-create-upload.ts

@@ -6,6 +6,7 @@
  */
 import { ElMessage } from 'element-plus'
 import { fetchUploadAttachment } from '@/api/business'
+import { isHttpError } from '@/utils/http/error'
 import { attachmentFullUrl } from '@/composables/useAttachmentActions'
 import OaFcRow from '@/components/oa-approval/OaFcRow.vue'
 import OaFcUpload from '@/components/oa-approval/OaFcUpload.vue'
@@ -158,8 +159,11 @@ export function setupFormCreateUpload(formCreate: {
           url
         })
       } catch (e) {
-        const msg = e instanceof Error ? e.message : '上传失败'
-        ElMessage.error(msg)
+        // HttpError 已由请求层弹出,这里再弹一次会叠成两条「请求超时」
+        if (!isHttpError(e)) {
+          const msg = e instanceof Error ? e.message : '上传失败'
+          ElMessage.error(msg)
+        }
         options.onError?.(e)
       }
     })()

+ 14 - 0
测试环境部署/nginx.conf

@@ -78,6 +78,20 @@ http {
             proxy_set_header Host $host;
         }
 
+        # 附件上传:大文件要等正文传完再落存储,不能跟普通接口共用 120s
+        location ^~ /api/web/admin/attachment/upload {
+            proxy_pass http://47.99.164.66:8112;
+            proxy_http_version 1.1;
+            proxy_set_header Host $host;
+            proxy_set_header X-Real-IP $remote_addr;
+            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+            proxy_set_header X-Forwarded-Proto $scheme;
+            proxy_request_buffering off;
+            proxy_connect_timeout 30s;
+            proxy_send_timeout 300s;
+            proxy_read_timeout 300s;
+        }
+
         # API -> 测试后端(47.99.164.66:8112)
         location ^~ /api/ {
             proxy_pass http://47.99.164.66:8112;

+ 28 - 0
测试环境部署/zkxw-test-10001.conf

@@ -82,6 +82,20 @@ server {
         proxy_set_header Host $host;
     }
 
+    # 附件上传:大文件要等正文传完再落存储,不能跟普通接口共用 120s
+    location ^~ /api/web/admin/attachment/upload {
+        proxy_pass http://127.0.0.1:10002;
+        proxy_http_version 1.1;
+        proxy_set_header Host $host;
+        proxy_set_header X-Real-IP $remote_addr;
+        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+        proxy_set_header X-Forwarded-Proto $scheme;
+        proxy_request_buffering off;
+        proxy_connect_timeout 30s;
+        proxy_send_timeout 300s;
+        proxy_read_timeout 300s;
+    }
+
     location ^~ /api/ {
         proxy_pass http://127.0.0.1:10002;
         proxy_http_version 1.1;
@@ -162,6 +176,20 @@ server {
         proxy_set_header Host $host;
     }
 
+    # 附件上传:大文件要等正文传完再落存储,不能跟普通接口共用 120s
+    location ^~ /api/web/admin/attachment/upload {
+        proxy_pass http://127.0.0.1:10002;
+        proxy_http_version 1.1;
+        proxy_set_header Host $host;
+        proxy_set_header X-Real-IP $remote_addr;
+        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+        proxy_set_header X-Forwarded-Proto $scheme;
+        proxy_request_buffering off;
+        proxy_connect_timeout 30s;
+        proxy_send_timeout 300s;
+        proxy_read_timeout 300s;
+    }
+
     location ^~ /api/ {
         proxy_pass http://127.0.0.1:10002;
         proxy_http_version 1.1;

Vissa filer visades inte eftersom för många filer har ändrats