This commit is contained in:
zlwu committed 2026-08-19 10:45:07 +08:00
1 parent 1618035e4b
commit cd8ab170ba
30 files changed
+13705 -11072

No files matched your search

+7
View File
@@ -2061,8 +2061,13 @@ def _third_lines(db: Session, work_order_id: str) -> List[Dict[str, Any]]:
def _qc_info_item(db: Session, wo: BizQcWorkOrder, tenant_no: str) -> Dict[str, Any]:
from app.crud import qc_inspection_batch as batch_svc
from app.crud import qc_task_result as result_svc
tasks = task_svc.list_tasks_by_work_order(db, wo.id, tenant_no)
task_ids = [str(t.get("id") or "").strip() for t in tasks if t.get("id")]
results_map = (
result_svc.list_saved_results_by_task_ids(db, task_ids, tenant_no) if task_ids else {}
)
for t in tasks:
tt = (t.get("taskType") or "").strip()
ts = (t.get("taskStatus") or "").strip()
@@ -2070,6 +2075,8 @@ def _qc_info_item(db: Session, wo: BizQcWorkOrder, tenant_no: str) -> Dict[str,
t["taskTypeLabel"] = _TASK_TYPE_LABELS.get(tt, tt)
t["taskStatusLabel"] = _TASK_STATUS_LABELS.get(ts, ts)
t["conclusionLabel"] = t.get("conclusionLabel") or _CONCLUSION_LABELS.get(tc, tc or "—")
tid = str(t.get("id") or "").strip()
t["results"] = results_map.get(tid, []) if tid else []
wo_status = (wo.work_order_status or "").strip()
biz = _work_order_qc_biz_type(wo)
return {
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+63 -85
View File
@@ -1,11 +1,11 @@
# Graph Report - app (2026-08-18)
# Graph Report - app (2026-08-19)
## Corpus Check
- Large corpus: 259 files · ~310,404 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
- Large corpus: 259 files · ~310,445 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
## Summary
- 5374 nodes · 29364 edges · 43 communities detected
- Extraction: 32% EXTRACTED · 68% INFERRED · 0% AMBIGUOUS · INFERRED: 20080 edges (avg confidence: 0.6)
- 5374 nodes · 29366 edges · 39 communities detected
- Extraction: 32% EXTRACTED · 68% INFERRED · 0% AMBIGUOUS · INFERRED: 20082 edges (avg confidence: 0.6)
- Token cost: 0 input · 0 output
## Community Hubs (Navigation)
@@ -42,16 +42,12 @@
- [[_COMMUNITY_Community 30|Community 30]]
- [[_COMMUNITY_Community 31|Community 31]]
- [[_COMMUNITY_Community 32|Community 32]]
- [[_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]]
## God Nodes (most connected - your core abstractions)
1. `success_response()` - 753 edges
@@ -68,28 +64,28 @@
## Surprising Connections (you probably didn't know these)
- `统一记录 API 请求/响应出入参的中间件` --uses--> `SysApiRequestLog` [INFERRED]
core/api_request_log_middleware.py → models/models.py
- `get_menu_list()` --calls--> `success_response()` [INFERRED]
api/menu.py → core/response.py
- `sync_lab_storage_seq_after_use()` --calls--> `generate_uuid()` [INFERRED]
crud/sample_reception_lab_code.py → core/utils.py
- `中试服务管理 API(细胞产品类型/规格/价格体系/项目价格、渠道信息、体检机构)` --uses--> `SysUser` [INFERRED]
api/pilot_service.py → models/models.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
## Communities
### Community 0 - "Community 0"
Cohesion: 0.01
Nodes (1081): attachment_download_url(), create_dept(), create_dict_data(), create_dict_type(), create_express_company(), create_item_unit(), create_menu(), create_post() (+1073 more)
Nodes (1073): attachment_download_url(), create_dept(), create_dict_data(), create_dict_type(), create_express_company(), create_item_unit(), create_menu(), create_post() (+1065 more)
### Community 1 - "Community 1"
Cohesion: 0.01
Nodes (702): generate_uuid(), ApiRequestLogCRUD, delete(), get_multi_with_filters(), create_cell_sample_type(), get_cell_sample_type(), list_cell_sample_types(), 细胞样本类型 CRUD(biz_cell_sample_type) (+694 more)
Nodes (634): 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() (+626 more)
### Community 2 - "Community 2"
Cohesion: 0.01
Nodes (652): AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, DictDataCreateBody, DictDataUpdateBody, DictTypeCreateBody, DictTypeUpdateBody, ExpressCompanyCreateBody (+644 more)
Nodes (600): AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, DictDataCreateBody, DictDataUpdateBody, DictTypeCreateBody, DictTypeUpdateBody, ExpressCompanyCreateBody (+592 more)
### Community 3 - "Community 3"
Cohesion: 0.05
@@ -97,7 +93,7 @@ Nodes (609): CellSampleTypeCreateBody, CellSampleTypeUpdateBody, CollectionRegio
### Community 4 - "Community 4"
Cohesion: 0.01
Nodes (347): _normalize_date_bound(), _persist_protocol_sub_resources(), list_ethnics_for_select(), apply_data_scope(), _get_child_dept_ids(), get_user_dept_id(), _resolve_user_role_scopes(), format_date() (+339 more)
Nodes (389): _normalize_date_bound(), eq_unicode(), like_unicode(), MySQL 字符串比较/模糊匹配时统一排序规则,避免 Illegal mix of collations。, 跨表字符串等值比较(JOIN / WHERE)时统一为 utf8mb4_unicode_ci。, 将列显式设为 utf8mb4_unicode_ci。, unicode_ci(), ApiRequestLogCRUD (+381 more)
### Community 5 - "Community 5"
Cohesion: 0.02
@@ -105,39 +101,39 @@ Nodes (269): 截止日期:仅日期时扩到当天 23:59:59。, 发起前预
### Community 6 - "Community 6"
Cohesion: 0.02
Nodes (141): get_designer_data(), _error_json(), lifespan(), 未捕获异常:统一 JSON 500,确保跨域场景下仍有 Access-Control-Allow-Origin, 数据库异常:返回 JSON 并保留 CORS 头,避免浏览器只报跨域错误, sqlalchemy_exception_handler(), unhandled_exception_handler(), BaseHTTPMiddleware (+133 more)
Nodes (197): _persist_protocol_sub_resources(), format_date(), generate_id(), optional_date(), parse_date(), 将字符串 / date / datetime 转为 date 或 None, camel_to_snake(), get_model_attr() (+189 more)
### Community 7 - "Community 7"
Cohesion: 0.02
Nodes (195): eq_unicode(), like_unicode(), MySQL 字符串比较/模糊匹配时统一排序规则,避免 Illegal mix of collations。, 跨表字符串等值比较(JOIN / WHERE)时统一为 utf8mb4_unicode_ci。, 将列显式设为 utf8mb4_unicode_ci。, unicode_ci(), batch_review(), _dec() (+187 more)
Nodes (138): mp_bind(), mp_bind_status(), 小程序鉴权:微信登录 / 绑定 openid。, 当前用户是否已绑定微信服务号 openid。, 服务号网页授权 code 绑定当前用户(需 Bearer)。, 微信登录:openid 已绑定时可静默换票;否则须授权手机号且与账号 phone_no 一致。, 密码登录后绑定当前微信 openid(需 Bearer)。, _resolve_user_id() (+130 more)
### Community 8 - "Community 8"
Cohesion: 0.03
Nodes (140): 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() (+132 more)
Cohesion: 0.02
Nodes (154): api_save_application(), map_payments_by_schedule_ids(), get_protocol_nos_used_in_protocols(), _fmt_dt(), get_handover_by_schedule(), get_outbound_handover(), get_outbound_handover_view(), _handover_row_to_dict() (+146 more)
### Community 9 - "Community 9"
Cohesion: 0.03
Nodes (144): _batch_line_to_dict(), _unused_amount(), _unused_line_to_dict(), _filter_material_type(), _batch_map_for_prep_lines(), cancel_prep(), complete_prep(), _create_auto_stock_out() (+136 more)
Cohesion: 0.02
Nodes (139): list_ethnics_for_select(), get_designer_data(), apply_data_scope(), _get_child_dept_ids(), get_user_dept_id(), _resolve_user_role_scopes(), _build_tree(), _cascade_soft_delete() (+131 more)
### Community 10 - "Community 10"
Cohesion: 0.03
Nodes (141): 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() (+133 more)
Nodes (154): _batch_line_to_dict(), cancel_check(), _check_header_to_dict(), complete_check(), _get_check(), get_check_detail(), _line_counts(), list_checks() (+146 more)
### Community 11 - "Community 11"
Cohesion: 0.05
Nodes (117): AccessLogCreateBody, AccessLogUpdateBody, CleanRoomCreateBody, CleanRoomUpdateBody, ExhibitionAppointmentCreateBody, ExhibitionAppointmentUpdateBody, list_storage_slot_stats(), OccupancyCreateBody (+109 more)
Cohesion: 0.03
Nodes (141): 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() (+133 more)
### Community 12 - "Community 12"
Cohesion: 0.04
Nodes (98): _body_to_payload(), _get_current_user_id(), get_production_reception_detail(), _get_tenant_no(), post_production_reception(), put_production_reception(), _resolve_reception_id(), _lookup_attachment_by_url() (+90 more)
Cohesion: 0.05
Nodes (117): AccessLogCreateBody, AccessLogUpdateBody, CleanRoomCreateBody, CleanRoomUpdateBody, ExhibitionAppointmentCreateBody, ExhibitionAppointmentUpdateBody, list_storage_slot_stats(), OccupancyCreateBody (+109 more)
### Community 13 - "Community 13"
Cohesion: 0.04
Nodes (71): _collect_descendants(), _current_user(), _find_mobile_root(), list_my_mobile_menus(), _mobile_menu_icon(), _mobile_menu_icon_colors(), 小程序菜单:当前用户在「移动端菜单」树下有权限的入口。, 宫格图标底色/图形色(可按入口自定义,不强制品牌绿)。 (+63 more)
### Community 14 - "Community 14"
Cohesion: 0.08
Nodes (38): mp_bind(), mp_bind_status(), 小程序鉴权:微信登录 / 绑定 openid。, 当前用户是否已绑定微信服务号 openid。, 服务号网页授权 code 绑定当前用户(需 Bearer)。, 微信登录:openid 已绑定时可静默换票;否则须授权手机号且与账号 phone_no 一致。, 密码登录后绑定当前微信 openid(需 Bearer)。, _resolve_user_id() (+30 more)
Cohesion: 0.44
Nodes (75): BatchStockInBody, BatchStockInItem, BatchStockOutBody, BatchStockOutItem, ConsumableCreateBody, ConsumablePackCreateBody, ConsumablePackUpdateBody, ConsumableUpdateBody (+67 more)
### Community 15 - "Community 15"
Cohesion: 0.12
@@ -148,21 +144,21 @@ Cohesion: 0.16
Nodes (22): _code_exists(), create_material(), _dec(), _fmt_dt(), get_material(), get_material_entity(), get_my_usages(), _is_enabled_status() (+14 more)
### Community 17 - "Community 17"
Cohesion: 0.21
Nodes (20): _body_to_payload(), _get_current_user_id(), get_production_reception_detail(), _get_tenant_no(), post_production_reception(), put_production_reception(), _resolve_reception_id(), _apply_payload_to_row() (+12 more)
### Community 18 - "Community 18"
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)
### Community 18 - "Community 18"
### Community 19 - "Community 19"
Cohesion: 0.21
Nodes (19): _consumable_row_to_dict(), create_process(), _create_sub_consumable(), _create_sub_data_collection(), _create_sub_output(), _create_sub_reagent(), _data_collection_row_to_dict(), get_process() (+11 more)
### Community 19 - "Community 19"
### Community 20 - "Community 20"
Cohesion: 0.19
Nodes (17): apply_trip_kit_days(), calc_trip_leg_days(), _day_index(), _end_offset(), _extract_rules(), is_half_day_multiple(), _kit_trip_fields(), 出差套件:半日制行程时长(与前端 oa-trip-days.ts 对齐) (+9 more)
### Community 20 - "Community 20"
Cohesion: 0.23
Nodes (12): Config, ProductBase, ProductCategoryBase, ProductCategoryCreate, ProductCategoryResponse, ProductCreate, ProductResponse, ProductUnitBase (+4 more)
### Community 21 - "Community 21"
Cohesion: 0.27
Nodes (12): _field_label(), _is_empty(), _is_required(), _parse_money(), OA 表单设计器:金额控件 form_data 校验, 校验 form_data 中金额控件的值格式,返回中文错误列表(空表示通过)。, 解析金额值。成功返回 (number, None);失败返回 (None, error_key)。, _rule_props() (+4 more)
@@ -172,126 +168,108 @@ 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 23 - "Community 23"
Cohesion: 0.24
Nodes (11): deduct_for_step(), _display_remark(), list_stock_logs(), _parse_receiver_purpose_from_remark(), 耗材变动记录 CRUD(biz_consumable_stock_log), 撤销步骤此前 step_save 扣减,便于重新填报。, 扣减耗材库存并生成变动记录。调用方控制事务,本函数不 commit。, _resolve_receiver_purpose() (+3 more)
### Community 24 - "Community 24"
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 25 - "Community 25"
### Community 24 - "Community 24"
Cohesion: 0.29
Nodes (2): BaseModel, SoftDeleteModel
### Community 26 - "Community 26"
Cohesion: 0.39
Nodes (5): _fmt_dt(), list_production_waste_outputs(), _normalize_date_bound(), pick_waste_output_type_ids(), resolve_waste_output_type_ids()
### Community 27 - "Community 27"
### Community 25 - "Community 25"
Cohesion: 0.38
Nodes (6): derive_legacy_status_from_three(), derive_three_status_from_legacy(), 阶段A兼容:从旧 status 推导三字段。 约束:旧 status 本身混合了支付/配送/订单生命周期,因此只能尽力推断; 若业务侧已有更精确, 阶段A兼容:从三字段反推旧 status(用于旧前端/旧筛选参数兼容)。, ThreeStatus, _to_decimal()
### Community 28 - "Community 28"
Cohesion: 0.6
Nodes (5): _dec(), _fmt_dt(), list_stock_logs(), _row_to_dict(), _user_nick_name_map()
### Community 29 - "Community 29"
### Community 26 - "Community 26"
Cohesion: 0.4
Nodes (5): batch_matches_stock_status(), normalize_batch_stock_status(), 质检物料入库批次:按剩余数量过滤的语义辅助。, 纯函数判定(供单测);list_batches 用 SQL 等价条件。, 返回 'available' | 'exhausted';全部 / 空 / 非法 → None(不加剩余数量条件)。
### Community 30 - "Community 30"
### Community 27 - "Community 27"
Cohesion: 0.5
Nodes (3): BaseSettings, Config, Settings
### Community 31 - "Community 31"
### Community 28 - "Community 28"
Cohesion: 0.5
Nodes (2): _auto_fill_create_dept_id(), ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID
### Community 32 - "Community 32"
Cohesion: 0.67
Nodes (2): get_menu_list(), 运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,5 个一级菜单分组)
### Community 33 - "Community 33"
### Community 29 - "Community 29"
Cohesion: 0.67
Nodes (1): 转正套件:入职日 + 试用期月数 → 建议转正日(YYYY-MM-DD)。
### Community 34 - "Community 34"
### Community 30 - "Community 30"
Cohesion: 1.0
Nodes (1): 质检物料金额查看授权:专用角色与菜单权限常量。
### Community 35 - "Community 35"
### Community 31 - "Community 31"
Cohesion: 1.0
Nodes (1): 请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传
### Community 36 - "Community 36"
### Community 32 - "Community 32"
Cohesion: 1.0
Nodes (1): API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)
### Community 39 - "Community 39"
### Community 35 - "Community 35"
Cohesion: 1.0
Nodes (1): 发送订单状态通知 Args: openid: 用户openid ord
### Community 40 - "Community 40"
### Community 36 - "Community 36"
Cohesion: 1.0
Nodes (1): 发送支付成功通知 Args: openid: 用户openid ord
### Community 41 - "Community 41"
### Community 37 - "Community 37"
Cohesion: 1.0
Nodes (1): 发送配送通知 Args: openid: 配送员openid task
### Community 42 - "Community 42"
### Community 38 - "Community 38"
Cohesion: 1.0
Nodes (1): 发送配送时效预警 Args: openid: 配送员openid ta
### Community 43 - "Community 43"
### Community 39 - "Community 39"
Cohesion: 1.0
Nodes (1): 发送退款结果通知 Args: openid: 用户openid ord
### Community 44 - "Community 44"
### Community 40 - "Community 40"
Cohesion: 1.0
Nodes (1): 发送催单通知给配送员 Args: deliver_openid: 配送员openid
## Knowledge Gaps
- **176 isolated node(s):** `刷新会话 TTL(refreshToken 续期;已登录用户每次 API 校验通过后滑动续期)`, `写入 refreshToken(用于 one-time 使用/吊销)`, `根据 token 获取当前用户(包含 Redis 会话校验;会话滑动续期)`, `登录凭据 RSA 解密(与前端 JSEncrypt PKCS#1 v1.5 兼容)。`, `加载 RSA 密钥对:优先环境变量,否则使用内置固定默认密钥。` (+171 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **Thin community `Community 25`** (8 nodes): `BaseModel`, `.to_dict()`, `get_active()`, `base.py`, `SoftDeleteModel`, `.restore()`, `.soft_delete()`, `__tablename__()`
- **Thin community `Community 24`** (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 31`** (4 nodes): `_auto_fill_create_dept_id()`, `get_db()`, `database.py`, `ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID`
- **Thin community `Community 28`** (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 32`** (3 nodes): `get_menu_list()`, `menu.py`, `运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,5 个一级菜单分组)`
- **Thin community `Community 29`** (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 33`** (3 nodes): `add_months_ymd()`, `oa_confirmation_date.py`, `转正套件:入职日 + 试用期月数 → 建议转正日(YYYY-MM-DD)。`
- **Thin community `Community 30`** (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 34`** (2 nodes): `qc_material_amount_auth_constants.py`, `质检物料金额查看授权:专用角色与菜单权限常量。`
- **Thin community `Community 31`** (2 nodes): `context.py`, `请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 35`** (2 nodes): `context.py`, `请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传`
- **Thin community `Community 32`** (2 nodes): `__init__.py`, `API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 36`** (2 nodes): `__init__.py`, `API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)`
- **Thin community `Community 35`** (1 nodes): `发送订单状态通知 Args: openid: 用户openid ord`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 39`** (1 nodes): `发送订单状态通知 Args: openid: 用户openid ord`
- **Thin community `Community 36`** (1 nodes): `发送支付成功通知 Args: openid: 用户openid ord`
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 37`** (1 nodes): `发送配送通知 Args: openid: 配送员openid task`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 41`** (1 nodes): `发送配送通知 Args: openid: 配送员openid task`
- **Thin community `Community 38`** (1 nodes): `发送配送时效预警 Args: openid: 配送员openid ta`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 42`** (1 nodes): `发送配送时效预警 Args: openid: 配送员openid ta`
- **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 43`** (1 nodes): `发送退款结果通知 Args: openid: 用户openid ord`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 44`** (1 nodes): `发送催单通知给配送员 Args: deliver_openid: 配送员openid`
- **Thin community `Community 40`** (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 0`, `Community 1`, `Community 3`, `Community 4`, `Community 5`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 13`, `Community 14`, `Community 16`, `Community 22`, `Community 23`?**
- **Why does `SysUser` connect `Community 2` to `Community 0`, `Community 1`, `Community 3`, `Community 5`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 16`, `Community 22`?**
_High betweenness centrality (0.104) - this node is a cross-community bridge._
- **Why does `success_response()` connect `Community 0` to `Community 32`, `Community 2`, `Community 4`, `Community 6`, `Community 8`, `Community 11`, `Community 12`, `Community 13`, `Community 14`?**
- **Why does `success_response()` connect `Community 0` to `Community 2`, `Community 7`, `Community 8`, `Community 9`, `Community 12`, `Community 13`, `Community 17`?**
_High betweenness centrality (0.040) - 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 16`, `Community 18`, `Community 22`, `Community 23`, `Community 24`?**
- **Why does `generate_uuid()` connect `Community 1` to `Community 0`, `Community 2`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 16`, `Community 17`, `Community 19`, `Community 22`, `Community 23`?**
_High betweenness centrality (0.028) - this node is a cross-community bridge._
- **Are the 902 inferred relationships involving `str` (e.g. with `unhandled_exception_handler()` and `get_current_user_by_token()`) actually correct?**
_`str` has 902 INFERRED edges - model-reasoned connections that need verification._
- **Are the 903 inferred relationships involving `str` (e.g. with `unhandled_exception_handler()` and `get_current_user_by_token()`) actually correct?**
_`str` has 903 INFERRED edges - model-reasoned connections that need verification._
- **Are the 752 inferred relationships involving `success_response()` (e.g. with `list_storage_release_reviews()` and `get_storage_release_review_detail()`) actually correct?**
_`success_response()` has 752 INFERRED edges - model-reasoned connections that need verification._
- **Are the 622 inferred relationships involving `error_response()` (e.g. with `_json_error_response()` and `list_storage_release_reviews()`) actually correct?**
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -152,7 +152,7 @@
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/env_detect_item.py": 1781145689.9525824,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/process_category.py": 1779265700.0606413,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/item_unit.py": 1779265653.7504313,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py": 1786958264.8161333,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py": 1787103931.443381,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/outbound_handover_inventory.py": 1781598316.476379,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/env_detect_record.py": 1786945487.5517714,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/production_task_set.py": 1787043810.5603542,
-350
View File
@@ -1,350 +0,0 @@
-- 生产任务集合:头表 + 条目 + 菜单授权(幂等)
-- 授权:已有【生产基础信息】PRB 下任一有效子菜单 或 已有生产工单菜单 的角色 → 授予 PRB + C + 四个 F
SET @tenant_no = CONVERT('zkxw' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @prb_id = CONVERT('PRB00000000000000000000000000001' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @wo_menu_id = CONVERT('90000000000000000000000000000011' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @menu_c = CONVERT('95400000000000000000000000000001' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @menu_list = CONVERT('95400000000000000000000000000002' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @menu_add = CONVERT('95400000000000000000000000000003' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @menu_edit = CONVERT('95400000000000000000000000000004' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @menu_remove = CONVERT('95400000000000000000000000000005' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
CREATE TABLE IF NOT EXISTS `biz_production_task_set` (
`id` varchar(64) NOT NULL COMMENT '主键ID',
`set_name` varchar(200) NOT NULL COMMENT '集合名称',
`status` char(1) NOT NULL DEFAULT '1' COMMENT '1启用 0停用',
`tenant_no` varchar(64) NOT NULL DEFAULT 'zkxw' COMMENT '租户编号',
`order_num` int(11) DEFAULT NULL COMMENT '排序号',
`remark` varchar(512) DEFAULT NULL COMMENT '备注',
`create_by` varchar(64) DEFAULT NULL COMMENT '创建人id',
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建人部门ID',
`create_time` datetime NOT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人id',
`update_time` datetime NOT NULL COMMENT '更新时间',
`del_flag` tinyint(4) NOT NULL DEFAULT '0' COMMENT '删除标记',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_pts_tenant_status` (`tenant_no`,`del_flag`,`status`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='生产任务集合';
CREATE TABLE IF NOT EXISTS `biz_production_task_set_item` (
`id` varchar(64) NOT NULL COMMENT '主键ID',
`set_id` varchar(64) NOT NULL COMMENT '集合ID',
`task_name` varchar(200) NOT NULL COMMENT '任务名称',
`route_id` varchar(64) DEFAULT NULL COMMENT '工艺路线ID',
`route_name` varchar(100) DEFAULT NULL COMMENT '路线名称快照',
`description` varchar(500) DEFAULT NULL COMMENT '描述',
`remark` varchar(512) DEFAULT NULL COMMENT '备注',
`tenant_no` varchar(64) NOT NULL DEFAULT 'zkxw' COMMENT '租户编号',
`order_num` int(11) DEFAULT NULL COMMENT '排序号',
`create_by` varchar(64) DEFAULT NULL COMMENT '创建人id',
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建人部门ID',
`create_time` datetime NOT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人id',
`update_time` datetime NOT NULL COMMENT '更新时间',
`del_flag` tinyint(4) NOT NULL DEFAULT '0' COMMENT '删除标记',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_ptsi_set` (`set_id`,`del_flag`,`order_num`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='生产任务集合条目';
-- 1) C 菜单
INSERT INTO sys_menu (
id, menu_name, parent_id, menu_type, path, component, perms,
is_frame, visible, status, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
@menu_c,
'生产任务组合模版',
@prb_id,
'C',
'production-task-set',
'/production/production-task-set/index',
'production:task-set:list',
1, '1', '1', @tenant_no, 12,
'生产基础信息:生产任务组合模版主数据',
NULL, '', NOW(), NULL, NOW(), 0
FROM DUAL
WHERE NOT EXISTS (
SELECT 1 FROM sys_menu m
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_c
);
UPDATE sys_menu
SET
menu_name = '生产任务组合模版',
parent_id = @prb_id,
menu_type = 'C',
path = 'production-task-set',
component = '/production/production-task-set/index',
perms = 'production:task-set:list',
visible = '1',
status = '1',
order_num = 12,
remark = '生产基础信息:生产任务组合模版主数据',
del_flag = 0,
update_time = NOW()
WHERE id COLLATE utf8mb4_unicode_ci = @menu_c;
-- 2) F 按钮:查询
INSERT INTO sys_menu (
id, menu_name, parent_id, menu_type, path, component, perms,
is_frame, visible, status, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
@menu_list,
'查询',
@menu_c,
'F',
'',
'',
'production:task-set:list',
1, '0', '1', @tenant_no, 1,
'生产任务集合列表查询',
NULL, '', NOW(), NULL, NOW(), 0
FROM DUAL
WHERE NOT EXISTS (
SELECT 1 FROM sys_menu m
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_list
);
UPDATE sys_menu
SET
menu_name = '查询',
parent_id = @menu_c,
menu_type = 'F',
path = '',
component = '',
perms = 'production:task-set:list',
visible = '0',
status = '1',
order_num = 1,
remark = '生产任务集合列表查询',
del_flag = 0,
update_time = NOW()
WHERE id COLLATE utf8mb4_unicode_ci = @menu_list;
-- 2) F 按钮:新增
INSERT INTO sys_menu (
id, menu_name, parent_id, menu_type, path, component, perms,
is_frame, visible, status, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
@menu_add,
'新增',
@menu_c,
'F',
'',
'',
'production:task-set:add',
1, '0', '1', @tenant_no, 2,
'生产任务集合新增',
NULL, '', NOW(), NULL, NOW(), 0
FROM DUAL
WHERE NOT EXISTS (
SELECT 1 FROM sys_menu m
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_add
);
UPDATE sys_menu
SET
menu_name = '新增',
parent_id = @menu_c,
menu_type = 'F',
path = '',
component = '',
perms = 'production:task-set:add',
visible = '0',
status = '1',
order_num = 2,
remark = '生产任务集合新增',
del_flag = 0,
update_time = NOW()
WHERE id COLLATE utf8mb4_unicode_ci = @menu_add;
-- 2) F 按钮:编辑
INSERT INTO sys_menu (
id, menu_name, parent_id, menu_type, path, component, perms,
is_frame, visible, status, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
@menu_edit,
'编辑',
@menu_c,
'F',
'',
'',
'production:task-set:edit',
1, '0', '1', @tenant_no, 3,
'生产任务集合编辑',
NULL, '', NOW(), NULL, NOW(), 0
FROM DUAL
WHERE NOT EXISTS (
SELECT 1 FROM sys_menu m
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_edit
);
UPDATE sys_menu
SET
menu_name = '编辑',
parent_id = @menu_c,
menu_type = 'F',
path = '',
component = '',
perms = 'production:task-set:edit',
visible = '0',
status = '1',
order_num = 3,
remark = '生产任务集合编辑',
del_flag = 0,
update_time = NOW()
WHERE id COLLATE utf8mb4_unicode_ci = @menu_edit;
-- 2) F 按钮:删除
INSERT INTO sys_menu (
id, menu_name, parent_id, menu_type, path, component, perms,
is_frame, visible, status, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
@menu_remove,
'删除',
@menu_c,
'F',
'',
'',
'production:task-set:remove',
1, '0', '1', @tenant_no, 4,
'生产任务集合删除',
NULL, '', NOW(), NULL, NOW(), 0
FROM DUAL
WHERE NOT EXISTS (
SELECT 1 FROM sys_menu m
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_remove
);
UPDATE sys_menu
SET
menu_name = '删除',
parent_id = @menu_c,
menu_type = 'F',
path = '',
component = '',
perms = 'production:task-set:remove',
visible = '0',
status = '1',
order_num = 4,
remark = '生产任务集合删除',
del_flag = 0,
update_time = NOW()
WHERE id COLLATE utf8mb4_unicode_ci = @menu_remove;
-- 3) 目标角色:PRB 下任一有效子菜单 或 已有生产工单菜单
-- MySQL 5.7:UPDATE 目标表不可在同句 FROM/EXISTS 中直接引用自身,须用派生表
-- 3a) 恢复软删的 PRB / C / F 授权
UPDATE sys_role_menu rm
INNER JOIN sys_role r
ON r.id COLLATE utf8mb4_unicode_ci = rm.role_id COLLATE utf8mb4_unicode_ci
AND r.del_flag = 0
AND r.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
INNER JOIN (
SELECT DISTINCT role_id FROM (
SELECT DISTINCT rm2.role_id AS role_id
FROM sys_role_menu rm2
INNER JOIN sys_menu m2
ON m2.id COLLATE utf8mb4_unicode_ci = rm2.menu_id COLLATE utf8mb4_unicode_ci
AND m2.del_flag = 0
AND m2.parent_id COLLATE utf8mb4_unicode_ci = @prb_id
WHERE rm2.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm2.del_flag = 0
UNION
SELECT DISTINCT rm3.role_id AS role_id
FROM sys_role_menu rm3
INNER JOIN sys_menu m3
ON m3.id COLLATE utf8mb4_unicode_ci = rm3.menu_id COLLATE utf8mb4_unicode_ci
AND m3.del_flag = 0
WHERE rm3.menu_id COLLATE utf8mb4_unicode_ci = @wo_menu_id
AND rm3.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm3.del_flag = 0
) eligible_roles
) eligible
ON eligible.role_id COLLATE utf8mb4_unicode_ci = r.id COLLATE utf8mb4_unicode_ci
SET
rm.del_flag = 0,
rm.update_time = NOW(),
rm.remark = 'grant production task-set to PRB/work-order roles'
WHERE rm.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm.del_flag = 1
AND rm.menu_id COLLATE utf8mb4_unicode_ci IN (
@prb_id, @menu_c, @menu_list, @menu_add, @menu_edit, @menu_remove
);
-- 3b) 插入缺失授权(PRB + C + 四个 F)
INSERT INTO sys_role_menu (
id, role_id, menu_id, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
UPPER(MD5(CONCAT(src.role_id, '|', src.menu_id))),
src.role_id,
src.menu_id,
@tenant_no,
0,
'grant production task-set to PRB/work-order roles',
'admin',
'',
NOW(),
NULL,
NOW(),
0
FROM (
SELECT
r.id AS role_id,
x.menu_id AS menu_id
FROM sys_role r
INNER JOIN (
SELECT @prb_id AS menu_id
UNION ALL SELECT @menu_c
UNION ALL SELECT @menu_list
UNION ALL SELECT @menu_add
UNION ALL SELECT @menu_edit
UNION ALL SELECT @menu_remove
) x
INNER JOIN (
SELECT DISTINCT role_id FROM (
SELECT DISTINCT rm2.role_id AS role_id
FROM sys_role_menu rm2
INNER JOIN sys_menu m2
ON m2.id COLLATE utf8mb4_unicode_ci = rm2.menu_id COLLATE utf8mb4_unicode_ci
AND m2.del_flag = 0
AND m2.parent_id COLLATE utf8mb4_unicode_ci = @prb_id
WHERE rm2.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm2.del_flag = 0
UNION
SELECT DISTINCT rm3.role_id AS role_id
FROM sys_role_menu rm3
INNER JOIN sys_menu m3
ON m3.id COLLATE utf8mb4_unicode_ci = rm3.menu_id COLLATE utf8mb4_unicode_ci
AND m3.del_flag = 0
WHERE rm3.menu_id COLLATE utf8mb4_unicode_ci = @wo_menu_id
AND rm3.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm3.del_flag = 0
) eligible_roles
) eligible
ON eligible.role_id COLLATE utf8mb4_unicode_ci = r.id COLLATE utf8mb4_unicode_ci
INNER JOIN sys_menu m
ON m.id COLLATE utf8mb4_unicode_ci = x.menu_id
AND m.del_flag = 0
WHERE r.del_flag = 0
AND r.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
) src
LEFT JOIN sys_role_menu existing
ON existing.role_id COLLATE utf8mb4_unicode_ci = src.role_id COLLATE utf8mb4_unicode_ci
AND existing.menu_id COLLATE utf8mb4_unicode_ci = src.menu_id COLLATE utf8mb4_unicode_ci
AND existing.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND existing.del_flag = 0
WHERE existing.id IS NULL;
@@ -1,322 +0,0 @@
-- 质检:检测项目模版(建表 + C 菜单 + 4 F 按钮 + 角色授权)
-- 幂等:可重复执行
-- 授权:已有【质检基础信息】QCB 下任一有效子菜单,或已有质检工单菜单的角色
-- → 授予 TOP + QCB + 本 C/F
SET @tenant_no = CONVERT('zkxw' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @top_id = CONVERT('TOP00000000000000000000000000003' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @qcb_id = CONVERT('QCB00000000000000000000000000001' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @wo_menu = CONVERT('70000000000000000000000000000007' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @menu_c = CONVERT('95300000000000000000000000000001' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @menu_f_list = CONVERT('95300000000000000000000000000002' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @menu_f_add = CONVERT('95300000000000000000000000000003' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @menu_f_edit = CONVERT('95300000000000000000000000000004' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @menu_f_remove = CONVERT('95300000000000000000000000000005' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
-- 0) 建表
CREATE TABLE IF NOT EXISTS `biz_qc_inspection_item_template` (
`id` varchar(64) NOT NULL COMMENT '主键ID',
`template_name` varchar(200) NOT NULL COMMENT '模版名称',
`lab_item_ids` varchar(2000) NOT NULL DEFAULT '' COMMENT '实验室项目ID逗号分隔',
`third_party_item_ids` varchar(2000) NOT NULL DEFAULT '' COMMENT '第三方项目ID逗号分隔',
`status` char(1) NOT NULL DEFAULT '1' COMMENT '1启用 0停用',
`tenant_no` varchar(64) NOT NULL DEFAULT 'zkxw' COMMENT '租户编号',
`order_num` int(11) DEFAULT NULL COMMENT '排序号',
`remark` varchar(512) DEFAULT NULL COMMENT '备注',
`create_by` varchar(64) DEFAULT NULL COMMENT '创建人id',
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建人部门ID',
`create_time` datetime NOT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人id',
`update_time` datetime NOT NULL COMMENT '更新时间',
`del_flag` tinyint(4) NOT NULL DEFAULT '0' COMMENT '删除标记',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_qc_iit_tenant_status` (`tenant_no`,`del_flag`,`status`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='质检检测项目模版';
-- 1) C 菜单
INSERT INTO sys_menu (
id, menu_name, parent_id, menu_type, path, component, perms,
is_frame, visible, status, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
@menu_c,
'检测项目模版',
@qcb_id,
'C',
'inspection-item-template',
'/quality-inspection/inspection-item-template/index',
'biz:qcInspectionItemTemplate:list',
1, '1', '1', @tenant_no, 5,
'质检基础信息:检测项目模版主数据',
NULL, '', NOW(), NULL, NOW(), 0
FROM DUAL
WHERE NOT EXISTS (
SELECT 1 FROM sys_menu m
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_c
);
UPDATE sys_menu
SET
menu_name = '检测项目模版',
parent_id = @qcb_id,
menu_type = 'C',
path = 'inspection-item-template',
component = '/quality-inspection/inspection-item-template/index',
perms = 'biz:qcInspectionItemTemplate:list',
visible = '1',
status = '1',
order_num = 5,
remark = '质检基础信息:检测项目模版主数据',
del_flag = 0,
update_time = NOW()
WHERE id COLLATE utf8mb4_unicode_ci = @menu_c;
-- 2) F 按钮:list
INSERT INTO sys_menu (
id, menu_name, parent_id, menu_type, path, component, perms,
is_frame, visible, status, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
@menu_f_list,
'检测项目模版查询',
@menu_c,
'F',
'',
'',
'biz:qcInspectionItemTemplate:list',
1, '0', '1', @tenant_no, 1,
'检测项目模版列表查询',
NULL, '', NOW(), NULL, NOW(), 0
FROM DUAL
WHERE NOT EXISTS (
SELECT 1 FROM sys_menu m
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_f_list
);
UPDATE sys_menu
SET
menu_name = '检测项目模版查询',
parent_id = @menu_c,
menu_type = 'F',
path = '',
component = '',
perms = 'biz:qcInspectionItemTemplate:list',
visible = '0',
status = '1',
order_num = 1,
remark = '检测项目模版列表查询',
del_flag = 0,
update_time = NOW()
WHERE id COLLATE utf8mb4_unicode_ci = @menu_f_list;
-- 2b) F 按钮:add
INSERT INTO sys_menu (
id, menu_name, parent_id, menu_type, path, component, perms,
is_frame, visible, status, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
@menu_f_add,
'检测项目模版新增',
@menu_c,
'F',
'',
'',
'biz:qcInspectionItemTemplate:add',
1, '0', '1', @tenant_no, 2,
'检测项目模版新增',
NULL, '', NOW(), NULL, NOW(), 0
FROM DUAL
WHERE NOT EXISTS (
SELECT 1 FROM sys_menu m
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_f_add
);
UPDATE sys_menu
SET
menu_name = '检测项目模版新增',
parent_id = @menu_c,
menu_type = 'F',
path = '',
component = '',
perms = 'biz:qcInspectionItemTemplate:add',
visible = '0',
status = '1',
order_num = 2,
remark = '检测项目模版新增',
del_flag = 0,
update_time = NOW()
WHERE id COLLATE utf8mb4_unicode_ci = @menu_f_add;
-- 2c) F 按钮:edit
INSERT INTO sys_menu (
id, menu_name, parent_id, menu_type, path, component, perms,
is_frame, visible, status, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
@menu_f_edit,
'检测项目模版修改',
@menu_c,
'F',
'',
'',
'biz:qcInspectionItemTemplate:edit',
1, '0', '1', @tenant_no, 3,
'检测项目模版修改(含启停)',
NULL, '', NOW(), NULL, NOW(), 0
FROM DUAL
WHERE NOT EXISTS (
SELECT 1 FROM sys_menu m
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_f_edit
);
UPDATE sys_menu
SET
menu_name = '检测项目模版修改',
parent_id = @menu_c,
menu_type = 'F',
path = '',
component = '',
perms = 'biz:qcInspectionItemTemplate:edit',
visible = '0',
status = '1',
order_num = 3,
remark = '检测项目模版修改(含启停)',
del_flag = 0,
update_time = NOW()
WHERE id COLLATE utf8mb4_unicode_ci = @menu_f_edit;
-- 2d) F 按钮:remove
INSERT INTO sys_menu (
id, menu_name, parent_id, menu_type, path, component, perms,
is_frame, visible, status, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
@menu_f_remove,
'检测项目模版删除',
@menu_c,
'F',
'',
'',
'biz:qcInspectionItemTemplate:remove',
1, '0', '1', @tenant_no, 4,
'检测项目模版删除',
NULL, '', NOW(), NULL, NOW(), 0
FROM DUAL
WHERE NOT EXISTS (
SELECT 1 FROM sys_menu m
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_f_remove
);
UPDATE sys_menu
SET
menu_name = '检测项目模版删除',
parent_id = @menu_c,
menu_type = 'F',
path = '',
component = '',
perms = 'biz:qcInspectionItemTemplate:remove',
visible = '0',
status = '1',
order_num = 4,
remark = '检测项目模版删除',
del_flag = 0,
update_time = NOW()
WHERE id COLLATE utf8mb4_unicode_ci = @menu_f_remove;
-- 3) 目标角色:已有 QCB 下任一有效子菜单,或已有质检工单菜单
-- MySQL 5.7:UPDATE 目标表不可在同句 FROM/EXISTS 中直接引用自身,须用派生表
-- 3a) 恢复软删的 TOP / QCB / C / F 授权
UPDATE sys_role_menu rm
INNER JOIN sys_role r
ON r.id COLLATE utf8mb4_unicode_ci = rm.role_id COLLATE utf8mb4_unicode_ci
AND r.del_flag = 0
AND r.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
INNER JOIN (
SELECT DISTINCT rm2.role_id AS role_id
FROM sys_role_menu rm2
INNER JOIN sys_menu m2
ON m2.id COLLATE utf8mb4_unicode_ci = rm2.menu_id COLLATE utf8mb4_unicode_ci
AND m2.del_flag = 0
AND (
m2.parent_id COLLATE utf8mb4_unicode_ci = @qcb_id
OR m2.id COLLATE utf8mb4_unicode_ci = @wo_menu
)
WHERE rm2.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm2.del_flag = 0
) eligible
ON eligible.role_id COLLATE utf8mb4_unicode_ci = r.id COLLATE utf8mb4_unicode_ci
SET
rm.del_flag = 0,
rm.update_time = NOW(),
rm.remark = 'grant qc inspection item template to QCB/WO roles'
WHERE rm.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm.del_flag = 1
AND rm.menu_id COLLATE utf8mb4_unicode_ci IN (
@top_id, @qcb_id, @menu_c,
@menu_f_list, @menu_f_add, @menu_f_edit, @menu_f_remove
);
-- 3b) 插入缺失授权(TOP + QCB + C + 4 F)
INSERT INTO sys_role_menu (
id, role_id, menu_id, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
UPPER(MD5(CONCAT(src.role_id, '|', src.menu_id))),
src.role_id,
src.menu_id,
@tenant_no,
0,
'grant qc inspection item template to QCB/WO roles',
'admin',
'',
NOW(),
NULL,
NOW(),
0
FROM (
SELECT
r.id AS role_id,
x.menu_id AS menu_id
FROM sys_role r
INNER JOIN (
SELECT @top_id AS menu_id
UNION ALL SELECT @qcb_id
UNION ALL SELECT @menu_c
UNION ALL SELECT @menu_f_list
UNION ALL SELECT @menu_f_add
UNION ALL SELECT @menu_f_edit
UNION ALL SELECT @menu_f_remove
) x
INNER JOIN (
SELECT DISTINCT rm2.role_id AS role_id
FROM sys_role_menu rm2
INNER JOIN sys_menu m2
ON m2.id COLLATE utf8mb4_unicode_ci = rm2.menu_id COLLATE utf8mb4_unicode_ci
AND m2.del_flag = 0
AND (
m2.parent_id COLLATE utf8mb4_unicode_ci = @qcb_id
OR m2.id COLLATE utf8mb4_unicode_ci = @wo_menu
)
WHERE rm2.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm2.del_flag = 0
) eligible
ON eligible.role_id COLLATE utf8mb4_unicode_ci = r.id COLLATE utf8mb4_unicode_ci
INNER JOIN sys_menu m
ON m.id COLLATE utf8mb4_unicode_ci = x.menu_id
AND m.del_flag = 0
WHERE r.del_flag = 0
AND r.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
) src
LEFT JOIN sys_role_menu existing
ON existing.role_id COLLATE utf8mb4_unicode_ci = src.role_id COLLATE utf8mb4_unicode_ci
AND existing.menu_id COLLATE utf8mb4_unicode_ci = src.menu_id COLLATE utf8mb4_unicode_ci
AND existing.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND existing.del_flag = 0
WHERE existing.id IS NULL;
@@ -1,166 +0,0 @@
-- 生产管理:预产及在途样本(独立页面 + 独立权限码)
-- 幂等:可重复执行
-- 授权:已有【生产管理】PRM 下任一有效子菜单的角色 → 授予本 C/F,并补授 PRM 祖先
SET @tenant_no = CONVERT('zkxw' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @prm_id = CONVERT('PRM00000000000000000000000000001' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @menu_c = CONVERT('95200000000000000000000000000001' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @menu_f = CONVERT('95200000000000000000000000000002' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
-- 1) C 菜单
INSERT INTO sys_menu (
id, menu_name, parent_id, menu_type, path, component, perms,
is_frame, visible, status, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
@menu_c,
'预产及在途样本',
@prm_id,
'C',
'pre-transit-sample',
'/production/pre-transit-sample/index',
'production:preTransitSample:list',
1, '1', '1', @tenant_no, 0,
'生产看板:在途样本与预产协议(协议单维度只读;与质检页代码独立)',
NULL, '', NOW(), NULL, NOW(), 0
FROM DUAL
WHERE NOT EXISTS (
SELECT 1 FROM sys_menu m
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_c
);
UPDATE sys_menu
SET
menu_name = '预产及在途样本',
parent_id = @prm_id,
menu_type = 'C',
path = 'pre-transit-sample',
component = '/production/pre-transit-sample/index',
perms = 'production:preTransitSample:list',
visible = '1',
status = '1',
order_num = 0,
remark = '生产看板:在途样本与预产协议(协议单维度只读;与质检页代码独立)',
del_flag = 0,
update_time = NOW()
WHERE id COLLATE utf8mb4_unicode_ci = @menu_c;
-- 2) F 按钮
INSERT INTO sys_menu (
id, menu_name, parent_id, menu_type, path, component, perms,
is_frame, visible, status, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
@menu_f,
'预产及在途查询',
@menu_c,
'F',
'',
'',
'production:preTransitSample:list',
1, '0', '1', @tenant_no, 1,
'生产侧预产及在途样本列表查询',
NULL, '', NOW(), NULL, NOW(), 0
FROM DUAL
WHERE NOT EXISTS (
SELECT 1 FROM sys_menu m
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_f
);
UPDATE sys_menu
SET
menu_name = '预产及在途查询',
parent_id = @menu_c,
menu_type = 'F',
path = '',
component = '',
perms = 'production:preTransitSample:list',
visible = '0',
status = '1',
order_num = 1,
remark = '生产侧预产及在途样本列表查询',
del_flag = 0,
update_time = NOW()
WHERE id COLLATE utf8mb4_unicode_ci = @menu_f;
-- 3) 目标角色:已有 PRM 下任一有效子菜单授权
-- MySQL 5.7:UPDATE 目标表不可在同句 FROM/EXISTS 中直接引用自身,须用派生表
-- 3a) 恢复软删的 PRM / C / F 授权
UPDATE sys_role_menu rm
INNER JOIN sys_role r
ON r.id COLLATE utf8mb4_unicode_ci = rm.role_id COLLATE utf8mb4_unicode_ci
AND r.del_flag = 0
AND r.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
INNER JOIN (
SELECT DISTINCT rm2.role_id AS role_id
FROM sys_role_menu rm2
INNER JOIN sys_menu m2
ON m2.id COLLATE utf8mb4_unicode_ci = rm2.menu_id COLLATE utf8mb4_unicode_ci
AND m2.del_flag = 0
AND m2.parent_id COLLATE utf8mb4_unicode_ci = @prm_id
WHERE rm2.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm2.del_flag = 0
) eligible
ON eligible.role_id COLLATE utf8mb4_unicode_ci = r.id COLLATE utf8mb4_unicode_ci
SET
rm.del_flag = 0,
rm.update_time = NOW(),
rm.remark = 'grant production pre-transit to PRM roles'
WHERE rm.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm.del_flag = 1
AND rm.menu_id COLLATE utf8mb4_unicode_ci IN (@prm_id, @menu_c, @menu_f);
-- 3b) 插入缺失授权(PRM + C + F)
INSERT INTO sys_role_menu (
id, role_id, menu_id, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
UPPER(MD5(CONCAT(src.role_id, '|', src.menu_id))),
src.role_id,
src.menu_id,
@tenant_no,
0,
'grant production pre-transit to PRM roles',
'admin',
'',
NOW(),
NULL,
NOW(),
0
FROM (
SELECT
r.id AS role_id,
x.menu_id AS menu_id
FROM sys_role r
INNER JOIN (
SELECT @prm_id AS menu_id
UNION ALL SELECT @menu_c
UNION ALL SELECT @menu_f
) x
INNER JOIN (
SELECT DISTINCT rm2.role_id AS role_id
FROM sys_role_menu rm2
INNER JOIN sys_menu m2
ON m2.id COLLATE utf8mb4_unicode_ci = rm2.menu_id COLLATE utf8mb4_unicode_ci
AND m2.del_flag = 0
AND m2.parent_id COLLATE utf8mb4_unicode_ci = @prm_id
WHERE rm2.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm2.del_flag = 0
) eligible
ON eligible.role_id COLLATE utf8mb4_unicode_ci = r.id COLLATE utf8mb4_unicode_ci
INNER JOIN sys_menu m
ON m.id COLLATE utf8mb4_unicode_ci = x.menu_id
AND m.del_flag = 0
WHERE r.del_flag = 0
AND r.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
) src
LEFT JOIN sys_role_menu existing
ON existing.role_id COLLATE utf8mb4_unicode_ci = src.role_id COLLATE utf8mb4_unicode_ci
AND existing.menu_id COLLATE utf8mb4_unicode_ci = src.menu_id COLLATE utf8mb4_unicode_ci
AND existing.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND existing.del_flag = 0
WHERE existing.id IS NULL;
@@ -1,166 +0,0 @@
-- 生产管理:废弃物管理(独立页面 + 独立权限码)
-- 幂等:可重复执行
-- 授权:已有【生产管理】PRM 下任一有效子菜单的角色 → 授予本 C/F,并补授 PRM 祖先
SET @tenant_no = CONVERT('zkxw' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @prm_id = CONVERT('PRM00000000000000000000000000001' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @menu_c = CONVERT('95300000000000000000000000000001' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
SET @menu_f = CONVERT('95300000000000000000000000000002' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
-- 1) C 菜单
INSERT INTO sys_menu (
id, menu_name, parent_id, menu_type, path, component, perms,
is_frame, visible, status, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
@menu_c,
'废弃物管理',
@prm_id,
'C',
'waste-output',
'/production/waste-output/index',
'production:waste-output:list',
1, '1', '1', @tenant_no, 8,
'生产看板:任务步骤废弃物产出只读汇总',
NULL, '', NOW(), NULL, NOW(), 0
FROM DUAL
WHERE NOT EXISTS (
SELECT 1 FROM sys_menu m
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_c
);
UPDATE sys_menu
SET
menu_name = '废弃物管理',
parent_id = @prm_id,
menu_type = 'C',
path = 'waste-output',
component = '/production/waste-output/index',
perms = 'production:waste-output:list',
visible = '1',
status = '1',
order_num = 8,
remark = '生产看板:任务步骤废弃物产出只读汇总',
del_flag = 0,
update_time = NOW()
WHERE id COLLATE utf8mb4_unicode_ci = @menu_c;
-- 2) F 按钮
INSERT INTO sys_menu (
id, menu_name, parent_id, menu_type, path, component, perms,
is_frame, visible, status, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
@menu_f,
'废弃物查询',
@menu_c,
'F',
'',
'',
'production:waste-output:list',
1, '0', '1', @tenant_no, 1,
'生产侧废弃物列表查询',
NULL, '', NOW(), NULL, NOW(), 0
FROM DUAL
WHERE NOT EXISTS (
SELECT 1 FROM sys_menu m
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_f
);
UPDATE sys_menu
SET
menu_name = '废弃物查询',
parent_id = @menu_c,
menu_type = 'F',
path = '',
component = '',
perms = 'production:waste-output:list',
visible = '0',
status = '1',
order_num = 1,
remark = '生产侧废弃物列表查询',
del_flag = 0,
update_time = NOW()
WHERE id COLLATE utf8mb4_unicode_ci = @menu_f;
-- 3) 目标角色:已有 PRM 下任一有效子菜单授权
-- MySQL 5.7:UPDATE 目标表不可在同句 FROM/EXISTS 中直接引用自身,须用派生表
-- 3a) 恢复软删的 PRM / C / F 授权
UPDATE sys_role_menu rm
INNER JOIN sys_role r
ON r.id COLLATE utf8mb4_unicode_ci = rm.role_id COLLATE utf8mb4_unicode_ci
AND r.del_flag = 0
AND r.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
INNER JOIN (
SELECT DISTINCT rm2.role_id AS role_id
FROM sys_role_menu rm2
INNER JOIN sys_menu m2
ON m2.id COLLATE utf8mb4_unicode_ci = rm2.menu_id COLLATE utf8mb4_unicode_ci
AND m2.del_flag = 0
AND m2.parent_id COLLATE utf8mb4_unicode_ci = @prm_id
WHERE rm2.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm2.del_flag = 0
) eligible
ON eligible.role_id COLLATE utf8mb4_unicode_ci = r.id COLLATE utf8mb4_unicode_ci
SET
rm.del_flag = 0,
rm.update_time = NOW(),
rm.remark = 'grant production waste-output to PRM roles'
WHERE rm.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm.del_flag = 1
AND rm.menu_id COLLATE utf8mb4_unicode_ci IN (@prm_id, @menu_c, @menu_f);
-- 3b) 插入缺失授权(PRM + C + F)
INSERT INTO sys_role_menu (
id, role_id, menu_id, tenant_no, order_num, remark,
create_by, create_dept_id, create_time, update_by, update_time, del_flag
)
SELECT
UPPER(MD5(CONCAT(src.role_id, '|', src.menu_id))),
src.role_id,
src.menu_id,
@tenant_no,
0,
'grant production waste-output to PRM roles',
'admin',
'',
NOW(),
NULL,
NOW(),
0
FROM (
SELECT
r.id AS role_id,
x.menu_id AS menu_id
FROM sys_role r
INNER JOIN (
SELECT @prm_id AS menu_id
UNION ALL SELECT @menu_c
UNION ALL SELECT @menu_f
) x
INNER JOIN (
SELECT DISTINCT rm2.role_id AS role_id
FROM sys_role_menu rm2
INNER JOIN sys_menu m2
ON m2.id COLLATE utf8mb4_unicode_ci = rm2.menu_id COLLATE utf8mb4_unicode_ci
AND m2.del_flag = 0
AND m2.parent_id COLLATE utf8mb4_unicode_ci = @prm_id
WHERE rm2.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm2.del_flag = 0
) eligible
ON eligible.role_id COLLATE utf8mb4_unicode_ci = r.id COLLATE utf8mb4_unicode_ci
INNER JOIN sys_menu m
ON m.id COLLATE utf8mb4_unicode_ci = x.menu_id
AND m.del_flag = 0
WHERE r.del_flag = 0
AND r.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
) src
LEFT JOIN sys_role_menu existing
ON existing.role_id COLLATE utf8mb4_unicode_ci = src.role_id COLLATE utf8mb4_unicode_ci
AND existing.menu_id COLLATE utf8mb4_unicode_ci = src.menu_id COLLATE utf8mb4_unicode_ci
AND existing.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND existing.del_flag = 0
WHERE existing.id IS NULL;
@@ -1,10 +0,0 @@
-- 侧栏菜单:生产任务集合 → 生产任务组合模版(幂等)
SET @menu_c = CONVERT('95400000000000000000000000000001' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
UPDATE sys_menu
SET
menu_name = '生产任务组合模版',
remark = '生产基础信息:生产任务组合模版主数据',
update_time = NOW()
WHERE id COLLATE utf8mb4_unicode_ci = @menu_c
AND del_flag = 0;
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+189 -208
View File
@@ -9098,7 +9098,7 @@
"label": "productionTaskStatusLabel()",
"file_type": "code",
"source_file": "components/business/sample-production-info-cards/index.vue",
"source_location": "L173"
"source_location": "L182"
},
{
"id": "components_business_sample_storage_release_info_index_vue",
@@ -9219,6 +9219,27 @@
"source_file": "components/business/sample-qc-batch-readonly/index.vue",
"source_location": "L1"
},
{
"id": "sample_qc_batch_readonly_index_ensureactivebatchkey",
"label": "ensureActiveBatchKey()",
"file_type": "code",
"source_file": "components/business/sample-qc-batch-readonly/index.vue",
"source_location": "L234"
},
{
"id": "sample_qc_batch_readonly_index_syncsections",
"label": "syncSections()",
"file_type": "code",
"source_file": "components/business/sample-qc-batch-readonly/index.vue",
"source_location": "L245"
},
{
"id": "sample_qc_batch_readonly_index_loadbatches",
"label": "loadBatches()",
"file_type": "code",
"source_file": "components/business/sample-qc-batch-readonly/index.vue",
"source_location": "L253"
},
{
"id": "components_business_outbound_material_form_sections_index_vue",
"label": "index.vue",
@@ -11415,42 +11436,42 @@
"label": "fetchStorageReleaseReviewList()",
"file_type": "code",
"source_file": "api/storage-release-review.ts",
"source_location": "L140"
"source_location": "L153"
},
{
"id": "api_storage_release_review_fetchstoragereleasereviewdetail",
"label": "fetchStorageReleaseReviewDetail()",
"file_type": "code",
"source_file": "api/storage-release-review.ts",
"source_location": "L157"
"source_location": "L170"
},
{
"id": "api_storage_release_review_submitstoragereleasereview",
"label": "submitStorageReleaseReview()",
"file_type": "code",
"source_file": "api/storage-release-review.ts",
"source_location": "L163"
"source_location": "L176"
},
{
"id": "api_storage_release_review_batchreviewstoragerelease",
"label": "batchReviewStorageRelease()",
"file_type": "code",
"source_file": "api/storage-release-review.ts",
"source_location": "L177"
"source_location": "L190"
},
{
"id": "api_storage_release_review_storesample",
"label": "storeSample()",
"file_type": "code",
"source_file": "api/storage-release-review.ts",
"source_location": "L189"
"source_location": "L202"
},
{
"id": "api_storage_release_review_batchstoresample",
"label": "batchStoreSample()",
"file_type": "code",
"source_file": "api/storage-release-review.ts",
"source_location": "L195"
"source_location": "L208"
},
{
"id": "api_production_material_ts",
@@ -19115,70 +19136,70 @@
"label": "onStepListDrop()",
"file_type": "code",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L769"
"source_location": "L772"
},
{
"id": "production_work_order_taskexecutiondialog_handleforwardsuccess",
"label": "handleForwardSuccess()",
"file_type": "code",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L774"
"source_location": "L777"
},
{
"id": "production_work_order_taskexecutiondialog_openforwarddialog",
"label": "openForwardDialog()",
"file_type": "code",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L780"
"source_location": "L783"
},
{
"id": "production_work_order_taskexecutiondialog_savetaskoutputsmanual",
"label": "saveTaskOutputsManual()",
"file_type": "code",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L785"
"source_location": "L788"
},
{
"id": "production_work_order_taskexecutiondialog_savetaskattachmentsmanual",
"label": "saveTaskAttachmentsManual()",
"file_type": "code",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L789"
"source_location": "L792"
},
{
"id": "production_work_order_taskexecutiondialog_savetaskequipmentmanual",
"label": "saveTaskEquipmentManual()",
"file_type": "code",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L793"
"source_location": "L796"
},
{
"id": "production_work_order_taskexecutiondialog_handlespawntemporaryworkorderclick",
"label": "handleSpawnTemporaryWorkOrderClick()",
"file_type": "code",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L797"
"source_location": "L800"
},
{
"id": "production_work_order_taskexecutiondialog_submitspawntemporary",
"label": "submitSpawnTemporary()",
"file_type": "code",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L808"
"source_location": "L811"
},
{
"id": "production_work_order_taskexecutiondialog_if",
"label": "if()",
"file_type": "code",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L847"
"source_location": "L850"
},
{
"id": "production_work_order_taskexecutiondialog_stepseqclass",
"label": "stepSeqClass()",
"file_type": "code",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L866"
"source_location": "L869"
},
{
"id": "views_production_production_work_order_edittaskinfodialog_vue",
@@ -21392,6 +21413,34 @@
"source_file": "views/quality-inspection/storage-release-review/index.vue",
"source_location": "L1"
},
{
"id": "storage_release_review_index_openreviewdialog",
"label": "openReviewDialog()",
"file_type": "code",
"source_file": "views/quality-inspection/storage-release-review/index.vue",
"source_location": "L497"
},
{
"id": "storage_release_review_index_onreviewsubmitted",
"label": "onReviewSubmitted()",
"file_type": "code",
"source_file": "views/quality-inspection/storage-release-review/index.vue",
"source_location": "L515"
},
{
"id": "storage_release_review_index_handlestore",
"label": "handleStore()",
"file_type": "code",
"source_file": "views/quality-inspection/storage-release-review/index.vue",
"source_location": "L520"
},
{
"id": "storage_release_review_index_handlebatchstore",
"label": "handleBatchStore()",
"file_type": "code",
"source_file": "views/quality-inspection/storage-release-review/index.vue",
"source_location": "L531"
},
{
"id": "views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue",
"label": "StorageReleaseReviewDialog.vue",
@@ -21399,48 +21448,6 @@
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L1"
},
{
"id": "storage_release_review_storagereleasereviewdialog_fullfileurl",
"label": "fullFileUrl()",
"file_type": "code",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L185"
},
{
"id": "storage_release_review_storagereleasereviewdialog_isimagefile",
"label": "isImageFile()",
"file_type": "code",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L191"
},
{
"id": "storage_release_review_storagereleasereviewdialog_removeattachment",
"label": "removeAttachment()",
"file_type": "code",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L197"
},
{
"id": "storage_release_review_storagereleasereviewdialog_getlist",
"label": "_getList()",
"file_type": "code",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L203"
},
{
"id": "storage_release_review_storagereleasereviewdialog_resetform",
"label": "resetForm()",
"file_type": "code",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L279"
},
{
"id": "storage_release_review_storagereleasereviewdialog_handlesubmit",
"label": "handleSubmit()",
"file_type": "code",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L288"
},
{
"id": "views_quality_inspection_storage_release_review_storagereleaseviewdialog_vue",
"label": "StorageReleaseViewDialog.vue",
@@ -21453,14 +21460,14 @@
"label": "formatMetric()",
"file_type": "code",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseViewDialog.vue",
"source_location": "L135"
"source_location": "L137"
},
{
"id": "storage_release_review_storagereleaseviewdialog_protocolstatusdisplay",
"label": "protocolStatusDisplay()",
"file_type": "code",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseViewDialog.vue",
"source_location": "L140"
"source_location": "L142"
},
{
"id": "views_quality_inspection_qc_material_usage_index_vue",
@@ -43211,7 +43218,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "components/business/sample-production-info-cards/index.vue",
"source_location": "L173",
"source_location": "L182",
"weight": 1.0
},
{
@@ -43367,6 +43374,51 @@
"source_location": "L259",
"weight": 1.0
},
{
"source": "components_business_sample_qc_batch_readonly_index_vue",
"target": "sample_qc_batch_readonly_index_ensureactivebatchkey",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "components/business/sample-qc-batch-readonly/index.vue",
"source_location": "L234",
"weight": 1.0
},
{
"source": "components_business_sample_qc_batch_readonly_index_vue",
"target": "sample_qc_batch_readonly_index_syncsections",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "components/business/sample-qc-batch-readonly/index.vue",
"source_location": "L245",
"weight": 1.0
},
{
"source": "components_business_sample_qc_batch_readonly_index_vue",
"target": "sample_qc_batch_readonly_index_loadbatches",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "components/business/sample-qc-batch-readonly/index.vue",
"source_location": "L253",
"weight": 1.0
},
{
"source": "sample_qc_batch_readonly_index_syncsections",
"target": "sample_qc_batch_readonly_index_ensureactivebatchkey",
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "components/business/sample-qc-batch-readonly/index.vue",
"source_location": "L250",
"weight": 1.0
},
{
"source": "sample_qc_batch_readonly_index_loadbatches",
"target": "sample_qc_batch_readonly_index_syncsections",
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "components/business/sample-qc-batch-readonly/index.vue",
"source_location": "L257",
"weight": 1.0
},
{
"source": "components_business_attachment_zip_progress_dialog_index_vue",
"target": "icons_vue",
@@ -46865,7 +46917,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/storage-release-review.ts",
"source_location": "L140",
"source_location": "L153",
"weight": 1.0
},
{
@@ -46874,7 +46926,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/storage-release-review.ts",
"source_location": "L157",
"source_location": "L170",
"weight": 1.0
},
{
@@ -46883,7 +46935,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/storage-release-review.ts",
"source_location": "L163",
"source_location": "L176",
"weight": 1.0
},
{
@@ -46892,7 +46944,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/storage-release-review.ts",
"source_location": "L177",
"source_location": "L190",
"weight": 1.0
},
{
@@ -46901,7 +46953,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/storage-release-review.ts",
"source_location": "L189",
"source_location": "L202",
"weight": 1.0
},
{
@@ -46910,7 +46962,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "api/storage-release-review.ts",
"source_location": "L195",
"source_location": "L208",
"weight": 1.0
},
{
@@ -59231,7 +59283,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L769",
"source_location": "L772",
"weight": 1.0
},
{
@@ -59240,7 +59292,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L774",
"source_location": "L777",
"weight": 1.0
},
{
@@ -59249,7 +59301,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L780",
"source_location": "L783",
"weight": 1.0
},
{
@@ -59258,7 +59310,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L785",
"source_location": "L788",
"weight": 1.0
},
{
@@ -59267,7 +59319,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L789",
"source_location": "L792",
"weight": 1.0
},
{
@@ -59276,7 +59328,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L793",
"source_location": "L796",
"weight": 1.0
},
{
@@ -59285,7 +59337,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L797",
"source_location": "L800",
"weight": 1.0
},
{
@@ -59294,7 +59346,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L808",
"source_location": "L811",
"weight": 1.0
},
{
@@ -59303,7 +59355,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L847",
"source_location": "L850",
"weight": 1.0
},
{
@@ -59312,7 +59364,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L866",
"source_location": "L869",
"weight": 1.0
},
{
@@ -64509,120 +64561,39 @@
"weight": 1.0
},
{
"source": "views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue",
"target": "element_plus",
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L130",
"weight": 1.0
},
{
"source": "views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue",
"target": "icons_vue",
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L131",
"weight": 1.0
},
{
"source": "views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue",
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_business",
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L132",
"weight": 1.0
},
{
"source": "views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue",
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_composables_useattachmentdropzone",
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L133",
"weight": 1.0
},
{
"source": "views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue",
"target": "components_business_sample_code_with_special_display_index_vue",
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L134",
"weight": 1.0
},
{
"source": "views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue",
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_storage_release_review",
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L135",
"weight": 1.0
},
{
"source": "views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue",
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_fullscreen_loading",
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L141",
"weight": 1.0
},
{
"source": "views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue",
"target": "storage_release_review_storagereleasereviewdialog_fullfileurl",
"source": "views_quality_inspection_storage_release_review_index_vue",
"target": "storage_release_review_index_openreviewdialog",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L185",
"source_file": "views/quality-inspection/storage-release-review/index.vue",
"source_location": "L497",
"weight": 1.0
},
{
"source": "views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue",
"target": "storage_release_review_storagereleasereviewdialog_isimagefile",
"source": "views_quality_inspection_storage_release_review_index_vue",
"target": "storage_release_review_index_onreviewsubmitted",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L191",
"source_file": "views/quality-inspection/storage-release-review/index.vue",
"source_location": "L515",
"weight": 1.0
},
{
"source": "views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue",
"target": "storage_release_review_storagereleasereviewdialog_removeattachment",
"source": "views_quality_inspection_storage_release_review_index_vue",
"target": "storage_release_review_index_handlestore",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L197",
"source_file": "views/quality-inspection/storage-release-review/index.vue",
"source_location": "L520",
"weight": 1.0
},
{
"source": "views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue",
"target": "storage_release_review_storagereleasereviewdialog_getlist",
"source": "views_quality_inspection_storage_release_review_index_vue",
"target": "storage_release_review_index_handlebatchstore",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L203",
"weight": 1.0
},
{
"source": "views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue",
"target": "storage_release_review_storagereleasereviewdialog_resetform",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L279",
"weight": 1.0
},
{
"source": "views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue",
"target": "storage_release_review_storagereleasereviewdialog_handlesubmit",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L288",
"source_file": "views/quality-inspection/storage-release-review/index.vue",
"source_location": "L531",
"weight": 1.0
},
{
@@ -64631,7 +64602,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseViewDialog.vue",
"source_location": "L135",
"source_location": "L137",
"weight": 1.0
},
{
@@ -64640,7 +64611,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseViewDialog.vue",
"source_location": "L140",
"source_location": "L142",
"weight": 1.0
},
{
@@ -75100,6 +75071,26 @@
"source_location": "L261",
"weight": 1.0
},
{
"source": "sample_qc_batch_readonly_index_syncsections",
"target": "utils_qc_inspection_batch_resolvebatchsections",
"relation": "calls",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "components/business/sample-qc-batch-readonly/index.vue",
"source_location": "L246",
"weight": 1.0
},
{
"source": "sample_qc_batch_readonly_index_loadbatches",
"target": "utils_qc_inspection_batch_loadqcinspectionbatches",
"relation": "calls",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "components/business/sample-qc-batch-readonly/index.vue",
"source_location": "L267",
"weight": 1.0
},
{
"source": "attachment_zip_progress_dialog_index_handledialogclose",
"target": "widget_settingitem_emit",
@@ -76087,7 +76078,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "api/storage-release-review.ts",
"source_location": "L151",
"source_location": "L164",
"weight": 1.0
},
{
@@ -76097,7 +76088,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "api/storage-release-review.ts",
"source_location": "L158",
"source_location": "L171",
"weight": 1.0
},
{
@@ -79967,7 +79958,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L777",
"source_location": "L780",
"weight": 1.0
},
{
@@ -79977,7 +79968,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
"source_location": "L812",
"source_location": "L815",
"weight": 1.0
},
{
@@ -80901,53 +80892,43 @@
"weight": 1.0
},
{
"source": "storage_release_review_storagereleasereviewdialog_handlesubmit",
"target": "dept_index_catch",
"source": "storage_release_review_index_onreviewsubmitted",
"target": "customer_index_loaddata",
"relation": "calls",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L289",
"source_file": "views/quality-inspection/storage-release-review/index.vue",
"source_location": "L517",
"weight": 1.0
},
{
"source": "storage_release_review_storagereleasereviewdialog_handlesubmit",
"target": "core_routevalidator_routevalidator_validate",
"source": "storage_release_review_index_handlestore",
"target": "api_storage_release_review_storesample",
"relation": "calls",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L289",
"source_file": "views/quality-inspection/storage-release-review/index.vue",
"source_location": "L526",
"weight": 1.0
},
{
"source": "storage_release_review_storagereleasereviewdialog_handlesubmit",
"target": "api_storage_release_review_submitstoragereleasereview",
"source": "storage_release_review_index_handlestore",
"target": "customer_index_loaddata",
"relation": "calls",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L306",
"source_file": "views/quality-inspection/storage-release-review/index.vue",
"source_location": "L528",
"weight": 1.0
},
{
"source": "storage_release_review_storagereleasereviewdialog_handlesubmit",
"source": "storage_release_review_index_handlebatchstore",
"target": "utils_fullscreen_loading_withfullscreenloading",
"relation": "calls",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L309",
"weight": 1.0
},
{
"source": "storage_release_review_storagereleasereviewdialog_handlesubmit",
"target": "widget_settingitem_emit",
"relation": "calls",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L317",
"source_file": "views/quality-inspection/storage-release-review/index.vue",
"source_location": "L542",
"weight": 1.0
},
{
@@ -80957,7 +80938,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseViewDialog.vue",
"source_location": "L147",
"source_location": "L149",
"weight": 1.0
},
{
@@ -80967,7 +80948,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseViewDialog.vue",
"source_location": "L148",
"source_location": "L150",
"weight": 1.0
},
{
+134 -144
View File
@@ -1,11 +1,11 @@
# Graph Report - src (2026-08-18)
# Graph Report - src (2026-08-19)
## Corpus Check
- Large corpus: 986 files · ~644,200 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
- Large corpus: 986 files · ~646,956 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
## Summary
- 3522 nodes · 5022 edges · 69 communities detected
- Extraction: 78% EXTRACTED · 22% INFERRED · 0% AMBIGUOUS · INFERRED: 1112 edges (avg confidence: 0.8)
- 3523 nodes · 5025 edges · 67 communities detected
- Extraction: 78% EXTRACTED · 22% INFERRED · 0% AMBIGUOUS · INFERRED: 1113 edges (avg confidence: 0.8)
- Token cost: 0 input · 0 output
## Community Hubs (Navigation)
@@ -51,38 +51,36 @@
- [[_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 48|Community 48]]
- [[_COMMUNITY_Community 52|Community 52]]
- [[_COMMUNITY_Community 50|Community 50]]
- [[_COMMUNITY_Community 51|Community 51]]
- [[_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 63|Community 63]]
- [[_COMMUNITY_Community 67|Community 67]]
- [[_COMMUNITY_Community 65|Community 65]]
- [[_COMMUNITY_Community 71|Community 71]]
- [[_COMMUNITY_Community 73|Community 73]]
- [[_COMMUNITY_Community 74|Community 74]]
- [[_COMMUNITY_Community 76|Community 76]]
- [[_COMMUNITY_Community 77|Community 77]]
- [[_COMMUNITY_Community 78|Community 78]]
- [[_COMMUNITY_Community 79|Community 79]]
- [[_COMMUNITY_Community 80|Community 80]]
- [[_COMMUNITY_Community 81|Community 81]]
- [[_COMMUNITY_Community 83|Community 83]]
- [[_COMMUNITY_Community 94|Community 94]]
- [[_COMMUNITY_Community 96|Community 96]]
- [[_COMMUNITY_Community 98|Community 98]]
- [[_COMMUNITY_Community 99|Community 99]]
- [[_COMMUNITY_Community 97|Community 97]]
## God Nodes (most connected - your core abstractions)
1. `get()` - 313 edges
2. `push()` - 124 edges
3. `emit()` - 30 edges
3. `emit()` - 29 edges
4. `WebSocketClient` - 26 edges
5. `set()` - 21 edges
6. `handleDynamicRoutes()` - 19 edges
@@ -92,34 +90,34 @@
10. `scopeQuery()` - 16 edges
## Surprising Connections (you probably didn't know these)
- `handleBatchStore()` --calls--> `withFullscreenLoading()` [INFERRED]
views/quality-inspection/storage-release-review/index.vue → utils/fullscreen-loading.ts
- `formatReceiveAccountLine()` --calls--> `push()` [INFERRED]
utils/oa-receive-account-value.ts → views/operations/storage-facility/index.vue
- `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
- `fmtMoney()` --calls--> `formatMoneyDisplay()` [INFERRED]
components/business/clinical-schedule-payment-detail/index.vue → utils/money-format.ts
- `onPick()` --calls--> `ensureOaUploadRuleProps()` [INFERRED]
components/oa-approval/OaStartFormDialog.vue → utils/oa-form-create-upload.ts
- `defaultInstallmentRatios()` --calls--> `push()` [INFERRED]
utils/protocol-payment-installment.ts → views/operations/storage-facility/index.vue
## Communities
### Community 0 - "Community 0"
Cohesion: 0.01
Nodes (187): fetchAccessLogList(), fetchActiveRegions(), fetchCategoryList(), fetchCategoryParameters(), fetchCellProductPriceList(), fetchCellProductSpecList(), fetchCellProductTypeList(), fetchChannelAccount() (+179 more)
Cohesion: 0.0
Nodes (217): fetchAccessLogList(), fetchActiveRegions(), fetchCategoryList(), fetchCategoryParameters(), fetchCellProductPriceList(), fetchCellProductSpecList(), fetchCellProductTypeList(), fetchChannelAccount() (+209 more)
### Community 1 - "Community 1"
Cohesion: 0.02
Nodes (98): fetchUploadAttachment(), fetchMyQcTaskList(), fetchQcTaskDetail(), fetchQcTaskList(), handleReportUpload(), handleReportUpload(), walk(), fetchMineTasksForWorkOrders() (+90 more)
Cohesion: 0.03
Nodes (76): fetchUploadAttachment(), FireworkSystem, handleReportUpload(), handleReportUpload(), walk(), if(), async(), addDispatchItem() (+68 more)
### Community 2 - "Community 2"
Cohesion: 0.03
Nodes (88): batchSavePilotCheckup(), deletePilotCheckupActualItem(), fetchCheckupInstitutionList(), fetchCheckupInstitutionPackageDetail(), fetchCheckupInstitutionPackages(), fetchPilotCheckupDetail(), fetchPilotCheckupList(), markPilotCheckupChecked() (+80 more)
Nodes (86): batchSavePilotCheckup(), deletePilotCheckupActualItem(), fetchCheckupInstitutionList(), fetchCheckupInstitutionPackageDetail(), fetchCheckupInstitutionPackages(), fetchPilotCheckupActualItems(), fetchPilotCheckupDetail(), fetchPilotCheckupList() (+78 more)
### Community 3 - "Community 3"
Cohesion: 0.03
Nodes (77): fetchEthnicList(), applyDonationBundleToForm(), createEmptyTransport(), ensureEthnicOptionInList(), handleOpenForAdd(), if(), loadEthnicOptions(), normalizeSampleRow() (+69 more)
Nodes (79): fetchEthnicList(), formatNowDatetime(), applyDonationBundleToForm(), createEmptyTransport(), ensureEthnicOptionInList(), handleOpenForAdd(), if(), loadEthnicOptions() (+71 more)
### Community 4 - "Community 4"
Cohesion: 0.03
@@ -127,116 +125,116 @@ Nodes (61): fetchBatchDeleteOaReceiveAccounts(), fetchBatchMarkOaCcTasksRead(),
### Community 5 - "Community 5"
Cohesion: 0.03
Nodes (64): fetchCheckupInstitutionInvoices(), fetchCheckupInstitutionProjects(), fetchCreateCheckupInstitution(), fetchCreateCheckupInstitutionInvoice(), fetchCreateCheckupInstitutionProject(), fetchUpdateCheckupInstitution(), fetchUpdateCheckupInstitutionInvoice(), fetchUpdateCheckupInstitutionProject() (+56 more)
Nodes (67): fetchFullmoonTodoList(), fetchUpdateFullmoonTodoInsurance(), fetchCollectionProtocolAuditList(), fetchCollectionProtocolDetail(), fetchCollectionProtocolList(), fetchCreateProtocolInvoiceRequest(), fetchInvoiceEligiblePayments(), fetchPaymentDetailList() (+59 more)
### Community 6 - "Community 6"
Cohesion: 0.03
Nodes (34): fetchGetMenuList(), ComponentLoader, IframeRouteManager, MenuProcessor, RoutePermissionValidator, RouteRegistry, RouteTransformer, useAppMode() (+26 more)
Nodes (57): useSettingsHandlers(), useSettingsPanel(), useSettingsState(), RoutePermissionValidator, useCeremony(), useTheme(), if(), nodeSummary() (+49 more)
### Community 7 - "Community 7"
Cohesion: 0.02
Nodes (29): fetchAllConsumablePacks(), fetchAllConsumables(), fetchAllConsumableStockLogs(), fetchAllEquipments(), fetchAllOutputTypes(), fetchAllProcessCategories(), fetchAllProcesses(), fetchAllReagents() (+21 more)
Cohesion: 0.03
Nodes (60): fetchCreateCustomer(), fetchCustomerList(), fetchDeleteCustomer(), fetchUpdateCustomer(), updateInfusionScheduleStatus(), fetchStorageReleaseReviewDetail(), fetchStorageReleaseReviewList(), storeSample() (+52 more)
### Community 8 - "Community 8"
Cohesion: 0.03
Nodes (60): useSettingsHandlers(), useSettingsPanel(), useSettingsState(), useCeremony(), useTheme(), if(), branchConditionLines(), nodeSummary() (+52 more)
Nodes (64): fetchCellSampleTypeList(), fetchCheckupInstitutionInvoices(), fetchCheckupInstitutionProjects(), fetchCreateCellSampleType(), fetchCreateCheckupInstitution(), fetchCreateCheckupInstitutionInvoice(), fetchCreateCheckupInstitutionProject(), fetchDeleteCellSampleType() (+56 more)
### Community 9 - "Community 9"
Cohesion: 0.03
Nodes (59): fetchFullmoonTodoList(), fetchUpdateFullmoonTodoInsurance(), fetchCollectionProtocolAuditList(), fetchCollectionProtocolDetail(), fetchCollectionProtocolList(), fetchCreateProtocolInvoiceRequest(), fetchInvoiceEligiblePayments(), fetchPaymentDetailList() (+51 more)
Nodes (33): fetchGetMenuList(), ComponentLoader, IframeRouteManager, MenuProcessor, RouteRegistry, RouteTransformer, useAppMode(), useAuth() (+25 more)
### Community 10 - "Community 10"
Cohesion: 0.04
Nodes (50): buildInboundBasicSection(), buildInboundCellStorageViewSections(), buildInboundResearchDonationViewSections(), buildReceptionSection(), buildTransportSection(), resolveInboundProtocolStatus(), buildBaseFields(), buildInboundBasicSection() (+42 more)
Cohesion: 0.03
Nodes (56): fetchMyProductionTasks(), fetchMyQcTaskList(), fetchQcTaskDetail(), fetchQcTaskList(), fetchMineTasksForWorkOrders(), useInboundSiblingNavigation(), shouldApplyTriggerSourceFilter(), useQcWorkOrderTabPage() (+48 more)
### Community 11 - "Community 11"
Cohesion: 0.03
Nodes (54): buildTemporaryViewSections(), buildInsertedSiblingCard(), resolveShowProtocolPaymentAtGroup(), useInboundSiblingNavigation(), shouldApplyTriggerSourceFilter(), useQcWorkOrderTabPage(), appendTaskResultSections(), batchTasksForPanelSlot() (+46 more)
Nodes (50): fetchProductionWorkOrderQcInfo(), dash(), fmtMoney(), attachmentFullUrl(), dash(), handleAttachmentDownload(), handleAttachmentPreview(), auditorDisplay() (+42 more)
### Community 12 - "Community 12"
Cohesion: 0.04
Nodes (67): fetchDeptTree(), fetchUserList(), fetchOaFlowPreview(), fetchOaTemplateDetail(), formatHandoverUserLabel(), formatNowDatetime(), fullFileUrl(), handlePreviewAttachment() (+59 more)
Nodes (54): buildTemporaryViewSections(), buildInsertedSiblingCard(), resolveShowProtocolPaymentAtGroup(), appendTaskResultSections(), batchTasksForPanelSlot(), buildConfiguredOnlySection(), for(), for() (+46 more)
### Community 13 - "Community 13"
Cohesion: 0.04
Nodes (48): dash(), fmtMoney(), attachmentFullUrl(), dash(), handleAttachmentDownload(), handleAttachmentPreview(), auditorDisplay(), dash() (+40 more)
Nodes (70): fetchDeptTree(), fetchUserList(), fetchOaFlowPreview(), fetchOaTemplateDetail(), remoteSearchHandoverUsers(), collectConditionReferencedFields(), collectFormConditionReferencedFields(), flattenFormRules() (+62 more)
### Community 14 - "Community 14"
Cohesion: 0.04
Nodes (48): fetchCreateCustomer(), fetchCustomerList(), fetchDeleteCustomer(), fetchUpdateCustomer(), updateInfusionScheduleStatus(), handleDialogClose(), handleAdd(), handleDelete() (+40 more)
Nodes (47): buildInboundBasicSection(), buildInboundCellStorageViewSections(), buildInboundResearchDonationViewSections(), buildReceptionSection(), buildTransportSection(), resolveInboundProtocolStatus(), buildBaseFields(), buildInboundBasicSection() (+39 more)
### Community 15 - "Community 15"
Cohesion: 0.05
Nodes (53): fetchGetMenuCodes(), fetchGetUserInfo(), fetchLogin(), fetchRefreshToken(), fetchUpdateProfile(), fetchUploadProfileAvatar(), toLogin(), fetchUserInfo() (+45 more)
Cohesion: 0.04
Nodes (34): fetchCreateMenu(), fetchDeleteMenu(), fetchMenuTree(), fetchUpdateMenu(), fetchCreateEnvDetectItem(), fetchDeleteEnvDetectItem(), fetchEnvDetectItemDetail(), fetchEnvDetectItemList() (+26 more)
### Community 16 - "Community 16"
Cohesion: 0.04
Nodes (25): fetchCreateMenu(), fetchDeleteMenu(), fetchMenuTree(), fetchUpdateMenu(), fetchUpdatePostBoundRoles(), collectIds(), postorder(), preorder() (+17 more)
### Community 17 - "Community 17"
Cohesion: 0.05
Nodes (37): fetchAddTaskStep(), fetchCopyTaskStep(), fetchDeleteTaskStep(), fetchDispatchProductionTaskSteps(), fetchForwardProductionTask(), fetchProductionTaskDetail(), fetchProductionTaskEditorInit(), fetchProductionTaskList() (+29 more)
### Community 18 - "Community 18"
### Community 17 - "Community 17"
Cohesion: 0.05
Nodes (39): fetchCreateQcInspectionItemTemplate(), fetchDeleteQcInspectionItemTemplate(), fetchQcInspectionItemTemplateDetail(), fetchQcInspectionItemTemplateList(), fetchQcInspectionItemTemplatesActive(), fetchUpdateQcInspectionItemTemplate(), fetchQcLabTestItemList(), fetchQcLabTestItemsActive() (+31 more)
### Community 19 - "Community 19"
### Community 18 - "Community 18"
Cohesion: 0.07
Nodes (44): fetchOaRelatedSummaries(), buildFormRows(), buildOaPrintFilename(), buildOaPrintModel(), canvasToPdf(), ensurePlainObject(), exportOaApprovalPdf(), extractUrls() (+36 more)
### Community 20 - "Community 20"
### Community 19 - "Community 19"
Cohesion: 0.05
Nodes (24): handleBlur(), handleFocus(), handleInput(), fetchClinicalReceiptConfirmed(), buildConfirmedParams(), buildPendingParams(), formatAmount(), handleConfirmedReset() (+16 more)
Nodes (23): handleBlur(), handleFocus(), handleInput(), fetchClinicalReceiptConfirmed(), buildConfirmedParams(), buildPendingParams(), formatAmount(), handleConfirmedReset() (+15 more)
### Community 20 - "Community 20"
Cohesion: 0.06
Nodes (38): completePilotApplication(), deletePilotApplication(), fetchPilotApplicationList(), startPilotApplication(), voidPilotApplication(), fetchClinicalRefundConfirmed(), buildConfirmedParams(), buildPendingParams() (+30 more)
### Community 21 - "Community 21"
Cohesion: 0.06
Nodes (40): completePilotApplication(), deletePilotApplication(), fetchPilotApplicationList(), startPilotApplication(), voidPilotApplication(), fetchClinicalRefundConfirmed(), buildConfirmedParams(), buildPendingParams() (+32 more)
### Community 22 - "Community 22"
Cohesion: 0.05
Nodes (25): fetchQcMaterialBatchDetail(), fetchQcMaterialBatchList(), fetchQcMaterialBatchOptions(), fetchQcMaterialList(), fetchQcMaterialOptions(), fetchUpdateQcMaterialBatch(), fetchMarkQcMaterialUsageFullyUsed(), handleAttachmentChange() (+17 more)
### Community 23 - "Community 23"
Cohesion: 0.08
Nodes (37): formatDatetimeToMinute(), handleChineseDatetimePaste(), parseChineseDatetimeText(), parseBirthOrder(), parseChineseNumeral(), addSampleHint(), earliestCollectTime(), isMaternalBloodEmpty() (+29 more)
### Community 24 - "Community 24"
### Community 22 - "Community 22"
Cohesion: 0.06
Nodes (23): fetchQcMaterialBatchDetail(), fetchQcMaterialBatchList(), fetchQcMaterialBatchOptions(), fetchQcMaterialList(), fetchQcMaterialOptions(), fetchUpdateQcMaterialBatch(), fetchMarkQcMaterialUsageFullyUsed(), financeAttachmentsToUrlString() (+15 more)
### Community 23 - "Community 23"
Cohesion: 0.1
Nodes (2): WebSocketClient, TableCache
### Community 25 - "Community 25"
Cohesion: 0.07
Nodes (24): fetchMineProductionWorkOrderTabStepCounts(), fetchMineProductionWorkOrderTabStepCountsDeduped(), fetchProductionWorkOrderCellProductOptions(), fetchProductionWorkOrderDetail(), fetchProductionWorkOrderList(), fetchProductionWorkOrderQcDispatchOptions(), fetchProductionWorkOrderQcInfo(), fetchProductionWorkOrderTabStepCounts() (+16 more)
### Community 24 - "Community 24"
Cohesion: 0.08
Nodes (32): toLogin(), base64ToBytes(), bytesToBase64(), decryptJson(), deriveKey(), encryptJson(), fromBase64Url(), hexToBytes() (+24 more)
### Community 26 - "Community 26"
### Community 25 - "Community 25"
Cohesion: 0.09
Nodes (8): getDefaultLanguage(), checkStorageCompatibility(), StorageConfig, getSystemStorage(), getSysVersion(), StorageKeyManager, StorageCompatibilityManager, validateStorageData()
### Community 27 - "Community 27"
Cohesion: 0.07
Nodes (20): fetchDeleteMaterialBatch(), fetchMaterialBatchList(), fetchMaterialBatchOptions(), fetchMaterialList(), fetchMaterialOptions(), fetchUpdateMaterialBatch(), fetchMaterialUsageList(), fetchMyMaterialUsageList() (+12 more)
### Community 28 - "Community 28"
### Community 26 - "Community 26"
Cohesion: 0.08
Nodes (20): createEmptySnapshots(), normalizeConfiguredReagents(), normalizeConsumables(), normalizeDataCollections(), normalizeReagents(), normalizeStepOutputs(), serializeAttachments(), serializeEquipmentIds() (+12 more)
### Community 29 - "Community 29"
### Community 27 - "Community 27"
Cohesion: 0.07
Nodes (19): fetchDeleteMaterialBatch(), fetchMaterialBatchList(), fetchMaterialBatchOptions(), fetchMaterialList(), fetchMaterialOptions(), fetchUpdateMaterialBatch(), fetchMaterialUsageList(), fetchMyMaterialUsageList() (+11 more)
### Community 28 - "Community 28"
Cohesion: 0.09
Nodes (18): fetchProductionReceptionBySampleCode(), fetchProductionReceptionSubmit(), fetchProductionReceptionUpdate(), onUserSelectVisible(), remoteSearchUsers(), buildPayload(), ensureDefaultHandler(), initDialog() (+10 more)
### Community 29 - "Community 29"
Cohesion: 0.09
Nodes (22): fetchMineProductionWorkOrderTabStepCounts(), fetchMineProductionWorkOrderTabStepCountsDeduped(), fetchProductionWorkOrderCellProductOptions(), fetchProductionWorkOrderDetail(), fetchProductionWorkOrderList(), fetchProductionWorkOrderQcDispatchOptions(), fetchProductionWorkOrderTabStepCounts(), fetchProductionWorkOrderTabStepCountsDeduped() (+14 more)
### Community 30 - "Community 30"
Cohesion: 0.09
Nodes (22): fetchOaAppList(), fetchOaGroupList(), fetchPublishOaApp(), loadData(), loadGroups(), resetForm(), onSuccess(), goBack() (+14 more)
### Community 31 - "Community 31"
Cohesion: 0.09
Nodes (21): fetchMyProductionTasks(), buildMineTableRows(), buildPresetTasksMap(), buildWorkOrderFromTasks(), fetchAllMineProductionTasks(), fetchMineTasksByScope(), groupMineTasksByWorkOrder(), keywordMatchesWorkOrder() (+13 more)
### Community 32 - "Community 32"
Cohesion: 0.1
Nodes (21): displayPeople(), nodeStatusText(), personLines(), personStatusHint(), personTitle(), showNodeComment(), signBadge(), signBadgeText() (+13 more)
### Community 32 - "Community 32"
Cohesion: 0.11
Nodes (21): fetchGetMenuCodes(), fetchGetUserInfo(), fetchLogin(), fetchRefreshToken(), fetchUpdateProfile(), fetchUploadProfileAvatar(), fetchUserInfo(), buildWebEncryptedLoginBody() (+13 more)
### Community 33 - "Community 33"
Cohesion: 0.09
Nodes (12): fetchMineQcWorkOrderTabUnfinishedCounts(), fetchOutboundQcDetail(), fetchQcWorkOrderDetail(), fetchQcWorkOrderList(), fetchQcWorkOrdersBySample(), fetchQcWorkOrderTabUnfinishedCounts(), reload(), reloadTabCounts() (+4 more)
@@ -250,193 +248,185 @@ Cohesion: 0.12
Nodes (15): addCopyButton(), highlightCode(), insertLineNumbers(), isBlockProcessed(), markBlockAsProcessed(), processBlock(), setupHighlightDirective(), setupRippleDirective() (+7 more)
### Community 36 - "Community 36"
Cohesion: 0.13
Nodes (18): fetchCellSampleTypeList(), fetchCreateCellSampleType(), fetchDeleteCellSampleType(), fetchUpdateCellSampleType(), handleAdd(), handleDelete(), handleDropdownCommand(), handleEdit() (+10 more)
### Community 37 - "Community 37"
Cohesion: 0.19
Nodes (15): fetchAttachmentDownloadUrl(), attachmentFullUrl(), ensureUniqueZipEntryName(), fetchAttachmentBlob(), getAttachmentExtension(), resolveAttachmentFileName(), sanitizeZipPathSegment(), applyInboundLabStorageCodePrefix() (+7 more)
### Community 38 - "Community 38"
Cohesion: 0.13
Nodes (8): chipTitle(), confirmPicker(), memberOptionLabel(), removeUser(), resolveUser(), signBadge(), signBadgeText(), updateSelect()
### Community 39 - "Community 39"
### Community 37 - "Community 37"
Cohesion: 0.2
Nodes (14): applyFlagToRule(), applySchema(), countRules(), getActiveRule(), getDesigner(), getSetupState(), onMessage(), readFlag() (+6 more)
### Community 40 - "Community 40"
### Community 38 - "Community 38"
Cohesion: 0.12
Nodes (6): setupOaConfirmationKit(), ensureOaKitMenu(), setupOaLeaveKit(), setupOaOvertimeKit(), setupOaResignationKit(), setupOaTripKit()
### Community 41 - "Community 41"
### Community 39 - "Community 39"
Cohesion: 0.16
Nodes (10): useTable(), useTableImpl(), getColumnChecks(), useTableColumns(), createErrorHandler(), createSmartDebounce(), defaultResponseAdapter(), extractPagination() (+2 more)
### Community 42 - "Community 42"
### Community 40 - "Community 40"
Cohesion: 0.27
Nodes (14): useChart(), useChartComponent(), useChartOps(), colourBlend(), getCssVar(), getDarkColor(), getLightColor(), handleElementThemeColor() (+6 more)
### Community 43 - "Community 43"
### Community 41 - "Community 41"
Cohesion: 0.19
Nodes (6): fetchServiceOrderTxnList(), handleReset(), handleSearch(), handleTabChange(), loadData(), switchTab()
### Community 45 - "Community 45"
Cohesion: 0.24
Nodes (8): fullFileUrl(), handlePreviewAttachment(), isVideoFile(), normalizeDisplayValue(), resolveReviewCellType(), resolveReviewQuantity(), resolveReviewSpecText(), uniqueJoined()
### Community 43 - "Community 43"
Cohesion: 0.19
Nodes (6): formatHandoverUserLabel(), formatNowDatetime(), fullFileUrl(), handlePreviewAttachment(), isVideoFile(), resetHandoverForm()
### Community 46 - "Community 46"
### Community 44 - "Community 44"
Cohesion: 0.31
Nodes (4): isSlotAvailable(), resolveStorageSlotRangeFill(), slotFacilityNodeId(), sortBoxSlots()
### Community 47 - "Community 47"
### Community 45 - "Community 45"
Cohesion: 0.25
Nodes (2): handleTouchEnd(), setTransition()
### Community 48 - "Community 48"
### Community 47 - "Community 47"
Cohesion: 0.28
Nodes (1): FireworkSystem
Nodes (4): fetchMyProductionMaterialConsumptions(), handleReset(), handleSearch(), loadData()
### Community 52 - "Community 52"
Cohesion: 0.29
Nodes (4): if(), emptyTripLeg(), buildTripKitChildren(), uniqueId()
### Community 53 - "Community 53"
### Community 50 - "Community 50"
Cohesion: 0.39
Nodes (6): isIgnorableScriptError(), normalizeErrorMessage(), registerPromiseErrorHandler(), registerResourceErrorHandler(), scriptErrorHandler(), setupErrorHandle()
### Community 54 - "Community 54"
### Community 51 - "Community 51"
Cohesion: 0.36
Nodes (1): TableHeightCalculator
### Community 56 - "Community 56"
### Community 53 - "Community 53"
Cohesion: 0.33
Nodes (2): logApiCryptoBootInfo(), maskSecret()
### Community 57 - "Community 57"
### Community 54 - "Community 54"
Cohesion: 0.38
Nodes (4): handleFocus(), handleInput(), parseDecimalToNumber(), sanitizeDecimalInput()
### Community 58 - "Community 58"
### Community 55 - "Community 55"
Cohesion: 0.4
Nodes (2): isUnfinishedQcWorkOrder(), resolveQcWorkOrderUnfinishedBadgeCount()
### Community 59 - "Community 59"
### Community 56 - "Community 56"
Cohesion: 0.47
Nodes (3): isPaymentDueWithinWarnWindow(), parsePaymentDueYmd(), startOfLocalDay()
### Community 60 - "Community 60"
### Community 57 - "Community 57"
Cohesion: 0.5
Nodes (2): formatProtocolDocDeleteConfirm(), formatProtocolDocSubject()
### Community 61 - "Community 61"
### Community 58 - "Community 58"
Cohesion: 0.5
Nodes (2): parseEquipmentIds(), syncEquipmentNamesFromOptions()
### Community 63 - "Community 63"
### Community 60 - "Community 60"
Cohesion: 0.5
Nodes (2): focusInput(), handleKeydown()
### Community 67 - "Community 67"
### Community 61 - "Community 61"
Cohesion: 0.4
Nodes (1): fetchQcMaterialAmountAuthUsers()
### Community 65 - "Community 65"
Cohesion: 0.67
Nodes (2): if(), logSidebarMenu()
### Community 73 - "Community 73"
### Community 71 - "Community 71"
Cohesion: 1.0
Nodes (2): getSettingDefaults(), resetToDefaults()
### Community 76 - "Community 76"
### Community 73 - "Community 73"
Cohesion: 1.0
Nodes (2): buildOvertimeKitChildren(), uniqueId()
### Community 77 - "Community 77"
### Community 74 - "Community 74"
Cohesion: 1.0
Nodes (2): buildLeaveKitChildren(), uniqueId()
### Community 79 - "Community 79"
### Community 76 - "Community 76"
Cohesion: 1.0
Nodes (2): buildConfirmationKitChildren(), uniqueId()
### Community 80 - "Community 80"
### Community 77 - "Community 77"
Cohesion: 1.0
Nodes (2): buildResignationKitChildren(), uniqueId()
### Community 81 - "Community 81"
### Community 78 - "Community 78"
Cohesion: 1.0
Nodes (2): copyTextToClipboard(), copyTextWithFallback()
### Community 83 - "Community 83"
### Community 79 - "Community 79"
Cohesion: 1.0
Nodes (2): getSourceProtocolAttachment(), normalizeAttachmentFiles()
### Community 96 - "Community 96"
### Community 94 - "Community 94"
Cohesion: 1.0
Nodes (2): emptyTabCounts(), useProductionWorkOrderTabStepCounts()
### Community 98 - "Community 98"
### Community 96 - "Community 96"
Cohesion: 1.0
Nodes (2): initialProgress(), useQcWorkOrderAttachmentExport()
### Community 99 - "Community 99"
### Community 97 - "Community 97"
Cohesion: 1.0
Nodes (2): emptyTabCounts(), useQcWorkOrderTabUnfinishedCounts()
## Knowledge Gaps
- **Thin community `Community 24`** (42 nodes): `WebSocketClient`, `.calculateReconnectDelay()`, `.clearAllTimers()`, `.clearConnectionTimers()`, `.clearTimer()`, `.close()`, `.closeCurrentSocketForReconnect()`, `.connect()`, `.connectionStatusText()`, `.constructor()`, `.destroyInstance()`, `.flushMessageQueue()`, `.getInstance()`, `.getReadyStateText()`, `.handleClose()`, `.handleConnectionTimeout()`, `.handleError()`, `.handleMessage()`, `.handleOpen()`, `.init()`, `.isWebSocketConnected()`, `.reconnect()`, `.resetHeartbeat()`, `.send()`, `.startHeartbeat()`, `.startPing()`, `TableCache`, `.cleanupExpired()`, `.clear()`, `.clearByTags()`, `.clearCurrentSearch()`, `.clearPagination()`, `.constructor()`, `.evictLRU()`, `.generateKey()`, `.generateTags()`, `.get()`, `.getStats()`, `.log()`, `.set()`, `index.ts`, `tableCache.ts`
- **Thin community `Community 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 47`** (9 nodes): `cleanupEventListeners()`, `handleTouchEnd()`, `handleTouchMove()`, `handleTouchStart()`, `handleWheelScroll()`, `if()`, `setTransition()`, `setupEventListeners()`, `index.vue`
- **Thin community `Community 45`** (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 48`** (9 nodes): `FireworkSystem`, `.constructor()`, `.createFirework()`, `.createParticle()`, `.getAvailableParticle()`, `.initializePool()`, `.preloadAllImages()`, `.preloadImage()`, `index.vue`
- **Thin community `Community 51`** (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 54`** (8 nodes): `TableHeightCalculator`, `.calculate()`, `.calculateOffset()`, `.calculatePaginationOffset()`, `.constructor()`, `.getHeaderHeight()`, `useTableHeight()`, `useTableHeight.ts`
- **Thin community `Community 53`** (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 56`** (7 nodes): `App.vue`, `main.ts`, `refreshButtonAutoIcons()`, `refreshPanelTitleIcons()`, `logApiCryptoBootInfo()`, `maskSecret()`, `console.ts`
- **Thin community `Community 55`** (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 58`** (6 nodes): `formatQcWorkOrderUnfinishedBadgeCount()`, `isUnfinishedQcWorkOrder()`, `qcWorkOrderUnfinishedBadgeTitle()`, `resolveQcWorkOrderUnfinishedBadgeCount()`, `sumQcWorkOrderGroupUnfinishedBadgeCount()`, `qc-work-order-unfinished-badge.ts`
- **Thin community `Community 57`** (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): `formatProtocolDocBatchDeleteConfirm()`, `formatProtocolDocDeleteConfirm()`, `formatProtocolDocSubject()`, `getProtocolDocTypeLabel()`, `protocol-doc-label.ts`
- **Thin community `Community 58`** (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 61`** (5 nodes): `equipmentOptionLabel()`, `joinEquipmentIds()`, `parseEquipmentIds()`, `syncEquipmentNamesFromOptions()`, `equipment-select.ts`
- **Thin community `Community 60`** (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): `focusInput()`, `handleKeydown()`, `if()`, `search()`, `index.vue`
- **Thin community `Community 61`** (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 67`** (4 nodes): `if()`, `logSidebarMenu()`, `index.vue`, `SidebarSubmenu.vue`
- **Thin community `Community 65`** (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 73`** (3 nodes): `getSettingDefaults()`, `resetToDefaults()`, `setting.ts`
- **Thin community `Community 71`** (3 nodes): `getSettingDefaults()`, `resetToDefaults()`, `setting.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 76`** (3 nodes): `buildOvertimeKitChildren()`, `oa-overtime-kit-rule.ts`, `uniqueId()`
- **Thin community `Community 73`** (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 77`** (3 nodes): `buildLeaveKitChildren()`, `oa-leave-kit-rule.ts`, `uniqueId()`
- **Thin community `Community 74`** (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 79`** (3 nodes): `buildConfirmationKitChildren()`, `oa-confirmation-kit-rule.ts`, `uniqueId()`
- **Thin community `Community 76`** (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 80`** (3 nodes): `buildResignationKitChildren()`, `oa-resignation-kit-rule.ts`, `uniqueId()`
- **Thin community `Community 77`** (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 81`** (3 nodes): `copyTextToClipboard()`, `copyTextWithFallback()`, `copy-text.ts`
- **Thin community `Community 78`** (3 nodes): `copyTextToClipboard()`, `copyTextWithFallback()`, `copy-text.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 83`** (3 nodes): `getSourceProtocolAttachment()`, `normalizeAttachmentFiles()`, `protocol-source-attachment.ts`
- **Thin community `Community 79`** (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 96`** (3 nodes): `emptyTabCounts()`, `useProductionWorkOrderTabStepCounts()`, `useProductionWorkOrderTabStepCounts.ts`
- **Thin community `Community 94`** (3 nodes): `emptyTabCounts()`, `useProductionWorkOrderTabStepCounts()`, `useProductionWorkOrderTabStepCounts.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 98`** (3 nodes): `initialProgress()`, `useQcWorkOrderAttachmentExport()`, `useQcWorkOrderAttachmentExport.ts`
- **Thin community `Community 96`** (3 nodes): `initialProgress()`, `useQcWorkOrderAttachmentExport()`, `useQcWorkOrderAttachmentExport.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 99`** (3 nodes): `emptyTabCounts()`, `useQcWorkOrderTabUnfinishedCounts()`, `useQcWorkOrderTabUnfinishedCounts.ts`
- **Thin community `Community 97`** (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 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 15`, `Community 16`, `Community 17`, `Community 18`, `Community 19`, `Community 21`, `Community 22`, `Community 23`, `Community 24`, `Community 25`, `Community 28`, `Community 30`, `Community 31`, `Community 32`, `Community 33`, `Community 37`, `Community 38`, `Community 48`?**
_High betweenness centrality (0.341) - 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 11`, `Community 12`, `Community 14`, `Community 15`, `Community 16`, `Community 17`, `Community 18`, `Community 19`, `Community 20`, `Community 21`, `Community 22`, `Community 25`, `Community 27`, `Community 29`, `Community 30`, `Community 31`, `Community 33`, `Community 34`, `Community 36`, `Community 43`, `Community 46`?**
_High betweenness centrality (0.243) - this node is a cross-community bridge._
- **Why does `handleDynamicRoutes()` connect `Community 6` to `Community 33`, `Community 4`, `Community 15`, `Community 19`, `Community 25`?**
_High betweenness centrality (0.044) - 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 6`, `Community 7`, `Community 8`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 16`, `Community 17`, `Community 18`, `Community 21`, `Community 23`, `Community 24`, `Community 26`, `Community 29`, `Community 30`, `Community 31`, `Community 33`, `Community 36`, `Community 43`?**
_High betweenness centrality (0.306) - this node is a cross-community bridge._
- **Why does `get()` connect `Community 0` to `Community 2`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 15`, `Community 16`, `Community 17`, `Community 18`, `Community 19`, `Community 20`, `Community 22`, `Community 27`, `Community 28`, `Community 29`, `Community 30`, `Community 32`, `Community 33`, `Community 34`, `Community 41`, `Community 44`, `Community 47`, `Community 61`?**
_High betweenness centrality (0.234) - this node is a cross-community bridge._
- **Why does `handleDynamicRoutes()` connect `Community 9` to `Community 32`, `Community 33`, `Community 4`, `Community 6`, `Community 18`, `Community 29`?**
_High betweenness centrality (0.030) - this node is a cross-community bridge._
- **Are the 312 inferred relationships involving `get()` (e.g. with `resolveStorageSlotRangeFill()` and `buildNodeCodePathFromFlat()`) actually correct?**
_`get()` has 312 INFERRED edges - model-reasoned connections that need verification._
- **Are the 123 inferred relationships involving `push()` (e.g. with `refreshQcMenuBadges()` and `collectLeafFacilityNodesInTreeOrder()`) actually correct?**
_`push()` has 123 INFERRED edges - model-reasoned connections that need verification._
- **Are the 29 inferred relationships involving `emit()` (e.g. with `handleSubmit()` and `handleDialogClose()`) actually correct?**
_`emit()` has 29 INFERRED edges - model-reasoned connections that need verification._
- **Are the 28 inferred relationships involving `emit()` (e.g. with `handleSubmit()` and `handleDialogClose()`) actually correct?**
_`emit()` has 28 INFERRED edges - model-reasoned connections that need verification._
- **Are the 20 inferred relationships involving `set()` (e.g. with `buildNodeCodePathFromFlat()` and `collectLeafFacilityNodesInTreeOrder()`) actually correct?**
_`set()` has 20 INFERRED edges - model-reasoned connections that need verification._
+4 -4
View File
@@ -57,12 +57,12 @@
</div>
<div id="legend"></div>
</div>
<div id="stats">3522 nodes &middot; 5022 edges &middot; 393 communities</div>
<div id="stats">3523 nodes &middot; 5025 edges &middot; 390 communities</div>
</div>
<script>
const RAW_NODES = [{"id": "app_vue", "label": "App.vue", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "App.vue", "community": 56, "community_name": "Community 56", "source_file": "App.vue", "file_type": "code", "degree": 3}, {"id": "src_app_refreshbuttonautoicons", "label": "refreshButtonAutoIcons()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshButtonAutoIcons()", "community": 56, "community_name": "Community 56", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "src_app_refreshpaneltitleicons", "label": "refreshPanelTitleIcons()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshPanelTitleIcons()", "community": 56, "community_name": "Community 56", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "main_ts", "label": "main.ts", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "main.ts", "community": 56, "community_name": "Community 56", "source_file": "main.ts", "file_type": "code", "degree": 4}, {"id": "src_main_masksecret", "label": "maskSecret()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "maskSecret()", "community": 56, "community_name": "Community 56", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "src_main_logapicryptobootinfo", "label": "logApiCryptoBootInfo()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "logApiCryptoBootInfo()", "community": 56, "community_name": "Community 56", "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": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "index.ts", "community": 35, "community_name": "Community 35", "source_file": "directives/index.ts", "file_type": "code", "degree": 1}, {"id": "directives_index_setupglobdirectives", "label": "setupGlobDirectives()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.5, "font": {"size": 0, "color": "#ffffff"}, "title": "setupGlobDirectives()", "community": 35, "community_name": "Community 35", "source_file": "directives/index.ts", "file_type": "code", "degree": 5}, {"id": "directives_core_roles_ts", "label": "roles.ts", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "roles.ts", "community": 35, "community_name": "Community 35", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 3}, {"id": "core_roles_checkrolepermission", "label": "checkRolePermission()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "checkRolePermission()", "community": 35, "community_name": "Community 35", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_removeelement", "label": "removeElement()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "removeElement()", "community": 35, "community_name": "Community 35", "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": 497}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 143}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 124}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 108}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 106}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 101}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 101}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 92}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 91}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 90}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 89}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 87}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 85}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 85}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 72}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 69}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 58}, {"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": 55}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 53}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 53}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 50}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 47}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 42}, {"cid": 25, "color": "#EDC948", "label": "Community 25", "count": 38}, {"cid": 26, "color": "#B07AA1", "label": "Community 26", "count": 37}, {"cid": 27, "color": "#FF9DA7", "label": "Community 27", "count": 36}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 36}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 34}, {"cid": 30, "color": "#4E79A7", "label": "Community 30", "count": 33}, {"cid": 31, "color": "#F28E2B", "label": "Community 31", "count": 32}, {"cid": 32, "color": "#E15759", "label": "Community 32", "count": 31}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 25}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 24}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 22}, {"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": 20}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 19}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 17}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 17}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 16}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 14}, {"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": 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": 9}, {"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": 8}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 8}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 7}, {"cid": 57, "color": "#FF9DA7", "label": "Community 57", "count": 7}, {"cid": 58, "color": "#9C755F", "label": "Community 58", "count": 6}, {"cid": 59, "color": "#BAB0AC", "label": "Community 59", "count": 6}, {"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": 5}, {"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": "CommunitLine truncated
const RAW_NODES = [{"id": "app_vue", "label": "App.vue", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "App.vue", "community": 53, "community_name": "Community 53", "source_file": "App.vue", "file_type": "code", "degree": 3}, {"id": "src_app_refreshbuttonautoicons", "label": "refreshButtonAutoIcons()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshButtonAutoIcons()", "community": 53, "community_name": "Community 53", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "src_app_refreshpaneltitleicons", "label": "refreshPanelTitleIcons()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshPanelTitleIcons()", "community": 53, "community_name": "Community 53", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "main_ts", "label": "main.ts", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "main.ts", "community": 53, "community_name": "Community 53", "source_file": "main.ts", "file_type": "code", "degree": 4}, {"id": "src_main_masksecret", "label": "maskSecret()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "maskSecret()", "community": 53, "community_name": "Community 53", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "src_main_logapicryptobootinfo", "label": "logApiCryptoBootInfo()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "logApiCryptoBootInfo()", "community": 53, "community_name": "Community 53", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "env_d_ts", "label": "env.d.ts", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "env.d.ts", "community": 146, "community_name": "Community 146", "source_file": "env.d.ts", "file_type": "code", "degree": 0}, {"id": "shims_loose_d_ts", "label": "shims-loose.d.ts", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "shims-loose.d.ts", "community": 147, "community_name": "Community 147", "source_file": "shims-loose.d.ts", "file_type": "code", "degree": 0}, {"id": "directives_index_ts", "label": "index.ts", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "index.ts", "community": 35, "community_name": "Community 35", "source_file": "directives/index.ts", "file_type": "code", "degree": 1}, {"id": "directives_index_setupglobdirectives", "label": "setupGlobDirectives()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.5, "font": {"size": 0, "color": "#ffffff"}, "title": "setupGlobDirectives()", "community": 35, "community_name": "Community 35", "source_file": "directives/index.ts", "file_type": "code", "degree": 5}, {"id": "directives_core_roles_ts", "label": "roles.ts", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "roles.ts", "community": 35, "community_name": "Community 35", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 3}, {"id": "core_roles_checkrolepermission", "label": "checkRolePermission()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "checkRolePermission()", "community": 35, "community_name": "Community 35", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_removeelement", "label": "removeElement()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "removeElement()", "community": 35, "community_name": "Community 35", "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": 588}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 117}, {"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": 106}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 103}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 98}, {"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": 93}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 90}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 89}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 87}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 85}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 81}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 64}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 57}, {"cid": 17, "color": "#FF9DA7", "label": "Community 17", "count": 57}, {"cid": 18, "color": "#9C755F", "label": "Community 18", "count": 55}, {"cid": 19, "color": "#BAB0AC", "label": "Community 19", "count": 52}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 49}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 47}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 47}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 42}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 40}, {"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": 35}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 34}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 34}, {"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": 29}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 25}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 24}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 22}, {"cid": 36, "color": "#B07AA1", "label": "Community 36", "count": 20}, {"cid": 37, "color": "#FF9DA7", "label": "Community 37", "count": 19}, {"cid": 38, "color": "#9C755F", "label": "Community 38", "count": 17}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 17}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 16}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 14}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 13}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 13}, {"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": 8}, {"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": 7}, {"cid": 54, "color": "#59A14F", "label": "Community 54", "count": 7}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 6}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 6}, {"cid": 57, "color": "#FF9DA7", "label": "Community 57", "count": 5}, {"cid": 58, "color": "#9C755F", "label": "Community 58", "count": 5}, {"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": 4}, {"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": "Community 7Line 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
+12 -12
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": 1787043942.7426405,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/auto-imports.d.ts": 1787043926.3047507,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/components.d.ts": 1787105128.357657,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/auto-imports.d.ts": 1787104039.0379424,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/store/index.ts": 1781272556.364766,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/router/index.ts": 1782394569.8806834,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/composables/useAttachmentActions.ts": 1783921717.4015942,
@@ -308,25 +308,25 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/sample-reception-dual-readonly-panel/index.vue": 1782894734.989395,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/dialog-form-body/index.vue": 1782893852.1647537,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/clinical-payment-submit-readonly/index.vue": 1782893852.1397598,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/sample-qc-info-cards/index.vue": 1782893852.4513032,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/sample-qc-info-cards/index.vue": 1787103934.633724,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/special-sample-display/index.vue": 1783925058.170451,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/order-operate-local-dialog/index.vue": 1782893852.4089837,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/product-view-dialog/index.vue": 1782894734.7548196,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/sample-production-info-cards/index.vue": 1782893852.297569,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/sample-production-info-cards/index.vue": 1787105213.3163395,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/sample-storage-release-info/index.vue": 1782893852.266822,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/infusion-schedule-outbound-chain-view/index.vue": 1782893852.19879,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/work-order-remark-dialog/index.vue": 1785207196.8619192,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/product-lines-batch-slot-fill-dialog/index.vue": 1785235070.1181138,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/sample-qc-info-grouped-panel/index.vue": 1782893852.0546591,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/sample-qc-info-grouped-panel/index.vue": 1787103933.1038933,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/clinical-schedule-payment-detail/index.vue": 1782893852.0159285,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/sample-qc-batch-readonly/index.vue": 1782893851.9487352,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/sample-qc-batch-readonly/index.vue": 1787104773.0737202,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/outbound-material-form-sections/index.vue": 1785291644.1685638,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/attachment-zip-progress-dialog/index.vue": 1782893851.6959429,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/protocol-payment-detail-readonly/index.vue": 1783330021.0864918,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/sample-code-with-special-display/index.vue": 1783925058.1716585,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/qc-item-param-select-editor/index.vue": 1782893851.5957565,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/system-view-dialog/index.vue": 1785912217.2919815,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/production-task-view-dialog/index.vue": 1782894735.276092,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/production-task-view-dialog/index.vue": 1787104577.8555322,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/order-operate-dialog-bridge/index.vue": 1782893851.5162861,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/sample-special-mark-dialog/index.vue": 1782893851.5019739,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/common/list-datetime-column.vue": 1782893851.4989195,
@@ -384,7 +384,7 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/outbound-release-review.ts": 1785303420.050366,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-third-party-item.ts": 1781272556.6567156,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/env-detect-record.ts": 1782375300.5909576,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/storage-release-review.ts": 1785295141.9810133,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/storage-release-review.ts": 1787106416.1278656,
"/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": 1785207996.1724288,
@@ -533,7 +533,7 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/DispatchQcWorkOrderDialog.vue": 1782893852.9989007,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/SampleReceptionDialog.vue": 1782894085.3789353,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskEquipmentPanel.vue": 1782893853.803821,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue": 1783403211.24666,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue": 1787105229.4189632,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/EditTaskInfoDialog.vue": 1782893853.6561613,
"/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,
@@ -649,9 +649,9 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/env-detect-record/index.vue": 1782893853.44988,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/env-detect-item/index.vue": 1783326448.9953067,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-task/index.vue": 1782893853.146115,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/index.vue": 1785295144.5039375,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue": 1782893853.0158439,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseViewDialog.vue": 1782894755.2440438,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/index.vue": 1787106425.2620862,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue": 1787106502.2811391,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseViewDialog.vue": 1787104887.6003387,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material-usage/index.vue": 1782893852.8511324,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/third-party-company/index.vue": 1782893852.8158212,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/exception/500/index.vue": 1782893852.7265046,
@@ -14,6 +14,7 @@ export type StorageReleaseReview = {
id: string
sampleCode?: string
sampleName?: string
labStorageCode?: string
protocolNo?: string
receptionSource?: string
receptionSourceLabel?: string
@@ -33,6 +34,8 @@ export type StorageReleaseReview = {
protocolStatus?: string
protocolStatusLabel?: string
voidType?: string
isSpecial?: boolean
specialRemark?: string
storageBy?: string
storageByName?: string
storageTime?: string
@@ -53,6 +56,9 @@ export type ProtocolInfo = {
sampleTypeName?: string
collectAmount?: number | null
storageYears?: number | null
isSpecial?: boolean
specialRemark?: string
voidType?: string
}
export type TransportInfo = {
@@ -85,6 +91,13 @@ export type QcInfoTask = {
conclusion?: string
conclusionLabel?: string
batchId?: string
thirdPartyAttachments?: string
attachmentFiles?: Array<{ id?: string; fileUrl?: string; fileName?: string; fileType?: string }>
results?: Array<{
paramName?: string
paramUnit?: string
paramValue?: string
}>
}
export type QcInfo = {
@@ -4,7 +4,7 @@
<SystemViewDialog
v-model:visible="innerVisible"
title="生产任务详情"
width="960px"
width="1320px"
:grid-columns="4"
:icon="Operation"
:meta="viewDetail?.taskNo || ''"
@@ -395,9 +395,7 @@
{ label: '样本类型', value: r.sampleTypeName || d.sampleTypeName || '—' }
]
},
...(transportFields.length > 1 || r.transportType
? [{ title: '运输信息', fields: transportFields }]
: []),
{ title: '运输信息', fields: transportFields },
{
title: '质检接收',
slot: 'reception-extra',
@@ -441,78 +439,75 @@
: [])
]
}
const resultSection: ViewSection[] = [
{
title: '质检结论',
fields: taskResultSummaryFields
},
...(d.results && d.results.length > 0
? [
{
title: '检测参数',
fields: d.results.map((item) => ({
label: item.paramName + (item.paramUnit ? `(${item.paramUnit})` : ''),
value: item.paramValue || '—'
}))
}
]
: [{ title: '检测参数', fields: [], slot: 'params-empty' }])
]
const tailSections: ViewSection[] = []
const taskInfoSection: ViewSection = {
title: '任务信息',
fields: [
{ label: '任务号', value: d.taskNo },
{
label: '业务类型',
value: d.qcBizTypeLabel || qcBizTypeLabel(d.qcBizType || ''),
tagType: qcBizTypeTagType(d.qcBizType || '')
},
{ label: '工单号', value: d.workOrderNo || '—' },
...(viewBatchName.value || viewBatchNo.value
? [
{
label: '检测批次',
value: [viewBatchName.value, viewBatchNo.value].filter(Boolean).join(' · ')
}
]
: []),
{
label: '工单状态',
value: d.workOrderStatus ? workOrderStatusLabel(d.workOrderStatus) : '—',
tagType:
d.workOrderStatus === 'ywc'
? 'success'
: d.workOrderStatus === 'ypz'
? 'warning'
: 'info'
},
{
label: '任务状态',
value: taskStatusLabel(d.taskStatus),
tagType: taskStatusTagType(d.taskStatus)
},
{ label: '负责人', value: d.assigneeUserNames || '—' },
{ label: '完成时间', value: d.completedTime || '—' },
{ label: '创建时间', value: d.createTime || '—' }
]
}
const conclusionSection: ViewSection = {
title: '质检结论',
fields: taskResultSummaryFields
}
const paramsSection: ViewSection =
d.results && d.results.length > 0
? {
title: '检测参数',
fields: d.results.map((item) => ({
label: item.paramName + (item.paramUnit ? `(${item.paramUnit})` : ''),
value: item.paramValue || '—'
}))
}
: { title: '检测参数', fields: [], slot: 'params-empty' }
const materialSections: ViewSection[] = []
if (SHOW_QC_TASK_MATERIAL_USAGE && d.taskType !== 'dsfjc') {
tailSections.push({ title: '物料使用', fields: [], slot: 'material-usages' })
}
if (d.taskType === 'dsfjc' || taskAttachmentFiles.value.length) {
tailSections.push({
title: d.taskType === 'dsfjc' ? '检测材料' : '检测附件',
fields: [],
slot: 'task-attachments'
})
materialSections.push({ title: '物料使用', fields: [], slot: 'material-usages' })
}
materialSections.push({
title: '检测材料',
fields: [],
slot: 'task-attachments'
})
return [
{
title: '任务信息',
fields: [
{ label: '任务号', value: d.taskNo },
{
label: '业务类型',
value: d.qcBizTypeLabel || qcBizTypeLabel(d.qcBizType || ''),
tagType: qcBizTypeTagType(d.qcBizType || '')
},
{ label: '工单号', value: d.workOrderNo || '—' },
...(viewBatchName.value || viewBatchNo.value
? [
{
label: '检测批次',
value: [viewBatchName.value, viewBatchNo.value].filter(Boolean).join(' · ')
}
]
: []),
{
label: '工单状态',
value: d.workOrderStatus ? workOrderStatusLabel(d.workOrderStatus) : '—',
tagType:
d.workOrderStatus === 'ywc'
? 'success'
: d.workOrderStatus === 'ypz'
? 'warning'
: 'info'
},
{
label: '任务状态',
value: taskStatusLabel(d.taskStatus),
tagType: taskStatusTagType(d.taskStatus)
},
{ label: '负责人', value: d.assigneeUserNames || '—' },
{ label: '完成时间', value: d.completedTime || '—' },
{ label: '创建时间', value: d.createTime || '—' }
]
},
taskInfoSection,
itemSection,
...cellProductSection,
...sampleSections,
...resultSection,
...tailSections
conclusionSection,
paramsSection,
...materialSections,
...sampleSections
]
})
@@ -91,14 +91,21 @@
</template>
<Teleport to="body">
<ProductionTaskViewDialog v-model:visible="taskViewVisible" :task-id="taskViewId" />
<TaskExecutionDialog
v-model:visible="taskViewVisible"
:task-id="taskViewId"
:task-name="taskViewName"
readonly
append-to-body
modal-class="protocol-dialog-mask production-task-execution-nested-mask"
/>
</Teleport>
</div>
</template>
<script setup lang="ts">
import { ref } from 'vue'
import ProductionTaskViewDialog from '@/components/business/production-task-view-dialog/index.vue'
import TaskExecutionDialog from '@/views/production/production-work-order/TaskExecutionDialog.vue'
import { productionConclusionLabel, productionConclusionTagType } from '@/utils/production-labels'
export type ProductionTaskInput = {
@@ -153,10 +160,12 @@
const taskViewVisible = ref(false)
const taskViewId = ref('')
const taskViewName = ref('')
function openTaskView(task: ProductionTask) {
if (!task.id) return
taskViewId.value = task.id
taskViewName.value = task.taskName || task.taskNo || ''
taskViewVisible.value = true
}
@@ -301,3 +310,9 @@
}
}
</style>
<style lang="scss">
.production-task-execution-nested-mask {
z-index: 4000 !important;
}
</style>
@@ -6,11 +6,7 @@
v-model="activeBatchKey"
class="panel-pill-tabs panel-pill-tabs--start sample-qc-batch-readonly__tabs"
>
<el-tab-pane
v-for="section in batchSections"
:key="section.key"
:name="section.key"
>
<el-tab-pane v-for="section in batchSections" :key="section.key" :name="section.key">
<template #label>
<span class="sample-qc-batch-readonly__tab-label">{{ section.batchName }}</span>
<span class="sample-qc-batch-readonly__tab-count">
@@ -18,44 +14,51 @@
</span>
</template>
<div
v-if="section.batchNo || section.assigneeUserNames"
v-if="(section.batchNo && !showTaskResults) || section.assigneeUserNames"
class="sample-qc-batch-readonly__meta"
>
<span v-if="section.batchNo" class="sample-qc-batch-readonly__meta-item">{{
section.batchNo
}}</span>
<span
v-if="section.batchNo && !showTaskResults"
class="sample-qc-batch-readonly__meta-item"
>{{ section.batchNo }}</span
>
<span v-if="section.assigneeUserNames" class="sample-qc-batch-readonly__meta-item">
负责人:{{ section.assigneeUserNames }}
</span>
</div>
<div class="qc-detail-cards qc-detail-cards--tasks">
<div
class="qc-detail-cards qc-detail-cards--tasks"
:class="{ 'is-stacked': showTaskResults }"
>
<div
v-for="task in section.tasks"
v-for="(task, tIdx) in section.tasks"
:key="task.id || `${section.key}-${task.taskNo}`"
class="qc-detail-card qc-detail-card--task"
>
<div class="qc-detail-card__header">
<span class="qc-detail-card__name">{{ task.itemName || '—' }}</span>
<el-tag :type="taskTypeTagType(task.taskType || '')" size="small">{{
task.taskTypeLabel || taskTypeLabel(task.taskType || '')
}}</el-tag>
</div>
<div class="qc-detail-card__body">
<div class="qc-kv">
<span class="qc-kv__label">任务号</span>
<span class="qc-kv__value">{{ task.taskNo || '—' }}</span>
</div>
<div class="qc-kv">
<span class="qc-kv__label">任务状态</span>
<span class="qc-kv__value">
<span class="qc-detail-card__name">
<span v-if="showTaskResults" class="qc-detail-card__index">{{ tIdx + 1 }}.</span>
{{ task.itemName || '—' }}
<el-tag
v-if="showTaskResults"
:type="taskTypeTagType(task.taskType || '')"
size="small"
>
{{ task.taskTypeLabel || taskTypeLabel(task.taskType || '') }}
</el-tag>
</span>
<div class="qc-detail-card__header-right">
<el-tag
v-if="!showTaskResults"
:type="taskTypeTagType(task.taskType || '')"
size="small"
>
{{ task.taskTypeLabel || taskTypeLabel(task.taskType || '') }}
</el-tag>
<template v-if="showTaskResults">
<el-tag :type="taskStatusTagType(task.taskStatus)" size="small">
{{ task.taskStatusLabel || taskStatusLabel(task.taskStatus || '') }}
</el-tag>
</span>
</div>
<div class="qc-kv">
<span class="qc-kv__label">检测结论</span>
<span class="qc-kv__value">
<el-tag
v-if="task.conclusion"
:type="qcTaskConclusionTagType(task.conclusion)"
@@ -64,11 +67,70 @@
{{ task.conclusionLabel || qcTaskConclusionLabel(task.conclusion) }}
</el-tag>
<span v-else class="qc-kv__muted">—</span>
</span>
</template>
</div>
</div>
<div class="qc-detail-card__body">
<div v-if="!showTaskResults" class="qc-kv">
<span class="qc-kv__label">任务号</span>
<span class="qc-kv__value">{{ task.taskNo || '—' }}</span>
</div>
<div v-if="!showTaskResults" class="qc-kv-row">
<div class="qc-kv">
<span class="qc-kv__label">任务状态</span>
<span class="qc-kv__value">
<el-tag :type="taskStatusTagType(task.taskStatus)" size="small">
{{ task.taskStatusLabel || taskStatusLabel(task.taskStatus || '') }}
</el-tag>
</span>
</div>
<div class="qc-kv">
<span class="qc-kv__label">检测结论</span>
<span class="qc-kv__value">
<el-tag
v-if="task.conclusion"
:type="qcTaskConclusionTagType(task.conclusion)"
size="small"
>
{{ task.conclusionLabel || qcTaskConclusionLabel(task.conclusion) }}
</el-tag>
<span v-else class="qc-kv__muted">—</span>
</span>
</div>
</div>
<template v-if="showTaskResults">
<div v-if="taskResults(task).length" class="qc-param-row">
<div
v-for="(item, pIdx) in taskResults(task)"
:key="`${task.id || task.taskNo}-${pIdx}`"
class="qc-param-item"
>
<span class="qc-param-item__label">{{ paramLabel(item) }}</span>
<span class="qc-param-item__value">{{ item.paramValue || '—' }}</span>
</div>
</div>
<div v-else class="qc-kv">
<span class="qc-kv__label">检测参数</span>
<span class="qc-kv__muted">—</span>
</div>
<div v-if="taskAttachmentFiles(task).length" class="qc-kv qc-kv--attachments">
<span class="qc-kv__label">附件</span>
<span class="qc-kv__value">
<ProtocolAttachmentReadonly
:files="taskAttachmentFiles(task)"
@preview="previewAttachment"
@download="downloadAttachment"
/>
</span>
</div>
</template>
</div>
<div v-if="task.id" class="qc-detail-card__foot">
<button type="button" class="qc-detail-card__link" @click.stop="emit('view-task', task)">
<button
type="button"
class="qc-detail-card__link"
@click.stop="emit('view-task', task)"
>
点击查看详情
</button>
</div>
@@ -93,10 +155,24 @@
qcTaskConclusionTagType
} from '@/utils/qc-labels'
import { taskStatusTagType } from '@/utils/status-tag-registry'
import { loadQcInspectionBatches, resolveBatchSections,
import {
loadQcInspectionBatches,
resolveBatchSections,
type QcBatchTaskSection,
type QcInspectionBatch
} from '@/utils/qc-inspection-batch'
import ProtocolAttachmentReadonly from '@/views/cell-storage/protocol/ProtocolAttachmentReadonly.vue'
import {
qcAttachmentFilesFromCommaUrls,
qcPreviewAttachment,
qcDownloadAttachment
} from '@/views/quality-inspection/qc-work-order/composables/useQcViewAttachmentHelpers'
export type SampleQcBatchTaskResult = {
paramName?: string
paramUnit?: string
paramValue?: string
}
export type SampleQcBatchTask = {
id?: string
@@ -109,20 +185,47 @@
conclusion?: string
conclusionLabel?: string
batchId?: string
thirdPartyAttachments?: string
attachmentFiles?: Array<{ id?: string; fileUrl?: string; fileName?: string; fileType?: string }>
results?: SampleQcBatchTaskResult[]
}
defineOptions({ name: 'SampleQcBatchReadonly' })
const props = defineProps<{
workOrderId?: string
tasks?: SampleQcBatchTask[]
inspectionBatches?: QcInspectionBatch[]
}>()
const props = withDefaults(
defineProps<{
workOrderId?: string
tasks?: SampleQcBatchTask[]
inspectionBatches?: QcInspectionBatch[]
showTaskResults?: boolean
}>(),
{ showTaskResults: false }
)
const emit = defineEmits<{
'view-task': [task: SampleQcBatchTask]
}>()
function taskResults(task: SampleQcBatchTask) {
return task.results || []
}
function paramLabel(item: SampleQcBatchTaskResult) {
const name = String(item.paramName || '').trim() || '参数'
const unit = String(item.paramUnit || '').trim()
return unit ? `${name}(${unit})` : name
}
function taskAttachmentFiles(task: SampleQcBatchTask) {
if (Array.isArray(task.attachmentFiles) && task.attachmentFiles.length) {
return task.attachmentFiles as Array<Record<string, unknown>>
}
return qcAttachmentFilesFromCommaUrls(String(task.thirdPartyAttachments || ''))
}
const previewAttachment = qcPreviewAttachment
const downloadAttachment = qcDownloadAttachment
const loading = ref(false)
const batches = ref<QcInspectionBatch[]>([])
const batchSections = ref<QcBatchTaskSection<SampleQcBatchTask>[]>([])
@@ -140,7 +243,10 @@
}
function syncSections() {
batchSections.value = resolveBatchSections(props.inspectionBatches || batches.value, props.tasks)
batchSections.value = resolveBatchSections(
props.inspectionBatches || batches.value,
props.tasks
)
ensureActiveBatchKey(batchSections.value)
}
@@ -233,38 +339,61 @@
&--tasks {
margin-bottom: 0;
}
&.is-stacked {
grid-template-columns: 1fr;
}
}
.qc-detail-card {
overflow: hidden;
background: #fff;
border: 1px solid #e2e8f0;
border-radius: 8px;
background: #fff;
overflow: hidden;
}
.qc-detail-card__header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 8px;
align-items: center;
justify-content: space-between;
padding: 10px 12px;
border-bottom: 1px solid #f1f5f9;
}
.qc-detail-card__header-right {
display: flex;
flex-shrink: 0;
flex-wrap: wrap;
gap: 6px;
align-items: center;
justify-content: flex-end;
}
.qc-detail-card__name {
display: flex;
flex: 1;
gap: 8px;
align-items: center;
min-width: 0;
font-size: 13px;
font-weight: 600;
color: #1e293b;
text-align: left;
flex: 1;
word-break: break-word;
}
.qc-detail-card__index {
flex-shrink: 0;
font-variant-numeric: tabular-nums;
color: var(--mint-text-muted, #64748b);
}
.qc-detail-card__body {
padding: 10px 12px;
display: flex;
flex-direction: column;
gap: 8px;
padding: 10px 12px;
}
.qc-detail-card__foot {
@@ -275,12 +404,12 @@
.qc-detail-card__link {
padding: 0;
border: none;
background: none;
font-size: 11px;
line-height: 1.4;
color: #047857;
cursor: pointer;
background: none;
border: none;
&:hover {
color: #065f46;
@@ -289,26 +418,88 @@
}
.qc-kv__muted {
color: var(--mint-text-muted, #334155);
font-weight: 400;
color: var(--mint-text-muted, #334155);
}
.qc-kv {
display: flex;
align-items: flex-start;
gap: 8px;
align-items: flex-start;
font-size: 12px;
}
.qc-kv-row {
display: flex;
flex-wrap: wrap;
gap: 8px 16px;
.qc-kv {
flex: 1;
min-width: 120px;
}
.qc-kv__label {
max-width: none;
}
}
.qc-kv__label {
color: var(--mint-text-muted, #334155);
flex-shrink: 0;
min-width: 56px;
max-width: 52%;
color: var(--mint-text-muted, #334155);
}
.qc-kv__value {
color: #1e293b;
font-weight: 500;
color: #1e293b;
word-break: break-word;
}
.qc-param-row {
display: flex;
flex-wrap: wrap;
gap: 6px 20px;
}
.qc-param-item {
display: inline-flex;
gap: 6px;
align-items: baseline;
min-width: 0;
font-size: 12px;
}
.qc-param-item__label {
flex-shrink: 0;
color: var(--mint-text-muted, #334155);
}
.qc-param-item__value {
font-weight: 500;
color: #1e293b;
word-break: break-word;
}
.qc-kv--attachments {
flex-direction: column;
gap: 6px;
.qc-kv__label {
min-width: 0;
}
:deep(.attachment-item) {
width: 96px;
}
:deep(.attachment-preview) {
height: 64px;
}
:deep(.attachment-name) {
font-size: 11px;
}
}
</style>
@@ -32,10 +32,7 @@
</div>
</div>
<div
v-if="qcInfo.workOrderStatus === 'dpz' && !hasTaskContent"
class="sample-qc-hint"
>
<div v-if="qcInfo.workOrderStatus === 'dpz' && !hasTaskContent" class="sample-qc-hint">
工单待配置检测项目
</div>
@@ -44,6 +41,7 @@
:work-order-id="qcInfo.id"
:tasks="qcInfo.tasks"
:inspection-batches="qcInfo.inspectionBatches"
:show-task-results="showTaskResults"
@view-task="openTaskView"
/>
@@ -85,6 +83,13 @@
completedTime?: string
remark?: string
batchId?: string
thirdPartyAttachments?: string
attachmentFiles?: Array<{ id?: string; fileUrl?: string; fileName?: string; fileType?: string }>
results?: Array<{
paramName?: string
paramUnit?: string
paramValue?: string
}>
}
export type SampleQcInfo = {
@@ -126,9 +131,12 @@
/** 嵌入分组面板时隐藏区块标题与顶部分隔 */
embedded?: boolean
sectionLabel?: string
/** 任务卡片内直接展示检测参数与附件 */
showTaskResults?: boolean
}>(),
{
embedded: false
embedded: false,
showTaskResults: false
}
)
@@ -137,8 +145,7 @@
const taskViewPreset = ref<SampleQcTask | null>(null)
const hasTaskContent = computed(
() =>
!!(props.qcInfo?.inspectionBatches?.length || props.qcInfo?.tasks?.length)
() => !!(props.qcInfo?.inspectionBatches?.length || props.qcInfo?.tasks?.length)
)
const emptyHint = computed(() => {
@@ -166,39 +173,39 @@
<style scoped lang="scss">
.sample-card__section--qc {
margin-top: 4px;
padding-top: 14px;
margin-top: 4px;
border-top: 1px dashed #e2e8f0;
&.sample-card__section--embedded {
margin-top: 0;
padding-top: 0;
margin-top: 0;
border-top: none;
}
}
.sample-card__section-label {
margin-bottom: 10px;
font-size: 11px;
font-weight: 600;
color: var(--mint-text-muted, #334155);
margin-bottom: 10px;
letter-spacing: 0.3px;
}
.sample-qc-empty,
.sample-qc-hint {
padding: 8px 0;
font-size: 13px;
color: var(--mint-text-muted, #334155);
padding: 8px 0;
}
.qc-work-order-row {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: 12px 24px;
margin-bottom: 12px;
align-items: flex-start;
padding: 0 2px;
margin-bottom: 12px;
}
.qc-work-order-row .qc-kv {
@@ -208,20 +215,20 @@
.qc-kv {
display: flex;
align-items: flex-start;
gap: 8px;
align-items: flex-start;
font-size: 12px;
}
.qc-kv__label {
color: var(--mint-text-muted, #334155);
flex-shrink: 0;
min-width: 56px;
color: var(--mint-text-muted, #334155);
}
.qc-kv__value {
color: #1e293b;
font-weight: 500;
color: #1e293b;
word-break: break-word;
&--code {
@@ -13,6 +13,7 @@
:qc-info="gateQcInfo"
:sample-reception="sampleReception"
:hide-sample-context="hideSampleContext"
:show-task-results="showTaskResults"
/>
</section>
@@ -46,6 +47,7 @@
embedded
:qc-info="item"
:hide-sample-context="hideSampleContext"
:show-task-results="showTaskResults"
/>
</article>
</div>
@@ -74,13 +76,16 @@
showGateSection?: boolean
gateSectionLabel?: string
processSectionLabel?: string
/** 任务卡片内直接展示检测参数与附件 */
showTaskResults?: boolean
}>(),
{
processQcInfoList: () => [],
showSectionLabel: true,
showGateSection: true,
gateSectionLabel: '样本接收质检(入库门禁)',
processSectionLabel: '生产过程质检'
processSectionLabel: '生产过程质检',
showTaskResults: false
}
)
@@ -92,16 +97,16 @@
<style scoped lang="scss">
.sample-qc-grouped-panel-root--section {
margin-top: 4px;
padding-top: 14px;
margin-top: 4px;
border-top: 1px dashed #e2e8f0;
}
.sample-card__section-label {
margin-bottom: 10px;
font-size: 11px;
font-weight: 600;
color: var(--mint-text-muted, #334155);
margin-bottom: 10px;
letter-spacing: 0.3px;
}
@@ -119,12 +124,12 @@
}
.sample-qc-grouped-panel__subtitle {
margin: 0;
padding-left: 10px;
margin: 0;
font-size: 12px;
font-weight: 600;
color: #334155;
line-height: 1.4;
color: #334155;
border-left: 3px solid #10b981;
}
@@ -143,16 +148,16 @@
.sample-qc-grouped-panel__process-item {
padding: 10px 12px;
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 8px;
background: #f8fafc;
}
.process-qc-meta {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: 8px 16px;
align-items: flex-start;
margin-bottom: 8px;
}
@@ -167,20 +172,20 @@
.qc-kv {
display: flex;
align-items: flex-start;
gap: 8px;
align-items: flex-start;
font-size: 12px;
}
.qc-kv__label {
color: var(--mint-text-muted, #334155);
flex-shrink: 0;
min-width: 56px;
color: var(--mint-text-muted, #334155);
}
.qc-kv__value {
color: #1e293b;
font-weight: 500;
color: #1e293b;
word-break: break-word;
&--code {
@@ -6,7 +6,7 @@
width="96vw"
class="dialog-form-layout execution-dialog"
align-center
modal-class="protocol-dialog-mask"
:modal-class="modalClass"
destroy-on-close
:close-on-click-modal="false"
:append-to-body="appendToBody"
@@ -667,11 +667,14 @@
initialStepId?: string
/** 挂到 body,避免表格展开行 / fixed 列层叠遮挡 */
appendToBody?: boolean
/** 遮罩 class,嵌套在其它弹窗内打开时可提高层级 */
modalClass?: string
}>(),
{
appendToBody: true,
operateScope: 'manage',
allowForward: false
allowForward: false,
modalClass: 'protocol-dialog-mask'
}
)
@@ -42,6 +42,8 @@
:process-qc-info-list="detail?.processQcInfoList"
:sample-reception="viewReceptionBrief"
:show-section-label="false"
gate-section-label="样本接收质检"
show-task-results
/>
</template>
@@ -321,6 +321,7 @@
<StorageReleaseReviewDialog
v-model="reviewDialogVisible"
:review-ids="reviewDialogIds"
:review-items="reviewDialogItems"
@submitted="onReviewSubmitted"
/>
</section>
@@ -482,6 +483,16 @@
const reviewDialogVisible = ref(false)
const reviewDialogIds = ref<string[]>([])
const reviewDialogItems = ref<
Array<{
id: string
sampleCode?: string
labStorageCode?: string
sampleName?: string
isSpecial?: boolean
specialRemark?: string
}>
>([])
function openReviewDialog(row?: StorageReleaseReview) {
const rows = row ? [row] : selectedRows.value
@@ -490,6 +501,14 @@
return
}
reviewDialogIds.value = rows.map((r) => String(r.id))
reviewDialogItems.value = rows.map((r) => ({
id: String(r.id),
sampleCode: r.sampleCode,
labStorageCode: r.labStorageCode,
sampleName: r.sampleName,
isSpecial: !!r.isSpecial,
specialRemark: r.specialRemark
}))
reviewDialogVisible.value = true
}