This commit is contained in:
zlwu committed 2026-09-01 13:43:14 +08:00
1 parent 2fd826dbe1
commit 2cd1194d17
24 files changed
+12379 -11222

No files matched your search

+19
View File
@@ -1940,6 +1940,25 @@ async def complete_production_work_order(
return error_response(400, str(e))
@router.put("/production-work-orders/{wo_id}/void")
async def void_production_work_order_api(
wo_id: str,
user: dict = Depends(require_admin_or_super_admin),
db: Session = Depends(get_db),
):
try:
tenant_no = _get_tenant_no(db, user)
wo = production_work_order_svc.void_production_work_order(
db, wo_id, tenant_no, user.get("user_id"),
)
return success_response(
production_work_order_svc._wo_to_response_dict(db, wo),
message="工单已作废",
)
except ValueError as e:
return error_response(400, str(e))
@router.delete("/production-work-orders/{wo_id}")
async def delete_production_work_order_api(
wo_id: str,
+83 -12
View File
@@ -210,6 +210,9 @@ def _wo_to_dict(wo: BizProductionWorkOrder) -> Dict[str, Any]:
"workOrderStatusLabel": _WORK_ORDER_STATUS_LABELS.get(wo.work_order_status, wo.work_order_status),
"qcConclusion": "",
"qcConclusionLabel": "",
"qcWorkOrderNo": "",
"qcWorkOrderStatus": "",
"qcWorkOrderStatusLabel": "",
"receptionTime": "",
"handlerName": "",
"sampleTypeName": "",
@@ -228,25 +231,47 @@ def _enrich_wo_items(db: Session, items: List[Dict[str, Any]]) -> List[Dict[str,
def _enrich_inbound_qc_conclusions(
db: Session, tenant_no: str, items: List[Dict[str, Any]]
) -> List[Dict[str, Any]]:
"""入库(细胞存储/科研捐赠)生产工单列表补充门禁质检结论。"""
"""入库(细胞存储/科研捐赠)生产工单列表补充门禁质检摘要。"""
if not items or not (tenant_no or "").strip():
return items
from collections import defaultdict
from app.services.protocol_sample_list_summary import (
empty_gate_qc_summary_fields,
get_list_gate_qc_summary_map_by_reception_ids,
get_list_qc_conclusion_map_by_sample_codes,
)
def _apply_gate_qc_fields(item: Dict[str, Any], fields: Dict[str, str]) -> None:
merged = empty_gate_qc_summary_fields()
merged.update(fields or {})
item["qcWorkOrderNo"] = merged.get("qcWorkOrderNo") or ""
item["qcWorkOrderStatus"] = merged.get("qcWorkOrderStatus") or ""
item["qcWorkOrderStatusLabel"] = merged.get("qcWorkOrderStatusLabel") or ""
item["qcConclusion"] = merged.get("qcConclusion") or ""
item["qcConclusionLabel"] = merged.get("qcConclusionLabel") or ""
inbound_items: List[Dict[str, Any]] = []
reception_ids: List[str] = []
codes_by_source: Dict[str, List[str]] = defaultdict(list)
for item in items:
wo_type = (item.get("workOrderType") or "inbound").strip() or "inbound"
source = (item.get("receptionSource") or "").strip()
code = (item.get("sampleCode") or "").strip()
if wo_type != "inbound" or source not in ("cell_storage", "research_donation") or not code:
item["qcConclusion"] = item.get("qcConclusion") or ""
item["qcConclusionLabel"] = item.get("qcConclusionLabel") or ""
if wo_type != "inbound" or source not in ("cell_storage", "research_donation"):
_apply_gate_qc_fields(item, {})
continue
codes_by_source[source].append(code)
inbound_items.append(item)
rid = (item.get("receptionId") or "").strip()
if rid:
reception_ids.append(rid)
elif code:
codes_by_source[source].append(code)
summary_by_reception = get_list_gate_qc_summary_map_by_reception_ids(
db, tenant_no, reception_ids
)
conclusion_maps: Dict[str, Dict[str, Dict[str, str]]] = {}
for source, codes in codes_by_source.items():
@@ -254,17 +279,15 @@ def _enrich_inbound_qc_conclusions(
db, tenant_no, codes, reception_source=source
)
for item in items:
wo_type = (item.get("workOrderType") or "inbound").strip() or "inbound"
for item in inbound_items:
source = (item.get("receptionSource") or "").strip()
code = (item.get("sampleCode") or "").strip()
if wo_type != "inbound" or source not in ("cell_storage", "research_donation") or not code:
item["qcConclusion"] = ""
item["qcConclusionLabel"] = ""
rid = (item.get("receptionId") or "").strip()
if rid and rid in summary_by_reception:
_apply_gate_qc_fields(item, summary_by_reception[rid])
continue
fields = conclusion_maps.get(source, {}).get(code) or {}
item["qcConclusion"] = fields.get("qcConclusion") or ""
item["qcConclusionLabel"] = fields.get("qcConclusionLabel") or ""
_apply_gate_qc_fields(item, fields)
return items
@@ -977,11 +1000,59 @@ def complete_production_work_order(
return wo
def void_production_work_order(
db: Session,
row_id: str,
tenant_no: str,
user_id: str,
) -> BizProductionWorkOrder:
wo = get_production_work_order(db, row_id, tenant_no)
if not wo:
raise ValueError("工单不存在")
if wo.work_order_status == "ywc":
raise ValueError("已完成的工单不能作废")
if wo.work_order_status == "yzf":
raise ValueError("工单已作废")
if wo.work_order_status not in ("dpz", "jxz"):
raise ValueError("仅待配置或进行中的工单可作废")
now = datetime.now()
incomplete_tasks = (
db.query(BizProductionTask)
.filter(
BizProductionTask.work_order_id == wo.id,
BizProductionTask.tenant_no == tenant_no,
BizProductionTask.del_flag == 0,
BizProductionTask.task_status != "ywc",
)
.all()
)
for task in incomplete_tasks:
task.task_status = "yzf"
task.update_by = user_id
task.update_time = now
db.add(task)
wo.work_order_status = "yzf"
wo.update_by = user_id
wo.update_time = now
db.add(wo)
from app.crud.pilot_outbound_status_sync import sync_schedule_from_production_work_order
sync_schedule_from_production_work_order(db, wo, user_id=user_id)
db.commit()
db.refresh(wo)
return wo
_TASK_STATUS_LABELS = {
"dpz": "待配置",
"dzx": "待执行",
"jxz": "执行中",
"ywc": "已完成",
"yzf": "已作废",
}
@@ -15,6 +15,94 @@ from app.services.qc_work_order_conclusion import (
_ACCEPT_CONCLUSION_LABELS = {"js": "接收", "bj": "拒收"}
_VALID_QC_CONCLUSIONS = frozenset({"tg", "btg"})
_QC_WORK_ORDER_STATUS_LABELS = {
"dpz": "待配置",
"ypz": "已配置",
"ywc": "已完成",
"yzf": "已作废",
}
def empty_gate_qc_summary_fields() -> Dict[str, str]:
return {
"qcWorkOrderNo": "",
"qcWorkOrderStatus": "",
"qcWorkOrderStatusLabel": "",
"qcConclusion": "",
"qcConclusionLabel": "",
}
def _empty_gate_qc_summary_fields() -> Dict[str, str]:
return empty_gate_qc_summary_fields()
def _load_derived_qc_conclusions_by_work_order_ids(
db: Session,
work_order_ids: List[str],
) -> Dict[str, List[Optional[str]]]:
conclusions_by_wo: Dict[str, List[Optional[str]]] = defaultdict(list)
ids = list({(i or "").strip() for i in work_order_ids if (i or "").strip()})
if not ids:
return conclusions_by_wo
task_rows = (
db.query(BizQcTask.work_order_id, BizQcTask.conclusion)
.filter(
BizQcTask.del_flag == 0,
BizQcTask.work_order_id.in_(ids),
)
.all()
)
for wo_id, conc in task_rows:
wid = (wo_id or "").strip()
if wid:
conclusions_by_wo[wid].append(conc)
return conclusions_by_wo
def _build_gate_qc_summary_fields(
wo: BizQcWorkOrder,
conclusions_by_wo: Dict[str, List[Optional[str]]],
) -> Dict[str, str]:
stored = (getattr(wo, "conclusion", None) or "").strip()
if stored in _VALID_QC_CONCLUSIONS:
qc_conclusion = stored
qc_label = work_order_qc_conclusion_label(stored)
else:
wid = (wo.id or "").strip()
fields = build_qc_conclusion_fields(conclusions_by_wo.get(wid, []))
qc_conclusion = fields["qcConclusion"]
qc_label = fields["qcConclusionLabel"]
status = (wo.work_order_status or "").strip()
return {
"qcWorkOrderNo": (wo.work_order_no or "").strip(),
"qcWorkOrderStatus": status,
"qcWorkOrderStatusLabel": _QC_WORK_ORDER_STATUS_LABELS.get(status, status),
"qcConclusion": qc_conclusion,
"qcConclusionLabel": qc_label,
}
def _build_gate_qc_summaries_for_work_orders(
db: Session,
work_orders: List[BizQcWorkOrder],
) -> Dict[str, Dict[str, str]]:
if not work_orders:
return {}
need_derive_ids: List[str] = []
for wo in work_orders:
stored = (getattr(wo, "conclusion", None) or "").strip()
if stored not in _VALID_QC_CONCLUSIONS:
wid = (wo.id or "").strip()
if wid:
need_derive_ids.append(wid)
conclusions_by_wo = _load_derived_qc_conclusions_by_work_order_ids(db, need_derive_ids)
out: Dict[str, Dict[str, str]] = {}
for wo in work_orders:
wid = (wo.id or "").strip()
if wid:
out[wid] = _build_gate_qc_summary_fields(wo, conclusions_by_wo)
return out
def build_sample_item_reception_qc_fields(
@@ -76,6 +164,36 @@ def get_list_reception_summary_map_by_sample_codes(
return out
def get_list_gate_qc_summary_map_by_reception_ids(
db: Session,
tenant_no: str,
reception_ids: List[str],
) -> Dict[str, Dict[str, str]]:
"""按 reception_id 批量返回样本接收触发的门禁质检摘要(工单号、状态、结论)。"""
ids = list({(i or "").strip() for i in reception_ids if (i or "").strip()})
if not tenant_no or not ids:
return {}
rows = (
db.query(BizQcWorkOrder)
.filter(
BizQcWorkOrder.tenant_no == tenant_no,
BizQcWorkOrder.del_flag == 0,
BizQcWorkOrder.trigger_source == "reception",
BizQcWorkOrder.reception_id.in_(ids),
)
.all()
)
summaries_by_wo_id = _build_gate_qc_summaries_for_work_orders(db, rows)
out: Dict[str, Dict[str, str]] = {}
for wo in rows:
rid = (wo.reception_id or "").strip()
wid = (wo.id or "").strip()
if not rid or rid in out or not wid:
continue
out[rid] = summaries_by_wo_id.get(wid) or _empty_gate_qc_summary_fields()
return out
def get_list_qc_conclusion_map_by_sample_codes(
db: Session,
tenant_no: str,
@@ -83,7 +201,7 @@ def get_list_qc_conclusion_map_by_sample_codes(
*,
reception_source: str,
) -> Dict[str, Dict[str, str]]:
"""按租户 + 样本编码 + 来源返回门禁质检结论(优先工单落库,否则由任务派生)。"""
"""按租户 + 样本编码 + 来源返回门禁质检摘要(工单号、状态、结论)。"""
codes = list({(c or "").strip() for c in sample_codes if (c or "").strip()})
if not tenant_no or not codes or not (reception_source or "").strip():
return {}
@@ -104,44 +222,12 @@ def get_list_qc_conclusion_map_by_sample_codes(
if code and code not in code_to_wo:
code_to_wo[code] = wo
need_derive_ids: List[str] = []
for wo in code_to_wo.values():
stored = (getattr(wo, "conclusion", None) or "").strip()
if stored not in _VALID_QC_CONCLUSIONS:
wid = (wo.id or "").strip()
if wid:
need_derive_ids.append(wid)
conclusions_by_wo: Dict[str, List[Optional[str]]] = defaultdict(list)
if need_derive_ids:
task_rows = (
db.query(BizQcTask.work_order_id, BizQcTask.conclusion)
.filter(
BizQcTask.del_flag == 0,
BizQcTask.work_order_id.in_(need_derive_ids),
)
.all()
)
for wo_id, conc in task_rows:
wid = (wo_id or "").strip()
if wid:
conclusions_by_wo[wid].append(conc)
summaries_by_wo_id = _build_gate_qc_summaries_for_work_orders(db, list(code_to_wo.values()))
out: Dict[str, Dict[str, str]] = {}
for code, wo in code_to_wo.items():
stored = (getattr(wo, "conclusion", None) or "").strip()
if stored in _VALID_QC_CONCLUSIONS:
out[code] = {
"qcConclusion": stored,
"qcConclusionLabel": work_order_qc_conclusion_label(stored),
}
continue
wid = (wo.id or "").strip()
fields = build_qc_conclusion_fields(conclusions_by_wo.get(wid, []))
out[code] = {
"qcConclusion": fields["qcConclusion"],
"qcConclusionLabel": fields["qcConclusionLabel"],
}
out[code] = summaries_by_wo_id.get(wid) or _empty_gate_qc_summary_fields()
return out
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+78 -88
View File
@@ -1,11 +1,11 @@
# Graph Report - app (2026-09-01)
## Corpus Check
- Large corpus: 264 files · ~316,632 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
- Large corpus: 264 files · ~317,066 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
## Summary
- 5459 nodes · 30049 edges · 44 communities detected
- Extraction: 31% EXTRACTED · 69% INFERRED · 0% AMBIGUOUS · INFERRED: 20605 edges (avg confidence: 0.6)
- 5467 nodes · 30077 edges · 42 communities detected
- Extraction: 31% EXTRACTED · 69% INFERRED · 0% AMBIGUOUS · INFERRED: 20619 edges (avg confidence: 0.6)
- Token cost: 0 input · 0 output
## Community Hubs (Navigation)
@@ -45,18 +45,16 @@
- [[_COMMUNITY_Community 33|Community 33]]
- [[_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]]
## God Nodes (most connected - your core abstractions)
1. `success_response()` - 761 edges
2. `error_response()` - 631 edges
1. `success_response()` - 762 edges
2. `error_response()` - 632 edges
3. `SysUser` - 606 edges
4. `BizQcTaskResult` - 352 edges
5. `BizProductionMaterial` - 336 edges
@@ -71,91 +69,91 @@
core/api_request_log_middleware.py → models/models.py
- `get_menu_list()` --calls--> `success_response()` [INFERRED]
api/menu.py → core/response.py
- `sync_lab_storage_seq_after_use()` --calls--> `generate_uuid()` [INFERRED]
crud/sample_reception_lab_code.py → core/utils.py
- `微信小程序登录业务:openid + 手机号一致性校验。` --uses--> `SysUser` [INFERRED]
services/wechat_login_service.py → models/models.py
- `已绑定 openid 时静默换票(无需手机号授权)。` --uses--> `SysUser` [INFERRED]
services/wechat_login_service.py → models/models.py
- `根据 openid + 本次授权手机号解析可登录员工。 Returns: (user, error_message, error_co` --uses--> `SysUser` [INFERRED]
services/wechat_login_service.py → models/models.py
## Communities
### Community 0 - "Community 0"
Cohesion: 0.01
Nodes (1006): attachment_download_url(), create_dept(), create_dict_data(), create_dict_type(), create_express_company(), create_item_unit(), create_menu(), create_post() (+998 more)
Nodes (1046): attachment_download_url(), create_dept(), create_dict_data(), create_dict_type(), create_express_company(), create_item_unit(), create_menu(), create_post() (+1038 more)
### Community 1 - "Community 1"
Cohesion: 0.01
Nodes (679): generate_uuid(), create_cell_sample_type(), get_cell_sample_type(), list_cell_sample_types(), 细胞样本类型 CRUD(biz_cell_sample_type), _row_to_dict(), soft_delete_cell_sample_type(), type_code_exists() (+671 more)
Nodes (753): generate_uuid(), allocate_next_biz_no(), _format_biz_no(), _prefix_for(), 业务协议号自动生成:XBCC / JZCC + YYYYMMDD + 6 位序号, 原子分配下一个业务协议号。 须在 create 事务内调用;使用 MySQL LAST_INSERT_ID 保证并发安全。, create_cell_sample_type(), get_cell_sample_type() (+745 more)
### Community 2 - "Community 2"
Cohesion: 0.01
Nodes (648): AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, DictDataCreateBody, DictDataUpdateBody, DictTypeCreateBody, DictTypeUpdateBody, ExpressCompanyCreateBody (+640 more)
Nodes (655): AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, DictDataCreateBody, DictDataUpdateBody, DictTypeCreateBody, DictTypeUpdateBody, ExpressCompanyCreateBody (+647 more)
### Community 3 - "Community 3"
Cohesion: 0.06
Nodes (488): 环境检测 — 检测项维护 + 登记管理 API, 保险公司及险种价格管理 API(保险公司 + 开票信息 + 险种价格), AccessLogCreateBody, AccessLogUpdateBody, CleanRoomCreateBody, CleanRoomUpdateBody, ExhibitionAppointmentCreateBody, ExhibitionAppointmentUpdateBody (+480 more)
Cohesion: 0.07
Nodes (434): 环境检测 — 检测项维护 + 登记管理 API, 保险公司及险种价格管理 API(保险公司 + 开票信息 + 险种价格), ProcessDefCreateBody, ProcessDefUpdateBody, PublishVersionBody, 审批意见:前端传 commentText,兼容 comment。, StartInstanceBody, TaskActionBody (+426 more)
### Community 4 - "Community 4"
Cohesion: 0.01
Nodes (291): _normalize_date_bound(), _persist_protocol_sub_resources(), batch_delete_research_donations(), change_donation_status(), convert_from_storage(), convert_to_storage(), create_research_donation(), delete_research_donation() (+283 more)
Nodes (310): _normalize_date_bound(), _persist_protocol_sub_resources(), _body_to_payload(), _get_current_user_id(), get_production_reception_detail(), _get_tenant_no(), post_production_reception(), put_production_reception() (+302 more)
### Community 5 - "Community 5"
Cohesion: 0.06
Nodes (307): CellSampleTypeCreateBody, CellSampleTypeUpdateBody, CollectionRegionCreateBody, CollectionRegionUpdateBody, CustomerCreateBody, CustomerUpdateBody, HospitalCreateBody, HospitalUpdateBody (+299 more)
Nodes (322): CellSampleTypeCreateBody, CellSampleTypeUpdateBody, CollectionRegionCreateBody, CollectionRegionUpdateBody, CustomerCreateBody, CustomerUpdateBody, HospitalCreateBody, HospitalUpdateBody (+314 more)
### Community 6 - "Community 6"
Cohesion: 0.02
Nodes (260): eq_unicode(), like_unicode(), MySQL 字符串比较/模糊匹配时统一排序规则,避免 Illegal mix of collations。, 跨表字符串等值比较(JOIN / WHERE)时统一为 utf8mb4_unicode_ci。, 将列显式设为 utf8mb4_unicode_ci。, unicode_ci(), lookup_attachments_by_urls(), batch_review() (+252 more)
Nodes (227): list_ethnics_for_select(), get_designer_data(), apply_data_scope(), _get_child_dept_ids(), get_user_dept_id(), _resolve_user_role_scopes(), ApiRequestLogCRUD, delete() (+219 more)
### Community 7 - "Community 7"
Cohesion: 0.02
Nodes (216): list_ethnics_for_select(), create_access_log(), create_uv_disinfect_log(), delete_access_log(), delete_clean_room(), delete_storage_facility(), delete_uv_disinfect_log(), _get_tenant_no() (+208 more)
Nodes (227): eq_unicode(), like_unicode(), MySQL 字符串比较/模糊匹配时统一排序规则,避免 Illegal mix of collations。, 跨表字符串等值比较(JOIN / WHERE)时统一为 utf8mb4_unicode_ci。, 将列显式设为 utf8mb4_unicode_ci。, unicode_ci(), build_void_type_label_map(), format_protocol_status_label() (+219 more)
### Community 8 - "Community 8"
Cohesion: 0.02
Nodes (168): mp_bind_status(), 小程序鉴权:微信登录 / 绑定 openid。, 当前用户是否已绑定微信服务号 openid。, 服务号网页授权 code 绑定当前用户(需 Bearer)。, 微信登录:openid 已绑定时可静默换票;否则须授权手机号且与账号 phone_no 一致。, 密码登录后绑定当前微信 openid(需 Bearer)。, _resolve_user_id(), wechat_bind() (+160 more)
Nodes (226): 截止日期:仅日期时扩到当天 23:59:59。, 发起前预览审批链(条件齐后解析最终路径与审批人)。, 兼容旧 GET:无 formData,含条件分支时多为待确定占位。, _app_to_dict(), _copied_app_name(), copy_app(), create_app(), create_group() (+218 more)
### Community 9 - "Community 9"
Cohesion: 0.02
Nodes (192): _app_to_dict(), _copied_app_name(), copy_app(), create_app(), _create_version(), delete_app(), delete_group(), _dumps() (+184 more)
Nodes (146): mp_bind_status(), 小程序鉴权:微信登录 / 绑定 openid。, 当前用户是否已绑定微信服务号 openid。, 服务号网页授权 code 绑定当前用户(需 Bearer)。, 微信登录:openid 已绑定时可静默换票;否则须授权手机号且与账号 phone_no 一致。, 密码登录后绑定当前微信 openid(需 Bearer)。, _resolve_user_id(), wechat_bind() (+138 more)
### Community 10 - "Community 10"
Cohesion: 0.02
Nodes (156): api_save_application(), get_protocol_nos_used_in_protocols(), _fmt_dt(), get_handover_by_schedule(), get_outbound_handover(), get_outbound_handover_view(), _handover_row_to_dict(), _handover_view_dict() (+148 more)
Nodes (197): api_save_application(), map_payments_by_schedule_ids(), _fmt_dt(), get_handover_by_schedule(), get_outbound_handover(), get_outbound_handover_view(), _handover_row_to_dict(), _handover_view_dict() (+189 more)
### Community 11 - "Community 11"
Cohesion: 0.03
Nodes (157): build_void_type_label_map(), format_protocol_status_label(), resolve_void_type_label(), _ancestor_link_from_cell_product_input(), _ancestor_sample_chain_link(), _apply_cell_product_status_change(), _build_ancestor_chain(), _build_descendant_chain() (+149 more)
Cohesion: 0.06
Nodes (102): AccessLogCreateBody, AccessLogUpdateBody, CleanRoomCreateBody, CleanRoomUpdateBody, ExhibitionAppointmentCreateBody, ExhibitionAppointmentUpdateBody, list_storage_slot_stats(), OccupancyCreateBody (+94 more)
### Community 12 - "Community 12"
Cohesion: 0.02
Nodes (110): _collect_descendants(), _current_user(), _find_mobile_root(), list_my_mobile_menus(), _mobile_menu_icon(), _mobile_menu_icon_colors(), 小程序菜单:当前用户在「移动端菜单」树下有权限的入口。, 宫格图标底色/图形色(可按入口自定义,不强制品牌绿)。 (+102 more)
Cohesion: 0.05
Nodes (73): _collect_descendants(), _current_user(), _find_mobile_root(), list_my_mobile_menus(), _mobile_menu_icon(), _mobile_menu_icon_colors(), 小程序菜单:当前用户在「移动端菜单」树下有权限的入口。, 宫格图标底色/图形色(可按入口自定义,不强制品牌绿)。 (+65 more)
### Community 13 - "Community 13"
Cohesion: 0.05
Nodes (71): aggregate_slot_stats_by_facility(), _apply_slot_select_base_filters(), _apply_slot_select_query_filters(), batch_create_facilities(), batch_create_slots(), _build_node_path_cache(), _build_slot_keyword_sql_filters(), collect_descendant_ids() (+63 more)
Nodes (75): get_next_cell_product_code(), _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() (+67 more)
### Community 14 - "Community 14"
Cohesion: 0.12
Nodes (32): join_equipment_ids(), parse_equipment_ids(), 工艺/步骤设备多选:逗号分隔 ID 与名称快照解析, 校验设备列表,返回 (equipment_ids 逗号串, equipment_name 逗号串快照)。, resolve_equipment_list_snapshot(), add_step(), copy_step(), _create_step_consumable() (+24 more)
### Community 15 - "Community 15"
Cohesion: 0.13
Nodes (29): _assert_routes_exist(), collect_missing_route_ids(), create_set(), create_set_from_work_order(), create_tasks_from_set(), delete_set(), get_set(), _item_count_map() (+21 more)
### Community 16 - "Community 16"
### Community 15 - "Community 15"
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)
### Community 17 - "Community 17"
Cohesion: 0.13
Nodes (23): 验证密码(哈希非 bcrypt 或损坏时返回 False,避免抛错), verify_password(), _attach_user_relations(), change_password(), create_user(), _empty_user_relation_fields(), enrich_user_dicts_with_relations(), get_user() (+15 more)
### Community 18 - "Community 18"
### Community 16 - "Community 16"
Cohesion: 0.14
Nodes (11): apply_formulas_and_linkages(), eval_formula(), _extract_rules(), preprocess_formula(), OA 表单公式与数据联动(禁止任意 eval), 按 schema 中字段 props.formula / props.linkage 回填 form_data。 linkage 示例: { "when, 将 {field} 转为合法标识符引用 field。, _SafeEval (+3 more)
### Community 17 - "Community 17"
Cohesion: 0.14
Nodes (22): 验证密码(哈希非 bcrypt 或损坏时返回 False,避免抛错), verify_password(), _attach_user_relations(), change_password(), create_user(), _empty_user_relation_fields(), enrich_user_dicts_with_relations(), get_user() (+14 more)
### Community 18 - "Community 18"
Cohesion: 0.15
Nodes (21): batch_create_checkups(), create_checkup(), delete_actual_item(), delete_reserve_item(), get_checkup_by_application(), get_checkup_by_id(), list_actual_items(), list_checkups_paginated() (+13 more)
### Community 19 - "Community 19"
Cohesion: 0.19
Nodes (21): apply_overtime_kit_hours(), _build_rest_day_segments(), _build_workday_windows(), calc_overtime_hours(), _day_at_minutes(), _day_start_ms(), _extract_rules(), _format_ymd() (+13 more)
@@ -169,8 +167,8 @@ 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 22 - "Community 22"
Cohesion: 0.32
Nodes (13): _assert_item_ids_exist(), create_template(), filter_active_ids(), get_template(), join_id_list(), list_active_templates(), list_templates(), parse_id_csv() (+5 more)
Cohesion: 0.24
Nodes (9): 微信消息通知服务 支持微信小程序模板消息推送 使用方式: from app.core.wechat_message import Wech, 发送模板消息 Args: openid: 用户openid templ, send_delivery_notice(), send_delivery_warning(), send_order_status(), send_payment_success(), send_refund_result(), send_urge_notification() (+1 more)
### Community 23 - "Community 23"
Cohesion: 0.23
@@ -181,125 +179,117 @@ 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 25 - "Community 25"
Cohesion: 0.29
Nodes (11): _is_empty(), _is_required(), _parse_money(), OA 表单设计器:金额控件 form_data 校验, 校验 form_data 中金额控件的值格式,返回中文错误列表(空表示通过)。, 解析金额值。成功返回 (number, None);失败返回 (None, error_key)。, _rule_props(), _schema_rules() (+3 more)
### Community 26 - "Community 26"
Cohesion: 0.31
Nodes (10): create_account(), _filtered_query(), get_account(), list_accounts(), list_options(), OA 收款账户 CRUD(oa_receive_account), row_to_dict(), soft_delete_account() (+2 more)
### Community 27 - "Community 27"
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)
### Community 28 - "Community 28"
### Community 26 - "Community 26"
Cohesion: 0.29
Nodes (2): BaseModel, SoftDeleteModel
### Community 29 - "Community 29"
### Community 27 - "Community 27"
Cohesion: 0.38
Nodes (6): derive_legacy_status_from_three(), derive_three_status_from_legacy(), 阶段A兼容:从旧 status 推导三字段。 约束:旧 status 本身混合了支付/配送/订单生命周期,因此只能尽力推断; 若业务侧已有更精确, 阶段A兼容:从三字段反推旧 status(用于旧前端/旧筛选参数兼容)。, ThreeStatus, _to_decimal()
### Community 30 - "Community 30"
### Community 28 - "Community 28"
Cohesion: 0.4
Nodes (5): batch_matches_stock_status(), normalize_batch_stock_status(), 质检物料入库批次:按剩余数量过滤的语义辅助。, 纯函数判定(供单测);list_batches 用 SQL 等价条件。, 返回 'available' | 'exhausted';全部 / 空 / 非法 → None(不加剩余数量条件)。
### Community 31 - "Community 31"
### Community 29 - "Community 29"
Cohesion: 0.5
Nodes (3): BaseSettings, Config, Settings
### Community 32 - "Community 32"
### Community 30 - "Community 30"
Cohesion: 0.5
Nodes (2): _auto_fill_create_dept_id(), ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID
### Community 33 - "Community 33"
### Community 31 - "Community 31"
Cohesion: 0.67
Nodes (2): get_menu_list(), 运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,5 个一级菜单分组)
### Community 34 - "Community 34"
### Community 32 - "Community 32"
Cohesion: 0.67
Nodes (1): 转正套件:入职日 + 试用期月数 → 建议转正日(YYYY-MM-DD)。
### Community 35 - "Community 35"
### Community 33 - "Community 33"
Cohesion: 1.0
Nodes (1): 质检物料金额查看授权:专用角色与菜单权限常量。
### Community 36 - "Community 36"
### Community 34 - "Community 34"
Cohesion: 1.0
Nodes (1): 请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传
### Community 37 - "Community 37"
### Community 35 - "Community 35"
Cohesion: 1.0
Nodes (1): API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)
### Community 40 - "Community 40"
### Community 38 - "Community 38"
Cohesion: 1.0
Nodes (1): 发送订单状态通知 Args: openid: 用户openid ord
### 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 task
### Community 43 - "Community 43"
### Community 41 - "Community 41"
Cohesion: 1.0
Nodes (1): 发送配送时效预警 Args: openid: 配送员openid ta
### Community 44 - "Community 44"
### Community 42 - "Community 42"
Cohesion: 1.0
Nodes (1): 发送退款结果通知 Args: openid: 用户openid ord
### Community 45 - "Community 45"
### Community 43 - "Community 43"
Cohesion: 1.0
Nodes (1): 发送催单通知给配送员 Args: deliver_openid: 配送员openid
## Knowledge Gaps
- **181 isolated node(s):** `刷新会话 TTL(refreshToken 续期;已登录用户每次 API 校验通过后滑动续期)`, `写入 refreshToken(用于 one-time 使用/吊销)`, `根据 token 获取当前用户(包含 Redis 会话校验;会话滑动续期)`, `登录凭据 RSA 解密(与前端 JSEncrypt PKCS#1 v1.5 兼容)。`, `加载 RSA 密钥对:优先环境变量,否则使用内置固定默认密钥。` (+176 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **Thin community `Community 28`** (8 nodes): `BaseModel`, `.to_dict()`, `get_active()`, `base.py`, `SoftDeleteModel`, `.restore()`, `.soft_delete()`, `__tablename__()`
- **Thin community `Community 26`** (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 32`** (4 nodes): `_auto_fill_create_dept_id()`, `get_db()`, `database.py`, `ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID`
- **Thin community `Community 30`** (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 33`** (3 nodes): `get_menu_list()`, `menu.py`, `运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,5 个一级菜单分组)`
- **Thin community `Community 31`** (3 nodes): `get_menu_list()`, `menu.py`, `运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,5 个一级菜单分组)`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 34`** (3 nodes): `add_months_ymd()`, `oa_confirmation_date.py`, `转正套件:入职日 + 试用期月数 → 建议转正日(YYYY-MM-DD)。`
- **Thin community `Community 32`** (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 35`** (2 nodes): `qc_material_amount_auth_constants.py`, `质检物料金额查看授权:专用角色与菜单权限常量。`
- **Thin community `Community 33`** (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 36`** (2 nodes): `context.py`, `请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传`
- **Thin community `Community 34`** (2 nodes): `context.py`, `请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 37`** (2 nodes): `__init__.py`, `API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)`
- **Thin community `Community 35`** (2 nodes): `__init__.py`, `API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 40`** (1 nodes): `发送订单状态通知 Args: openid: 用户openid ord`
- **Thin community `Community 38`** (1 nodes): `发送订单状态通知 Args: openid: 用户openid ord`
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 task`
- **Thin community `Community 40`** (1 nodes): `发送配送通知 Args: openid: 配送员openid task`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 43`** (1 nodes): `发送配送时效预警 Args: openid: 配送员openid ta`
- **Thin community `Community 41`** (1 nodes): `发送配送时效预警 Args: openid: 配送员openid ta`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 44`** (1 nodes): `发送退款结果通知 Args: openid: 用户openid ord`
- **Thin community `Community 42`** (1 nodes): `发送退款结果通知 Args: openid: 用户openid ord`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 45`** (1 nodes): `发送催单通知给配送员 Args: deliver_openid: 配送员openid`
- **Thin community `Community 43`** (1 nodes): `发送催单通知给配送员 Args: deliver_openid: 配送员openid`
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 2` to `Community 1`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 17`, `Community 24`?**
_High betweenness centrality (0.114) - this node is a cross-community bridge._
- **Why does `OaEngineError` connect `Community 2` to `Community 0`, `Community 9`, `Community 3`, `Community 1`?**
- **Why does `SysUser` connect `Community 2` to `Community 0`, `Community 1`, `Community 3`, `Community 5`, `Community 6`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 17`, `Community 24`?**
_High betweenness centrality (0.112) - this node is a cross-community bridge._
- **Why does `success_response()` connect `Community 0` to `Community 2`, `Community 4`, `Community 6`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 31`?**
_High betweenness centrality (0.038) - this node is a cross-community bridge._
- **Why does `generate_uuid()` connect `Community 1` to `Community 0`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 17`, `Community 20`, `Community 21`, `Community 24`, `Community 25`?**
_High betweenness centrality (0.035) - this node is a cross-community bridge._
- **Why does `generate_uuid()` connect `Community 1` to `Community 0`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 15`, `Community 17`, `Community 20`, `Community 21`, `Community 22`, `Community 24`, `Community 26`?**
_High betweenness centrality (0.034) - this node is a cross-community bridge._
- **Are the 922 inferred relationships involving `str` (e.g. with `unhandled_exception_handler()` and `get_current_user_by_token()`) actually correct?**
_`str` has 922 INFERRED edges - model-reasoned connections that need verification._
- **Are the 760 inferred relationships involving `success_response()` (e.g. with `list_storage_release_reviews()` and `get_storage_release_review_detail()`) actually correct?**
_`success_response()` has 760 INFERRED edges - model-reasoned connections that need verification._
- **Are the 630 inferred relationships involving `error_response()` (e.g. with `_json_error_response()` and `list_storage_release_reviews()`) actually correct?**
_`error_response()` has 630 INFERRED edges - model-reasoned connections that need verification._
- **Are the 923 inferred relationships involving `str` (e.g. with `unhandled_exception_handler()` and `get_current_user_by_token()`) actually correct?**
_`str` has 923 INFERRED edges - model-reasoned connections that need verification._
- **Are the 761 inferred relationships involving `success_response()` (e.g. with `list_storage_release_reviews()` and `get_storage_release_review_detail()`) actually correct?**
_`success_response()` has 761 INFERRED edges - model-reasoned connections that need verification._
- **Are the 631 inferred relationships involving `error_response()` (e.g. with `_json_error_response()` and `list_storage_release_reviews()`) actually correct?**
_`error_response()` has 631 INFERRED edges - model-reasoned connections that need verification._
- **Are the 604 inferred relationships involving `SysUser` (e.g. with `数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3` and `从 SysUser 读取用户的 dept_id。`) actually correct?**
_`SysUser` has 604 INFERRED edges - model-reasoned connections that need verification._
File diff suppressed because it is too large. Load diff
+3 -3
View File
@@ -93,7 +93,7 @@
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_inspection_item_template.py": 1786941802.105201,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/production_material_stock_batch.py": 1782404955.550011,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/user.py": 1786616084.8158407,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/production_work_order.py": 1788158321.7595503,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/production_work_order.py": 1788234952.0486848,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/material.py": 1781522283.6438622,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/dict_type.py": 1779265621.5212462,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/storage_occupancy.py": 1785237078.9580858,
@@ -225,7 +225,7 @@
"/Users/wuzilong/work/00code/zkxw/backend/app/api/sample_sms_notification.py": 1780325524.907156,
"/Users/wuzilong/work/00code/zkxw/backend/app/api/sample_reception.py": 1782719108.3741593,
"/Users/wuzilong/work/00code/zkxw/backend/app/api/insurance_company.py": 1781410837.9443986,
"/Users/wuzilong/work/00code/zkxw/backend/app/api/production.py": 1788231757.6316366,
"/Users/wuzilong/work/00code/zkxw/backend/app/api/production.py": 1788234236.5398064,
"/Users/wuzilong/work/00code/zkxw/backend/app/api/protocol_sample_collection.py": 1780457788.2093296,
"/Users/wuzilong/work/00code/zkxw/backend/app/api/leave.py": 1779266168.8693042,
"/Users/wuzilong/work/00code/zkxw/backend/app/api/clinical_payment.py": 1781750841.074568,
@@ -246,7 +246,7 @@
"/Users/wuzilong/work/00code/zkxw/backend/app/services/web_auth_roles.py": 1785909942.9479194,
"/Users/wuzilong/work/00code/zkxw/backend/app/services/oa_trip_days.py": 1785407394.0606225,
"/Users/wuzilong/work/00code/zkxw/backend/app/services/protocol_payment_installment.py": 1781432208.0765035,
"/Users/wuzilong/work/00code/zkxw/backend/app/services/protocol_sample_list_summary.py": 1785207474.9871266,
"/Users/wuzilong/work/00code/zkxw/backend/app/services/protocol_sample_list_summary.py": 1788234951.3011017,
"/Users/wuzilong/work/00code/zkxw/backend/app/services/oa_related_approval.py": 1787892816.3154016,
"/Users/wuzilong/work/00code/zkxw/backend/app/services/wechat_mp_message.py": 1786689383.1677845,
"/Users/wuzilong/work/00code/zkxw/backend/app/services/oa_leave_hours.py": 1785397787.0493405,
@@ -84,6 +84,8 @@ class TestListQcConclusionMap(unittest.TestCase):
wo.id = "wo1"
wo.sample_code = "SC-001"
wo.conclusion = "tg"
wo.work_order_no = "ZJ202609010001"
wo.work_order_status = "ywc"
db = MagicMock()
q = MagicMock()
@@ -96,6 +98,36 @@ class TestListQcConclusionMap(unittest.TestCase):
)
self.assertEqual(out["SC-001"]["qcConclusion"], "tg")
self.assertEqual(out["SC-001"]["qcConclusionLabel"], "合格")
self.assertEqual(out["SC-001"]["qcWorkOrderNo"], "ZJ202609010001")
self.assertEqual(out["SC-001"]["qcWorkOrderStatus"], "ywc")
self.assertEqual(out["SC-001"]["qcWorkOrderStatusLabel"], "已完成")
class TestListGateQcSummaryByReceptionIds(unittest.TestCase):
def test_keyed_by_reception_id(self):
from app.services.protocol_sample_list_summary import (
get_list_gate_qc_summary_map_by_reception_ids,
)
wo = MagicMock()
wo.id = "wo1"
wo.reception_id = "rec1"
wo.conclusion = "btg"
wo.work_order_no = "ZJ202609010002"
wo.work_order_status = "ypz"
db = MagicMock()
q = MagicMock()
db.query.return_value = q
q.filter.return_value = q
q.all.return_value = [wo]
out = get_list_gate_qc_summary_map_by_reception_ids(db, "t1", ["rec1"])
self.assertEqual(out["rec1"]["qcWorkOrderNo"], "ZJ202609010002")
self.assertEqual(out["rec1"]["qcWorkOrderStatus"], "ypz")
self.assertEqual(out["rec1"]["qcWorkOrderStatusLabel"], "已配置")
self.assertEqual(out["rec1"]["qcConclusion"], "btg")
self.assertEqual(out["rec1"]["qcConclusionLabel"], "不合格")
if __name__ == "__main__":
@@ -0,0 +1,38 @@
# 生产工单卡片展示门禁质检工单号与状态
**日期**:2026-09-01
**范围**:`/#/production-group/production/production-work-order`、`/#/production-group/production/my-production-task`
**适用 Tab**:细胞存储入库、科研捐赠入库(`inbound_cell_storage` / `inbound_research_donation`)
## 背景
样本接收结论为「接收(js)」时,系统同步创建门禁质检工单(`trigger_source=reception`)与入库生产工单,二者通过 `reception_id` 关联。生产卡片 meta 区已有「质检结论」,缺少门禁质检的 **工单号** 与 **工单状态**。
## 目标
在入库生产工单卡片 meta 区新增:
| 字段 | 展示 | 组件 |
|------|------|------|
| 质检工单号 | 如 `ZJ202609010001` | 纯文本,无则 `—` |
| 质检工单状态 | 待配置 / 已配置 / 已完成 / 已作废 | `<el-tag>` |
**不包含**:生产过程质检(`trigger_source=production`)。
## 数据规则
- 关联键:**优先 `reception_id`**;缺失时回退 `tenant_no + sample_code + reception_source + trigger_source=reception`。
- 状态枚举与 QC 工单列表一致:`dpz` / `ypz` / `ywc` / `yzf`。
- 结论 enrich 逻辑不变;在原有批量查询上扩展工单号、状态字段。
- 无门禁 QC(拒收、历史缺失)时:工单号 `—`,状态 Tag 不展示。
## 实现要点
- 后端:`protocol_sample_list_summary` 扩展批量摘要;`production_work_order._enrich_inbound_qc_conclusions` 写入 `qcWorkOrderNo`、`qcWorkOrderStatus`、`qcWorkOrderStatusLabel`。
- 前端:`ProductionWorkOrderItem` 增字段;`buildInboundMetaFields` 增两行 meta。
- 两页面共用 `ProductionWorkOrderCardList`,改一处即可。
## 非目标
- 不增加点击跳转 QC 详情(已有「查看质检数据」按钮)。
- 不改动出库/临时生产工单卡片。
File diff suppressed because it is too large. Load diff
+120 -104
View File
@@ -2609,56 +2609,56 @@
"label": "formatOutboundScheduleSortNo()",
"file_type": "code",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L43"
"source_location": "L45"
},
{
"id": "utils_production_work_order_card_meta_formatoutboundscheduletotalcount",
"label": "formatOutboundScheduleTotalCount()",
"file_type": "code",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L49"
"source_location": "L51"
},
{
"id": "utils_production_work_order_card_meta_protocolstatuslabelfortab",
"label": "protocolStatusLabelForTab()",
"file_type": "code",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L61"
"source_location": "L63"
},
{
"id": "utils_production_work_order_card_meta_protocolstatustagtypefortab",
"label": "protocolStatusTagTypeForTab()",
"file_type": "code",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L71"
"source_location": "L73"
},
{
"id": "utils_production_work_order_card_meta_buildinboundmetafields",
"label": "buildInboundMetaFields()",
"file_type": "code",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L80"
"source_location": "L82"
},
{
"id": "utils_production_work_order_card_meta_getcardmetaconfig",
"label": "getCardMetaConfig()",
"file_type": "code",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L267"
"source_location": "L284"
},
{
"id": "utils_production_work_order_card_meta_resolvecardmetaforrow",
"label": "resolveCardMetaForRow()",
"file_type": "code",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L271"
"source_location": "L288"
},
{
"id": "utils_production_work_order_card_meta_getcardmetaconfigforlegacytab",
"label": "getCardMetaConfigForLegacyTab()",
"file_type": "code",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L285"
"source_location": "L302"
},
{
"id": "utils_fetch_paged_list_ts",
@@ -12185,126 +12185,133 @@
"label": "fetchProductionWorkOrderList()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L98"
"source_location": "L103"
},
{
"id": "api_production_work_order_fetchproductionworkorderdetail",
"label": "fetchProductionWorkOrderDetail()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L123"
"source_location": "L128"
},
{
"id": "api_production_work_order_fetchcompleteproductionworkorder",
"label": "fetchCompleteProductionWorkOrder()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L127"
"source_location": "L132"
},
{
"id": "api_production_work_order_fetchvoidproductionworkorder",
"label": "fetchVoidProductionWorkOrder()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L142"
},
{
"id": "api_production_work_order_fetchcreateproductionworkorder",
"label": "fetchCreateProductionWorkOrder()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L137"
"source_location": "L148"
},
{
"id": "api_production_work_order_fetchconfigureproductionworkorder",
"label": "fetchConfigureProductionWorkOrder()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L150"
"source_location": "L161"
},
{
"id": "api_production_work_order_fetchupdateproductionworkorder",
"label": "fetchUpdateProductionWorkOrder()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L166"
"source_location": "L177"
},
{
"id": "api_production_work_order_fetchdeleteproductionworkorder",
"label": "fetchDeleteProductionWorkOrder()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L173"
"source_location": "L184"
},
{
"id": "api_production_work_order_fetchproductionworkorderqcdispatchoptions",
"label": "fetchProductionWorkOrderQcDispatchOptions()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L195"
"source_location": "L206"
},
{
"id": "api_production_work_order_fetchproductionworkordercellproductoptions",
"label": "fetchProductionWorkOrderCellProductOptions()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L202"
"source_location": "L213"
},
{
"id": "api_production_work_order_fetchcreateqcfromproduction",
"label": "fetchCreateQcFromProduction()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L206"
"source_location": "L217"
},
{
"id": "api_production_work_order_fetchproductionworkorderqcinfo",
"label": "fetchProductionWorkOrderQcInfo()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L225"
"source_location": "L236"
},
{
"id": "api_production_work_order_formatproductionworkordertabstepbadge",
"label": "formatProductionWorkOrderTabStepBadge()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L241"
"source_location": "L252"
},
{
"id": "api_production_work_order_isproductionworkordertabstepbadgezero",
"label": "isProductionWorkOrderTabStepBadgeZero()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L248"
"source_location": "L259"
},
{
"id": "api_production_work_order_sumproductionworkordertabstepcounts",
"label": "sumProductionWorkOrderTabStepCounts()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L255"
"source_location": "L266"
},
{
"id": "api_production_work_order_fetchproductionworkordertabstepcounts",
"label": "fetchProductionWorkOrderTabStepCounts()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L270"
"source_location": "L281"
},
{
"id": "api_production_work_order_fetchproductionworkordertabstepcountsdeduped",
"label": "fetchProductionWorkOrderTabStepCountsDeduped()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L279"
"source_location": "L290"
},
{
"id": "api_production_work_order_fetchmineproductionworkordertabstepcounts",
"label": "fetchMineProductionWorkOrderTabStepCounts()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L288"
"source_location": "L299"
},
{
"id": "api_production_work_order_fetchmineproductionworkordertabstepcountsdeduped",
"label": "fetchMineProductionWorkOrderTabStepCountsDeduped()",
"file_type": "code",
"source_file": "api/production-work-order.ts",
"source_location": "L296"
"source_location": "L307"
},
{
"id": "api_sample_production_reception_ts",
@@ -19724,14 +19731,14 @@
"label": "ensureActiveTaskKey()",
"file_type": "code",
"source_file": "views/production/production-work-order/WorkOrderTaskSubList.vue",
"source_location": "L346"
"source_location": "L347"
},
{
"id": "production_work_order_workordertasksublist_if",
"label": "if()",
"file_type": "code",
"source_file": "views/production/production-work-order/WorkOrderTaskSubList.vue",
"source_location": "L358"
"source_location": "L359"
},
{
"id": "views_production_production_work_order_taskoutputproductdialog_vue",
@@ -30432,43 +30439,43 @@
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L10",
"weight": 1.0
},
{
"source": "utils_production_work_order_card_meta_ts",
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs",
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L11",
"weight": 1.0
},
{
"source": "utils_production_work_order_card_meta_ts",
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs",
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L12",
"weight": 1.0
},
{
"source": "utils_production_work_order_card_meta_ts",
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_money_format",
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs",
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L13",
"weight": 1.0
},
{
"source": "utils_production_work_order_card_meta_ts",
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs",
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L14",
"weight": 1.0
},
{
"source": "utils_production_work_order_card_meta_ts",
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_money_format",
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L15",
"weight": 1.0
},
{
"source": "utils_production_work_order_card_meta_ts",
"target": "utils_production_work_order_card_meta_formatoutboundschedulesortno",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L43",
"source_location": "L45",
"weight": 1.0
},
{
@@ -30477,7 +30484,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L49",
"source_location": "L51",
"weight": 1.0
},
{
@@ -30486,7 +30493,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L61",
"source_location": "L63",
"weight": 1.0
},
{
@@ -30495,7 +30502,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L71",
"source_location": "L73",
"weight": 1.0
},
{
@@ -30504,7 +30511,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L80",
"source_location": "L82",
"weight": 1.0
},
{
@@ -30513,7 +30520,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L267",
"source_location": "L284",
"weight": 1.0
},
{
@@ -30522,7 +30529,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L271",
"source_location": "L288",
"weight": 1.0
},
{
@@ -30531,7 +30538,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L285",
"source_location": "L302",
"weight": 1.0
},
{
@@ -30540,7 +30547,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L275",
"source_location": "L292",
"weight": 1.0
},
{
@@ -30549,7 +30556,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L288",
"source_location": "L305",
"weight": 1.0
},
{
@@ -48531,7 +48538,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L98",
"source_location": "L103",
"weight": 1.0
},
{
@@ -48540,7 +48547,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L123",
"source_location": "L128",
"weight": 1.0
},
{
@@ -48549,7 +48556,16 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L127",
"source_location": "L132",
"weight": 1.0
},
{
"source": "api_production_work_order_ts",
"target": "api_production_work_order_fetchvoidproductionworkorder",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L142",
"weight": 1.0
},
{
@@ -48558,7 +48574,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L137",
"source_location": "L148",
"weight": 1.0
},
{
@@ -48567,7 +48583,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L150",
"source_location": "L161",
"weight": 1.0
},
{
@@ -48576,7 +48592,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L166",
"source_location": "L177",
"weight": 1.0
},
{
@@ -48585,7 +48601,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L173",
"source_location": "L184",
"weight": 1.0
},
{
@@ -48594,34 +48610,34 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L195",
"weight": 1.0
},
{
"source": "api_production_work_order_ts",
"target": "api_production_work_order_fetchproductionworkordercellproductoptions",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L202",
"weight": 1.0
},
{
"source": "api_production_work_order_ts",
"target": "api_production_work_order_fetchcreateqcfromproduction",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L206",
"weight": 1.0
},
{
"source": "api_production_work_order_ts",
"target": "api_production_work_order_fetchproductionworkordercellproductoptions",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L213",
"weight": 1.0
},
{
"source": "api_production_work_order_ts",
"target": "api_production_work_order_fetchcreateqcfromproduction",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L217",
"weight": 1.0
},
{
"source": "api_production_work_order_ts",
"target": "api_production_work_order_fetchproductionworkorderqcinfo",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L225",
"source_location": "L236",
"weight": 1.0
},
{
@@ -48630,7 +48646,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L241",
"source_location": "L252",
"weight": 1.0
},
{
@@ -48639,7 +48655,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L248",
"source_location": "L259",
"weight": 1.0
},
{
@@ -48648,7 +48664,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L255",
"source_location": "L266",
"weight": 1.0
},
{
@@ -48657,7 +48673,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L270",
"source_location": "L281",
"weight": 1.0
},
{
@@ -48666,7 +48682,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L279",
"source_location": "L290",
"weight": 1.0
},
{
@@ -48675,7 +48691,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L288",
"source_location": "L299",
"weight": 1.0
},
{
@@ -48684,7 +48700,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L296",
"source_location": "L307",
"weight": 1.0
},
{
@@ -48693,7 +48709,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L203",
"source_location": "L214",
"weight": 1.0
},
{
@@ -48702,7 +48718,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L281",
"source_location": "L292",
"weight": 1.0
},
{
@@ -48711,7 +48727,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "api/production-work-order.ts",
"source_location": "L298",
"source_location": "L309",
"weight": 1.0
},
{
@@ -60600,7 +60616,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/production/production-work-order/WorkOrderTaskSubList.vue",
"source_location": "L346",
"source_location": "L347",
"weight": 1.0
},
{
@@ -60609,7 +60625,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/production/production-work-order/WorkOrderTaskSubList.vue",
"source_location": "L358",
"source_location": "L359",
"weight": 1.0
},
{
@@ -73800,7 +73816,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L67",
"source_location": "L69",
"weight": 1.0
},
{
@@ -73810,7 +73826,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L68",
"source_location": "L70",
"weight": 1.0
},
{
@@ -73820,7 +73836,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "utils/production-work-order-card-meta.ts",
"source_location": "L276",
"source_location": "L293",
"weight": 1.0
},
{
@@ -77630,7 +77646,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "api/production-work-order.ts",
"source_location": "L114",
"source_location": "L119",
"weight": 1.0
},
{
@@ -77640,7 +77656,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "api/production-work-order.ts",
"source_location": "L124",
"source_location": "L129",
"weight": 1.0
},
{
@@ -77650,7 +77666,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "api/production-work-order.ts",
"source_location": "L196",
"source_location": "L207",
"weight": 1.0
},
{
@@ -77660,7 +77676,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "api/production-work-order.ts",
"source_location": "L226",
"source_location": "L237",
"weight": 1.0
},
{
@@ -77670,7 +77686,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "api/production-work-order.ts",
"source_location": "L271",
"source_location": "L282",
"weight": 1.0
},
{
@@ -77680,7 +77696,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "api/production-work-order.ts",
"source_location": "L289",
"source_location": "L300",
"weight": 1.0
},
{
+176 -135
View File
@@ -1,10 +1,10 @@
# Graph Report - src (2026-09-01)
## Corpus Check
- Large corpus: 997 files · ~658,663 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
- Large corpus: 997 files · ~658,862 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
## Summary
- 3589 nodes · 5104 edges · 69 communities detected
- 3590 nodes · 5105 edges · 76 communities detected
- Extraction: 78% EXTRACTED · 22% INFERRED · 0% AMBIGUOUS · INFERRED: 1125 edges (avg confidence: 0.8)
- Token cost: 0 input · 0 output
@@ -51,33 +51,40 @@
- [[_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 47|Community 47]]
- [[_COMMUNITY_Community 49|Community 49]]
- [[_COMMUNITY_Community 51|Community 51]]
- [[_COMMUNITY_Community 52|Community 52]]
- [[_COMMUNITY_Community 48|Community 48]]
- [[_COMMUNITY_Community 50|Community 50]]
- [[_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 61|Community 61]]
- [[_COMMUNITY_Community 62|Community 62]]
- [[_COMMUNITY_Community 63|Community 63]]
- [[_COMMUNITY_Community 64|Community 64]]
- [[_COMMUNITY_Community 66|Community 66]]
- [[_COMMUNITY_Community 67|Community 67]]
- [[_COMMUNITY_Community 70|Community 70]]
- [[_COMMUNITY_Community 72|Community 72]]
- [[_COMMUNITY_Community 75|Community 75]]
- [[_COMMUNITY_Community 76|Community 76]]
- [[_COMMUNITY_Community 73|Community 73]]
- [[_COMMUNITY_Community 74|Community 74]]
- [[_COMMUNITY_Community 79|Community 79]]
- [[_COMMUNITY_Community 80|Community 80]]
- [[_COMMUNITY_Community 81|Community 81]]
- [[_COMMUNITY_Community 84|Community 84]]
- [[_COMMUNITY_Community 96|Community 96]]
- [[_COMMUNITY_Community 99|Community 99]]
- [[_COMMUNITY_Community 100|Community 100]]
- [[_COMMUNITY_Community 82|Community 82]]
- [[_COMMUNITY_Community 83|Community 83]]
- [[_COMMUNITY_Community 86|Community 86]]
- [[_COMMUNITY_Community 87|Community 87]]
- [[_COMMUNITY_Community 88|Community 88]]
- [[_COMMUNITY_Community 92|Community 92]]
- [[_COMMUNITY_Community 103|Community 103]]
- [[_COMMUNITY_Community 106|Community 106]]
- [[_COMMUNITY_Community 107|Community 107]]
## God Nodes (most connected - your core abstractions)
1. `get()` - 317 edges
@@ -98,129 +105,129 @@
utils/oa-receive-account-value.ts → views/operations/storage-facility/index.vue
- `dash()` --calls--> `formatDisplayOrDash()` [INFERRED]
components/business/infusion-schedule-outbound-chain-view/index.vue → utils/datetime-display.ts
- `dash()` --calls--> `formatDisplayOrDash()` [INFERRED]
components/business/clinical-schedule-payment-detail/index.vue → utils/datetime-display.ts
- `displayCell()` --calls--> `formatDisplayOrDash()` [INFERRED]
views/production/waste-output/index.vue → utils/datetime-display.ts
- `findTreeSelectShortLabel()` --calls--> `walk()` [INFERRED]
utils/tree-path.ts → views/system/role/index.vue
## Communities
### Community 0 - "Community 0"
Cohesion: 0.01
Nodes (174): fetchAccessLogList(), fetchActiveRegions(), fetchCategoryList(), fetchCategoryParameters(), fetchCellProductPriceList(), fetchCellProductSpecList(), fetchCellProductTypeList(), fetchChannelAccount() (+166 more)
Cohesion: 0.0
Nodes (194): fetchAccessLogList(), fetchActiveRegions(), fetchCategoryList(), fetchCategoryParameters(), fetchCellProductPriceList(), fetchCellProductSpecList(), fetchCellProductTypeList(), fetchChannelAccount() (+186 more)
### Community 1 - "Community 1"
Cohesion: 0.02
Nodes (89): fetchUploadAttachment(), handleReportUpload(), handleReportUpload(), walk(), if(), async(), addDispatchItem(), createDispatchItem() (+81 more)
Nodes (90): fetchUploadAttachment(), FireworkSystem, handleReportUpload(), handleReportUpload(), walk(), if(), async(), addDispatchItem() (+82 more)
### Community 2 - "Community 2"
Cohesion: 0.03
Nodes (89): batchSavePilotCheckup(), deletePilotCheckupActualItem(), fetchCheckupInstitutionList(), fetchCheckupInstitutionPackageDetail(), fetchCheckupInstitutionPackages(), fetchCheckupInstitutionProjects(), fetchPilotCheckupActualItems(), fetchPilotCheckupDetail() (+81 more)
Nodes (86): batchSavePilotCheckup(), deletePilotCheckupActualItem(), fetchCheckupInstitutionList(), fetchCheckupInstitutionPackageDetail(), fetchCheckupInstitutionPackages(), fetchPilotCheckupActualItems(), fetchPilotCheckupDetail(), fetchPilotCheckupList() (+78 more)
### Community 3 - "Community 3"
Cohesion: 0.02
Nodes (70): fetchCheckupInstitutionInvoices(), fetchCreateCheckupInstitution(), fetchCreateCheckupInstitutionInvoice(), fetchCreateCheckupInstitutionProject(), fetchUpdateCheckupInstitution(), fetchUpdateCheckupInstitutionInvoice(), fetchUpdateCheckupInstitutionProject(), fetchCreateEnvDetectItem() (+62 more)
Nodes (64): fetchBatchDeleteOaReceiveAccounts(), fetchBatchMarkOaCcTasksRead(), fetchCreateOaReceiveAccount(), fetchDeleteOaReceiveAccount(), fetchMarkOaCcTaskRead(), fetchOaAppDraft(), fetchOaCcUnreadCount(), fetchOaInstanceDetail() (+56 more)
### Community 4 - "Community 4"
Cohesion: 0.03
Nodes (76): fetchFullmoonTodoList(), fetchUpdateFullmoonTodoInsurance(), fetchAttachmentDownloadUrl(), fetchCollectionProtocolAuditList(), fetchCollectionProtocolDetail(), fetchCollectionProtocolList(), fetchCreateProtocolInvoiceRequest(), fetchInvoiceEligiblePayments() (+68 more)
Nodes (79): fetchEthnicList(), formatNowDatetime(), applyDonationBundleToForm(), createEmptyTransport(), ensureEthnicOptionInList(), handleOpenForAdd(), if(), loadEthnicOptions() (+71 more)
### Community 5 - "Community 5"
Cohesion: 0.02
Nodes (64): fetchBatchDeleteOaReceiveAccounts(), fetchBatchMarkOaCcTasksRead(), fetchCreateOaReceiveAccount(), fetchDeleteOaReceiveAccount(), fetchMarkOaCcTaskRead(), fetchOaAppDraft(), fetchOaCcUnreadCount(), fetchOaInstanceDetail() (+56 more)
Cohesion: 0.03
Nodes (65): buildInboundBasicSection(), buildInboundCellStorageViewSections(), buildInboundResearchDonationViewSections(), buildReceptionSection(), buildTemporaryViewSections(), buildTransportSection(), resolveInboundProtocolStatus(), buildInsertedSiblingCard() (+57 more)
### Community 6 - "Community 6"
Cohesion: 0.03
Nodes (79): fetchEthnicList(), formatNowDatetime(), applyDonationBundleToForm(), createEmptyTransport(), ensureEthnicOptionInList(), handleOpenForAdd(), if(), loadEthnicOptions() (+71 more)
Nodes (34): fetchGetMenuList(), ComponentLoader, IframeRouteManager, MenuProcessor, RoutePermissionValidator, RouteRegistry, RouteTransformer, useAppMode() (+26 more)
### Community 7 - "Community 7"
Cohesion: 0.03
Nodes (41): fetchGetMenuList(), useSettingsHandlers(), useSettingsPanel(), useSettingsState(), ComponentLoader, IframeRouteManager, MenuProcessor, RouteRegistry (+33 more)
Nodes (48): handleBlur(), handleFocus(), handleInput(), fetchClinicalPaymentDetail(), fetchClinicalPayments(), fetchClinicalReceiptConfirmed(), fetchClinicalReceiptPending(), fetchClinicalRefundConfirmed() (+40 more)
### Community 8 - "Community 8"
Cohesion: 0.03
Nodes (39): handleBlur(), handleFocus(), handleInput(), fetchQcMaterialBatchDetail(), fetchQcMaterialBatchList(), fetchQcMaterialBatchOptions(), fetchQcMaterialList(), fetchQcMaterialOptions() (+31 more)
Nodes (61): fetchCheckupInstitutionInvoices(), fetchCheckupInstitutionProjects(), fetchCreateCheckupInstitution(), fetchCreateCheckupInstitutionInvoice(), fetchCreateCheckupInstitutionProject(), fetchUpdateCheckupInstitution(), fetchUpdateCheckupInstitutionInvoice(), fetchUpdateCheckupInstitutionProject() (+53 more)
### Community 9 - "Community 9"
Cohesion: 0.03
Nodes (68): fetchDeptTree(), fetchUserList(), fetchOaFlowPreview(), fetchOaTemplateDetail(), formatHandoverUserLabel(), formatNowDatetime(), fullFileUrl(), handlePreviewAttachment() (+60 more)
Nodes (62): fetchOaRelatedSummaries(), useSettingsHandlers(), useSettingsPanel(), useSettingsState(), useCeremony(), useTheme(), if(), nodeSummary() (+54 more)
### Community 10 - "Community 10"
Cohesion: 0.03
Nodes (58): fetchOaRelatedSummaries(), RoutePermissionValidator, if(), nodeSummary(), createDefaultFlow(), createEndNode(), createNode(), ensureFlowRoot() (+50 more)
Nodes (58): fetchFullmoonTodoList(), fetchUpdateFullmoonTodoInsurance(), fetchCollectionProtocolAuditList(), fetchCollectionProtocolDetail(), fetchCollectionProtocolList(), fetchCreateProtocolInvoiceRequest(), fetchInvoiceEligiblePayments(), fetchPaymentDetailList() (+50 more)
### Community 11 - "Community 11"
Cohesion: 0.02
Nodes (29): fetchAllConsumablePacks(), fetchAllConsumables(), fetchAllConsumableStockLogs(), fetchAllEquipments(), fetchAllOutputTypes(), fetchAllProcessCategories(), fetchAllProcesses(), fetchAllReagents() (+21 more)
Cohesion: 0.04
Nodes (67): fetchDeptTree(), fetchUserList(), fetchOaFlowPreview(), fetchOaTemplateDetail(), formatHandoverUserLabel(), formatNowDatetime(), fullFileUrl(), handlePreviewAttachment() (+59 more)
### Community 12 - "Community 12"
Cohesion: 0.03
Nodes (56): fetchCreateCustomer(), fetchCustomerList(), fetchDeleteCustomer(), fetchUpdateCustomer(), updateInfusionScheduleStatus(), handleDialogClose(), handleAdd(), handleDelete() (+48 more)
Cohesion: 0.04
Nodes (44): buildBaseFields(), buildInboundBasicSection(), buildInboundCellStorageProductionViewSections(), buildInboundResearchDonationProductionViewSections(), buildOutboundBasicExperimentProductionViewSections(), buildOutboundClinicalProductionViewSections(), buildOutboundDetail(), buildOutboundPilotProductionViewSections() (+36 more)
### Community 13 - "Community 13"
Cohesion: 0.03
Nodes (56): fetchMyProductionTasks(), fetchMyQcTaskList(), fetchQcTaskDetail(), fetchQcTaskList(), fetchMineTasksForWorkOrders(), useInboundSiblingNavigation(), shouldApplyTriggerSourceFilter(), useQcWorkOrderTabPage() (+48 more)
Cohesion: 0.04
Nodes (46): fetchProductionWorkOrderQcInfo(), dash(), fmtMoney(), auditorDisplay(), dash(), ensureUnitsInOptions(), expressName(), formatYm() (+38 more)
### Community 14 - "Community 14"
Cohesion: 0.04
Nodes (53): buildTemporaryViewSections(), buildInsertedSiblingCard(), resolveShowProtocolPaymentAtGroup(), appendTaskResultSections(), batchTasksForPanelSlot(), buildConfiguredOnlySection(), for(), set() (+45 more)
Nodes (50): fetchMyProductionTasks(), fetchMyQcTaskList(), fetchQcTaskDetail(), fetchQcTaskList(), fetchMineTasksForWorkOrders(), buildMineTableRows(), buildPresetTasksMap(), buildWorkOrderFromTasks() (+42 more)
### Community 15 - "Community 15"
Cohesion: 0.04
Nodes (47): buildInboundBasicSection(), buildInboundCellStorageViewSections(), buildInboundResearchDonationViewSections(), buildReceptionSection(), buildTransportSection(), resolveInboundProtocolStatus(), buildBaseFields(), buildInboundBasicSection() (+39 more)
Nodes (48): fetchCreateCustomer(), fetchCustomerList(), fetchDeleteCustomer(), fetchUpdateCustomer(), updateInfusionScheduleStatus(), handleDialogClose(), handleAdd(), handleDelete() (+40 more)
### Community 16 - "Community 16"
Cohesion: 0.05
Nodes (53): fetchGetMenuCodes(), fetchGetUserInfo(), fetchLogin(), fetchRefreshToken(), fetchUpdateProfile(), fetchUploadProfileAvatar(), toLogin(), fetchUserInfo() (+45 more)
### Community 17 - "Community 17"
Cohesion: 0.04
Nodes (38): fetchCellSampleTypeList(), fetchCreateCellSampleType(), fetchCreateMenu(), fetchDeleteCellSampleType(), fetchDeleteMenu(), fetchMenuTree(), fetchUpdateCellSampleType(), fetchUpdateMenu() (+30 more)
### Community 18 - "Community 18"
Cohesion: 0.05
Nodes (34): fetchClinicalPaymentDetail(), fetchClinicalPayments(), fetchClinicalReceiptConfirmed(), fetchClinicalReceiptPending(), fetchClinicalRefundConfirmed(), fetchClinicalRefundPending(), fetchOrderAdjusts(), fetchOrderDetail() (+26 more)
### Community 19 - "Community 19"
### Community 17 - "Community 17"
Cohesion: 0.05
Nodes (37): fetchAddTaskStep(), fetchCopyTaskStep(), fetchDeleteTaskStep(), fetchDispatchProductionTaskSteps(), fetchForwardProductionTask(), fetchProductionTaskDetail(), fetchProductionTaskEditorInit(), fetchProductionTaskList() (+29 more)
### Community 20 - "Community 20"
### Community 18 - "Community 18"
Cohesion: 0.05
Nodes (39): fetchCreateQcInspectionItemTemplate(), fetchDeleteQcInspectionItemTemplate(), fetchQcInspectionItemTemplateDetail(), fetchQcInspectionItemTemplateList(), fetchQcInspectionItemTemplatesActive(), fetchUpdateQcInspectionItemTemplate(), fetchQcLabTestItemList(), fetchQcLabTestItemsActive() (+31 more)
### Community 21 - "Community 21"
Cohesion: 0.05
Nodes (33): fetchMineProductionWorkOrderTabStepCounts(), fetchMineProductionWorkOrderTabStepCountsDeduped(), fetchProductionWorkOrderCellProductOptions(), fetchProductionWorkOrderDetail(), fetchProductionWorkOrderList(), fetchProductionWorkOrderQcDispatchOptions(), fetchProductionWorkOrderQcInfo(), fetchProductionWorkOrderTabStepCounts() (+25 more)
### Community 22 - "Community 22"
### Community 19 - "Community 19"
Cohesion: 0.08
Nodes (37): formatDatetimeToMinute(), handleChineseDatetimePaste(), parseChineseDatetimeText(), parseBirthOrder(), parseChineseNumeral(), addSampleHint(), earliestCollectTime(), isMaternalBloodEmpty() (+29 more)
### Community 23 - "Community 23"
### Community 20 - "Community 20"
Cohesion: 0.06
Nodes (22): fetchQcMaterialBatchDetail(), fetchQcMaterialBatchList(), fetchQcMaterialBatchOptions(), fetchQcMaterialList(), fetchQcMaterialOptions(), fetchUpdateQcMaterialBatch(), fetchMarkQcMaterialUsageFullyUsed(), financeAttachmentsToUrlString() (+14 more)
### Community 21 - "Community 21"
Cohesion: 0.05
Nodes (27): fetchUpdatePostBoundRoles(), fetchMineQcWorkOrderTabUnfinishedCounts(), fetchOutboundQcDetail(), fetchQcWorkOrderDetail(), fetchQcWorkOrderList(), fetchQcWorkOrdersBySample(), fetchQcWorkOrderTabUnfinishedCounts(), reload() (+19 more)
### Community 24 - "Community 24"
### Community 22 - "Community 22"
Cohesion: 0.08
Nodes (34): buildFormRows(), buildOaPrintFilename(), buildOaPrintModel(), canvasToPdf(), ensurePlainObject(), exportOaApprovalPdf(), extractUrls(), formatFieldValue() (+26 more)
### Community 25 - "Community 25"
### Community 23 - "Community 23"
Cohesion: 0.1
Nodes (2): WebSocketClient, TableCache
### Community 26 - "Community 26"
Cohesion: 0.1
Nodes (32): buildPaymentFlowSteps(), dash(), formatAmount(), hasFinanceReceipt(), hasFinanceRefund(), hasReceiptSubmit(), hasRefundSubmit(), receiptSubmitTime() (+24 more)
### Community 24 - "Community 24"
Cohesion: 0.08
Nodes (33): fetchRefreshToken(), toLogin(), base64ToBytes(), bytesToBase64(), decryptJson(), deriveKey(), encryptJson(), fromBase64Url() (+25 more)
### Community 27 - "Community 27"
### Community 25 - "Community 25"
Cohesion: 0.09
Nodes (8): getDefaultLanguage(), checkStorageCompatibility(), StorageConfig, getSystemStorage(), getSysVersion(), StorageKeyManager, StorageCompatibilityManager, validateStorageData()
### Community 28 - "Community 28"
### Community 26 - "Community 26"
Cohesion: 0.08
Nodes (20): fetchAttachmentDownloadUrl(), attachmentFullUrl(), dash(), handleAttachmentDownload(), handleAttachmentPreview(), ensureUniqueZipEntryName(), fetchAttachmentBlob(), getAttachmentExtension() (+12 more)
### Community 27 - "Community 27"
Cohesion: 0.08
Nodes (20): createEmptySnapshots(), normalizeConfiguredReagents(), normalizeConsumables(), normalizeDataCollections(), normalizeReagents(), normalizeStepOutputs(), serializeAttachments(), serializeEquipmentIds() (+12 more)
### Community 28 - "Community 28"
Cohesion: 0.08
Nodes (22): fetchMineProductionWorkOrderTabStepCounts(), fetchMineProductionWorkOrderTabStepCountsDeduped(), fetchProductionWorkOrderCellProductOptions(), fetchProductionWorkOrderDetail(), fetchProductionWorkOrderList(), fetchProductionWorkOrderQcDispatchOptions(), fetchProductionWorkOrderTabStepCounts(), fetchProductionWorkOrderTabStepCountsDeduped() (+14 more)
### Community 29 - "Community 29"
Cohesion: 0.07
Nodes (19): fetchDeleteMaterialBatch(), fetchMaterialBatchList(), fetchMaterialBatchOptions(), fetchMaterialList(), fetchMaterialOptions(), fetchUpdateMaterialBatch(), fetchMaterialUsageList(), fetchMyMaterialUsageList() (+11 more)
@@ -239,203 +246,237 @@ Nodes (25): completePilotApplication(), deletePilotApplication(), fetchPilotAppl
### Community 33 - "Community 33"
Cohesion: 0.12
Nodes (17): fetchProductionReceptionBySampleCode(), fetchProductionReceptionSubmit(), fetchProductionReceptionUpdate(), onUserSelectVisible(), remoteSearchUsers(), buildPayload(), ensureDefaultHandler(), initDialog() (+9 more)
Nodes (20): fetchGetMenuCodes(), fetchGetUserInfo(), fetchLogin(), fetchUpdateProfile(), fetchUploadProfileAvatar(), fetchUserInfo(), buildWebEncryptedLoginBody(), defaultAvatarPathByRole() (+12 more)
### Community 34 - "Community 34"
Cohesion: 0.12
Nodes (15): addCopyButton(), highlightCode(), insertLineNumbers(), isBlockProcessed(), markBlockAsProcessed(), processBlock(), setupHighlightDirective(), setupRippleDirective() (+7 more)
Nodes (17): fetchProductionReceptionBySampleCode(), fetchProductionReceptionSubmit(), fetchProductionReceptionUpdate(), onUserSelectVisible(), remoteSearchUsers(), buildPayload(), ensureDefaultHandler(), initDialog() (+9 more)
### Community 35 - "Community 35"
Cohesion: 0.2
Nodes (14): applyFlagToRule(), applySchema(), countRules(), getActiveRule(), getDesigner(), getSetupState(), onMessage(), readFlag() (+6 more)
Cohesion: 0.1
Nodes (12): fetchOutboundReleaseMaterial(), fetchOutboundReleaseReviewDetail(), fetchOutboundReleaseReviewList(), fetchReleaseReviewList(), handleReset(), handleSearch(), handleTabChange(), handleToggleSelect() (+4 more)
### Community 36 - "Community 36"
Cohesion: 0.12
Nodes (6): setupOaConfirmationKit(), ensureOaKitMenu(), setupOaLeaveKit(), setupOaOvertimeKit(), setupOaResignationKit(), setupOaTripKit()
Nodes (15): addCopyButton(), highlightCode(), insertLineNumbers(), isBlockProcessed(), markBlockAsProcessed(), processBlock(), setupHighlightDirective(), setupRippleDirective() (+7 more)
### Community 37 - "Community 37"
Cohesion: 0.13
Nodes (8): chipTitle(), confirmPicker(), memberOptionLabel(), removeUser(), resolveUser(), signBadge(), signBadgeText(), updateSelect()
### Community 38 - "Community 38"
Cohesion: 0.2
Nodes (14): applyFlagToRule(), applySchema(), countRules(), getActiveRule(), getDesigner(), getSetupState(), onMessage(), readFlag() (+6 more)
### Community 39 - "Community 39"
Cohesion: 0.12
Nodes (6): setupOaConfirmationKit(), ensureOaKitMenu(), setupOaLeaveKit(), setupOaOvertimeKit(), setupOaResignationKit(), setupOaTripKit()
### Community 40 - "Community 40"
Cohesion: 0.16
Nodes (10): useTable(), useTableImpl(), getColumnChecks(), useTableColumns(), createErrorHandler(), createSmartDebounce(), defaultResponseAdapter(), extractPagination() (+2 more)
### Community 38 - "Community 38"
### Community 41 - "Community 41"
Cohesion: 0.27
Nodes (14): useChart(), useChartComponent(), useChartOps(), colourBlend(), getCssVar(), getDarkColor(), getLightColor(), handleElementThemeColor() (+6 more)
### Community 39 - "Community 39"
Cohesion: 0.22
Nodes (9): fullFileUrl(), handleDownloadAttachment(), handlePreviewAttachment(), isVideoFile(), normalizeDisplayValue(), resolveReviewCellType(), resolveReviewQuantity(), resolveReviewSpecText() (+1 more)
### Community 40 - "Community 40"
### Community 42 - "Community 42"
Cohesion: 0.19
Nodes (6): fetchServiceOrderTxnList(), handleReset(), handleSearch(), handleTabChange(), loadData(), switchTab()
### Community 41 - "Community 41"
### Community 43 - "Community 43"
Cohesion: 0.24
Nodes (10): buildPrintDocumentHtml(), cleanupPrintIframe(), embedSopImagesAsDataUrls(), getSopA4ContentHeightPx(), getSopA4EditorHeightPx(), normalizeSopCheckboxes(), prepareSopHtmlForPrint(), printSopHtml() (+2 more)
### Community 43 - "Community 43"
### Community 45 - "Community 45"
Cohesion: 0.15
Nodes (4): fetchNextDonationSampleCode(), fetchResearchDonationAuditList(), fetchResearchDonationDetail(), fetchResearchDonationList()
### Community 46 - "Community 46"
Cohesion: 0.24
Nodes (8): fullFileUrl(), handlePreviewAttachment(), isVideoFile(), normalizeDisplayValue(), resolveReviewCellType(), resolveReviewQuantity(), resolveReviewSpecText(), uniqueJoined()
### Community 47 - "Community 47"
Cohesion: 0.31
Nodes (4): isSlotAvailable(), resolveStorageSlotRangeFill(), slotFacilityNodeId(), sortBoxSlots()
### Community 44 - "Community 44"
### Community 48 - "Community 48"
Cohesion: 0.25
Nodes (2): handleTouchEnd(), setTransition()
### Community 45 - "Community 45"
Cohesion: 0.28
Nodes (1): FireworkSystem
### Community 47 - "Community 47"
### Community 50 - "Community 50"
Cohesion: 0.28
Nodes (4): isActiveHistoryInstance(), isUploadPreviewLabel(), previewColumnMinWidth(), syncWorktabTitle()
### Community 49 - "Community 49"
### Community 53 - "Community 53"
Cohesion: 0.28
Nodes (4): fetchMyProductionMaterialConsumptions(), handleReset(), handleSearch(), loadData()
### Community 51 - "Community 51"
### Community 54 - "Community 54"
Cohesion: 0.39
Nodes (6): isIgnorableScriptError(), normalizeErrorMessage(), registerPromiseErrorHandler(), registerResourceErrorHandler(), scriptErrorHandler(), setupErrorHandle()
### Community 52 - "Community 52"
### Community 55 - "Community 55"
Cohesion: 0.36
Nodes (1): TableHeightCalculator
### Community 54 - "Community 54"
### Community 57 - "Community 57"
Cohesion: 0.33
Nodes (2): logApiCryptoBootInfo(), maskSecret()
### Community 55 - "Community 55"
### Community 58 - "Community 58"
Cohesion: 0.38
Nodes (4): handleFocus(), handleInput(), parseDecimalToNumber(), sanitizeDecimalInput()
### Community 56 - "Community 56"
### Community 59 - "Community 59"
Cohesion: 0.29
Nodes (1): fetchQcMonthTemplateList()
### Community 57 - "Community 57"
### Community 60 - "Community 60"
Cohesion: 0.29
Nodes (2): fetchLeaveDetail(), fetchLeaveList()
### Community 61 - "Community 61"
Cohesion: 0.4
Nodes (2): isUnfinishedQcWorkOrder(), resolveQcWorkOrderUnfinishedBadgeCount()
### Community 58 - "Community 58"
### Community 62 - "Community 62"
Cohesion: 0.47
Nodes (3): isPaymentDueWithinWarnWindow(), parsePaymentDueYmd(), startOfLocalDay()
### Community 59 - "Community 59"
### Community 63 - "Community 63"
Cohesion: 0.5
Nodes (2): formatProtocolDocDeleteConfirm(), formatProtocolDocSubject()
### Community 60 - "Community 60"
### Community 64 - "Community 64"
Cohesion: 0.5
Nodes (2): parseEquipmentIds(), syncEquipmentNamesFromOptions()
### Community 62 - "Community 62"
### Community 66 - "Community 66"
Cohesion: 0.5
Nodes (2): focusInput(), handleKeydown()
### Community 63 - "Community 63"
### Community 67 - "Community 67"
Cohesion: 0.4
Nodes (1): fetchQcMaterialAmountAuthUsers()
### Community 66 - "Community 66"
### Community 70 - "Community 70"
Cohesion: 0.67
Nodes (2): if(), logSidebarMenu()
### Community 72 - "Community 72"
Cohesion: 1.0
Nodes (2): getSettingDefaults(), resetToDefaults()
Cohesion: 0.5
Nodes (1): fetchStorageEntrySmsList()
### Community 75 - "Community 75"
Cohesion: 1.0
Nodes (2): buildOvertimeKitChildren(), uniqueId()
### Community 73 - "Community 73"
Cohesion: 0.5
Nodes (1): fetchSampleSmsNotificationList()
### Community 76 - "Community 76"
Cohesion: 1.0
Nodes (2): buildLeaveKitChildren(), uniqueId()
### Community 74 - "Community 74"
Cohesion: 0.5
Nodes (1): fetchQcSmsList()
### Community 79 - "Community 79"
Cohesion: 1.0
Nodes (2): getSettingDefaults(), resetToDefaults()
### Community 82 - "Community 82"
Cohesion: 1.0
Nodes (2): buildOvertimeKitChildren(), uniqueId()
### Community 83 - "Community 83"
Cohesion: 1.0
Nodes (2): buildLeaveKitChildren(), uniqueId()
### Community 86 - "Community 86"
Cohesion: 1.0
Nodes (2): buildConfirmationKitChildren(), uniqueId()
### Community 80 - "Community 80"
### Community 87 - "Community 87"
Cohesion: 1.0
Nodes (2): buildResignationKitChildren(), uniqueId()
### Community 81 - "Community 81"
### Community 88 - "Community 88"
Cohesion: 1.0
Nodes (2): copyTextToClipboard(), copyTextWithFallback()
### Community 84 - "Community 84"
### Community 92 - "Community 92"
Cohesion: 1.0
Nodes (2): getSourceProtocolAttachment(), normalizeAttachmentFiles()
### Community 96 - "Community 96"
### Community 103 - "Community 103"
Cohesion: 1.0
Nodes (2): emptyTabCounts(), useProductionWorkOrderTabStepCounts()
### Community 99 - "Community 99"
### Community 106 - "Community 106"
Cohesion: 1.0
Nodes (2): initialProgress(), useQcWorkOrderAttachmentExport()
### Community 100 - "Community 100"
### Community 107 - "Community 107"
Cohesion: 1.0
Nodes (2): emptyTabCounts(), useQcWorkOrderTabUnfinishedCounts()
## Knowledge Gaps
- **Thin community `Community 25`** (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 23`** (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 44`** (9 nodes): `cleanupEventListeners()`, `handleTouchEnd()`, `handleTouchMove()`, `handleTouchStart()`, `handleWheelScroll()`, `if()`, `setTransition()`, `setupEventListeners()`, `index.vue`
- **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 45`** (9 nodes): `FireworkSystem`, `.constructor()`, `.createFirework()`, `.createParticle()`, `.getAvailableParticle()`, `.initializePool()`, `.preloadAllImages()`, `.preloadImage()`, `index.vue`
- **Thin community `Community 55`** (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 52`** (8 nodes): `TableHeightCalculator`, `.calculate()`, `.calculateOffset()`, `.calculatePaginationOffset()`, `.constructor()`, `.getHeaderHeight()`, `useTableHeight()`, `useTableHeight.ts`
- **Thin community `Community 57`** (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 54`** (7 nodes): `App.vue`, `main.ts`, `refreshButtonAutoIcons()`, `refreshPanelTitleIcons()`, `logApiCryptoBootInfo()`, `maskSecret()`, `console.ts`
- **Thin community `Community 59`** (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 56`** (7 nodes): `fetchConfirmQcMonthImport()`, `fetchCreateQcMonthTemplate()`, `fetchDeleteQcMonthTemplate()`, `fetchPreviewQcMonthImport()`, `fetchQcMonthTemplateList()`, `fetchUpdateQcMonthTemplate()`, `qc-material-month-template.ts`
- **Thin community `Community 60`** (7 nodes): `fetchCreateLeave()`, `fetchDeleteLeave()`, `fetchLeaveDetail()`, `fetchLeaveList()`, `fetchSubmitLeave()`, `fetchUpdateLeave()`, `leave.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 57`** (6 nodes): `formatQcWorkOrderUnfinishedBadgeCount()`, `isUnfinishedQcWorkOrder()`, `qcWorkOrderUnfinishedBadgeTitle()`, `resolveQcWorkOrderUnfinishedBadgeCount()`, `sumQcWorkOrderGroupUnfinishedBadgeCount()`, `qc-work-order-unfinished-badge.ts`
- **Thin community `Community 61`** (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 59`** (5 nodes): `formatProtocolDocBatchDeleteConfirm()`, `formatProtocolDocDeleteConfirm()`, `formatProtocolDocSubject()`, `getProtocolDocTypeLabel()`, `protocol-doc-label.ts`
- **Thin community `Community 63`** (5 nodes): `formatProtocolDocBatchDeleteConfirm()`, `formatProtocolDocDeleteConfirm()`, `formatProtocolDocSubject()`, `getProtocolDocTypeLabel()`, `protocol-doc-label.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 60`** (5 nodes): `equipmentOptionLabel()`, `joinEquipmentIds()`, `parseEquipmentIds()`, `syncEquipmentNamesFromOptions()`, `equipment-select.ts`
- **Thin community `Community 64`** (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 62`** (5 nodes): `focusInput()`, `handleKeydown()`, `if()`, `search()`, `index.vue`
- **Thin community `Community 66`** (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 63`** (5 nodes): `fetchBatchRevokeQcMaterialAmountAuth()`, `fetchGrantQcMaterialAmountAuth()`, `fetchQcMaterialAmountAuthUsers()`, `fetchRevokeQcMaterialAmountAuth()`, `qc-material-amount-auth.ts`
- **Thin community `Community 67`** (5 nodes): `fetchBatchRevokeQcMaterialAmountAuth()`, `fetchGrantQcMaterialAmountAuth()`, `fetchQcMaterialAmountAuthUsers()`, `fetchRevokeQcMaterialAmountAuth()`, `qc-material-amount-auth.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 66`** (4 nodes): `if()`, `logSidebarMenu()`, `index.vue`, `SidebarSubmenu.vue`
- **Thin community `Community 70`** (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 72`** (3 nodes): `getSettingDefaults()`, `resetToDefaults()`, `setting.ts`
- **Thin community `Community 72`** (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 75`** (3 nodes): `buildOvertimeKitChildren()`, `oa-overtime-kit-rule.ts`, `uniqueId()`
- **Thin community `Community 73`** (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 76`** (3 nodes): `buildLeaveKitChildren()`, `oa-leave-kit-rule.ts`, `uniqueId()`
- **Thin community `Community 74`** (4 nodes): `fetchGenerateQcSms()`, `fetchQcSmsList()`, `fetchToggleQcSmsNotified()`, `qc-sms-notification.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 79`** (3 nodes): `buildConfirmationKitChildren()`, `oa-confirmation-kit-rule.ts`, `uniqueId()`
- **Thin community `Community 79`** (3 nodes): `getSettingDefaults()`, `resetToDefaults()`, `setting.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 80`** (3 nodes): `buildResignationKitChildren()`, `oa-resignation-kit-rule.ts`, `uniqueId()`
- **Thin community `Community 82`** (3 nodes): `buildOvertimeKitChildren()`, `oa-overtime-kit-rule.ts`, `uniqueId()`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 81`** (3 nodes): `copyTextToClipboard()`, `copyTextWithFallback()`, `copy-text.ts`
- **Thin community `Community 83`** (3 nodes): `buildLeaveKitChildren()`, `oa-leave-kit-rule.ts`, `uniqueId()`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 84`** (3 nodes): `getSourceProtocolAttachment()`, `normalizeAttachmentFiles()`, `protocol-source-attachment.ts`
- **Thin community `Community 86`** (3 nodes): `buildConfirmationKitChildren()`, `oa-confirmation-kit-rule.ts`, `uniqueId()`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 96`** (3 nodes): `emptyTabCounts()`, `useProductionWorkOrderTabStepCounts()`, `useProductionWorkOrderTabStepCounts.ts`
- **Thin community `Community 87`** (3 nodes): `buildResignationKitChildren()`, `oa-resignation-kit-rule.ts`, `uniqueId()`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 99`** (3 nodes): `initialProgress()`, `useQcWorkOrderAttachmentExport()`, `useQcWorkOrderAttachmentExport.ts`
- **Thin community `Community 88`** (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 100`** (3 nodes): `emptyTabCounts()`, `useQcWorkOrderTabUnfinishedCounts()`, `useQcWorkOrderTabUnfinishedCounts.ts`
- **Thin community `Community 92`** (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 103`** (3 nodes): `emptyTabCounts()`, `useProductionWorkOrderTabStepCounts()`, `useProductionWorkOrderTabStepCounts.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 106`** (3 nodes): `initialProgress()`, `useQcWorkOrderAttachmentExport()`, `useQcWorkOrderAttachmentExport.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 107`** (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 `push()` connect `Community 1` to `Community 0`, `Community 2`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 9`, `Community 10`, `Community 12`, `Community 13`, `Community 14`, `Community 15`, `Community 16`, `Community 19`, `Community 20`, `Community 21`, `Community 22`, `Community 23`, `Community 24`, `Community 25`, `Community 26`, `Community 28`, `Community 30`, `Community 31`, `Community 45`?**
_High betweenness centrality (0.331) - this node is a cross-community bridge._
- **Why does `get()` connect `Community 0` to `Community 1`, `Community 2`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 16`, `Community 17`, `Community 18`, `Community 19`, `Community 20`, `Community 21`, `Community 23`, `Community 29`, `Community 30`, `Community 32`, `Community 33`, `Community 40`, `Community 43`, `Community 49`, `Community 56`, `Community 63`?**
_High betweenness centrality (0.223) - this node is a cross-community bridge._
- **Why does `handleDynamicRoutes()` connect `Community 7` to `Community 5`, `Community 10`, `Community 16`, `Community 21`, `Community 23`, `Community 24`?**
_High betweenness centrality (0.038) - this node is a cross-community bridge._
- **Why does `push()` connect `Community 1` to `Community 0`, `Community 2`, `Community 3`, `Community 4`, `Community 5`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 17`, `Community 18`, `Community 19`, `Community 21`, `Community 22`, `Community 23`, `Community 24`, `Community 26`, `Community 27`, `Community 28`, `Community 30`, `Community 31`, `Community 37`?**
_High betweenness centrality (0.338) - this node is a cross-community bridge._
- **Why does `get()` connect `Community 0` to `Community 1`, `Community 2`, `Community 3`, `Community 4`, `Community 5`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 13`, `Community 14`, `Community 15`, `Community 16`, `Community 17`, `Community 18`, `Community 20`, `Community 21`, `Community 28`, `Community 29`, `Community 30`, `Community 32`, `Community 33`, `Community 34`, `Community 35`, `Community 42`, `Community 45`, `Community 47`, `Community 53`, `Community 59`, `Community 60`, `Community 67`, `Community 72`, `Community 73`, `Community 74`?**
_High betweenness centrality (0.240) - this node is a cross-community bridge._
- **Why does `emit()` connect `Community 15` to `Community 0`, `Community 34`, `Community 2`, `Community 37`, `Community 5`, `Community 7`, `Community 8`, `Community 11`, `Community 17`, `Community 20`, `Community 30`?**
_High betweenness centrality (0.048) - this node is a cross-community bridge._
- **Are the 316 inferred relationships involving `get()` (e.g. with `resolveStorageSlotRangeFill()` and `buildNodeCodePathFromFlat()`) actually correct?**
_`get()` has 316 INFERRED edges - model-reasoned connections that need verification._
- **Are the 126 inferred relationships involving `push()` (e.g. with `refreshQcMenuBadges()` and `collectLeafFacilityNodesInTreeOrder()`) actually correct?**
+4 -4
View File
@@ -57,12 +57,12 @@
</div>
<div id="legend"></div>
</div>
<div id="stats">3589 nodes &middot; 5104 edges &middot; 398 communities</div>
<div id="stats">3590 nodes &middot; 5105 edges &middot; 405 communities</div>
</div>
<script>
const RAW_NODES = [{"id": "app_vue", "label": "App.vue", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "App.vue", "community": 54, "community_name": "Community 54", "source_file": "App.vue", "file_type": "code", "degree": 3}, {"id": "src_app_refreshbuttonautoicons", "label": "refreshButtonAutoIcons()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshButtonAutoIcons()", "community": 54, "community_name": "Community 54", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "src_app_refreshpaneltitleicons", "label": "refreshPanelTitleIcons()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshPanelTitleIcons()", "community": 54, "community_name": "Community 54", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "main_ts", "label": "main.ts", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "main.ts", "community": 54, "community_name": "Community 54", "source_file": "main.ts", "file_type": "code", "degree": 4}, {"id": "src_main_masksecret", "label": "maskSecret()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "maskSecret()", "community": 54, "community_name": "Community 54", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "src_main_logapicryptobootinfo", "label": "logApiCryptoBootInfo()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "logApiCryptoBootInfo()", "community": 54, "community_name": "Community 54", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "env_d_ts", "label": "env.d.ts", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "env.d.ts", "community": 148, "community_name": "Community 148", "source_file": "env.d.ts", "file_type": "code", "degree": 0}, {"id": "shims_loose_d_ts", "label": "shims-loose.d.ts", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "shims-loose.d.ts", "community": 149, "community_name": "Community 149", "source_file": "shims-loose.d.ts", "file_type": "code", "degree": 0}, {"id": "directives_index_ts", "label": "index.ts", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "index.ts", "community": 34, "community_name": "Community 34", "source_file": "directives/index.ts", "file_type": "code", "degree": 1}, {"id": "directives_index_setupglobdirectives", "label": "setupGlobDirectives()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.5, "font": {"size": 0, "color": "#ffffff"}, "title": "setupGlobDirectives()", "community": 34, "community_name": "Community 34", "source_file": "directives/index.ts", "file_type": "code", "degree": 5}, {"id": "directives_core_roles_ts", "label": "roles.ts", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "roles.ts", "community": 34, "community_name": "Community 34", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 3}, {"id": "core_roles_checkrolepermission", "label": "checkRolePermission()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "checkRolePermission()", "community": 34, "community_name": "Community 34", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_removeelement", "label": "removeElement()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "removeElement()", "community": 34, "community_name": "Community 34", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_setuprolesdirective",Line truncated
const RAW_EDGES = [{"from": "app_vue", "to": "src_app_refreshbuttonautoicons", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_vue", "to": "src_app_refreshpaneltitleicons", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_vue", "to": "main_ts", "label": "imports_from", "title": "imports_from [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "utils_sys_console_ts", "label": "imports_from", "title": "imports_from [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "src_main_masksecret", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "src_main_logapicryptobootinfo", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_main_masksecret", "to": "src_main_logapicryptobootinfo", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_index_ts", "to": "directives_index_setupglobdirectives", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_index_setupglobdirectives", "to": "core_auth_setupauthdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "core_roles_setuprolesdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "business_highlight_setuphighlightdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "business_ripple_setuprippledirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_core_roles_ts", "to": "core_roles_checkrolepermission", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_roles_ts", "to": "core_roles_removeelement", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_roles_ts", "to": "core_roles_setuprolesdirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_roles_checkrolepermission", "to": "core_roles_removeelement", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_checkauthpermission", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_removeelement", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_setupauthdirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_checkauthpermission", "to": "core_auth_removeelement", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_ripple_ts", "to": "business_ripple_setuprippledirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_highlightcode", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_insertlinenumbers", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_addcopybutton", "label": "contains", "title": "contains [EXTRACTED]", "dLine truncated
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Community 0", "count": 471}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 135}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 120}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 116}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 114}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 110}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 110}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 108}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 101}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 95}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 93}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 92}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 91}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 90}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 86}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 83}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 69}, {"cid": 17, "color": "#FF9DA7", "label": "Community 17", "count": 67}, {"cid": 18, "color": "#9C755F", "label": "Community 18", "count": 61}, {"cid": 19, "color": "#BAB0AC", "label": "Community 19", "count": 57}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 57}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 56}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 47}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 46}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 44}, {"cid": 25, "color": "#EDC948", "label": "Community 25", "count": 42}, {"cid": 26, "color": "#B07AA1", "label": "Community 26", "count": 38}, {"cid": 27, "color": "#FF9DA7", "label": "Community 27", "count": 37}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 36}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 35}, {"cid": 30, "color": "#4E79A7", "label": "Community 30", "count": 33}, {"cid": 31, "color": "#F28E2B", "label": "Community 31", "count": 31}, {"cid": 32, "color": "#E15759", "label": "Community 32", "count": 30}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 26}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 22}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 19}, {"cid": 36, "color": "#B07AA1", "label": "Community 36", "count": 17}, {"cid": 37, "color": "#FF9DA7", "label": "Community 37", "count": 17}, {"cid": 38, "color": "#9C755F", "label": "Community 38", "count": 16}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 14}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 14}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 13}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 13}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 9}, {"cid": 44, "color": "#59A14F", "label": "Community 44", "count": 9}, {"cid": 45, "color": "#EDC948", "label": "Community 45", "count": 9}, {"cid": 46, "color": "#B07AA1", "label": "Community 46", "count": 9}, {"cid": 47, "color": "#FF9DA7", "label": "Community 47", "count": 9}, {"cid": 48, "color": "#9C755F", "label": "Community 48", "count": 9}, {"cid": 49, "color": "#BAB0AC", "label": "Community 49", "count": 9}, {"cid": 50, "color": "#4E79A7", "label": "Community 50", "count": 9}, {"cid": 51, "color": "#F28E2B", "label": "Community 51", "count": 8}, {"cid": 52, "color": "#E15759", "label": "Community 52", "count": 8}, {"cid": 53, "color": "#76B7B2", "label": "Community 53", "count": 8}, {"cid": 54, "color": "#59A14F", "label": "Community 54", "count": 7}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 7}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 7}, {"cid": 57, "color": "#FF9DA7", "label": "Community 57", "count": 6}, {"cid": 58, "color": "#9C755F", "label": "Community 58", "count": 6}, {"cid": 59, "color": "#BAB0AC", "label": "Community 59", "count": 5}, {"cid": 60, "color": "#4E79A7", "label": "Community 60", "count": 5}, {"cid": 61, "color": "#F28E2B", "label": "Community 61", "count": 5}, {"cid": 62, "color": "#E15759", "label": "Community 62", "count": 5}, {"cid": 63, "color": "#76B7B2", "label": "Community 63", "count": 5}, {"cid": 64, "color": "#59A14F", "label": "Community 64", "count": 4}, {"cid": 65, "color": "#EDC948", "label": "Community 65", "count": 4}, {"cid": 66, "color": "#B07AA1", "label": "Community 66", "count": 4}, {"cid": 67, "color": "#FF9DA7", "label": "Community 67", "count": 4}, {"cid": 68, "color": "#9C755F", "label": "Community 68", "count": 4}, {"cid": 69, "color": "#BAB0AC", "label": "Community 69", "count": 4}, {"cid": 70, "color": "#4E79A7", "label": "CommunityLine truncated
const RAW_NODES = [{"id": "app_vue", "label": "App.vue", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "App.vue", "community": 57, "community_name": "Community 57", "source_file": "App.vue", "file_type": "code", "degree": 3}, {"id": "src_app_refreshbuttonautoicons", "label": "refreshButtonAutoIcons()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshButtonAutoIcons()", "community": 57, "community_name": "Community 57", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "src_app_refreshpaneltitleicons", "label": "refreshPanelTitleIcons()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshPanelTitleIcons()", "community": 57, "community_name": "Community 57", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "main_ts", "label": "main.ts", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "main.ts", "community": 57, "community_name": "Community 57", "source_file": "main.ts", "file_type": "code", "degree": 4}, {"id": "src_main_masksecret", "label": "maskSecret()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "maskSecret()", "community": 57, "community_name": "Community 57", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "src_main_logapicryptobootinfo", "label": "logApiCryptoBootInfo()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "logApiCryptoBootInfo()", "community": 57, "community_name": "Community 57", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "env_d_ts", "label": "env.d.ts", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "env.d.ts", "community": 155, "community_name": "Community 155", "source_file": "env.d.ts", "file_type": "code", "degree": 0}, {"id": "shims_loose_d_ts", "label": "shims-loose.d.ts", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "shims-loose.d.ts", "community": 156, "community_name": "Community 156", "source_file": "shims-loose.d.ts", "file_type": "code", "degree": 0}, {"id": "directives_index_ts", "label": "index.ts", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "index.ts", "community": 36, "community_name": "Community 36", "source_file": "directives/index.ts", "file_type": "code", "degree": 1}, {"id": "directives_index_setupglobdirectives", "label": "setupGlobDirectives()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.5, "font": {"size": 0, "color": "#ffffff"}, "title": "setupGlobDirectives()", "community": 36, "community_name": "Community 36", "source_file": "directives/index.ts", "file_type": "code", "degree": 5}, {"id": "directives_core_roles_ts", "label": "roles.ts", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "roles.ts", "community": 36, "community_name": "Community 36", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 3}, {"id": "core_roles_checkrolepermission", "label": "checkRolePermission()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "checkRolePermission()", "community": 36, "community_name": "Community 36", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_removeelement", "label": "removeElement()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "removeElement()", "community": 36, "community_name": "Community 36", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_setuprolesdirective",Line truncated
const RAW_EDGES = [{"from": "app_vue", "to": "src_app_refreshbuttonautoicons", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_vue", "to": "src_app_refreshpaneltitleicons", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_vue", "to": "main_ts", "label": "imports_from", "title": "imports_from [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "utils_sys_console_ts", "label": "imports_from", "title": "imports_from [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "src_main_masksecret", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "src_main_logapicryptobootinfo", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_main_masksecret", "to": "src_main_logapicryptobootinfo", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_index_ts", "to": "directives_index_setupglobdirectives", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_index_setupglobdirectives", "to": "core_auth_setupauthdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "core_roles_setuprolesdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "business_highlight_setuphighlightdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "business_ripple_setuprippledirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_core_roles_ts", "to": "core_roles_checkrolepermission", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_roles_ts", "to": "core_roles_removeelement", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_roles_ts", "to": "core_roles_setuprolesdirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_roles_checkrolepermission", "to": "core_roles_removeelement", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_checkauthpermission", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_removeelement", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_setupauthdirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_checkauthpermission", "to": "core_auth_removeelement", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_ripple_ts", "to": "business_ripple_setuprippledirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_highlightcode", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_insertlinenumbers", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_addcopybutton", "label": "contains", "title": "contains [EXTRACTED]", "dLine truncated
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Community 0", "count": 531}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 144}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 117}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 110}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 110}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 106}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 101}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 97}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 96}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 91}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 89}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 85}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 83}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 79}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 78}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 71}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 67}, {"cid": 17, "color": "#FF9DA7", "label": "Community 17", "count": 57}, {"cid": 18, "color": "#9C755F", "label": "Community 18", "count": 57}, {"cid": 19, "color": "#BAB0AC", "label": "Community 19", "count": 47}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 46}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 46}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 44}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 42}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 41}, {"cid": 25, "color": "#EDC948", "label": "Community 25", "count": 37}, {"cid": 26, "color": "#B07AA1", "label": "Community 26", "count": 36}, {"cid": 27, "color": "#FF9DA7", "label": "Community 27", "count": 36}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 35}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 35}, {"cid": 30, "color": "#4E79A7", "label": "Community 30", "count": 33}, {"cid": 31, "color": "#F28E2B", "label": "Community 31", "count": 31}, {"cid": 32, "color": "#E15759", "label": "Community 32", "count": 30}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 28}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 26}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 24}, {"cid": 36, "color": "#B07AA1", "label": "Community 36", "count": 22}, {"cid": 37, "color": "#FF9DA7", "label": "Community 37", "count": 20}, {"cid": 38, "color": "#9C755F", "label": "Community 38", "count": 19}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 17}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 17}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 16}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 14}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 13}, {"cid": 44, "color": "#59A14F", "label": "Community 44", "count": 13}, {"cid": 45, "color": "#EDC948", "label": "Community 45", "count": 13}, {"cid": 46, "color": "#B07AA1", "label": "Community 46", "count": 13}, {"cid": 47, "color": "#FF9DA7", "label": "Community 47", "count": 9}, {"cid": 48, "color": "#9C755F", "label": "Community 48", "count": 9}, {"cid": 49, "color": "#BAB0AC", "label": "Community 49", "count": 9}, {"cid": 50, "color": "#4E79A7", "label": "Community 50", "count": 9}, {"cid": 51, "color": "#F28E2B", "label": "Community 51", "count": 9}, {"cid": 52, "color": "#E15759", "label": "Community 52", "count": 9}, {"cid": 53, "color": "#76B7B2", "label": "Community 53", "count": 9}, {"cid": 54, "color": "#59A14F", "label": "Community 54", "count": 8}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 8}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 8}, {"cid": 57, "color": "#FF9DA7", "label": "Community 57", "count": 7}, {"cid": 58, "color": "#9C755F", "label": "Community 58", "count": 7}, {"cid": 59, "color": "#BAB0AC", "label": "Community 59", "count": 7}, {"cid": 60, "color": "#4E79A7", "label": "Community 60", "count": 7}, {"cid": 61, "color": "#F28E2B", "label": "Community 61", "count": 6}, {"cid": 62, "color": "#E15759", "label": "Community 62", "count": 6}, {"cid": 63, "color": "#76B7B2", "label": "Community 63", "count": 5}, {"cid": 64, "color": "#59A14F", "label": "Community 64", "count": 5}, {"cid": 65, "color": "#EDC948", "label": "Community 65", "count": 5}, {"cid": 66, "color": "#B07AA1", "label": "Community 66", "count": 5}, {"cid": 67, "color": "#FF9DA7", "label": "Community 67", "count": 5}, {"cid": 68, "color": "#9C755F", "label": "Community 68", "count": 4}, {"cid": 69, "color": "#BAB0AC", "label": "Community 69", "count": 4}, {"cid": 70, "color": "#4E79A7", "label": "CommuniLine truncated
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
function esc(s) {
File diff suppressed because it is too large. Load diff
+10 -10
View File
@@ -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": 1788230425.2335305,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/auto-imports.d.ts": 1788230408.7468112,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/components.d.ts": 1788232429.9197905,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/auto-imports.d.ts": 1788232408.5043263,
"/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,
@@ -84,7 +84,7 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/protocol-payment-labels.ts": 1782893910.9937537,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/oa-approval-print-flow.ts": 1786601489.1530275,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/status-tag-registry.ts": 1785206796.3246918,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts": 1785209080.8034942,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts": 1788234947.3617282,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/fetch-paged-list.ts": 1781272556.3903377,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/oa-form-create-owner-person.ts": 1785401005.1552768,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/oa-menu-badge.ts": 1785990724.1404996,
@@ -394,7 +394,7 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/storage-release-review.ts": 1787111032.7013338,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-material.ts": 1782404996.1897874,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/workflow.ts": 1781272556.6579714,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts": 1788158402.0615296,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts": 1788234944.2354693,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/sample-production-reception.ts": 1788159540.9777021,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/cnHoliday.ts": 1786374778.8665812,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-material-amount-auth.ts": 1783916949.4248378,
@@ -532,9 +532,9 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/sop/index.vue": 1783326448.939372,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-task/index.vue": 1782893852.6013515,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/reagent/index.vue": 1783326448.9403174,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/index.vue": 1788158494.7356184,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/index.vue": 1788234268.4371934,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionStepBadge.vue": 1783307223.0443783,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts": 1788158479.9217577,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts": 1788234280.065907,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue": 1787629676.3745494,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/CompleteProductionTaskDialog.vue": 1788158420.063997,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskInputEnhancedTable.vue": 1782893853.0951817,
@@ -546,9 +546,9 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskOutputList.vue": 1783395073.7065923,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/DispatchTaskDialog.vue": 1787043941.7999055,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskPaperAttachmentsPanel.vue": 1782893853.2361045,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/WorkOrderTaskSubList.vue": 1785209092.1710618,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/WorkOrderTaskSubList.vue": 1788234280.3125184,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskOutputProductDialog.vue": 1786945270.5325274,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue": 1787043602.256393,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue": 1788234503.9947772,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ForwardTaskDialog.vue": 1782893852.8302743,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderQcViewDialog.vue": 1782893852.7941833,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/WorkOrderTaskStepSubList.vue": 1782893852.736343,
@@ -558,7 +558,7 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts": 1787621866.2221386,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/DispatchStepDialog.vue": 1782893852.5906737,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/OutboundPilotTab.vue": 1782893853.79892,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/ProductionWorkOrderTabPanel.vue": 1788230233.8014455,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/ProductionWorkOrderTabPanel.vue": 1788234269.4465566,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/InboundCellStorageTab.vue": 1782893853.6783733,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/OutboundBasicExperimentTab.vue": 1782893853.643957,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/InboundResearchDonationTab.vue": 1782893853.5110183,
@@ -588,7 +588,7 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-material/ProductionMaterialStockCheckTab.vue": 1785210181.870827,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-material/ProductionMaterialPrepTab.vue": 1785210153.359408,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/sample-reception-completion/index.vue": 1782893851.986683,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/my-production-task/index.vue": 1788158510.719592,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/my-production-task/index.vue": 1788234275.4131055,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/equipment/index.vue": 1783326448.9595375,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/index.vue": 1787629663.564886,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue": 1788231143.029855,
@@ -28,6 +28,11 @@ export interface ProductionWorkOrderItem {
/** 门禁质检结论:tg=合格 / btg=不合格(细胞存储/科研捐赠入库) */
qcConclusion?: string
qcConclusionLabel?: string
/** 样本接收触发的门禁质检工单号 */
qcWorkOrderNo?: string
/** 门禁质检工单状态:dpz/ypz/ywc/yzf */
qcWorkOrderStatus?: string
qcWorkOrderStatusLabel?: string
createTime?: string
/** 卡片展示:工单下全部工艺步骤计划开始时间区间(前端聚合) */
plannedStartTimeRange?: string
@@ -134,6 +139,12 @@ export function fetchCompleteProductionWorkOrder(
})
}
export function fetchVoidProductionWorkOrder(id: string) {
return request.put<ProductionWorkOrderItem>({
url: `/web/admin/production-work-orders/${id}/void`
})
}
export function fetchCreateProductionWorkOrder(data: {
workOrderType?: string
protocolNo?: string
@@ -5,7 +5,9 @@ import {
donationStatusDisplayLabel,
donationStatusTagType,
protocolStatusDisplayLabel,
protocolStatusTagType
protocolStatusTagType,
workOrderStatusLabel,
workOrderStatusTagType
} from '@/utils/status-tag-registry'
import type { TagType } from '@/utils/status-tag-registry'
import type { ProductionWorkOrderTabKey } from '@/utils/production-work-order-tabs'
@@ -98,6 +100,21 @@ function buildInboundMetaFields(tabKey: ProductionWorkOrderTabKey): CardMetaFiel
getTagType: (row) => protocolStatusTagTypeForTab(row, tabKey),
visible: (row) => !!String(row.protocolStatus || '').trim()
},
{
label: '质检工单号',
getValue: (row) => row.qcWorkOrderNo || '—'
},
{
label: '质检工单状态',
kind: 'tag',
getValue: (row) =>
row.qcWorkOrderStatusLabel ||
workOrderStatusLabel(String(row.qcWorkOrderStatus || '')) ||
'—',
getTagType: (row) =>
workOrderStatusTagType(String(row.qcWorkOrderStatus || '')) || 'info',
visible: (row) => !!String(row.qcWorkOrderStatus || '').trim()
},
{
label: '质检结论',
kind: 'tag',
@@ -16,6 +16,7 @@
:tab-key="activeTabKey"
page-mode="mine"
@complete="handleCompleteSingle"
@void="handleVoidSingle"
@data-changed="reloadTabCounts"
/>
@@ -32,9 +33,10 @@
<script setup lang="ts">
import { ref, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import { ElMessage } from 'element-plus'
import { ElMessage, ElMessageBox } from 'element-plus'
import {
fetchCompleteProductionWorkOrder,
fetchVoidProductionWorkOrder,
type ProductionWorkOrderItem
} from '@/api/production-work-order'
import {
@@ -110,6 +112,21 @@
}
}
async function handleVoidSingle(row: ProductionWorkOrderItem) {
if (row.workOrderStatus !== 'dpz' && row.workOrderStatus !== 'jxz') {
ElMessage.warning('仅待配置或进行中的工单可作废')
return
}
await ElMessageBox.confirm(
'确定作废该生产工单吗?未完成的任务将一并作废,已登记产出不受影响。',
'作废工单',
{ type: 'warning' }
)
await fetchVoidProductionWorkOrder(row.id)
ElMessage.success('工单已作废')
await refreshActiveTab()
}
function handleTabChange(key: ProductionWorkOrderTabKey) {
if (activeTabKey.value === key) return
activeTabKey.value = key
@@ -112,6 +112,15 @@
>
<el-icon><Check /></el-icon>完成工单
</el-button>
<el-button
v-if="showCardComplete(row) && canVoidWorkOrder(row)"
class="btn-op-item"
type="danger"
plain
@click="emit('void', row)"
>
<el-icon><Close /></el-icon>作废工单
</el-button>
<el-dropdown
v-if="!isMineMode && hasMoreActions(row)"
trigger="hover"
@@ -298,6 +307,7 @@
Position,
Document,
Check,
Close,
More,
EditPen,
Delete,
@@ -438,6 +448,7 @@
dispatch: [row: ProductionWorkOrderItem]
'dispatch-qc': [row: ProductionWorkOrderItem]
complete: [row: ProductionWorkOrderItem]
void: [row: ProductionWorkOrderItem]
command: [cmd: string, row: ProductionWorkOrderItem]
'toggle-select': [row: ProductionWorkOrderItem, checked: boolean]
'tasks-changed': [detail?: { workOrderId?: string; reloadWorkOrders?: boolean }]
@@ -537,6 +548,10 @@
return row.workOrderStatus === 'dpz' || row.workOrderStatus === 'jxz'
}
function canVoidWorkOrder(row: ProductionWorkOrderItem) {
return row.workOrderStatus === 'dpz' || row.workOrderStatus === 'jxz'
}
function canEditWorkOrder(row: ProductionWorkOrderItem) {
if (!rowCardMeta(row).allowEditRemark) return false
const effectiveTabKey = resolveEffectiveRowTabKey(listTabKey.value, row)
@@ -319,7 +319,8 @@
const map: Record<string, { label: string; type: string }> = {
dpz: { label: '待配置', type: 'info' },
jxz: { label: '进行中', type: 'warning' },
ywc: { label: '已完成', type: 'success' }
ywc: { label: '已完成', type: 'success' },
yzf: { label: '已作废', type: 'danger' }
}
return map[status] || { label: status, type: 'info' }
}
@@ -520,6 +521,7 @@
function canEnterExecution(row: Record<string, any>) {
if (isMineHistoryRow(row)) return false
if (row.taskStatus === 'yzf') return false
if (isMineMode.value) return isCurrentAssignee(row)
return true
}
@@ -531,6 +533,7 @@
function canEditTask(row: Record<string, any>) {
if (isMineHistoryRow(row)) return false
if (row.taskStatus === 'yzf') return false
if (isMineMode.value) return isCurrentAssignee(row)
return row.taskStatus === 'dpz' || row.taskStatus === 'jxz'
}
@@ -18,6 +18,7 @@
@dispatch="handleOpenDispatch"
@dispatch-qc="handleOpenDispatchQc"
@complete="handleCompleteSingle"
@void="handleVoidSingle"
@command="handleDropdownCommand"
@add-temporary="handleAddTemporary"
@open-sample-reception="handleOpenSampleReception"
@@ -113,6 +114,7 @@
import { Close, Check } from '@element-plus/icons-vue'
import {
fetchCompleteProductionWorkOrder,
fetchVoidProductionWorkOrder,
fetchCreateProductionWorkOrder,
fetchUpdateProductionWorkOrder,
fetchDeleteProductionWorkOrder,
@@ -316,6 +318,21 @@
}
}
async function handleVoidSingle(row: ProductionWorkOrderItem) {
if (row.workOrderStatus !== 'dpz' && row.workOrderStatus !== 'jxz') {
ElMessage.warning('仅待配置或进行中的工单可作废')
return
}
await ElMessageBox.confirm(
'确定作废该生产工单吗?未完成的任务将一并作废,已登记产出不受影响。',
'作废工单',
{ type: 'warning' }
)
await fetchVoidProductionWorkOrder(row.id)
ElMessage.success('工单已作废')
await refreshActiveTab()
}
onMounted(() => {
activeTabKey.value = parseProductionWorkOrderTabKey(route.query.tab as string)
})
@@ -192,6 +192,7 @@
@dispatch="(row) => emit('dispatch', row)"
@dispatch-qc="(row) => emit('dispatch-qc', row)"
@complete="(row) => emit('complete', row)"
@void="(row) => emit('void', row)"
@command="handleCommand"
@toggle-select="handleCardToggleSelect"
@tasks-changed="onTasksChanged"
@@ -260,6 +261,7 @@
(e: 'dispatch', row: ProductionWorkOrderItem): void
(e: 'dispatch-qc', row: ProductionWorkOrderItem): void
(e: 'complete', row: ProductionWorkOrderItem): void
(e: 'void', row: ProductionWorkOrderItem): void
(e: 'command', command: string, row: ProductionWorkOrderItem): void
(e: 'add-temporary'): void
(e: 'open-sample-reception', row: ProductionWorkOrderItem): void
@@ -2335,7 +2335,8 @@ export function useTaskStepEditor() {
const map: Record<string, { label: string; type: string }> = {
dpz: { label: '待配置', type: 'info' },
jxz: { label: '进行中', type: 'warning' },
ywc: { label: '已完成', type: 'success' }
ywc: { label: '已完成', type: 'success' },
yzf: { label: '已作废', type: 'danger' }
}
return map[status] || { label: status, type: 'info' }
}