提交
This commit is contained in:
1 parent
17b699b900
commit
28f233c922
27 files changed
+18073
-16837
No files matched your search
@@ -1 +0,0 @@
|
||||
9200
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_backend_app_models_models_py", "label": "models.py", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L1"}, {"id": "models_models_userrole", "label": "UserRole", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L10"}, {"id": "str", "label": "str", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "models_models_sysuser", "label": "SysUser", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L22"}, {"id": "base", "label": "Base", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "models_models_sysrole", "label": "SysRole", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L48"}, {"id": "models_models_sysuserrole", "label": "SysUserRole", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L68"}, {"id": "models_models_sysrolemenu", "label": "SysRoleMenu", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L87"}, {"id": "models_models_sysroledatascopedetail", "label": "SysRoleDataScopeDetail", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L106"}, {"id": "models_models_sysmenu", "label": "SysMenu", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L126"}, {"id": "models_models_sysdept", "label": "SysDept", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L152"}, {"id": "models_models_systenant", "label": "SysTenant", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L175"}, {"id": "models_models_syssite", "label": "SysSite", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L195"}, {"id": "models_models_syspost", "label": "SysPost", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L221"}, {"id": "models_models_sysuserpost", "label": "SysUserPost", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L241"}, {"id": "models_models_bizitemunit", "label": "BizItemUnit", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L260"}, {"id": "models_models_bizexpresscompany", "label": "BizExpressCompany", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L279"}, {"id": "models_models_bizcustomer", "label": "BizCustomer", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L299"}, {"id": "models_models_bizcellsampletype", "label": "BizCellSampleType", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L322"}, {"id": "models_models_bizcollectionregion", "label": "BizCollectionRegion", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L345"}, {"id": "models_models_bizcollectionhospital", "label": "BizCollectionHospital", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L363"}, {"id": "models_models_bizcollectionprotocolno", "label": "BizCollectionProtocolNo", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L382"}, {"id": "models_models_bizbiznosequence", "label": "BizBizNoSequence", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L404"}, {"id": "models_models_bizsamplecode", "label": "BizSampleCode", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L424"}, {"id": "models_models_sysdicttype", "label": "SysDictType", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L452"}, {"id": "models_models_sysethnic", "label": "SysEthnic", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L471"}, {"id": "models_models_sysdictdata", "label": "SysDictData", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location"Line truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_work_order_py", "label": "qc_work_order.py", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L1"}, {"id": "crud_qc_work_order_resolve_outbound_biz_type_for_schedule", "label": "resolve_outbound_biz_type_for_schedule()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L95"}, {"id": "crud_qc_work_order_dec", "label": "_dec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L136"}, {"id": "crud_qc_work_order_fmt_dt", "label": "_fmt_dt()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L142"}, {"id": "crud_qc_work_order_normalize_date_bound", "label": "_normalize_date_bound()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L146"}, {"id": "crud_qc_work_order_reception_source_label", "label": "_reception_source_label()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L153"}, {"id": "crud_qc_work_order_qc_biz_type_label", "label": "_qc_biz_type_label()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L158"}, {"id": "crud_qc_work_order_work_order_qc_biz_type", "label": "_work_order_qc_biz_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L163"}, {"id": "crud_qc_work_order_validate_cell_product_id", "label": "_validate_cell_product_id()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L170"}, {"id": "crud_qc_work_order_enrich_work_order_cell_products", "label": "_enrich_work_order_cell_products()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L182"}, {"id": "crud_qc_work_order_enrich_work_order_step_outputs", "label": "_enrich_work_order_step_outputs()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L211"}, {"id": "crud_qc_work_order_enrich_work_order_qc_targets", "label": "_enrich_work_order_qc_targets()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L250"}, {"id": "crud_qc_work_order_enrich_outbound_work_orders", "label": "_enrich_outbound_work_orders()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L257"}, {"id": "crud_qc_work_order_outbound_qc_work_order_ids_by_keyword", "label": "_outbound_qc_work_order_ids_by_keyword()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L378"}, {"id": "crud_qc_work_order_inbound_qc_work_order_ids_by_mother_name", "label": "_inbound_qc_work_order_ids_by_mother_name()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L425"}, {"id": "crud_qc_work_order_accept_conclusion_label", "label": "_accept_conclusion_label()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L491"}, {"id": "crud_qc_work_order_load_sample_type_name_map", "label": "_load_sample_type_name_map()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L496"}, {"id": "crud_qc_work_order_effective_reception_source", "label": "_effective_reception_source()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L508"}, {"id": "crud_qc_work_order_effective_donation_sample_id", "label": "_effective_donation_sample_id()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L517"}, {"id": "crud_qc_work_order_effective_protocol_sample_id", "label": "_effective_protocol_sample_id()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L526"}, {"id": "crud_qc_work_order_sample_type_name_for_item", "label": "_sample_type_name_for_item()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py", "source_location": "L534"}, {"id": "crud_qc_work_order_sample_type_name_for_reception", "label": "_sample_type_name_for_reception()", "file_type": "code", "source_file": "/Users/wuzLine truncated
|
||||
File diff suppressed because it is too large.
Load diff
+1364
-1051
File diff suppressed because it is too large.
Load diff
@@ -1,11 +1,11 @@
|
||||
# Graph Report - app (2026-06-30)
|
||||
|
||||
## Corpus Check
|
||||
- Large corpus: 214 files · ~260,199 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
|
||||
- Large corpus: 214 files · ~260,355 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
|
||||
|
||||
## Summary
|
||||
- 4445 nodes · 23810 edges · 51 communities detected
|
||||
- Extraction: 32% EXTRACTED · 68% INFERRED · 0% AMBIGUOUS · INFERRED: 16176 edges (avg confidence: 0.59)
|
||||
- 4447 nodes · 23842 edges · 52 communities detected
|
||||
- Extraction: 32% EXTRACTED · 68% INFERRED · 0% AMBIGUOUS · INFERRED: 16206 edges (avg confidence: 0.59)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Community Hubs (Navigation)
|
||||
@@ -54,19 +54,20 @@
|
||||
- [[_COMMUNITY_Community 42|Community 42]]
|
||||
- [[_COMMUNITY_Community 43|Community 43]]
|
||||
- [[_COMMUNITY_Community 44|Community 44]]
|
||||
- [[_COMMUNITY_Community 47|Community 47]]
|
||||
- [[_COMMUNITY_Community 45|Community 45]]
|
||||
- [[_COMMUNITY_Community 48|Community 48]]
|
||||
- [[_COMMUNITY_Community 49|Community 49]]
|
||||
- [[_COMMUNITY_Community 50|Community 50]]
|
||||
- [[_COMMUNITY_Community 51|Community 51]]
|
||||
- [[_COMMUNITY_Community 52|Community 52]]
|
||||
- [[_COMMUNITY_Community 53|Community 53]]
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
1. `success_response()` - 668 edges
|
||||
2. `error_response()` - 552 edges
|
||||
3. `SysUser` - 479 edges
|
||||
3. `SysUser` - 480 edges
|
||||
4. `BizProductionMaterial` - 311 edges
|
||||
5. `BizQcTaskResult` - 309 edges
|
||||
5. `BizQcTaskResult` - 310 edges
|
||||
6. `BizProductionMaterialUsage` - 306 edges
|
||||
7. `BizQcMaterialUsage` - 303 edges
|
||||
8. `BizQcMaterial` - 294 edges
|
||||
@@ -78,259 +79,263 @@
|
||||
core/api_request_log_middleware.py → models/models.py
|
||||
- `get_menu_list()` --calls--> `success_response()` [INFERRED]
|
||||
api/menu.py → core/response.py
|
||||
- `中试服务体检管理 API(体检信息、预约项目、实际项目)` --uses--> `SysUser` [INFERRED]
|
||||
api/pilot_checkup.py → models/models.py
|
||||
- `保留匹配节点及其全部上级,供关键词检索后仍能正确组树。` --uses--> `SysDept` [INFERRED]
|
||||
crud/dept.py → models/models.py
|
||||
- `物品单位 CRUD(biz_item_unit)` --uses--> `BizItemUnit` [INFERRED]
|
||||
crud/item_unit.py → models/models.py
|
||||
- `快递公司 CRUD(biz_express_company)` --uses--> `BizExpressCompany` [INFERRED]
|
||||
crud/express_company.py → models/models.py
|
||||
|
||||
## Communities
|
||||
|
||||
### Community 0 - "Community 0"
|
||||
Cohesion: 0.01
|
||||
Nodes (908): attachment_download_url(), create_dept(), create_dict_data(), create_dict_type(), create_express_company(), create_item_unit(), create_menu(), create_post() (+900 more)
|
||||
Nodes (880): attachment_download_url(), create_dept(), create_dict_data(), create_dict_type(), create_express_company(), create_item_unit(), create_menu(), create_post() (+872 more)
|
||||
|
||||
### Community 1 - "Community 1"
|
||||
Cohesion: 0.01
|
||||
Nodes (616): AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, DictDataCreateBody, DictDataUpdateBody, DictTypeCreateBody, DictTypeUpdateBody, ExpressCompanyCreateBody (+608 more)
|
||||
Nodes (568): AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, DictDataCreateBody, DictDataUpdateBody, DictTypeCreateBody, DictTypeUpdateBody, ExpressCompanyCreateBody (+560 more)
|
||||
|
||||
### Community 2 - "Community 2"
|
||||
Cohesion: 0.01
|
||||
Nodes (334): _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() (+326 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (355): 环境检测 — 检测项维护 + 登记管理 API, 保险公司及险种价格管理 API(保险公司 + 开票信息 + 险种价格), AccessLogCreateBody, AccessLogUpdateBody, CleanRoomCreateBody, CleanRoomUpdateBody, ExhibitionAppointmentCreateBody, ExhibitionAppointmentUpdateBody (+347 more)
|
||||
|
||||
### Community 3 - "Community 3"
|
||||
Cohesion: 0.09
|
||||
Nodes (343): 环境检测 — 检测项维护 + 登记管理 API, 保险公司及险种价格管理 API(保险公司 + 开票信息 + 险种价格), Base, 将 BizMaterialUsage 行转换为字典(用于我的领用记录)。, 当前登录人的手动出库领用记录:领用人字段存昵称或用户 ID(与生产/质检一致)。, 获取当前用户的物料领用记录(手动出库记录) 筛选条件: - tenant_no = 当前用户租户 - source_type = 'm, 根据 usage_id / batch_id 补全登记行快照字段。, 输注计划出库交接 — 细胞产品状态与市场物料库存联动。 (+335 more)
|
||||
Cohesion: 0.01
|
||||
Nodes (275): _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() (+267 more)
|
||||
|
||||
### Community 4 - "Community 4"
|
||||
Cohesion: 0.01
|
||||
Nodes (303): generate_uuid(), batch_stock_in(), batch_stock_out(), consumable_code_exists(), create_consumable(), _dec(), get_consumable(), _is_enabled_status() (+295 more)
|
||||
Nodes (289): generate_uuid(), batch_stock_in(), batch_stock_out(), consumable_code_exists(), create_consumable(), _dec(), get_consumable(), _is_enabled_status() (+281 more)
|
||||
|
||||
### Community 5 - "Community 5"
|
||||
Cohesion: 0.07
|
||||
Nodes (244): CellSampleTypeCreateBody, CellSampleTypeUpdateBody, CollectionRegionCreateBody, CollectionRegionUpdateBody, CustomerCreateBody, CustomerUpdateBody, HospitalCreateBody, HospitalUpdateBody (+236 more)
|
||||
Cohesion: 0.05
|
||||
Nodes (229): CellSampleTypeCreateBody, CellSampleTypeUpdateBody, CollectionRegionCreateBody, CollectionRegionUpdateBody, CustomerCreateBody, CustomerUpdateBody, HospitalCreateBody, HospitalUpdateBody (+221 more)
|
||||
|
||||
### Community 6 - "Community 6"
|
||||
Cohesion: 0.02
|
||||
Nodes (205): api_get_checkup_detail(), get_protocol_nos_used_in_protocols(), create_dict_type(), dict_type_code_exists(), get_dict_type(), list_dict_types(), 字典类型 CRUD(sys_dict_type), _row_to_dict() (+197 more)
|
||||
Nodes (201): eq_unicode(), like_unicode(), MySQL 字符串比较/模糊匹配时统一排序规则,避免 Illegal mix of collations。, 跨表字符串等值比较(JOIN / WHERE)时统一为 utf8mb4_unicode_ci。, 将列显式设为 utf8mb4_unicode_ci。, unicode_ci(), batch_review(), _dec() (+193 more)
|
||||
|
||||
### Community 7 - "Community 7"
|
||||
Cohesion: 0.02
|
||||
Nodes (199): eq_unicode(), like_unicode(), MySQL 字符串比较/模糊匹配时统一排序规则,避免 Illegal mix of collations。, 跨表字符串等值比较(JOIN / WHERE)时统一为 utf8mb4_unicode_ci。, 将列显式设为 utf8mb4_unicode_ci。, unicode_ci(), batch_review(), _dec() (+191 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (193): BatchStockInBody, BatchStockInItem, BatchStockOutBody, BatchStockOutItem, ConsumableCreateBody, ConsumablePackCreateBody, ConsumablePackUpdateBody, ConsumableUpdateBody (+185 more)
|
||||
|
||||
### Community 8 - "Community 8"
|
||||
Cohesion: 0.02
|
||||
Nodes (125): get_designer_data(), _error_json(), 数据库异常:返回 JSON 并保留 CORS 头,避免浏览器只报跨域错误, 未捕获异常:统一 JSON 500,确保跨域场景下仍有 Access-Control-Allow-Origin, sqlalchemy_exception_handler(), unhandled_exception_handler(), BaseHTTPMiddleware, ApiCryptoError (+117 more)
|
||||
Nodes (113): get_designer_data(), _error_json(), 数据库异常:返回 JSON 并保留 CORS 头,避免浏览器只报跨域错误, 未捕获异常:统一 JSON 500,确保跨域场景下仍有 Access-Control-Allow-Origin, sqlalchemy_exception_handler(), unhandled_exception_handler(), BaseHTTPMiddleware, ApiCryptoError (+105 more)
|
||||
|
||||
### Community 9 - "Community 9"
|
||||
Cohesion: 0.03
|
||||
Nodes (179): batch_discard(), batch_options(), _batch_row_to_dict(), batch_stock_in(), batch_stock_out(), _create_batch_and_usage(), delete_batch(), _discard_batch() (+171 more)
|
||||
Cohesion: 0.02
|
||||
Nodes (143): _jwt_user_payload(), logout(), Web 端登录用 RSA 公钥(PKCS#1 v1.5,与 JSEncrypt 一致), Web 端登录:账号为 sys_user.user_no,密码为 sys_user.password(bcrypt)。, 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。, refresh_token(), web_login(), web_login_rsa_public_key() (+135 more)
|
||||
|
||||
### Community 10 - "Community 10"
|
||||
Cohesion: 0.04
|
||||
Nodes (124): AccessLogCreateBody, AccessLogUpdateBody, CleanRoomCreateBody, CleanRoomUpdateBody, ExhibitionAppointmentCreateBody, ExhibitionAppointmentUpdateBody, list_storage_slot_stats(), OccupancyCreateBody (+116 more)
|
||||
Cohesion: 0.03
|
||||
Nodes (147): batch_discard(), batch_options(), _batch_row_to_dict(), batch_stock_in(), batch_stock_out(), _create_batch_and_usage(), delete_batch(), _discard_batch() (+139 more)
|
||||
|
||||
### Community 11 - "Community 11"
|
||||
Cohesion: 0.06
|
||||
Nodes (71): get_next_cell_product_code(), _ancestor_link_from_cell_product_input(), _ancestor_sample_chain_link(), _apply_cell_product_status_change(), _build_ancestor_chain(), _build_descendant_chain(), _build_facility_path_label(), build_split_product_codes() (+63 more)
|
||||
Cohesion: 0.04
|
||||
Nodes (105): _body_to_payload(), _get_current_user_id(), get_production_reception_by_sample_code(), get_production_reception_detail(), _get_tenant_no(), post_production_reception(), put_production_reception(), _resolve_reception_id() (+97 more)
|
||||
|
||||
### Community 12 - "Community 12"
|
||||
Cohesion: 0.06
|
||||
Nodes (58): generate_id(), optional_date(), parse_date(), 将字符串 / date / datetime 转为 date 或 None, camel_to_snake(), get_model_attr(), HistoryCRUD, allocate_next_biz_no() (+50 more)
|
||||
Cohesion: 0.04
|
||||
Nodes (108): complete_application(), create_basic_experiment_sale_schedules(), create_infusion_plan(), create_schedule(), _create_schedule_products(), _format_yyyy_mm_dd(), _generate_application_no(), get_application() (+100 more)
|
||||
|
||||
### Community 13 - "Community 13"
|
||||
Cohesion: 0.07
|
||||
Nodes (49): _jwt_user_payload(), Web 端登录用 RSA 公钥(PKCS#1 v1.5,与 JSEncrypt 一致), Web 端登录:账号为 sys_user.user_no,密码为 sys_user.password(bcrypt)。, refresh_token(), web_login(), web_login_rsa_public_key(), lifespan(), create_access_token() (+41 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (64): aggregate_slot_stats_by_facility(), _apply_slot_select_base_filters(), _apply_slot_select_query_filters(), batch_create_slots(), _build_node_path_cache(), _build_slot_keyword_sql_filters(), clear_slots_by_facility_node(), collect_descendant_ids() (+56 more)
|
||||
|
||||
### Community 14 - "Community 14"
|
||||
Cohesion: 0.07
|
||||
Nodes (57): get_next_cell_product_code(), _ancestor_link_from_cell_product_input(), _ancestor_sample_chain_link(), _apply_cell_product_status_change(), _build_ancestor_chain(), _build_descendant_chain(), _build_facility_path_label(), build_split_product_codes() (+49 more)
|
||||
|
||||
### Community 15 - "Community 15"
|
||||
Cohesion: 0.07
|
||||
Nodes (31): 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(), update_cell_sample_type() (+23 more)
|
||||
|
||||
### Community 16 - "Community 16"
|
||||
Cohesion: 0.11
|
||||
Nodes (35): batch_create_sterilize_logs(), batch_create_wash_logs(), batch_discard_garments(), batch_soft_delete_garments(), _count_map(), create_garment(), create_sterilize_log(), create_wash_log() (+27 more)
|
||||
|
||||
### Community 15 - "Community 15"
|
||||
### Community 17 - "Community 17"
|
||||
Cohesion: 0.12
|
||||
Nodes (10): get_wechat_pay_client(), get_wechat_pay_v2(), 微信支付工具模块 支持微信支付 V3 API 文档参考: https://pay.weixin.qq.com/docs/v3/apis/index.ht, 统一下单接口 (V3) Args: out_trade_no: 商户订单号 total, 小程序调起支付的二次签名参数(与公众号 JSAPI 规则一致), 统一下单 (V2 API) Args: out_trade_no: 商户订单号 tot, 生成签名 V3 (SHA256 with RSA), wechat_pay() (+2 more)
|
||||
|
||||
### Community 16 - "Community 16"
|
||||
### Community 18 - "Community 18"
|
||||
Cohesion: 0.15
|
||||
Nodes (20): _access_log_to_dict(), _calc_duration_minutes(), create_access_log(), create_clean_room(), create_uv_disinfect_log(), get_access_log(), get_clean_room(), get_uv_disinfect_log() (+12 more)
|
||||
|
||||
### Community 19 - "Community 19"
|
||||
Cohesion: 0.2
|
||||
Nodes (19): _code_exists(), create_material(), _dec(), _fmt_dt(), get_material(), get_material_entity(), get_my_usages(), _is_enabled_status() (+11 more)
|
||||
|
||||
### Community 17 - "Community 17"
|
||||
Cohesion: 0.15
|
||||
Nodes (16): 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(), update_cell_sample_type() (+8 more)
|
||||
|
||||
### Community 18 - "Community 18"
|
||||
Cohesion: 0.21
|
||||
Nodes (15): batch_generate_protocol_nos(), batch_issue_protocol_nos(), batch_revoke_protocol_nos(), create_protocol_no(), get_protocol_no(), list_protocol_nos(), _parse_issued_time(), protocol_no_exists() (+7 more)
|
||||
|
||||
### Community 19 - "Community 19"
|
||||
Cohesion: 0.22
|
||||
Nodes (14): batch_generate_sample_codes(), batch_issue_sample_codes(), batch_revoke_sample_codes(), create_sample_code(), get_sample_code(), list_sample_codes(), _parse_issued_time(), 样本编码池 CRUD(biz_sample_code) (+6 more)
|
||||
|
||||
### Community 20 - "Community 20"
|
||||
Cohesion: 0.24
|
||||
Nodes (9): 微信消息通知服务 支持微信小程序模板消息推送 使用方式: from app.core.wechat_message import Wech, 发送模板消息 Args: openid: 用户openid templ, send_delivery_notice(), send_delivery_warning(), send_order_status(), send_payment_success(), send_refund_result(), send_urge_notification() (+1 more)
|
||||
Cohesion: 0.22
|
||||
Nodes (13): create_collection_region(), create_hospital(), get_collection_region(), get_hospital(), _hospital_names_by_region_ids(), _hospital_to_dict(), list_collection_regions(), list_hospitals() (+5 more)
|
||||
|
||||
### Community 21 - "Community 21"
|
||||
Cohesion: 0.23
|
||||
Nodes (12): Config, ProductBase, ProductCategoryBase, ProductCategoryCreate, ProductCategoryResponse, ProductCreate, ProductResponse, ProductUnitBase (+4 more)
|
||||
Cohesion: 0.25
|
||||
Nodes (13): batch_issue_protocol_nos(), batch_revoke_protocol_nos(), create_protocol_no(), get_protocol_no(), list_protocol_nos(), _parse_issued_time(), protocol_no_exists(), 采集协议号池 CRUD(biz_collection_protocol_no) (+5 more)
|
||||
|
||||
### Community 22 - "Community 22"
|
||||
Cohesion: 0.26
|
||||
Nodes (11): create_collection_region(), create_hospital(), get_collection_region(), get_hospital(), _hospital_to_dict(), list_hospitals(), search_hospitals_by_keyword(), soft_delete_collection_region() (+3 more)
|
||||
Nodes (12): batch_issue_sample_codes(), batch_revoke_sample_codes(), create_sample_code(), get_sample_code(), list_sample_codes(), _parse_issued_time(), 样本编码池 CRUD(biz_sample_code), _resolve_issued_user_display_name() (+4 more)
|
||||
|
||||
### Community 23 - "Community 23"
|
||||
Cohesion: 0.27
|
||||
Nodes (11): create_consumable_pack(), get_consumable_pack(), get_pack_detail(), _item_row_to_dict(), list_all_packs(), list_consumable_packs(), pack_code_exists(), 耗材包 CRUD(biz_consumable_pack + biz_consumable_pack_item) (+3 more)
|
||||
Nodes (12): create_equipment(), _dec(), equipment_code_exists(), equipment_is_referenced(), get_equipment(), list_equipments(), _norm_status(), _parse_date() (+4 more)
|
||||
|
||||
### Community 24 - "Community 24"
|
||||
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)
|
||||
Nodes (9): 微信消息通知服务 支持微信小程序模板消息推送 使用方式: from app.core.wechat_message import Wech, 发送模板消息 Args: openid: 用户openid templ, send_delivery_notice(), send_delivery_warning(), send_order_status(), send_payment_success(), send_refund_result(), send_urge_notification() (+1 more)
|
||||
|
||||
### Community 25 - "Community 25"
|
||||
Cohesion: 0.23
|
||||
Nodes (10): create_dict_data(), get_dict_data(), is_dict_value_valid(), list_dict_data(), list_dict_data_options(), normalize_transfer_type(), 字典数据 CRUD(sys_dict_data), _row_to_dict() (+2 more)
|
||||
Cohesion: 0.27
|
||||
Nodes (11): create_consumable_pack(), get_consumable_pack(), get_pack_detail(), _item_row_to_dict(), list_all_packs(), list_consumable_packs(), pack_code_exists(), 耗材包 CRUD(biz_consumable_pack + biz_consumable_pack_item) (+3 more)
|
||||
|
||||
### Community 26 - "Community 26"
|
||||
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)
|
||||
Nodes (12): appointment_no_exists(), create_exhibition_appointment(), _format_visit_date(), _generate_appointment_no(), get_exhibition_appointment(), list_exhibition_appointments(), 展览预约 CRUD(biz_exhibition_appointment), 生成预约编号:YYYYMMDD + 6位序号(如 20260515000001) (+4 more)
|
||||
|
||||
### Community 27 - "Community 27"
|
||||
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 28 - "Community 28"
|
||||
Cohesion: 0.23
|
||||
Nodes (10): create_dict_data(), get_dict_data(), is_dict_value_valid(), list_dict_data(), list_dict_data_options(), normalize_transfer_type(), 字典数据 CRUD(sys_dict_data), _row_to_dict() (+2 more)
|
||||
|
||||
### Community 29 - "Community 29"
|
||||
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 30 - "Community 30"
|
||||
Cohesion: 0.27
|
||||
Nodes (11): _build_tree(), _cascade_soft_delete(), _collect_with_ancestors(), create_dept(), get_dept(), list_depts(), list_depts_tree(), 保留匹配节点及其全部上级,供关键词检索后仍能正确组树。 (+3 more)
|
||||
|
||||
### Community 28 - "Community 28"
|
||||
### Community 31 - "Community 31"
|
||||
Cohesion: 0.32
|
||||
Nodes (11): create_env_detect_record(), _generate_record_no(), get_env_detect_record(), _join_csv(), list_env_detect_records(), _resolve_inspector_snapshots(), _resolve_item_snapshot(), _row_to_dict() (+3 more)
|
||||
|
||||
### Community 32 - "Community 32"
|
||||
Cohesion: 0.29
|
||||
Nodes (9): _build_tree(), _cascade_soft_delete(), create_menu(), get_menu(), list_menus(), list_menus_tree(), _row_to_dict(), soft_delete_menu() (+1 more)
|
||||
|
||||
### Community 29 - "Community 29"
|
||||
Cohesion: 0.27
|
||||
Nodes (8): create_customer(), get_customer(), id_card_taken(), list_customers(), 客户 CRUD(biz_customer), _row_to_dict(), soft_delete_customer(), update_customer()
|
||||
|
||||
### Community 30 - "Community 30"
|
||||
### Community 33 - "Community 33"
|
||||
Cohesion: 0.38
|
||||
Nodes (9): create_check_item(), get_check_item(), item_code_exists(), list_active_check_items(), list_check_items(), _order_query(), _row_to_dict(), soft_delete_check_item() (+1 more)
|
||||
|
||||
### Community 31 - "Community 31"
|
||||
### Community 34 - "Community 34"
|
||||
Cohesion: 0.38
|
||||
Nodes (9): create_env_detect_item(), get_env_detect_item(), item_code_exists(), list_active_env_detect_items(), list_env_detect_items(), _order_query(), _row_to_dict(), soft_delete_env_detect_item() (+1 more)
|
||||
|
||||
### Community 32 - "Community 32"
|
||||
Cohesion: 0.31
|
||||
Nodes (8): category_code_exists(), create_process_category(), get_process_category(), list_process_categories(), 工艺工序分类 CRUD(biz_process_category), _row_to_dict(), soft_delete_process_category(), update_process_category()
|
||||
|
||||
### Community 33 - "Community 33"
|
||||
### Community 35 - "Community 35"
|
||||
Cohesion: 0.31
|
||||
Nodes (8): create_item_unit(), get_item_unit(), list_item_units(), 物品单位 CRUD(biz_item_unit), _row_to_dict(), soft_delete_item_unit(), unit_code_exists(), update_item_unit()
|
||||
|
||||
### Community 34 - "Community 34"
|
||||
### Community 36 - "Community 36"
|
||||
Cohesion: 0.31
|
||||
Nodes (8): create_output_type(), get_output_type(), list_output_types(), 工艺产出物类型 CRUD(biz_output_type), _row_to_dict(), soft_delete_output_type(), type_code_exists(), update_output_type()
|
||||
|
||||
### Community 35 - "Community 35"
|
||||
Cohesion: 0.36
|
||||
Nodes (7): create_post(), get_post(), list_posts(), post_code_exists(), _row_to_dict(), soft_delete_post(), update_post()
|
||||
|
||||
### Community 36 - "Community 36"
|
||||
### Community 37 - "Community 37"
|
||||
Cohesion: 0.36
|
||||
Nodes (7): create_tenant(), get_tenant(), list_tenants(), _row_to_dict(), soft_delete_tenant(), tenant_no_exists(), update_tenant()
|
||||
|
||||
### Community 37 - "Community 37"
|
||||
### Community 38 - "Community 38"
|
||||
Cohesion: 0.36
|
||||
Nodes (7): create_site(), get_site(), list_sites(), _row_to_dict(), site_code_exists(), soft_delete_site(), update_site()
|
||||
|
||||
### Community 38 - "Community 38"
|
||||
### Community 39 - "Community 39"
|
||||
Cohesion: 0.29
|
||||
Nodes (2): BaseModel, SoftDeleteModel
|
||||
|
||||
### Community 39 - "Community 39"
|
||||
### Community 40 - "Community 40"
|
||||
Cohesion: 0.38
|
||||
Nodes (6): derive_legacy_status_from_three(), derive_three_status_from_legacy(), 阶段A兼容:从旧 status 推导三字段。 约束:旧 status 本身混合了支付/配送/订单生命周期,因此只能尽力推断; 若业务侧已有更精确, 阶段A兼容:从三字段反推旧 status(用于旧前端/旧筛选参数兼容)。, ThreeStatus, _to_decimal()
|
||||
|
||||
### Community 40 - "Community 40"
|
||||
### Community 41 - "Community 41"
|
||||
Cohesion: 0.5
|
||||
Nodes (3): BaseSettings, Config, Settings
|
||||
|
||||
### Community 41 - "Community 41"
|
||||
### Community 42 - "Community 42"
|
||||
Cohesion: 0.5
|
||||
Nodes (2): _auto_fill_create_dept_id(), ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID
|
||||
|
||||
### Community 42 - "Community 42"
|
||||
### Community 43 - "Community 43"
|
||||
Cohesion: 0.67
|
||||
Nodes (2): get_menu_list(), 运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,5 个一级菜单分组)
|
||||
|
||||
### Community 43 - "Community 43"
|
||||
### Community 44 - "Community 44"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): 请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传
|
||||
|
||||
### Community 44 - "Community 44"
|
||||
### Community 45 - "Community 45"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)
|
||||
|
||||
### Community 47 - "Community 47"
|
||||
### Community 48 - "Community 48"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): 发送订单状态通知 Args: openid: 用户openid ord
|
||||
|
||||
### Community 48 - "Community 48"
|
||||
### Community 49 - "Community 49"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): 发送支付成功通知 Args: openid: 用户openid ord
|
||||
|
||||
### Community 49 - "Community 49"
|
||||
### Community 50 - "Community 50"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): 发送配送通知 Args: openid: 配送员openid task
|
||||
|
||||
### Community 50 - "Community 50"
|
||||
### Community 51 - "Community 51"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): 发送配送时效预警 Args: openid: 配送员openid ta
|
||||
|
||||
### Community 51 - "Community 51"
|
||||
### Community 52 - "Community 52"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): 发送退款结果通知 Args: openid: 用户openid ord
|
||||
|
||||
### Community 52 - "Community 52"
|
||||
### Community 53 - "Community 53"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): 发送催单通知给配送员 Args: deliver_openid: 配送员openid
|
||||
|
||||
## Knowledge Gaps
|
||||
- **132 isolated node(s):** `刷新会话 TTL(refreshToken 续期;已登录用户每次 API 校验通过后滑动续期)`, `写入 refreshToken(用于 one-time 使用/吊销)`, `根据 token 获取当前用户(包含 Redis 会话校验;会话滑动续期)`, `登录凭据 RSA 解密(与前端 JSEncrypt PKCS#1 v1.5 兼容)。`, `加载 RSA 密钥对:优先环境变量,否则使用内置固定默认密钥。` (+127 more)
|
||||
These have ≤1 connection - possible missing edges or undocumented components.
|
||||
- **Thin community `Community 38`** (8 nodes): `BaseModel`, `.to_dict()`, `get_active()`, `base.py`, `SoftDeleteModel`, `.restore()`, `.soft_delete()`, `__tablename__()`
|
||||
- **Thin community `Community 39`** (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 41`** (4 nodes): `_auto_fill_create_dept_id()`, `get_db()`, `database.py`, `ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID`
|
||||
- **Thin community `Community 42`** (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 42`** (3 nodes): `get_menu_list()`, `menu.py`, `运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,5 个一级菜单分组)`
|
||||
- **Thin community `Community 43`** (3 nodes): `get_menu_list()`, `menu.py`, `运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,5 个一级菜单分组)`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 43`** (2 nodes): `context.py`, `请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传`
|
||||
- **Thin community `Community 44`** (2 nodes): `context.py`, `请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 44`** (2 nodes): `__init__.py`, `API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)`
|
||||
- **Thin community `Community 45`** (2 nodes): `__init__.py`, `API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 47`** (1 nodes): `发送订单状态通知 Args: openid: 用户openid ord`
|
||||
- **Thin community `Community 48`** (1 nodes): `发送订单状态通知 Args: openid: 用户openid ord`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 48`** (1 nodes): `发送支付成功通知 Args: openid: 用户openid ord`
|
||||
- **Thin community `Community 49`** (1 nodes): `发送支付成功通知 Args: openid: 用户openid ord`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 49`** (1 nodes): `发送配送通知 Args: openid: 配送员openid task`
|
||||
- **Thin community `Community 50`** (1 nodes): `发送配送通知 Args: openid: 配送员openid task`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 50`** (1 nodes): `发送配送时效预警 Args: openid: 配送员openid ta`
|
||||
- **Thin community `Community 51`** (1 nodes): `发送配送时效预警 Args: openid: 配送员openid ta`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 51`** (1 nodes): `发送退款结果通知 Args: openid: 用户openid ord`
|
||||
- **Thin community `Community 52`** (1 nodes): `发送退款结果通知 Args: openid: 用户openid ord`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 52`** (1 nodes): `发送催单通知给配送员 Args: deliver_openid: 配送员openid`
|
||||
- **Thin community `Community 53`** (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 1` to `Community 0`, `Community 2`, `Community 3`, `Community 5`, `Community 6`, `Community 7`, `Community 9`, `Community 10`, `Community 13`, `Community 18`, `Community 19`, `Community 24`, `Community 26`?**
|
||||
_High betweenness centrality (0.101) - this node is a cross-community bridge._
|
||||
- **Why does `generate_uuid()` connect `Community 4` to `Community 0`, `Community 2`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 16`, `Community 17`, `Community 18`, `Community 19`, `Community 22`, `Community 23`, `Community 24`, `Community 25`, `Community 26`, `Community 27`, `Community 28`, `Community 29`, `Community 30`, `Community 31`, `Community 32`, `Community 33`, `Community 34`, `Community 35`, `Community 36`, `Community 37`?**
|
||||
_High betweenness centrality (0.072) - this node is a cross-community bridge._
|
||||
- **Why does `success_response()` connect `Community 0` to `Community 1`, `Community 2`, `Community 6`, `Community 8`, `Community 10`, `Community 42`, `Community 11`, `Community 13`?**
|
||||
_High betweenness centrality (0.065) - this node is a cross-community bridge._
|
||||
- **Why does `SysUser` connect `Community 1` to `Community 2`, `Community 3`, `Community 5`, `Community 6`, `Community 7`, `Community 9`, `Community 10`, `Community 21`, `Community 22`, `Community 27`, `Community 29`?**
|
||||
_High betweenness centrality (0.121) - this node is a cross-community bridge._
|
||||
- **Why does `generate_uuid()` connect `Community 4` to `Community 0`, `Community 3`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 15`, `Community 16`, `Community 18`, `Community 19`, `Community 20`, `Community 21`, `Community 22`, `Community 23`, `Community 25`, `Community 26`, `Community 27`, `Community 28`, `Community 29`, `Community 30`, `Community 31`, `Community 32`, `Community 33`, `Community 34`, `Community 35`, `Community 36`, `Community 37`, `Community 38`?**
|
||||
_High betweenness centrality (0.060) - this node is a cross-community bridge._
|
||||
- **Why does `success_response()` connect `Community 0` to `Community 1`, `Community 3`, `Community 5`, `Community 8`, `Community 9`, `Community 11`, `Community 43`, `Community 14`?**
|
||||
_High betweenness centrality (0.057) - this node is a cross-community bridge._
|
||||
- **Are the 729 inferred relationships involving `str` (e.g. with `unhandled_exception_handler()` and `get_current_user_by_token()`) actually correct?**
|
||||
_`str` has 729 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 667 inferred relationships involving `success_response()` (e.g. with `list_storage_release_reviews()` and `get_storage_release_review_detail()`) actually correct?**
|
||||
_`success_response()` has 667 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 551 inferred relationships involving `error_response()` (e.g. with `_json_error_response()` and `list_storage_release_reviews()`) actually correct?**
|
||||
_`error_response()` has 551 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 477 inferred relationships involving `SysUser` (e.g. with `数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3` and `从 SysUser 读取用户的 dept_id。`) actually correct?**
|
||||
_`SysUser` has 477 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 478 inferred relationships involving `SysUser` (e.g. with `数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3` and `从 SysUser 读取用户的 dept_id。`) actually correct?**
|
||||
_`SysUser` has 478 INFERRED edges - model-reasoned connections that need verification._
|
||||
@@ -57,12 +57,12 @@
|
||||
</div>
|
||||
<div id="legend"></div>
|
||||
</div>
|
||||
<div id="stats">4445 nodes · 23810 edges · 57 communities</div>
|
||||
<div id="stats">4447 nodes · 23842 edges · 58 communities</div>
|
||||
</div>
|
||||
<script>
|
||||
const RAW_NODES = [{"id": "init_py", "label": "__init__.py", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 45, "community_name": "Community 45", "source_file": "__init__.py", "file_type": "code", "degree": 0}, {"id": "main_py", "label": "main.py", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "main.py", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "code", "degree": 7}, {"id": "app_main_lifespan", "label": "lifespan()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "lifespan()", "community": 13, "community_name": "Community 13", "source_file": "main.py", "file_type": "code", "degree": 4}, {"id": "app_main_error_json", "label": "_error_json()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "_error_json()", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "code", "degree": 3}, {"id": "app_main_sqlalchemy_exception_handler", "label": "sqlalchemy_exception_handler()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "sqlalchemy_exception_handler()", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "code", "degree": 4}, {"id": "app_main_unhandled_exception_handler", "label": "unhandled_exception_handler()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "unhandled_exception_handler()", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "code", "degree": 5}, {"id": "app_main_mask_secret", "label": "_mask_secret()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "_mask_secret()", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "code", "degree": 1}, {"id": "app_main_root", "label": "root()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "root()", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "code", "degree": 1}, {"id": "app_main_health_check", "label": "health_check()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "health_check()", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "code", "degree": 1}, {"id": "app_main_rationale_81", "label": "\u6570\u636e\u5e93\u5f02\u5e38\uff1a\u8fd4\u56de JSON \u5e76\u4fdd\u7559 CORS \u5934\uff0c\u907f\u514d\u6d4f\u89c8\u5668\u53ea\u62a5\u8de8\u57df\u9519\u8bef", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "\u6570\u636e\u5e93\u5f02\u5e38\uff1a\u8fd4\u56de JSON \u5e76\u4fdd\u7559 CORS \u5934\uff0c\u907f\u514d\u6d4f\u89c8\u5668\u53ea\u62a5\u8de8\u57df\u9519\u8bef", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "rationale", "degree": 3}, {"id": "app_main_rationale_92", "label": "\u672a\u6355\u83b7\u5f02\u5e38\uff1a\u7edf\u4e00 JSON 500\uff0c\u786e\u4fdd\u8de8\u57df\u573a\u666f\u4e0b\u4ecd\u6709 Access-Control-Allow-Origin", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "\u672a\u6355\u83b7\u5f02\u5e38\uff1a\u7edf\u4e00 JSON 500\uff0c\u786e\u4fdd\u8de8\u57df\u573a\u666f\u4e0b\u4ecd\u6709 Access-Control-Allow-Origin", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "rationale", "degree": 3}, {"id": "tasks_init_py", "label": "__init__.py", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 13, "community_name": "Community 13", "source_file": "tasks/__init__.py", "file_type": "code", Line truncated
|
||||
const RAW_EDGES = [{"from": "main_py", "to": "app_main_lifespan", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_error_json", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_sqlalchemy_exception_handler", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_unhandled_exception_handler", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_mask_secret", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_root", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_health_check", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_lifespan", "to": "core_login_crypto_ensure_initialized", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_lifespan", "to": "tasks_init_init_scheduled_tasks", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_lifespan", "to": "tasks_init_shutdown_scheduler", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_error_json", "to": "app_main_sqlalchemy_exception_handler", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_error_json", "to": "app_main_unhandled_exception_handler", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_sqlalchemy_exception_handler", "to": "app_main_rationale_81", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_sqlalchemy_exception_handler", "to": "exception", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_unhandled_exception_handler", "to": "app_main_rationale_92", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_unhandled_exception_handler", "to": "exception", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_unhandled_exception_handler", "to": "str", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_rationale_81", "to": "core_api_request_log_middleware_apirequestlogmiddleware", "label": "uses", "title": "uses [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_rationale_81", "to": "core_api_crypto_middleware_apicryptomiddleware", "label": "uses", "title": "uses [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_rationale_92", "to": "core_api_request_log_middleware_apirequestlogmiddleware", "label": "uses", "title": "uses [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_rationale_92", "to": "core_api_crypto_middleware_apicryptomiddleware", "label": "uses", "title": "uses [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "tasks_init_py", "to": "tasks_init_init_scheduled_tasks", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "tasks_init_py", "to": "tasks_init_shutdown_scheduler", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_redis_session_enabled", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_get_redis_client", "labeLine truncated
|
||||
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Community 0", "count": 948}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 663}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 378}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 348}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 327}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 245}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 225}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 212}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 196}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 190}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 129}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 75}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 70}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 58}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 38}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 29}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 20}, {"cid": 17, "color": "#FF9DA7", "label": "Community 17", "count": 20}, {"cid": 18, "color": "#9C755F", "label": "Community 18", "count": 17}, {"cid": 19, "color": "#BAB0AC", "label": "Community 19", "count": 16}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 13}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 13}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 13}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 13}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 12}, {"cid": 25, "color": "#EDC948", "label": "Community 25", "count": 12}, {"cid": 26, "color": "#B07AA1", "label": "Community 26", "count": 12}, {"cid": 27, "color": "#FF9DA7", "label": "Community 27", "count": 12}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 11}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 11}, {"cid": 30, "color": "#4E79A7", "label": "Community 30", "count": 10}, {"cid": 31, "color": "#F28E2B", "label": "Community 31", "count": 10}, {"cid": 32, "color": "#E15759", "label": "Community 32", "count": 10}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 10}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 10}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 9}, {"cid": 36, "color": "#B07AA1", "label": "Community 36", "count": 9}, {"cid": 37, "color": "#FF9DA7", "label": "Community 37", "count": 9}, {"cid": 38, "color": "#9C755F", "label": "Community 38", "count": 8}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 7}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 4}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 4}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 3}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 2}, {"cid": 44, "color": "#59A14F", "label": "Community 44", "count": 2}, {"cid": 45, "color": "#EDC948", "label": "Community 45", "count": 1}, {"cid": 46, "color": "#B07AA1", "label": "Community 46", "count": 1}, {"cid": 47, "color": "#FF9DA7", "label": "Community 47", "count": 1}, {"cid": 48, "color": "#9C755F", "label": "Community 48", "count": 1}, {"cid": 49, "color": "#BAB0AC", "label": "Community 49", "count": 1}, {"cid": 50, "color": "#4E79A7", "label": "Community 50", "count": 1}, {"cid": 51, "color": "#F28E2B", "label": "Community 51", "count": 1}, {"cid": 52, "color": "#E15759", "label": "Community 52", "count": 1}, {"cid": 53, "color": "#76B7B2", "label": "Community 53", "count": 1}, {"cid": 54, "color": "#59A14F", "label": "Community 54", "count": 1}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 1}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 1}, {"cid": 57, "color": "#FF9DA7", "label": "Community 57", "count": 0}, {"cid": 58, "color": "#9C755F", "label": "Community 58", "count": 0}];
|
||||
const RAW_NODES = [{"id": "init_py", "label": "__init__.py", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 46, "community_name": "Community 46", "source_file": "__init__.py", "file_type": "code", "degree": 0}, {"id": "main_py", "label": "main.py", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "main.py", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "code", "degree": 7}, {"id": "app_main_lifespan", "label": "lifespan()", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "lifespan()", "community": 9, "community_name": "Community 9", "source_file": "main.py", "file_type": "code", "degree": 4}, {"id": "app_main_error_json", "label": "_error_json()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "_error_json()", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "code", "degree": 3}, {"id": "app_main_sqlalchemy_exception_handler", "label": "sqlalchemy_exception_handler()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "sqlalchemy_exception_handler()", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "code", "degree": 4}, {"id": "app_main_unhandled_exception_handler", "label": "unhandled_exception_handler()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "unhandled_exception_handler()", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "code", "degree": 5}, {"id": "app_main_mask_secret", "label": "_mask_secret()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "_mask_secret()", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "code", "degree": 1}, {"id": "app_main_root", "label": "root()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "root()", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "code", "degree": 1}, {"id": "app_main_health_check", "label": "health_check()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "health_check()", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "code", "degree": 1}, {"id": "app_main_rationale_81", "label": "\u6570\u636e\u5e93\u5f02\u5e38\uff1a\u8fd4\u56de JSON \u5e76\u4fdd\u7559 CORS \u5934\uff0c\u907f\u514d\u6d4f\u89c8\u5668\u53ea\u62a5\u8de8\u57df\u9519\u8bef", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "\u6570\u636e\u5e93\u5f02\u5e38\uff1a\u8fd4\u56de JSON \u5e76\u4fdd\u7559 CORS \u5934\uff0c\u907f\u514d\u6d4f\u89c8\u5668\u53ea\u62a5\u8de8\u57df\u9519\u8bef", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "rationale", "degree": 3}, {"id": "app_main_rationale_92", "label": "\u672a\u6355\u83b7\u5f02\u5e38\uff1a\u7edf\u4e00 JSON 500\uff0c\u786e\u4fdd\u8de8\u57df\u573a\u666f\u4e0b\u4ecd\u6709 Access-Control-Allow-Origin", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "\u672a\u6355\u83b7\u5f02\u5e38\uff1a\u7edf\u4e00 JSON 500\uff0c\u786e\u4fdd\u8de8\u57df\u573a\u666f\u4e0b\u4ecd\u6709 Access-Control-Allow-Origin", "community": 8, "community_name": "Community 8", "source_file": "main.py", "file_type": "rationale", "degree": 3}, {"id": "tasks_init_py", "label": "__init__.py", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 9, "community_name": "Community 9", "source_file": "tasks/__init__.py", "file_type": "code", "degLine truncated
|
||||
const RAW_EDGES = [{"from": "main_py", "to": "app_main_lifespan", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_error_json", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_sqlalchemy_exception_handler", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_unhandled_exception_handler", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_mask_secret", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_root", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_health_check", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_lifespan", "to": "core_login_crypto_ensure_initialized", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_lifespan", "to": "tasks_init_init_scheduled_tasks", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_lifespan", "to": "tasks_init_shutdown_scheduler", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_error_json", "to": "app_main_sqlalchemy_exception_handler", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_error_json", "to": "app_main_unhandled_exception_handler", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_sqlalchemy_exception_handler", "to": "app_main_rationale_81", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_sqlalchemy_exception_handler", "to": "exception", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_unhandled_exception_handler", "to": "app_main_rationale_92", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_unhandled_exception_handler", "to": "exception", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_unhandled_exception_handler", "to": "str", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_rationale_81", "to": "core_api_request_log_middleware_apirequestlogmiddleware", "label": "uses", "title": "uses [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_rationale_81", "to": "core_api_crypto_middleware_apicryptomiddleware", "label": "uses", "title": "uses [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_rationale_92", "to": "core_api_request_log_middleware_apirequestlogmiddleware", "label": "uses", "title": "uses [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_rationale_92", "to": "core_api_crypto_middleware_apicryptomiddleware", "label": "uses", "title": "uses [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "tasks_init_py", "to": "tasks_init_init_scheduled_tasks", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "tasks_init_py", "to": "tasks_init_shutdown_scheduler", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_redis_session_enabled", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_get_redis_client", "labeLine truncated
|
||||
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Community 0", "count": 917}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 614}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 360}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 315}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 314}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 238}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 214}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 196}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 182}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 166}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 157}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 118}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 114}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 66}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 60}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 39}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 38}, {"cid": 17, "color": "#FF9DA7", "label": "Community 17", "count": 29}, {"cid": 18, "color": "#9C755F", "label": "Community 18", "count": 22}, {"cid": 19, "color": "#BAB0AC", "label": "Community 19", "count": 20}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 15}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 15}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 14}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 14}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 13}, {"cid": 25, "color": "#EDC948", "label": "Community 25", "count": 13}, {"cid": 26, "color": "#B07AA1", "label": "Community 26", "count": 13}, {"cid": 27, "color": "#FF9DA7", "label": "Community 27", "count": 12}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 12}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 12}, {"cid": 30, "color": "#4E79A7", "label": "Community 30", "count": 12}, {"cid": 31, "color": "#F28E2B", "label": "Community 31", "count": 12}, {"cid": 32, "color": "#E15759", "label": "Community 32", "count": 11}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 10}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 10}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 10}, {"cid": 36, "color": "#B07AA1", "label": "Community 36", "count": 10}, {"cid": 37, "color": "#FF9DA7", "label": "Community 37", "count": 9}, {"cid": 38, "color": "#9C755F", "label": "Community 38", "count": 9}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 8}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 7}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 4}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 4}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 3}, {"cid": 44, "color": "#59A14F", "label": "Community 44", "count": 2}, {"cid": 45, "color": "#EDC948", "label": "Community 45", "count": 2}, {"cid": 46, "color": "#B07AA1", "label": "Community 46", "count": 1}, {"cid": 47, "color": "#FF9DA7", "label": "Community 47", "count": 1}, {"cid": 48, "color": "#9C755F", "label": "Community 48", "count": 1}, {"cid": 49, "color": "#BAB0AC", "label": "Community 49", "count": 1}, {"cid": 50, "color": "#4E79A7", "label": "Community 50", "count": 1}, {"cid": 51, "color": "#F28E2B", "label": "Community 51", "count": 1}, {"cid": 52, "color": "#E15759", "label": "Community 52", "count": 1}, {"cid": 53, "color": "#76B7B2", "label": "Community 53", "count": 1}, {"cid": 54, "color": "#59A14F", "label": "Community 54", "count": 1}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 1}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 1}, {"cid": 57, "color": "#FF9DA7", "label": "Community 57", "count": 1}, {"cid": 58, "color": "#9C755F", "label": "Community 58", "count": 0}];
|
||||
|
||||
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
|
||||
function esc(s) {
|
||||
|
||||
+4404
-4002
File diff suppressed because it is too large.
Load diff
@@ -28,7 +28,7 @@
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/material.py": 1781427174.243315,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/production_material.py": 1782404882.9262497,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/qc_param.py": 1782379593.174925,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py": 1782718919.3843675,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py": 1782803028.1079507,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/cleanroom_garment.py": 1781347080.6165943,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/__init__.py": 1781344070.5899634,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/research_donation.py": 1780458012.8329656,
|
||||
@@ -139,7 +139,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": 1782719526.9249575,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py": 1782802295.3748794,
|
||||
"/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": 1782376492.2365673,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/outbound_release_material.py": 1781612877.0137436,
|
||||
@@ -174,7 +174,7 @@
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/public.py": 1782122639.96012,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/material.py": 1781522000.6097813,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/production_material.py": 1782404982.2474263,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/qc.py": 1782603414.9912539,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/qc.py": 1782802297.5818124,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/market.py": 1781522283.6823432,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/sample_production_reception.py": 1782718998.90251,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/collection_protocol.py": 1782747504.4073274,
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -13851,42 +13851,42 @@
|
||||
"label": "parseTaskAttachmentsFromUrls()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/useTaskStepEditor.ts",
|
||||
"source_location": "L55"
|
||||
"source_location": "L67"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_usetaskstepeditor_toapiflag",
|
||||
"label": "toApiFlag()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/useTaskStepEditor.ts",
|
||||
"source_location": "L65"
|
||||
"source_location": "L77"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_usetaskstepeditor_fromapiflag",
|
||||
"label": "fromApiFlag()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/useTaskStepEditor.ts",
|
||||
"source_location": "L69"
|
||||
"source_location": "L81"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_usetaskstepeditor_normalizestepsubtables",
|
||||
"label": "normalizeStepSubTables()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/useTaskStepEditor.ts",
|
||||
"source_location": "L72"
|
||||
"source_location": "L84"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_usetaskstepeditor_parseordernum",
|
||||
"label": "parseOrderNum()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/useTaskStepEditor.ts",
|
||||
"source_location": "L99"
|
||||
"source_location": "L111"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_usetaskstepeditor_usetaskstepeditor",
|
||||
"label": "useTaskStepEditor()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/useTaskStepEditor.ts",
|
||||
"source_location": "L106"
|
||||
"source_location": "L118"
|
||||
},
|
||||
{
|
||||
"id": "views_production_production_work_order_stepdetailpanel_vue",
|
||||
@@ -14054,28 +14054,56 @@
|
||||
"label": "onStepListDrop()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L591"
|
||||
"source_location": "L631"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_taskexecutiondialog_handleforwardsuccess",
|
||||
"label": "handleForwardSuccess()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L596"
|
||||
"source_location": "L636"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_taskexecutiondialog_handleclose",
|
||||
"label": "handleClose()",
|
||||
"id": "production_work_order_taskexecutiondialog_openforwarddialog",
|
||||
"label": "openForwardDialog()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L602"
|
||||
"source_location": "L642"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_taskexecutiondialog_savetaskoutputsmanual",
|
||||
"label": "saveTaskOutputsManual()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L647"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_taskexecutiondialog_savetaskattachmentsmanual",
|
||||
"label": "saveTaskAttachmentsManual()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L651"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_taskexecutiondialog_savetaskequipmentmanual",
|
||||
"label": "saveTaskEquipmentManual()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L655"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_taskexecutiondialog_if",
|
||||
"label": "if()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L660"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_taskexecutiondialog_stepseqclass",
|
||||
"label": "stepSeqClass()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L613"
|
||||
"source_location": "L679"
|
||||
},
|
||||
{
|
||||
"id": "views_production_production_work_order_edittaskinfodialog_vue",
|
||||
@@ -14231,6 +14259,97 @@
|
||||
"source_file": "views/production/production-work-order/ProductionWorkOrderTabBar.vue",
|
||||
"source_location": "L1"
|
||||
},
|
||||
{
|
||||
"id": "views_production_production_work_order_task_step_editor_persistence_ts",
|
||||
"label": "task-step-editor-persistence.ts",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L1"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_task_step_editor_persistence_createemptysnapshots",
|
||||
"label": "createEmptySnapshots()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L15"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_task_step_editor_persistence_serializeinputs",
|
||||
"label": "serializeInputs()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L25"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_task_step_editor_persistence_serializeoutputs",
|
||||
"label": "serializeOutputs()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L37"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_task_step_editor_persistence_serializeattachments",
|
||||
"label": "serializeAttachments()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L51"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_task_step_editor_persistence_serializeequipmentids",
|
||||
"label": "serializeEquipmentIds()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L59"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_task_step_editor_persistence_normalizereagents",
|
||||
"label": "normalizeReagents()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L63"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_task_step_editor_persistence_normalizeconsumables",
|
||||
"label": "normalizeConsumables()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L77"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_task_step_editor_persistence_normalizeconfiguredreagents",
|
||||
"label": "normalizeConfiguredReagents()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L91"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_task_step_editor_persistence_normalizestepoutputs",
|
||||
"label": "normalizeStepOutputs()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L104"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_task_step_editor_persistence_normalizedatacollections",
|
||||
"label": "normalizeDataCollections()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L113"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_task_step_editor_persistence_serializestep",
|
||||
"label": "serializeStep()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L122"
|
||||
},
|
||||
{
|
||||
"id": "production_work_order_task_step_editor_persistence_scopetostepid",
|
||||
"label": "scopeToStepId()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L139"
|
||||
},
|
||||
{
|
||||
"id": "views_production_production_work_order_dispatchstepdialog_vue",
|
||||
"label": "DispatchStepDialog.vue",
|
||||
@@ -42685,13 +42804,22 @@
|
||||
"source_location": "L52",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_usetaskstepeditor_ts",
|
||||
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_task_step_editor_persistence",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/useTaskStepEditor.ts",
|
||||
"source_location": "L53",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_usetaskstepeditor_ts",
|
||||
"target": "production_work_order_usetaskstepeditor_parsetaskattachmentsfromurls",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/useTaskStepEditor.ts",
|
||||
"source_location": "L55",
|
||||
"source_location": "L67",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -42700,7 +42828,7 @@
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/useTaskStepEditor.ts",
|
||||
"source_location": "L65",
|
||||
"source_location": "L77",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -42709,7 +42837,7 @@
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/useTaskStepEditor.ts",
|
||||
"source_location": "L69",
|
||||
"source_location": "L81",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -42718,7 +42846,7 @@
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/useTaskStepEditor.ts",
|
||||
"source_location": "L72",
|
||||
"source_location": "L84",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -42727,7 +42855,7 @@
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/useTaskStepEditor.ts",
|
||||
"source_location": "L99",
|
||||
"source_location": "L111",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -42736,7 +42864,7 @@
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/useTaskStepEditor.ts",
|
||||
"source_location": "L106",
|
||||
"source_location": "L118",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -43033,7 +43161,7 @@
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L591",
|
||||
"source_location": "L631",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -43042,16 +43170,52 @@
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L596",
|
||||
"source_location": "L636",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_taskexecutiondialog_vue",
|
||||
"target": "production_work_order_taskexecutiondialog_handleclose",
|
||||
"target": "production_work_order_taskexecutiondialog_openforwarddialog",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L602",
|
||||
"source_location": "L642",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_taskexecutiondialog_vue",
|
||||
"target": "production_work_order_taskexecutiondialog_savetaskoutputsmanual",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L647",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_taskexecutiondialog_vue",
|
||||
"target": "production_work_order_taskexecutiondialog_savetaskattachmentsmanual",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L651",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_taskexecutiondialog_vue",
|
||||
"target": "production_work_order_taskexecutiondialog_savetaskequipmentmanual",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L655",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_taskexecutiondialog_vue",
|
||||
"target": "production_work_order_taskexecutiondialog_if",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L660",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -43060,7 +43224,7 @@
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L613",
|
||||
"source_location": "L679",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -43315,6 +43479,204 @@
|
||||
"source_location": "L38",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_task_step_editor_persistence_ts",
|
||||
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_components_business_protocol_finance_confirm_fields_finance_attachments",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L1",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_task_step_editor_persistence_ts",
|
||||
"target": "production_work_order_task_step_editor_persistence_createemptysnapshots",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L15",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_task_step_editor_persistence_ts",
|
||||
"target": "production_work_order_task_step_editor_persistence_serializeinputs",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L25",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_task_step_editor_persistence_ts",
|
||||
"target": "production_work_order_task_step_editor_persistence_serializeoutputs",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L37",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_task_step_editor_persistence_ts",
|
||||
"target": "production_work_order_task_step_editor_persistence_serializeattachments",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L51",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_task_step_editor_persistence_ts",
|
||||
"target": "production_work_order_task_step_editor_persistence_serializeequipmentids",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L59",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_task_step_editor_persistence_ts",
|
||||
"target": "production_work_order_task_step_editor_persistence_normalizereagents",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L63",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_task_step_editor_persistence_ts",
|
||||
"target": "production_work_order_task_step_editor_persistence_normalizeconsumables",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L77",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_task_step_editor_persistence_ts",
|
||||
"target": "production_work_order_task_step_editor_persistence_normalizeconfiguredreagents",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L91",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_task_step_editor_persistence_ts",
|
||||
"target": "production_work_order_task_step_editor_persistence_normalizestepoutputs",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L104",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_task_step_editor_persistence_ts",
|
||||
"target": "production_work_order_task_step_editor_persistence_normalizedatacollections",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L113",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_task_step_editor_persistence_ts",
|
||||
"target": "production_work_order_task_step_editor_persistence_serializestep",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L122",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_task_step_editor_persistence_ts",
|
||||
"target": "production_work_order_task_step_editor_persistence_scopetostepid",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L139",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "production_work_order_task_step_editor_persistence_createemptysnapshots",
|
||||
"target": "production_work_order_task_step_editor_persistence_serializeinputs",
|
||||
"relation": "calls",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L17",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "production_work_order_task_step_editor_persistence_createemptysnapshots",
|
||||
"target": "production_work_order_task_step_editor_persistence_serializeoutputs",
|
||||
"relation": "calls",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L18",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "production_work_order_task_step_editor_persistence_createemptysnapshots",
|
||||
"target": "production_work_order_task_step_editor_persistence_serializeattachments",
|
||||
"relation": "calls",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L19",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "production_work_order_task_step_editor_persistence_createemptysnapshots",
|
||||
"target": "production_work_order_task_step_editor_persistence_serializeequipmentids",
|
||||
"relation": "calls",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L20",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "production_work_order_task_step_editor_persistence_serializestep",
|
||||
"target": "production_work_order_task_step_editor_persistence_normalizereagents",
|
||||
"relation": "calls",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L131",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "production_work_order_task_step_editor_persistence_serializestep",
|
||||
"target": "production_work_order_task_step_editor_persistence_normalizeconsumables",
|
||||
"relation": "calls",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L132",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "production_work_order_task_step_editor_persistence_serializestep",
|
||||
"target": "production_work_order_task_step_editor_persistence_normalizeconfiguredreagents",
|
||||
"relation": "calls",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L133",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "production_work_order_task_step_editor_persistence_serializestep",
|
||||
"target": "production_work_order_task_step_editor_persistence_normalizestepoutputs",
|
||||
"relation": "calls",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L134",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "production_work_order_task_step_editor_persistence_serializestep",
|
||||
"target": "production_work_order_task_step_editor_persistence_normalizedatacollections",
|
||||
"relation": "calls",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/production/production-work-order/task-step-editor-persistence.ts",
|
||||
"source_location": "L135",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_production_production_work_order_dispatchstepdialog_vue",
|
||||
"target": "production_work_order_dispatchstepdialog_mergeduseroptions",
|
||||
@@ -59356,7 +59718,17 @@
|
||||
"confidence": "INFERRED",
|
||||
"confidence_score": 0.8,
|
||||
"source_file": "views/production/production-work-order/useTaskStepEditor.ts",
|
||||
"source_location": "L78",
|
||||
"source_location": "L90",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "production_work_order_usetaskstepeditor_usetaskstepeditor",
|
||||
"target": "production_work_order_task_step_editor_persistence_createemptysnapshots",
|
||||
"relation": "calls",
|
||||
"confidence": "INFERRED",
|
||||
"confidence_score": 0.8,
|
||||
"source_file": "views/production/production-work-order/useTaskStepEditor.ts",
|
||||
"source_location": "L157",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -59476,17 +59848,7 @@
|
||||
"confidence": "INFERRED",
|
||||
"confidence_score": 0.8,
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L599",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "production_work_order_taskexecutiondialog_handleclose",
|
||||
"target": "widget_settingitem_emit",
|
||||
"relation": "calls",
|
||||
"confidence": "INFERRED",
|
||||
"confidence_score": 0.8,
|
||||
"source_file": "views/production/production-work-order/TaskExecutionDialog.vue",
|
||||
"source_location": "L603",
|
||||
"source_location": "L639",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Graph Report - src (2026-06-30)
|
||||
|
||||
## Corpus Check
|
||||
- Large corpus: 827 files · ~547,623 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
|
||||
- Large corpus: 828 files · ~549,493 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
|
||||
|
||||
## Summary
|
||||
- 2702 nodes · 3713 edges · 58 communities detected
|
||||
- 2719 nodes · 3738 edges · 61 communities detected
|
||||
- Extraction: 78% EXTRACTED · 22% INFERRED · 0% AMBIGUOUS · INFERRED: 821 edges (avg confidence: 0.8)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
- [[_COMMUNITY_Community 36|Community 36]]
|
||||
- [[_COMMUNITY_Community 38|Community 38]]
|
||||
- [[_COMMUNITY_Community 39|Community 39]]
|
||||
- [[_COMMUNITY_Community 41|Community 41]]
|
||||
- [[_COMMUNITY_Community 40|Community 40]]
|
||||
- [[_COMMUNITY_Community 44|Community 44]]
|
||||
- [[_COMMUNITY_Community 45|Community 45]]
|
||||
- [[_COMMUNITY_Community 47|Community 47]]
|
||||
@@ -59,20 +59,23 @@
|
||||
- [[_COMMUNITY_Community 52|Community 52]]
|
||||
- [[_COMMUNITY_Community 53|Community 53]]
|
||||
- [[_COMMUNITY_Community 54|Community 54]]
|
||||
- [[_COMMUNITY_Community 55|Community 55]]
|
||||
- [[_COMMUNITY_Community 56|Community 56]]
|
||||
- [[_COMMUNITY_Community 58|Community 58]]
|
||||
- [[_COMMUNITY_Community 60|Community 60]]
|
||||
- [[_COMMUNITY_Community 61|Community 61]]
|
||||
- [[_COMMUNITY_Community 62|Community 62]]
|
||||
- [[_COMMUNITY_Community 63|Community 63]]
|
||||
- [[_COMMUNITY_Community 64|Community 64]]
|
||||
- [[_COMMUNITY_Community 66|Community 66]]
|
||||
- [[_COMMUNITY_Community 74|Community 74]]
|
||||
- [[_COMMUNITY_Community 76|Community 76]]
|
||||
- [[_COMMUNITY_Community 67|Community 67]]
|
||||
- [[_COMMUNITY_Community 69|Community 69]]
|
||||
- [[_COMMUNITY_Community 77|Community 77]]
|
||||
- [[_COMMUNITY_Community 79|Community 79]]
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
1. `get()` - 277 edges
|
||||
2. `push()` - 69 edges
|
||||
3. `WebSocketClient` - 26 edges
|
||||
4. `emit()` - 23 edges
|
||||
4. `emit()` - 22 edges
|
||||
5. `set()` - 19 edges
|
||||
6. `handleDynamicRoutes()` - 18 edges
|
||||
7. `MenuProcessor` - 16 edges
|
||||
@@ -96,15 +99,15 @@
|
||||
|
||||
### Community 0 - "Community 0"
|
||||
Cohesion: 0.01
|
||||
Nodes (155): fetchAccessLogList(), fetchActiveRegions(), fetchCategoryList(), fetchCategoryParameters(), fetchCellProductPriceList(), fetchCellProductSpecList(), fetchCellProductTypeList(), fetchChannelAccount() (+147 more)
|
||||
Nodes (154): fetchAccessLogList(), fetchActiveRegions(), fetchCategoryList(), fetchCategoryParameters(), fetchCellProductPriceList(), fetchCellProductSpecList(), fetchCellProductTypeList(), fetchChannelAccount() (+146 more)
|
||||
|
||||
### Community 1 - "Community 1"
|
||||
Cohesion: 0.03
|
||||
Nodes (90): batchSavePilotCheckup(), deletePilotCheckupActualItem(), fetchCheckupInstitutionList(), fetchCheckupInstitutionPackageDetail(), fetchCheckupInstitutionPackages(), fetchPilotCheckupActualItems(), fetchPilotCheckupDetail(), fetchPilotCheckupList() (+82 more)
|
||||
Nodes (87): batchSavePilotCheckup(), deletePilotCheckupActualItem(), fetchCheckupInstitutionList(), fetchCheckupInstitutionPackageDetail(), fetchCheckupInstitutionPackages(), fetchPilotCheckupDetail(), fetchPilotCheckupList(), markPilotCheckupChecked() (+79 more)
|
||||
|
||||
### Community 2 - "Community 2"
|
||||
Cohesion: 0.03
|
||||
Nodes (61): fetchUploadAttachment(), FireworkSystem, handleReportUpload(), handleReportUpload(), walk(), buildInboundBasicSection(), buildInboundCellStorageViewSections(), buildInboundResearchDonationViewSections() (+53 more)
|
||||
Nodes (61): fetchUploadAttachment(), handleReportUpload(), handleReportUpload(), walk(), buildInboundBasicSection(), buildInboundCellStorageViewSections(), buildInboundResearchDonationViewSections(), buildReceptionSection() (+53 more)
|
||||
|
||||
### Community 3 - "Community 3"
|
||||
Cohesion: 0.03
|
||||
@@ -112,60 +115,60 @@ Nodes (33): fetchGetMenuList(), ComponentLoader, IframeRouteManager, MenuProcess
|
||||
|
||||
### Community 4 - "Community 4"
|
||||
Cohesion: 0.03
|
||||
Nodes (50): fetchCheckupInstitutionInvoices(), fetchCheckupInstitutionProjects(), fetchCreateCheckupInstitution(), fetchCreateCheckupInstitutionInvoice(), fetchCreateCheckupInstitutionProject(), fetchUpdateCheckupInstitution(), fetchUpdateCheckupInstitutionInvoice(), fetchUpdateCheckupInstitutionProject() (+42 more)
|
||||
Nodes (58): fetchMyProductionTasks(), fetchMyQcTaskList(), fetchQcTaskDetail(), fetchQcTaskList(), shouldApplyTriggerSourceFilter(), buildMineTableRows(), buildPresetTasksMap(), buildWorkOrderFromTasks() (+50 more)
|
||||
|
||||
### Community 5 - "Community 5"
|
||||
Cohesion: 0.04
|
||||
Nodes (48): fetchMyProductionTasks(), fetchMyQcTaskList(), fetchQcTaskDetail(), fetchQcTaskList(), shouldApplyTriggerSourceFilter(), buildMineTableRows(), buildPresetTasksMap(), buildWorkOrderFromTasks() (+40 more)
|
||||
Cohesion: 0.03
|
||||
Nodes (50): fetchCheckupInstitutionInvoices(), fetchCheckupInstitutionProjects(), fetchCreateCheckupInstitution(), fetchCreateCheckupInstitutionInvoice(), fetchCreateCheckupInstitutionProject(), fetchUpdateCheckupInstitution(), fetchUpdateCheckupInstitutionInvoice(), fetchUpdateCheckupInstitutionProject() (+42 more)
|
||||
|
||||
### Community 6 - "Community 6"
|
||||
Cohesion: 0.04
|
||||
Nodes (53): fetchUserList(), fetchAddTaskStep(), fetchCopyTaskStep(), fetchDeleteTaskStep(), fetchDispatchProductionTaskSteps(), fetchForwardProductionTask(), fetchProductionTaskDetail(), fetchProductionTaskEditorInit() (+45 more)
|
||||
|
||||
### Community 7 - "Community 7"
|
||||
Cohesion: 0.05
|
||||
Nodes (50): fetchProductionReceptionBySampleCode(), fetchProductionReceptionSubmit(), fetchProductionReceptionUpdate(), onUserSelectVisible(), remoteSearchUsers(), buildPayload(), ensureDefaultHandler(), initDialog() (+42 more)
|
||||
|
||||
### Community 7 - "Community 7"
|
||||
Cohesion: 0.04
|
||||
Nodes (44): fetchFullmoonTodoList(), fetchUpdateFullmoonTodoInsurance(), fetchCollectionProtocolAuditList(), fetchCollectionProtocolDetail(), fetchCollectionProtocolList(), fetchCreateProtocolInvoiceRequest(), fetchInvoiceEligiblePayments(), fetchPaymentDetailList() (+36 more)
|
||||
|
||||
### Community 8 - "Community 8"
|
||||
Cohesion: 0.05
|
||||
Nodes (53): fetchGetMenuCodes(), fetchGetUserInfo(), fetchLogin(), fetchRefreshToken(), fetchUpdateProfile(), fetchUploadProfileAvatar(), toLogin(), fetchUserInfo() (+45 more)
|
||||
Cohesion: 0.04
|
||||
Nodes (35): useSettingsHandlers(), useSettingsPanel(), useSettingsState(), RoutePermissionValidator, useCeremony(), useTheme(), if(), walk() (+27 more)
|
||||
|
||||
### Community 9 - "Community 9"
|
||||
Cohesion: 0.04
|
||||
Nodes (43): fetchFullmoonTodoList(), fetchUpdateFullmoonTodoInsurance(), fetchCollectionProtocolAuditList(), fetchCollectionProtocolDetail(), fetchCollectionProtocolList(), fetchCreateProtocolInvoiceRequest(), fetchInvoiceEligiblePayments(), fetchPaymentDetailList() (+35 more)
|
||||
Nodes (30): handleBlur(), handleFocus(), handleInput(), fetchDeleteMaterialBatch(), fetchMaterialBatchList(), fetchMaterialBatchOptions(), fetchMaterialList(), fetchMaterialOptions() (+22 more)
|
||||
|
||||
### Community 10 - "Community 10"
|
||||
Cohesion: 0.04
|
||||
Nodes (35): useSettingsHandlers(), useSettingsPanel(), useSettingsState(), RoutePermissionValidator, useCeremony(), useTheme(), if(), walk() (+27 more)
|
||||
Nodes (34): fetchEthnicList(), applyDonationBundleToForm(), createEmptyTransport(), ensureEthnicOptionInList(), handleOpenForAdd(), loadEthnicOptions(), normalizeSampleRow(), resetForm() (+26 more)
|
||||
|
||||
### Community 11 - "Community 11"
|
||||
Cohesion: 0.05
|
||||
Nodes (34): fetchClinicalPaymentDetail(), fetchClinicalPayments(), fetchClinicalReceiptConfirmed(), fetchClinicalReceiptPending(), fetchClinicalRefundConfirmed(), fetchClinicalRefundPending(), fetchOrderAdjusts(), fetchOrderDetail() (+26 more)
|
||||
|
||||
### Community 12 - "Community 12"
|
||||
Cohesion: 0.05
|
||||
Nodes (32): fetchEthnicList(), applyDonationBundleToForm(), createEmptyTransport(), ensureEthnicOptionInList(), handleOpenForAdd(), loadEthnicOptions(), normalizeSampleRow(), resetForm() (+24 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (36): buildBaseFields(), buildFeeSection(), buildInboundBasicSection(), buildInboundCellStorageProductionViewSections(), buildInboundResearchDonationProductionViewSections(), buildOutboundBasicExperimentProductionViewSections(), buildOutboundClinicalProductionViewSections(), buildOutboundDetail() (+28 more)
|
||||
|
||||
### Community 13 - "Community 13"
|
||||
Cohesion: 0.05
|
||||
Nodes (34): fetchAttachmentDownloadUrl(), qcAttachmentFullUrl(), qcDownloadAttachment(), qcPreviewAttachment(), formatHandoverUserLabel(), formatNowDatetime(), fullFileUrl(), handleDownloadAttachment() (+26 more)
|
||||
Nodes (36): fetchCreateCustomer(), fetchCustomerList(), fetchDeleteCustomer(), fetchUpdateCustomer(), updateInfusionScheduleStatus(), handleAdd(), handleDelete(), handleDropdownCommand() (+28 more)
|
||||
|
||||
### Community 14 - "Community 14"
|
||||
Cohesion: 0.06
|
||||
Nodes (30): handleBlur(), handleFocus(), handleInput(), formatAmount(), formatAmount(), formatProtocolAmount(), buildBaseFields(), buildFeeSection() (+22 more)
|
||||
Cohesion: 0.05
|
||||
Nodes (34): fetchAttachmentDownloadUrl(), qcAttachmentFullUrl(), qcDownloadAttachment(), qcPreviewAttachment(), formatHandoverUserLabel(), formatNowDatetime(), fullFileUrl(), handleDownloadAttachment() (+26 more)
|
||||
|
||||
### Community 15 - "Community 15"
|
||||
Cohesion: 0.08
|
||||
Nodes (43): addPaymentDetail(), applyFqParamsChange(), buildFqAmounts(), countByStatus(), evaluateFqParamsChange(), formatMoneySummary(), generateInitialFqDetails(), getPaidInstallmentRows() (+35 more)
|
||||
|
||||
### Community 16 - "Community 16"
|
||||
Cohesion: 0.06
|
||||
Nodes (14): dash(), fmtMoney(), auditorDisplay(), dash(), ensureUnitsInOptions(), expressName(), formatYm(), formatYmd() (+6 more)
|
||||
|
||||
### Community 17 - "Community 17"
|
||||
### Community 16 - "Community 16"
|
||||
Cohesion: 0.04
|
||||
Nodes (21): fetchAvailableMaterialBatches(), fetchMyProductionMaterialConsumptions(), fetchMyProductionMaterialUsageList(), fetchProductionMaterialBatchList(), fetchProductionMaterialBatchOptions(), fetchProductionMaterialConsumptions(), fetchProductionMaterialFormula(), fetchProductionMaterialLinkedStepUsages() (+13 more)
|
||||
|
||||
### Community 17 - "Community 17"
|
||||
Cohesion: 0.09
|
||||
Nodes (41): applyFqParamsChange(), buildFqAmounts(), countByStatus(), evaluateFqParamsChange(), formatMoneySummary(), generateInitialFqDetails(), getPaidInstallmentRows(), isSameFqParams() (+33 more)
|
||||
|
||||
### Community 18 - "Community 18"
|
||||
Cohesion: 0.06
|
||||
Nodes (20): fetchQcMaterialBatchList(), fetchQcMaterialBatchOptions(), fetchQcMaterialList(), fetchQcMaterialOptions(), fetchUpdateQcMaterialBatch(), fetchMarkQcMaterialUsageFullyUsed(), financeAttachmentsToUrlString(), ensureTabMounted() (+12 more)
|
||||
@@ -179,60 +182,60 @@ Cohesion: 0.1
|
||||
Nodes (2): WebSocketClient, TableCache
|
||||
|
||||
### Community 21 - "Community 21"
|
||||
Cohesion: 0.07
|
||||
Nodes (20): maskIdCard(), buildBasicExperimentApplicationFields(), buildDefaultApplicationFields(), buildOutboundPilotContextSections(), applicationStatusLabel(), applicationStatusTagType(), cellProductStatusLabel(), cellProductStatusTagType() (+12 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (32): toLogin(), base64ToBytes(), bytesToBase64(), decryptJson(), deriveKey(), encryptJson(), fromBase64Url(), hexToBytes() (+24 more)
|
||||
|
||||
### Community 22 - "Community 22"
|
||||
Cohesion: 0.09
|
||||
Nodes (8): getDefaultLanguage(), checkStorageCompatibility(), StorageConfig, getSystemStorage(), getSysVersion(), StorageKeyManager, StorageCompatibilityManager, validateStorageData()
|
||||
|
||||
### Community 23 - "Community 23"
|
||||
Cohesion: 0.09
|
||||
Nodes (28): completePilotApplication(), deletePilotApplication(), fetchPilotApplicationList(), startPilotApplication(), voidPilotApplication(), clearTableSelection(), handleBatchComplete(), handleBatchStart() (+20 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (31): fetchUserList(), fetchAddTaskStep(), fetchCopyTaskStep(), fetchDeleteTaskStep(), fetchDispatchProductionTaskSteps(), fetchForwardProductionTask(), fetchProductionTaskDetail(), fetchProductionTaskEditorInit() (+23 more)
|
||||
|
||||
### Community 24 - "Community 24"
|
||||
Cohesion: 0.1
|
||||
Nodes (27): fetchCreateCustomer(), fetchCustomerList(), fetchDeleteCustomer(), fetchUpdateCustomer(), updateInfusionScheduleStatus(), handleAdd(), handleDelete(), handleDropdownCommand() (+19 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (18): createEmptySnapshots(), normalizeConfiguredReagents(), normalizeConsumables(), normalizeDataCollections(), normalizeReagents(), normalizeStepOutputs(), serializeAttachments(), serializeEquipmentIds() (+10 more)
|
||||
|
||||
### Community 25 - "Community 25"
|
||||
Cohesion: 0.07
|
||||
Nodes (16): fetchDeleteMaterialBatch(), fetchMaterialBatchList(), fetchMaterialBatchOptions(), fetchMaterialList(), fetchMaterialOptions(), fetchUpdateMaterialBatch(), fetchMaterialUsageList(), fetchMyMaterialUsageList() (+8 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (27): completePilotApplication(), deletePilotApplication(), fetchPilotApplicationList(), startPilotApplication(), voidPilotApplication(), handleBatchComplete(), handleBatchStart(), handleBatchVoid() (+19 more)
|
||||
|
||||
### Community 26 - "Community 26"
|
||||
Cohesion: 0.11
|
||||
Nodes (21): fetchGetMenuCodes(), fetchGetUserInfo(), fetchLogin(), fetchRefreshToken(), fetchUpdateProfile(), fetchUploadProfileAvatar(), fetchUserInfo(), buildWebEncryptedLoginBody() (+13 more)
|
||||
|
||||
### Community 27 - "Community 27"
|
||||
Cohesion: 0.09
|
||||
Nodes (11): fetchMineQcWorkOrderTabUnfinishedCounts(), fetchOutboundQcDetail(), fetchQcWorkOrderDetail(), fetchQcWorkOrderList(), fetchQcWorkOrderTabUnfinishedCounts(), reload(), reloadTabCounts(), handleMenuJump() (+3 more)
|
||||
|
||||
### Community 27 - "Community 27"
|
||||
### Community 28 - "Community 28"
|
||||
Cohesion: 0.12
|
||||
Nodes (15): addCopyButton(), highlightCode(), insertLineNumbers(), isBlockProcessed(), markBlockAsProcessed(), processBlock(), setupHighlightDirective(), setupRippleDirective() (+7 more)
|
||||
|
||||
### Community 28 - "Community 28"
|
||||
### Community 29 - "Community 29"
|
||||
Cohesion: 0.11
|
||||
Nodes (10): fetchMineProductionWorkOrderTabStepCounts(), fetchMineProductionWorkOrderTabStepCountsDeduped(), fetchProductionWorkOrderCellProductOptions(), fetchProductionWorkOrderDetail(), fetchProductionWorkOrderList(), fetchProductionWorkOrderQcDispatchOptions(), fetchProductionWorkOrderTabStepCounts(), fetchProductionWorkOrderTabStepCountsDeduped() (+2 more)
|
||||
|
||||
### Community 29 - "Community 29"
|
||||
### Community 30 - "Community 30"
|
||||
Cohesion: 0.11
|
||||
Nodes (11): fetchOutboundReleaseMaterial(), fetchOutboundReleaseReviewDetail(), fetchOutboundReleaseReviewList(), fetchReleaseReviewList(), handleReset(), handleSearch(), handleToggleSelect(), loadData() (+3 more)
|
||||
|
||||
### Community 30 - "Community 30"
|
||||
### Community 31 - "Community 31"
|
||||
Cohesion: 0.13
|
||||
Nodes (18): fetchCellSampleTypeList(), fetchCreateCellSampleType(), fetchDeleteCellSampleType(), fetchUpdateCellSampleType(), handleAdd(), handleDelete(), handleDropdownCommand(), handleEdit() (+10 more)
|
||||
|
||||
### Community 31 - "Community 31"
|
||||
Cohesion: 0.11
|
||||
Nodes (6): normalizeStepSubTables(), formatPlannedStartDate(), normalizePlannedStartDate(), productionStepAssigneeLabels(), productionStepAssigneeText(), productionStepPlannedStartText()
|
||||
|
||||
### Community 32 - "Community 32"
|
||||
Cohesion: 0.16
|
||||
Nodes (14): fetchCreateEnvDetectItem(), fetchDeleteEnvDetectItem(), fetchEnvDetectItemDetail(), fetchEnvDetectItemList(), fetchEnvDetectItemsActive(), fetchUpdateEnvDetectItem(), handleAdd(), handleBatchDelete() (+6 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (12): fetchApproveTask(), fetchBusinessAllTasks(), fetchCompletedTasks(), fetchDesignerData(), fetchInstanceDetail(), fetchMyInstances(), fetchPendingTasks(), fetchProcessDefList() (+4 more)
|
||||
|
||||
### Community 33 - "Community 33"
|
||||
Cohesion: 0.16
|
||||
Nodes (10): useTable(), useTableImpl(), getColumnChecks(), useTableColumns(), createErrorHandler(), createSmartDebounce(), defaultResponseAdapter(), extractPagination() (+2 more)
|
||||
Nodes (14): fetchCreateEnvDetectItem(), fetchDeleteEnvDetectItem(), fetchEnvDetectItemDetail(), fetchEnvDetectItemList(), fetchEnvDetectItemsActive(), fetchUpdateEnvDetectItem(), handleAdd(), handleBatchDelete() (+6 more)
|
||||
|
||||
### Community 34 - "Community 34"
|
||||
Cohesion: 0.11
|
||||
Nodes (5): fetchQcSmsList(), fetchNextDonationSampleCode(), fetchResearchDonationAuditList(), fetchResearchDonationDetail(), fetchResearchDonationList()
|
||||
Cohesion: 0.16
|
||||
Nodes (10): useTable(), useTableImpl(), getColumnChecks(), useTableColumns(), createErrorHandler(), createSmartDebounce(), defaultResponseAdapter(), extractPagination() (+2 more)
|
||||
|
||||
### Community 35 - "Community 35"
|
||||
Cohesion: 0.27
|
||||
@@ -243,16 +246,16 @@ Cohesion: 0.19
|
||||
Nodes (6): fetchServiceOrderTxnList(), handleReset(), handleSearch(), handleTabChange(), loadData(), switchTab()
|
||||
|
||||
### Community 38 - "Community 38"
|
||||
Cohesion: 0.23
|
||||
Nodes (7): buildInboundMetaFields(), getCardMetaConfig(), getCardMetaConfigForLegacyTab(), parseReceptionTime(), receptionOver24HoursLabel(), receptionOver24HoursTagType(), resolveCardMetaForRow()
|
||||
Cohesion: 0.15
|
||||
Nodes (4): fetchNextDonationSampleCode(), fetchResearchDonationAuditList(), fetchResearchDonationDetail(), fetchResearchDonationList()
|
||||
|
||||
### Community 39 - "Community 39"
|
||||
Cohesion: 0.25
|
||||
Nodes (2): handleTouchEnd(), setTransition()
|
||||
|
||||
### Community 41 - "Community 41"
|
||||
Cohesion: 0.31
|
||||
Nodes (4): annotateForkEdges(), chainApiToElements(), walkAncestorBranch(), walkAncestorParents()
|
||||
### Community 40 - "Community 40"
|
||||
Cohesion: 0.28
|
||||
Nodes (1): FireworkSystem
|
||||
|
||||
### Community 44 - "Community 44"
|
||||
Cohesion: 0.39
|
||||
@@ -284,45 +287,57 @@ Nodes (3): isPaymentDueWithinWarnWindow(), parsePaymentDueYmd(), startOfLocalDay
|
||||
|
||||
### Community 52 - "Community 52"
|
||||
Cohesion: 0.33
|
||||
Nodes (2): fetchEnvDetectRecordDetail(), fetchEnvDetectRecordList()
|
||||
Nodes (2): fetchSampleReceptionCheckItemList(), fetchSampleReceptionCheckItemsActive()
|
||||
|
||||
### Community 53 - "Community 53"
|
||||
Cohesion: 0.33
|
||||
Nodes (2): fetchEnvDetectRecordDetail(), fetchEnvDetectRecordList()
|
||||
|
||||
### Community 54 - "Community 54"
|
||||
Cohesion: 0.33
|
||||
Nodes (2): fetchQcLabTestItemList(), fetchQcLabTestItemsActive()
|
||||
|
||||
### Community 55 - "Community 55"
|
||||
Cohesion: 0.5
|
||||
Nodes (2): formatProtocolDocDeleteConfirm(), formatProtocolDocSubject()
|
||||
|
||||
### Community 54 - "Community 54"
|
||||
### Community 56 - "Community 56"
|
||||
Cohesion: 0.5
|
||||
Nodes (2): parseEquipmentIds(), syncEquipmentNamesFromOptions()
|
||||
|
||||
### Community 56 - "Community 56"
|
||||
### Community 58 - "Community 58"
|
||||
Cohesion: 0.5
|
||||
Nodes (2): focusInput(), handleKeydown()
|
||||
|
||||
### Community 58 - "Community 58"
|
||||
### Community 60 - "Community 60"
|
||||
Cohesion: 0.67
|
||||
Nodes (2): if(), logSidebarMenu()
|
||||
|
||||
### Community 60 - "Community 60"
|
||||
### Community 62 - "Community 62"
|
||||
Cohesion: 0.5
|
||||
Nodes (1): fetchStorageEntrySmsList()
|
||||
|
||||
### Community 61 - "Community 61"
|
||||
### Community 63 - "Community 63"
|
||||
Cohesion: 0.5
|
||||
Nodes (1): fetchSampleSmsNotificationList()
|
||||
|
||||
### Community 64 - "Community 64"
|
||||
Cohesion: 0.5
|
||||
Nodes (1): fetchQcSmsList()
|
||||
|
||||
### Community 67 - "Community 67"
|
||||
Cohesion: 1.0
|
||||
Nodes (2): getSettingDefaults(), resetToDefaults()
|
||||
|
||||
### Community 66 - "Community 66"
|
||||
### Community 69 - "Community 69"
|
||||
Cohesion: 1.0
|
||||
Nodes (2): copyTextToClipboard(), copyTextWithFallback()
|
||||
|
||||
### Community 74 - "Community 74"
|
||||
### Community 77 - "Community 77"
|
||||
Cohesion: 1.0
|
||||
Nodes (2): emptyTabCounts(), useProductionWorkOrderTabStepCounts()
|
||||
|
||||
### Community 76 - "Community 76"
|
||||
### Community 79 - "Community 79"
|
||||
Cohesion: 1.0
|
||||
Nodes (2): emptyTabCounts(), useQcWorkOrderTabUnfinishedCounts()
|
||||
|
||||
@@ -331,49 +346,57 @@ Nodes (2): emptyTabCounts(), useQcWorkOrderTabUnfinishedCounts()
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 39`** (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 40`** (9 nodes): `FireworkSystem`, `.constructor()`, `.createFirework()`, `.createParticle()`, `.getAvailableParticle()`, `.initializePool()`, `.preloadAllImages()`, `.preloadImage()`, `index.vue`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 45`** (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 47`** (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 50`** (7 nodes): `fetchCreateLeave()`, `fetchDeleteLeave()`, `fetchLeaveDetail()`, `fetchLeaveList()`, `fetchSubmitLeave()`, `fetchUpdateLeave()`, `leave.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 52`** (6 nodes): `fetchCreateEnvDetectRecord()`, `fetchDeleteEnvDetectRecord()`, `fetchEnvDetectRecordDetail()`, `fetchEnvDetectRecordList()`, `fetchUpdateEnvDetectRecord()`, `env-detect-record.ts`
|
||||
- **Thin community `Community 52`** (6 nodes): `fetchCreateSampleReceptionCheckItem()`, `fetchDeleteSampleReceptionCheckItem()`, `fetchSampleReceptionCheckItemList()`, `fetchSampleReceptionCheckItemsActive()`, `fetchUpdateSampleReceptionCheckItem()`, `sample-reception-check-item.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 53`** (5 nodes): `formatProtocolDocBatchDeleteConfirm()`, `formatProtocolDocDeleteConfirm()`, `formatProtocolDocSubject()`, `getProtocolDocTypeLabel()`, `protocol-doc-label.ts`
|
||||
- **Thin community `Community 53`** (6 nodes): `fetchCreateEnvDetectRecord()`, `fetchDeleteEnvDetectRecord()`, `fetchEnvDetectRecordDetail()`, `fetchEnvDetectRecordList()`, `fetchUpdateEnvDetectRecord()`, `env-detect-record.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 54`** (5 nodes): `equipmentOptionLabel()`, `joinEquipmentIds()`, `parseEquipmentIds()`, `syncEquipmentNamesFromOptions()`, `equipment-select.ts`
|
||||
- **Thin community `Community 54`** (6 nodes): `fetchCreateQcLabTestItem()`, `fetchDeleteQcLabTestItem()`, `fetchQcLabTestItemList()`, `fetchQcLabTestItemsActive()`, `fetchUpdateQcLabTestItem()`, `qc-lab-test-item.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 56`** (5 nodes): `focusInput()`, `handleKeydown()`, `if()`, `search()`, `index.vue`
|
||||
- **Thin community `Community 55`** (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 58`** (4 nodes): `if()`, `logSidebarMenu()`, `index.vue`, `SidebarSubmenu.vue`
|
||||
- **Thin community `Community 56`** (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 60`** (4 nodes): `fetchGenerateStorageEntrySms()`, `fetchStorageEntrySmsList()`, `fetchToggleStorageEntrySmsNotified()`, `storage-entry-sms-notification.ts`
|
||||
- **Thin community `Community 58`** (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 61`** (4 nodes): `fetchGenerateSms()`, `fetchSampleSmsNotificationList()`, `fetchToggleSmsNotified()`, `sample-sms-notification.ts`
|
||||
- **Thin community `Community 60`** (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 64`** (3 nodes): `getSettingDefaults()`, `resetToDefaults()`, `setting.ts`
|
||||
- **Thin community `Community 62`** (4 nodes): `fetchGenerateStorageEntrySms()`, `fetchStorageEntrySmsList()`, `fetchToggleStorageEntrySmsNotified()`, `storage-entry-sms-notification.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 66`** (3 nodes): `copyTextToClipboard()`, `copyTextWithFallback()`, `copy-text.ts`
|
||||
- **Thin community `Community 63`** (4 nodes): `fetchGenerateSms()`, `fetchSampleSmsNotificationList()`, `fetchToggleSmsNotified()`, `sample-sms-notification.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 74`** (3 nodes): `emptyTabCounts()`, `useProductionWorkOrderTabStepCounts()`, `useProductionWorkOrderTabStepCounts.ts`
|
||||
- **Thin community `Community 64`** (4 nodes): `fetchGenerateQcSms()`, `fetchQcSmsList()`, `fetchToggleQcSmsNotified()`, `qc-sms-notification.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 76`** (3 nodes): `emptyTabCounts()`, `useQcWorkOrderTabUnfinishedCounts()`, `useQcWorkOrderTabUnfinishedCounts.ts`
|
||||
- **Thin community `Community 67`** (3 nodes): `getSettingDefaults()`, `resetToDefaults()`, `setting.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 69`** (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 77`** (3 nodes): `emptyTabCounts()`, `useProductionWorkOrderTabStepCounts()`, `useProductionWorkOrderTabStepCounts.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 79`** (3 nodes): `emptyTabCounts()`, `useQcWorkOrderTabUnfinishedCounts()`, `useQcWorkOrderTabUnfinishedCounts.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
|
||||
## Suggested Questions
|
||||
_Questions this graph is uniquely positioned to answer:_
|
||||
|
||||
- **Why does `get()` connect `Community 0` to `Community 1`, `Community 2`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 15`, `Community 17`, `Community 18`, `Community 19`, `Community 23`, `Community 24`, `Community 25`, `Community 26`, `Community 28`, `Community 29`, `Community 30`, `Community 32`, `Community 34`, `Community 36`, `Community 41`, `Community 50`, `Community 52`, `Community 60`, `Community 61`?**
|
||||
_High betweenness centrality (0.295) - this node is a cross-community bridge._
|
||||
- **Why does `push()` connect `Community 2` to `Community 0`, `Community 1`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 12`, `Community 13`, `Community 14`, `Community 15`, `Community 16`, `Community 20`, `Community 21`, `Community 23`, `Community 26`, `Community 28`, `Community 38`?**
|
||||
_High betweenness centrality (0.212) - this node is a cross-community bridge._
|
||||
- **Why does `handleDynamicRoutes()` connect `Community 3` to `Community 8`, `Community 26`, `Community 10`, `Community 28`?**
|
||||
_High betweenness centrality (0.036) - this node is a cross-community bridge._
|
||||
- **Why does `get()` connect `Community 0` to `Community 1`, `Community 2`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 13`, `Community 16`, `Community 17`, `Community 18`, `Community 19`, `Community 23`, `Community 25`, `Community 26`, `Community 27`, `Community 29`, `Community 30`, `Community 31`, `Community 32`, `Community 33`, `Community 36`, `Community 38`, `Community 50`, `Community 52`, `Community 53`, `Community 54`, `Community 62`, `Community 63`, `Community 64`?**
|
||||
_High betweenness centrality (0.299) - this node is a cross-community bridge._
|
||||
- **Why does `push()` connect `Community 2` to `Community 0`, `Community 1`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 10`, `Community 12`, `Community 14`, `Community 15`, `Community 17`, `Community 20`, `Community 21`, `Community 23`, `Community 25`, `Community 27`, `Community 29`, `Community 40`?**
|
||||
_High betweenness centrality (0.211) - this node is a cross-community bridge._
|
||||
- **Why does `handleDynamicRoutes()` connect `Community 3` to `Community 8`, `Community 26`, `Community 27`, `Community 29`?**
|
||||
_High betweenness centrality (0.044) - this node is a cross-community bridge._
|
||||
- **Are the 276 inferred relationships involving `get()` (e.g. with `buildNodeCodePathFromFlat()` and `collectLeafFacilityNodesInTreeOrder()`) actually correct?**
|
||||
_`get()` has 276 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 68 inferred relationships involving `push()` (e.g. with `refreshQcMenuBadges()` and `collectLeafFacilityNodesInTreeOrder()`) actually correct?**
|
||||
_`push()` has 68 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 22 inferred relationships involving `emit()` (e.g. with `handleSubmit()` and `handleBlur()`) actually correct?**
|
||||
_`emit()` has 22 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 21 inferred relationships involving `emit()` (e.g. with `handleSubmit()` and `handleBlur()`) actually correct?**
|
||||
_`emit()` has 21 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 18 inferred relationships involving `set()` (e.g. with `buildNodeCodePathFromFlat()` and `collectLeafFacilityNodesInTreeOrder()`) actually correct?**
|
||||
_`set()` has 18 INFERRED edges - model-reasoned connections that need verification._
|
||||
@@ -57,12 +57,12 @@
|
||||
</div>
|
||||
<div id="legend"></div>
|
||||
</div>
|
||||
<div id="stats">2702 nodes · 3713 edges · 331 communities</div>
|
||||
<div id="stats">2719 nodes · 3738 edges · 334 communities</div>
|
||||
</div>
|
||||
<script>
|
||||
const RAW_NODES = [{"id": "app_vue", "label": "App.vue", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "App.vue", "community": 47, "community_name": "Community 47", "source_file": "App.vue", "file_type": "code", "degree": 3}, {"id": "src_app_refreshbuttonautoicons", "label": "refreshButtonAutoIcons()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshButtonAutoIcons()", "community": 47, "community_name": "Community 47", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "src_app_refreshpaneltitleicons", "label": "refreshPanelTitleIcons()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshPanelTitleIcons()", "community": 47, "community_name": "Community 47", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "main_ts", "label": "main.ts", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "main.ts", "community": 47, "community_name": "Community 47", "source_file": "main.ts", "file_type": "code", "degree": 4}, {"id": "src_main_masksecret", "label": "maskSecret()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "maskSecret()", "community": 47, "community_name": "Community 47", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "src_main_logapicryptobootinfo", "label": "logApiCryptoBootInfo()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "logApiCryptoBootInfo()", "community": 47, "community_name": "Community 47", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "env_d_ts", "label": "env.d.ts", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "env.d.ts", "community": 110, "community_name": "Community 110", "source_file": "env.d.ts", "file_type": "code", "degree": 0}, {"id": "shims_loose_d_ts", "label": "shims-loose.d.ts", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "shims-loose.d.ts", "community": 111, "community_name": "Community 111", "source_file": "shims-loose.d.ts", "file_type": "code", "degree": 0}, {"id": "directives_index_ts", "label": "index.ts", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "index.ts", "community": 27, "community_name": "Community 27", "source_file": "directives/index.ts", "file_type": "code", "degree": 1}, {"id": "directives_index_setupglobdirectives", "label": "setupGlobDirectives()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.5, "font": {"size": 0, "color": "#ffffff"}, "title": "setupGlobDirectives()", "community": 27, "community_name": "Community 27", "source_file": "directives/index.ts", "file_type": "code", "degree": 5}, {"id": "directives_core_roles_ts", "label": "roles.ts", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "roles.ts", "community": 27, "community_name": "Community 27", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 3}, {"id": "core_roles_checkrolepermission", "label": "checkRolePermission()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "checkRolePermission()", "community": 27, "community_name": "Community 27", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_removeelement", "label": "removeElement()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "removeElement()", "community": 27, "community_name": "Community 27", "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": 450}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 122}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 114}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 94}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 88}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 77}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 76}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 74}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 69}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 68}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 65}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 61}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 59}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 54}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 50}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 49}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 49}, {"cid": 17, "color": "#FF9DA7", "label": "Community 17", "count": 48}, {"cid": 18, "color": "#9C755F", "label": "Community 18", "count": 44}, {"cid": 19, "color": "#BAB0AC", "label": "Community 19", "count": 44}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 42}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 40}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 37}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 35}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 34}, {"cid": 25, "color": "#EDC948", "label": "Community 25", "count": 33}, {"cid": 26, "color": "#B07AA1", "label": "Community 26", "count": 24}, {"cid": 27, "color": "#FF9DA7", "label": "Community 27", "count": 22}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 22}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 22}, {"cid": 30, "color": "#4E79A7", "label": "Community 30", "count": 22}, {"cid": 31, "color": "#F28E2B", "label": "Community 31", "count": 21}, {"cid": 32, "color": "#E15759", "label": "Community 32", "count": 19}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 17}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 17}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 16}, {"cid": 36, "color": "#B07AA1", "label": "Community 36", "count": 14}, {"cid": 37, "color": "#FF9DA7", "label": "Community 37", "count": 13}, {"cid": 38, "color": "#9C755F", "label": "Community 38", "count": 12}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 9}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 9}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 9}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 9}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 9}, {"cid": 44, "color": "#59A14F", "label": "Community 44", "count": 8}, {"cid": 45, "color": "#EDC948", "label": "Community 45", "count": 8}, {"cid": 46, "color": "#B07AA1", "label": "Community 46", "count": 8}, {"cid": 47, "color": "#FF9DA7", "label": "Community 47", "count": 7}, {"cid": 48, "color": "#9C755F", "label": "Community 48", "count": 7}, {"cid": 49, "color": "#BAB0AC", "label": "Community 49", "count": 7}, {"cid": 50, "color": "#4E79A7", "label": "Community 50", "count": 7}, {"cid": 51, "color": "#F28E2B", "label": "Community 51", "count": 6}, {"cid": 52, "color": "#E15759", "label": "Community 52", "count": 6}, {"cid": 53, "color": "#76B7B2", "label": "Community 53", "count": 5}, {"cid": 54, "color": "#59A14F", "label": "Community 54", "count": 5}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 5}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 5}, {"cid": 57, "color": "#FF9DA7", "label": "Community 57", "count": 5}, {"cid": 58, "color": "#9C755F", "label": "Community 58", "count": 4}, {"cid": 59, "color": "#BAB0AC", "label": "Community 59", "count": 4}, {"cid": 60, "color": "#4E79A7", "label": "Community 60", "count": 4}, {"cid": 61, "color": "#F28E2B", "label": "Community 61", "count": 4}, {"cid": 62, "color": "#E15759", "label": "Community 62", "count": 4}, {"cid": 63, "color": "#76B7B2", "label": "Community 63", "count": 4}, {"cid": 64, "color": "#59A14F", "label": "Community 64", "count": 3}, {"cid": 65, "color": "#EDC948", "label": "Community 65", "count": 3}, {"cid": 66, "color": "#B07AA1", "label": "Community 66", "count": 3}, {"cid": 67, "color": "#FF9DA7", "label": "Community 67", "count": 3}, {"cid": 68, "color": "#9C755F", "label": "Community 68", "count": 3}, {"cid": 69, "color": "#BAB0AC", "label": "Community 69", "count": 3}, {"cid": 70, "color": "#4E79A7", "label": "Community 70", "couLine truncated
|
||||
const RAW_NODES = [{"id": "app_vue", "label": "App.vue", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "App.vue", "community": 47, "community_name": "Community 47", "source_file": "App.vue", "file_type": "code", "degree": 3}, {"id": "src_app_refreshbuttonautoicons", "label": "refreshButtonAutoIcons()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshButtonAutoIcons()", "community": 47, "community_name": "Community 47", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "src_app_refreshpaneltitleicons", "label": "refreshPanelTitleIcons()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshPanelTitleIcons()", "community": 47, "community_name": "Community 47", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "main_ts", "label": "main.ts", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "main.ts", "community": 47, "community_name": "Community 47", "source_file": "main.ts", "file_type": "code", "degree": 4}, {"id": "src_main_masksecret", "label": "maskSecret()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "maskSecret()", "community": 47, "community_name": "Community 47", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "src_main_logapicryptobootinfo", "label": "logApiCryptoBootInfo()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "logApiCryptoBootInfo()", "community": 47, "community_name": "Community 47", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "env_d_ts", "label": "env.d.ts", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "env.d.ts", "community": 113, "community_name": "Community 113", "source_file": "env.d.ts", "file_type": "code", "degree": 0}, {"id": "shims_loose_d_ts", "label": "shims-loose.d.ts", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "shims-loose.d.ts", "community": 114, "community_name": "Community 114", "source_file": "shims-loose.d.ts", "file_type": "code", "degree": 0}, {"id": "directives_index_ts", "label": "index.ts", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "index.ts", "community": 28, "community_name": "Community 28", "source_file": "directives/index.ts", "file_type": "code", "degree": 1}, {"id": "directives_index_setupglobdirectives", "label": "setupGlobDirectives()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.5, "font": {"size": 0, "color": "#ffffff"}, "title": "setupGlobDirectives()", "community": 28, "community_name": "Community 28", "source_file": "directives/index.ts", "file_type": "code", "degree": 5}, {"id": "directives_core_roles_ts", "label": "roles.ts", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "roles.ts", "community": 28, "community_name": "Community 28", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 3}, {"id": "core_roles_checkrolepermission", "label": "checkRolePermission()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "checkRolePermission()", "community": 28, "community_name": "Community 28", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_removeelement", "label": "removeElement()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "removeElement()", "community": 28, "community_name": "Community 28", "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": 441}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 119}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 111}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 94}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 92}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 89}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 74}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 69}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 64}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 64}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 61}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 61}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 59}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 58}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 54}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 49}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 48}, {"cid": 17, "color": "#FF9DA7", "label": "Community 17", "count": 47}, {"cid": 18, "color": "#9C755F", "label": "Community 18", "count": 44}, {"cid": 19, "color": "#BAB0AC", "label": "Community 19", "count": 44}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 42}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 40}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 37}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 37}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 34}, {"cid": 25, "color": "#EDC948", "label": "Community 25", "count": 34}, {"cid": 26, "color": "#B07AA1", "label": "Community 26", "count": 29}, {"cid": 27, "color": "#FF9DA7", "label": "Community 27", "count": 24}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 22}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 22}, {"cid": 30, "color": "#4E79A7", "label": "Community 30", "count": 22}, {"cid": 31, "color": "#F28E2B", "label": "Community 31", "count": 22}, {"cid": 32, "color": "#E15759", "label": "Community 32", "count": 19}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 19}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 17}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 16}, {"cid": 36, "color": "#B07AA1", "label": "Community 36", "count": 14}, {"cid": 37, "color": "#FF9DA7", "label": "Community 37", "count": 13}, {"cid": 38, "color": "#9C755F", "label": "Community 38", "count": 13}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 9}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 9}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 9}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 9}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 9}, {"cid": 44, "color": "#59A14F", "label": "Community 44", "count": 8}, {"cid": 45, "color": "#EDC948", "label": "Community 45", "count": 8}, {"cid": 46, "color": "#B07AA1", "label": "Community 46", "count": 8}, {"cid": 47, "color": "#FF9DA7", "label": "Community 47", "count": 7}, {"cid": 48, "color": "#9C755F", "label": "Community 48", "count": 7}, {"cid": 49, "color": "#BAB0AC", "label": "Community 49", "count": 7}, {"cid": 50, "color": "#4E79A7", "label": "Community 50", "count": 7}, {"cid": 51, "color": "#F28E2B", "label": "Community 51", "count": 6}, {"cid": 52, "color": "#E15759", "label": "Community 52", "count": 6}, {"cid": 53, "color": "#76B7B2", "label": "Community 53", "count": 6}, {"cid": 54, "color": "#59A14F", "label": "Community 54", "count": 6}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 5}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 5}, {"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": 4}, {"cid": 61, "color": "#F28E2B", "label": "Community 61", "count": 4}, {"cid": 62, "color": "#E15759", "label": "Community 62", "count": 4}, {"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": 3}, {"cid": 68, "color": "#9C755F", "label": "Community 68", "count": 3}, {"cid": 69, "color": "#BAB0AC", "label": "Community 69", "count": 3}, {"cid": 70, "color": "#4E79A7", "label": "Community 70", "couLine truncated
|
||||
|
||||
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
|
||||
function esc(s) {
|
||||
|
||||
+8514
-9111
File diff suppressed because it is too large.
Load diff
@@ -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": 1782807863.897026,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/auto-imports.d.ts": 1782807344.6004834,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/components.d.ts": 1782822357.223359,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/auto-imports.d.ts": 1782822355.049375,
|
||||
"/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/locales/index.ts": 1781272556.3657222,
|
||||
@@ -315,7 +315,7 @@
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol-audit/FullmoonTodoTab.vue": 1782713950.6410708,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol-audit/ProtocolAuditTab.vue": 1782806731.7479634,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol-audit/PaymentInfoTab.vue": 1782806424.3613796,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/material/index.vue": 1782807704.8209147,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/material/index.vue": 1782821645.0234518,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/material/MaterialUsageTab.vue": 1782806765.0634851,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/material/MaterialStockCheckTab.vue": 1782807285.11373,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue": 1781272556.719875,
|
||||
@@ -378,14 +378,14 @@
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-task/index.vue": 1781272556.812188,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/reagent/index.vue": 1782807607.3540442,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/index.vue": 1782472598.0379121,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts": 1782720548.5258708,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts": 1782822330.679258,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue": 1782802994.9180765,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/CompleteProductionTaskDialog.vue": 1781563767.3525257,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskInputEnhancedTable.vue": 1782709493.924029,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/DispatchQcWorkOrderDialog.vue": 1782359900.6139107,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/SampleReceptionDialog.vue": 1782807285.1607049,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskEquipmentPanel.vue": 1782720192.2193718,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue": 1782803905.2834466,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue": 1782822349.7374394,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/EditTaskInfoDialog.vue": 1781577178.2471955,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskOutputList.vue": 1782806579.0832028,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/DispatchTaskDialog.vue": 1782717441.142722,
|
||||
@@ -395,8 +395,9 @@
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue": 1782807939.7824953,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ForwardTaskDialog.vue": 1781563767.3550124,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/WorkOrderTaskStepSubList.vue": 1782808941.5863082,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailActionBar.vue": 1782483101.2067354,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailActionBar.vue": 1782811786.5727916,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderTabBar.vue": 1782403774.1374023,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts": 1782811944.10899,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/DispatchStepDialog.vue": 1782472889.9876838,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/OutboundPilotTab.vue": 1781583381.1088736,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/ProductionWorkOrderTabPanel.vue": 1782703212.9716113,
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "label": "useTaskStepEditor.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L1"}, {"id": "production_work_order_usetaskstepeditor_parsetaskattachmentsfromurls", "label": "parseTaskAttachmentsFromUrls()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L67"}, {"id": "production_work_order_usetaskstepeditor_toapiflag", "label": "toApiFlag()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L77"}, {"id": "production_work_order_usetaskstepeditor_fromapiflag", "label": "fromApiFlag()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L81"}, {"id": "production_work_order_usetaskstepeditor_normalizestepsubtables", "label": "normalizeStepSubTables()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L84"}, {"id": "production_work_order_usetaskstepeditor_parseordernum", "label": "parseOrderNum()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L111"}, {"id": "production_work_order_usetaskstepeditor_usetaskstepeditor", "label": "useTaskStepEditor()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L118"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_task", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_step_assignee", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L20", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L21", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_admin", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L30", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L31", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_sample_reception", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L32", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_equipment_select", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L33", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_prodLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_types_import_components_d_ts", "label": "components.d.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/components.d.ts", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_task_step_editor_persistence_ts", "label": "task-step-editor-persistence.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L1"}, {"id": "production_work_order_task_step_editor_persistence_createemptysnapshots", "label": "createEmptySnapshots()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L17"}, {"id": "production_work_order_task_step_editor_persistence_serializeinputs", "label": "serializeInputs()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L27"}, {"id": "production_work_order_task_step_editor_persistence_serializeoutputs", "label": "serializeOutputs()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L39"}, {"id": "production_work_order_task_step_editor_persistence_serializeattachments", "label": "serializeAttachments()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L53"}, {"id": "production_work_order_task_step_editor_persistence_serializeequipmentids", "label": "serializeEquipmentIds()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L61"}, {"id": "production_work_order_task_step_editor_persistence_normalizereagents", "label": "normalizeReagents()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L65"}, {"id": "production_work_order_task_step_editor_persistence_normalizeconsumables", "label": "normalizeConsumables()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L79"}, {"id": "production_work_order_task_step_editor_persistence_normalizeconfiguredreagents", "label": "normalizeConfiguredReagents()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L93"}, {"id": "production_work_order_task_step_editor_persistence_normalizestepoutputs", "label": "normalizeStepOutputs()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L106"}, {"id": "production_work_order_task_step_editor_persistence_normalizedatacollections", "label": "normalizeDataCollections()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L115"}, {"id": "production_work_order_task_step_editor_persistence_serializestep", "label": "serializeStep()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L124"}, {"id": "production_work_order_task_step_editor_persistence_scopetostepid", "label": "scopeToStepId()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L141"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_task_step_editor_persistence_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_components_business_protocol_finance_confirm_fields_finance_attachments", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_task_step_editor_persistence_ts", "target": "production_work_order_task_step_editor_persistence_createemptysnapshots", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L17", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_orderLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_task_step_editor_persistence_ts", "label": "task-step-editor-persistence.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L1"}, {"id": "production_work_order_task_step_editor_persistence_createemptysnapshots", "label": "createEmptySnapshots()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L15"}, {"id": "production_work_order_task_step_editor_persistence_serializeinputs", "label": "serializeInputs()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L25"}, {"id": "production_work_order_task_step_editor_persistence_serializeoutputs", "label": "serializeOutputs()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L37"}, {"id": "production_work_order_task_step_editor_persistence_serializeattachments", "label": "serializeAttachments()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L51"}, {"id": "production_work_order_task_step_editor_persistence_serializeequipmentids", "label": "serializeEquipmentIds()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L59"}, {"id": "production_work_order_task_step_editor_persistence_normalizereagents", "label": "normalizeReagents()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L63"}, {"id": "production_work_order_task_step_editor_persistence_normalizeconsumables", "label": "normalizeConsumables()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L77"}, {"id": "production_work_order_task_step_editor_persistence_normalizeconfiguredreagents", "label": "normalizeConfiguredReagents()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L91"}, {"id": "production_work_order_task_step_editor_persistence_normalizestepoutputs", "label": "normalizeStepOutputs()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L104"}, {"id": "production_work_order_task_step_editor_persistence_normalizedatacollections", "label": "normalizeDataCollections()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L113"}, {"id": "production_work_order_task_step_editor_persistence_serializestep", "label": "serializeStep()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L122"}, {"id": "production_work_order_task_step_editor_persistence_scopetostepid", "label": "scopeToStepId()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L139"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_task_step_editor_persistence_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_components_business_protocol_finance_confirm_fields_finance_attachments", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_task_step_editor_persistence_ts", "target": "production_work_order_task_step_editor_persistence_createemptysnapshots", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/task-step-editor-persistence.ts", "source_location": "L15", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_orderLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskexecutiondialog_vue", "label": "TaskExecutionDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L1"}, {"id": "production_work_order_taskexecutiondialog_onsteplistdrop", "label": "onStepListDrop()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L628"}, {"id": "production_work_order_taskexecutiondialog_handleforwardsuccess", "label": "handleForwardSuccess()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L633"}, {"id": "production_work_order_taskexecutiondialog_openforwarddialog", "label": "openForwardDialog()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L639"}, {"id": "production_work_order_taskexecutiondialog_savetaskoutputsmanual", "label": "saveTaskOutputsManual()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L644"}, {"id": "production_work_order_taskexecutiondialog_savetaskattachmentsmanual", "label": "saveTaskAttachmentsManual()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L648"}, {"id": "production_work_order_taskexecutiondialog_savetaskequipmentmanual", "label": "saveTaskEquipmentManual()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L652"}, {"id": "production_work_order_taskexecutiondialog_if", "label": "if()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L657"}, {"id": "production_work_order_taskexecutiondialog_stepseqclass", "label": "stepSeqClass()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L676"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskexecutiondialog_vue", "target": "production_work_order_taskexecutiondialog_onsteplistdrop", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L628", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskexecutiondialog_vue", "target": "production_work_order_taskexecutiondialog_handleforwardsuccess", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L633", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskexecutiondialog_vue", "target": "production_work_order_taskexecutiondialog_openforwarddialog", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L639", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskexecutiondialog_vue", "target": "production_work_order_taskexecutiondialog_savetaskoutputsmanual", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L644", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskexecutiondialog_vue", "target": "production_work_order_taskexecutiondialog_savetaskattachmentsmanual", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L648", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskexecutiondialog_vue", "target": "production_work_order_taskexecutiondialog_savetaskequipmentmanual", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/vLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_stepdetailactionbar_vue", "label": "StepDetailActionBar.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailActionBar.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "label": "useTaskStepEditor.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L1"}, {"id": "production_work_order_usetaskstepeditor_parsetaskattachmentsfromurls", "label": "parseTaskAttachmentsFromUrls()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L67"}, {"id": "production_work_order_usetaskstepeditor_toapiflag", "label": "toApiFlag()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L77"}, {"id": "production_work_order_usetaskstepeditor_fromapiflag", "label": "fromApiFlag()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L81"}, {"id": "production_work_order_usetaskstepeditor_normalizestepsubtables", "label": "normalizeStepSubTables()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L84"}, {"id": "production_work_order_usetaskstepeditor_parseordernum", "label": "parseOrderNum()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L111"}, {"id": "production_work_order_usetaskstepeditor_usetaskstepeditor", "label": "useTaskStepEditor()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L118"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_task", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_step_assignee", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L20", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L21", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_admin", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L30", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L31", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_sample_reception", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L32", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_usetaskstepeditor_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_equipment_select", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/useTaskStepEditor.ts", "source_location": "L33", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_prodLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskexecutiondialog_vue", "label": "TaskExecutionDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L1"}, {"id": "production_work_order_taskexecutiondialog_onsteplistdrop", "label": "onStepListDrop()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L631"}, {"id": "production_work_order_taskexecutiondialog_handleforwardsuccess", "label": "handleForwardSuccess()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L636"}, {"id": "production_work_order_taskexecutiondialog_openforwarddialog", "label": "openForwardDialog()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L642"}, {"id": "production_work_order_taskexecutiondialog_savetaskoutputsmanual", "label": "saveTaskOutputsManual()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L647"}, {"id": "production_work_order_taskexecutiondialog_savetaskattachmentsmanual", "label": "saveTaskAttachmentsManual()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L651"}, {"id": "production_work_order_taskexecutiondialog_savetaskequipmentmanual", "label": "saveTaskEquipmentManual()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L655"}, {"id": "production_work_order_taskexecutiondialog_if", "label": "if()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L660"}, {"id": "production_work_order_taskexecutiondialog_stepseqclass", "label": "stepSeqClass()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L679"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskexecutiondialog_vue", "target": "production_work_order_taskexecutiondialog_onsteplistdrop", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L631", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskexecutiondialog_vue", "target": "production_work_order_taskexecutiondialog_handleforwardsuccess", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L636", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskexecutiondialog_vue", "target": "production_work_order_taskexecutiondialog_openforwarddialog", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L642", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskexecutiondialog_vue", "target": "production_work_order_taskexecutiondialog_savetaskoutputsmanual", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L647", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskexecutiondialog_vue", "target": "production_work_order_taskexecutiondialog_savetaskattachmentsmanual", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskExecutionDialog.vue", "source_location": "L651", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskexecutiondialog_vue", "target": "production_work_order_taskexecutiondialog_savetaskequipmentmanual", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/vLine truncated
|
||||
@@ -43,7 +43,7 @@
|
||||
(editor.canEditStepDispatch() && !readonly))
|
||||
"
|
||||
class="task-exec-toolbar-btn task-exec-save-btn"
|
||||
type="danger"
|
||||
:type="editor.isCurrentScopeDirty() ? 'primary' : 'danger'"
|
||||
:loading="editor.manualSaveLoading.value"
|
||||
:disabled="editor.stepActionLoading.value"
|
||||
@click="editor.handleManualSave"
|
||||
|
||||
@@ -10,14 +10,13 @@
|
||||
destroy-on-close
|
||||
:close-on-click-modal="false"
|
||||
:append-to-body="appendToBody"
|
||||
:before-close="handleBeforeClose"
|
||||
@close="handleClose"
|
||||
>
|
||||
<!-- 顶部:任务基本信息一行展示 -->
|
||||
<div v-if="editor.taskDetail.value" class="execution-header">
|
||||
<div class="execution-header-row">
|
||||
<span
|
||||
v-if="showHeaderLabStorageCode"
|
||||
class="execution-header-item"
|
||||
<span v-if="showHeaderLabStorageCode" class="execution-header-item"
|
||||
>实验室入库编码:<b>{{ headerLabStorageCode }}</b></span
|
||||
>
|
||||
<span v-if="!showHeaderLabStorageCode" class="execution-header-item"
|
||||
@@ -43,12 +42,21 @@
|
||||
</el-tag>
|
||||
<template v-else>—</template>
|
||||
</span>
|
||||
<span
|
||||
v-if="!readonly && editor.isExecutionSaving.value"
|
||||
class="execution-header-saving-hint"
|
||||
>
|
||||
<el-icon class="execution-header-saving-icon is-loading"><Loading /></el-icon>
|
||||
保存中…
|
||||
</span>
|
||||
<span
|
||||
v-else-if="!readonly && editor.dirtyScopeCount.value > 0"
|
||||
class="execution-header-dirty-hint"
|
||||
>
|
||||
有 {{ editor.dirtyScopeCount.value }} 处未保存
|
||||
</span>
|
||||
<div v-if="!readonly" class="execution-header-actions">
|
||||
<el-button
|
||||
v-if="allowForward"
|
||||
class="btn-op-item"
|
||||
@click="forwardVisible = true"
|
||||
>
|
||||
<el-button v-if="allowForward" class="btn-op-item" @click="openForwardDialog">
|
||||
<el-icon><Share /></el-icon>转发任务
|
||||
</el-button>
|
||||
<el-button
|
||||
@@ -80,7 +88,12 @@
|
||||
</div>
|
||||
|
||||
<!-- 主体:可折叠工艺库 + 步骤列表 + 详情面板 -->
|
||||
<div class="execution-main">
|
||||
<div
|
||||
class="execution-main"
|
||||
v-loading="!readonly && editor.isExecutionSaving.value"
|
||||
element-loading-text="保存中…"
|
||||
element-loading-background="rgba(255, 255, 255, 0.72)"
|
||||
>
|
||||
<!-- 可折叠工艺库侧栏(只读时不展示;我的任务执行只读展示,不可拖拽) -->
|
||||
<template v-if="!readonly">
|
||||
<transition name="slide-lib">
|
||||
@@ -133,7 +146,9 @@
|
||||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
<el-empty
|
||||
v-if="!editor.filteredProcessLibrary.value.length && !editor.processLibraryLoading.value"
|
||||
v-if="
|
||||
!editor.filteredProcessLibrary.value.length && !editor.processLibraryLoading.value
|
||||
"
|
||||
description="暂无工艺数据"
|
||||
:image-size="48"
|
||||
/>
|
||||
@@ -160,7 +175,9 @@
|
||||
<div class="execution-step-list-header">
|
||||
<h3>工序步骤</h3>
|
||||
<span class="execution-progress-badge"
|
||||
>{{ editor.completedStepCount.value }}/{{ editor.executionStepList.value.length }}</span
|
||||
>{{ editor.completedStepCount.value }}/{{
|
||||
editor.executionStepList.value.length
|
||||
}}</span
|
||||
>
|
||||
</div>
|
||||
<div class="execution-step-list-body">
|
||||
@@ -174,8 +191,11 @@
|
||||
<div class="virtual-step-info">
|
||||
<div class="virtual-step-name">原材料(样本/细胞产品)</div>
|
||||
</div>
|
||||
<el-tag v-if="editor.isScopeDirty('input')" type="warning" size="small"
|
||||
>未保存</el-tag
|
||||
>
|
||||
<el-tag
|
||||
v-if="editor.virtualInputStatus.value === 'filled'"
|
||||
v-else-if="editor.virtualInputStatus.value === 'filled'"
|
||||
type="success"
|
||||
size="small"
|
||||
>已填写 {{ editor.taskInputs.value.length }} 项</el-tag
|
||||
@@ -193,8 +213,11 @@
|
||||
<div class="virtual-step-info">
|
||||
<div class="virtual-step-name">产出(细胞产品)</div>
|
||||
</div>
|
||||
<el-tag v-if="editor.isScopeDirty('output')" type="warning" size="small"
|
||||
>未保存</el-tag
|
||||
>
|
||||
<el-tag
|
||||
v-if="editor.virtualOutputStatus.value === 'filled'"
|
||||
v-else-if="editor.virtualOutputStatus.value === 'filled'"
|
||||
type="success"
|
||||
size="small"
|
||||
>已填写 {{ editor.taskOutputs.value.length }} 项</el-tag
|
||||
@@ -206,7 +229,10 @@
|
||||
>
|
||||
{{ editor.outputsMissingStorageSlotCount.value }} 项未分配库位
|
||||
</el-tag>
|
||||
<el-tag v-else-if="editor.virtualOutputStatus.value !== 'filled'" type="info" size="small"
|
||||
<el-tag
|
||||
v-else-if="editor.virtualOutputStatus.value !== 'filled'"
|
||||
type="info"
|
||||
size="small"
|
||||
>暂无</el-tag
|
||||
>
|
||||
</div>
|
||||
@@ -221,8 +247,11 @@
|
||||
<div class="virtual-step-info">
|
||||
<div class="virtual-step-name">线下纸质文档</div>
|
||||
</div>
|
||||
<el-tag v-if="editor.isScopeDirty('paper')" type="warning" size="small"
|
||||
>未保存</el-tag
|
||||
>
|
||||
<el-tag
|
||||
v-if="editor.virtualPaperStatus.value === 'filled'"
|
||||
v-else-if="editor.virtualPaperStatus.value === 'filled'"
|
||||
type="success"
|
||||
size="small"
|
||||
>已上传 {{ editor.virtualPaperCount.value }} 份</el-tag
|
||||
@@ -240,8 +269,11 @@
|
||||
<div class="virtual-step-info">
|
||||
<div class="virtual-step-name">设备</div>
|
||||
</div>
|
||||
<el-tag v-if="editor.isScopeDirty('equipment')" type="warning" size="small"
|
||||
>未保存</el-tag
|
||||
>
|
||||
<el-tag
|
||||
v-if="editor.virtualEquipmentStatus.value === 'filled'"
|
||||
v-else-if="editor.virtualEquipmentStatus.value === 'filled'"
|
||||
type="success"
|
||||
size="small"
|
||||
>已选 {{ editor.virtualEquipmentCount.value }} 台</el-tag
|
||||
@@ -301,7 +333,13 @@
|
||||
</div>
|
||||
<div class="route-config-step-actions">
|
||||
<el-tag
|
||||
v-if="element.stepStatus"
|
||||
v-if="editor.isScopeDirty(`step:${element.id}`)"
|
||||
type="warning"
|
||||
size="small"
|
||||
>未保存</el-tag
|
||||
>
|
||||
<el-tag
|
||||
v-else-if="element.stepStatus"
|
||||
:type="editor.stepStatusTag(element.stepStatus).type"
|
||||
size="small"
|
||||
>{{ editor.stepStatusTag(element.stepStatus).label }}</el-tag
|
||||
@@ -331,11 +369,7 @@
|
||||
|
||||
<div v-if="!editor.executionStepList.value.length" class="execution-step-list-empty">
|
||||
<el-icon :size="32" color="#a8d4c4"><Plus /></el-icon>
|
||||
<p>{{
|
||||
isMineScope
|
||||
? '暂无工艺步骤'
|
||||
: '从左侧拖拽工序到此处,添加任务步骤'
|
||||
}}</p>
|
||||
<p>{{ isMineScope ? '暂无工艺步骤' : '从左侧拖拽工序到此处,添加任务步骤' }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -395,9 +429,9 @@
|
||||
<div v-if="!readonly" class="execution-detail-step-footer">
|
||||
<el-button
|
||||
class="task-exec-toolbar-btn task-exec-save-btn"
|
||||
type="danger"
|
||||
:type="editor.isScopeDirty('output') ? 'primary' : 'danger'"
|
||||
:loading="editor.outputSaving.value"
|
||||
@click="editor.saveTaskOutputs"
|
||||
@click="saveTaskOutputsManual"
|
||||
>
|
||||
<el-icon><Check /></el-icon>
|
||||
保存
|
||||
@@ -421,9 +455,9 @@
|
||||
<div v-if="!readonly" class="execution-detail-step-footer">
|
||||
<el-button
|
||||
class="task-exec-toolbar-btn task-exec-save-btn"
|
||||
type="danger"
|
||||
:type="editor.isScopeDirty('paper') ? 'primary' : 'danger'"
|
||||
:loading="editor.attachmentSaving.value"
|
||||
@click="editor.saveTaskAttachments"
|
||||
@click="saveTaskAttachmentsManual"
|
||||
>
|
||||
<el-icon><Check /></el-icon>
|
||||
保存
|
||||
@@ -448,9 +482,9 @@
|
||||
<div v-if="!readonly" class="execution-detail-step-footer">
|
||||
<el-button
|
||||
class="task-exec-toolbar-btn task-exec-save-btn"
|
||||
type="danger"
|
||||
:type="editor.isScopeDirty('equipment') ? 'primary' : 'danger'"
|
||||
:loading="editor.equipmentSaving.value"
|
||||
@click="editor.saveTaskEquipment"
|
||||
@click="saveTaskEquipmentManual"
|
||||
>
|
||||
<el-icon><Check /></el-icon>
|
||||
保存
|
||||
@@ -476,10 +510,7 @@
|
||||
<div class="execution-detail-body execution-detail-body--step">
|
||||
<StepDetailPanel :editor="editor" :readonly="readonly" hide-header />
|
||||
</div>
|
||||
<div
|
||||
v-if="editor.selectedStep.value && !readonly"
|
||||
class="execution-detail-step-footer"
|
||||
>
|
||||
<div v-if="editor.selectedStep.value && !readonly" class="execution-detail-step-footer">
|
||||
<StepDetailActionBar :editor="editor" :readonly="readonly" />
|
||||
</div>
|
||||
</template>
|
||||
@@ -507,7 +538,16 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { Rank, Plus, Check, VideoPlay, CopyDocument, Delete, Share } from '@element-plus/icons-vue'
|
||||
import {
|
||||
Rank,
|
||||
Plus,
|
||||
Check,
|
||||
VideoPlay,
|
||||
CopyDocument,
|
||||
Delete,
|
||||
Share,
|
||||
Loading
|
||||
} from '@element-plus/icons-vue'
|
||||
import { VueDraggable as draggable } from 'vue-draggable-plus'
|
||||
import { useTaskStepEditor } from './useTaskStepEditor'
|
||||
import StepDetailPanel from './StepDetailPanel.vue'
|
||||
@@ -599,6 +639,32 @@
|
||||
emit('success')
|
||||
}
|
||||
|
||||
async function openForwardDialog() {
|
||||
if (!(await editor.guardBeforeLeaveCurrentScope())) return
|
||||
forwardVisible.value = true
|
||||
}
|
||||
|
||||
function saveTaskOutputsManual() {
|
||||
void editor.saveTaskOutputs()
|
||||
}
|
||||
|
||||
function saveTaskAttachmentsManual() {
|
||||
void editor.saveTaskAttachments()
|
||||
}
|
||||
|
||||
function saveTaskEquipmentManual() {
|
||||
void editor.saveTaskEquipment()
|
||||
}
|
||||
|
||||
async function handleBeforeClose(done: () => void) {
|
||||
if (props.readonly) {
|
||||
done()
|
||||
return
|
||||
}
|
||||
const ok = await editor.guardBeforeLeaveCurrentScope()
|
||||
if (ok) done()
|
||||
}
|
||||
|
||||
function handleClose() {
|
||||
emit('success')
|
||||
}
|
||||
@@ -629,13 +695,14 @@
|
||||
if (props.taskId) {
|
||||
await editor.initEditor(props.taskId, {
|
||||
mode: 'execution',
|
||||
operateScope: props.readonly ? undefined : props.operateScope
|
||||
operateScope: props.readonly ? undefined : props.operateScope,
|
||||
readonly: props.readonly
|
||||
})
|
||||
const stepId = (props.initialStepId || '').trim()
|
||||
if (stepId) {
|
||||
const step = editor.stepList.value.find((s) => s.id === stepId)
|
||||
if (step) {
|
||||
editor.selectStep(step)
|
||||
await editor.selectStep(step)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -668,6 +735,22 @@
|
||||
.execution-header-item {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.execution-header-dirty-hint {
|
||||
font-size: 12px;
|
||||
color: #d97706;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.execution-header-saving-hint {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 12px;
|
||||
color: var(--primary, #10b981);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.execution-header-saving-icon {
|
||||
font-size: 14px;
|
||||
}
|
||||
.execution-header-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
@@ -959,6 +1042,9 @@
|
||||
color: var(--mint-text-muted, #64748b);
|
||||
}
|
||||
.execution-detail-step-footer {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
z-index: 2;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -0,0 +1,142 @@
|
||||
import type { FinanceAttachmentItem } from '@/components/business/protocol-finance-confirm-fields/finance-attachments'
|
||||
|
||||
export type DirtyScope = 'input' | 'output' | 'paper' | 'equipment' | `step:${string}`
|
||||
|
||||
export type FlushResult = { ok: true } | { ok: false; message: string; blocking: true }
|
||||
|
||||
export type EditorSnapshots = {
|
||||
inputs: string
|
||||
outputs: string
|
||||
attachments: string
|
||||
equipmentIds: string
|
||||
steps: Record<string, string>
|
||||
}
|
||||
|
||||
export function createEmptySnapshots(): EditorSnapshots {
|
||||
return {
|
||||
inputs: serializeInputs([]),
|
||||
outputs: serializeOutputs([]),
|
||||
attachments: serializeAttachments([]),
|
||||
equipmentIds: serializeEquipmentIds([]),
|
||||
steps: {}
|
||||
}
|
||||
}
|
||||
|
||||
export function serializeInputs(rows: Record<string, any>[]): string {
|
||||
return JSON.stringify(
|
||||
rows.map((r) => ({
|
||||
inputType: r.inputType,
|
||||
inputId: r.inputId,
|
||||
inputCode: r.inputCode,
|
||||
inputName: r.inputName,
|
||||
remark: r.remark
|
||||
}))
|
||||
)
|
||||
}
|
||||
|
||||
export function serializeOutputs(rows: Record<string, any>[]): string {
|
||||
return JSON.stringify(
|
||||
rows.map((r) => ({
|
||||
cellProductId: r.cellProductId,
|
||||
storageSlotId: r.storageSlotId,
|
||||
outputName: r.outputName,
|
||||
outputBarcode: r.outputBarcode,
|
||||
quantity: r.quantity,
|
||||
unit: r.unit,
|
||||
remark: r.remark
|
||||
}))
|
||||
)
|
||||
}
|
||||
|
||||
export function serializeAttachments(items: FinanceAttachmentItem[]): string {
|
||||
return JSON.stringify(
|
||||
items
|
||||
.filter((f) => f.fileUrl && !f._uploading)
|
||||
.map((f) => ({ fileUrl: f.fileUrl, fileName: f.fileName }))
|
||||
)
|
||||
}
|
||||
|
||||
export function serializeEquipmentIds(ids: string[]): string {
|
||||
return JSON.stringify([...ids].sort())
|
||||
}
|
||||
|
||||
function normalizeReagents(rows: Record<string, any>[] | undefined) {
|
||||
return (rows || []).map((r) => ({
|
||||
reagentCode: r.reagentCode,
|
||||
reagentName: r.reagentName,
|
||||
spec: r.spec,
|
||||
standardUsage: r.standardUsage,
|
||||
actualUsage: r.actualUsage || '',
|
||||
unit: r.unit,
|
||||
requisitionUsageId: r.requisitionUsageId || '',
|
||||
isKeyMaterial: r.isKeyMaterial,
|
||||
remark: r.remark || ''
|
||||
}))
|
||||
}
|
||||
|
||||
function normalizeConsumables(rows: Record<string, any>[] | undefined) {
|
||||
return (rows || []).map((c) => ({
|
||||
consumableCode: c.consumableCode,
|
||||
consumableName: c.consumableName,
|
||||
specModel: c.specModel,
|
||||
standardUsage: c.standardUsage,
|
||||
actualUsage: c.actualUsage || '',
|
||||
unit: c.unit,
|
||||
requisitionUsageId: c.requisitionUsageId || '',
|
||||
isRequired: c.isRequired,
|
||||
remark: c.remark || ''
|
||||
}))
|
||||
}
|
||||
|
||||
function normalizeConfiguredReagents(rows: Record<string, any>[] | undefined) {
|
||||
return (rows || []).map((r) => ({
|
||||
configuredReagentCode: r.configuredReagentCode,
|
||||
configuredReagentName: r.configuredReagentName,
|
||||
spec: r.spec,
|
||||
standardUsage: r.standardUsage,
|
||||
actualUsage: r.actualUsage || '',
|
||||
unit: r.unit,
|
||||
requisitionUsageId: r.requisitionUsageId || '',
|
||||
remark: r.remark || ''
|
||||
}))
|
||||
}
|
||||
|
||||
function normalizeStepOutputs(rows: Record<string, any>[] | undefined) {
|
||||
return (rows || []).map((o) => ({
|
||||
outputTypeId: o.outputTypeId,
|
||||
outputName: o.outputName,
|
||||
outputBarcode: o.outputBarcode,
|
||||
remark: o.remark || ''
|
||||
}))
|
||||
}
|
||||
|
||||
function normalizeDataCollections(rows: Record<string, any>[] | undefined) {
|
||||
return (rows || []).map((d) => ({
|
||||
collectionName: d.collectionName,
|
||||
unit: d.unit,
|
||||
collectionValue: d.collectionValue || '',
|
||||
remark: d.remark || ''
|
||||
}))
|
||||
}
|
||||
|
||||
export function serializeStep(step: Record<string, any>): string {
|
||||
return JSON.stringify({
|
||||
processName: step.processName,
|
||||
categoryId: step.categoryId,
|
||||
description: step.description,
|
||||
estimatedDuration: step.estimatedDuration,
|
||||
sopIds: step.sopIds,
|
||||
assigneeUserIds: [...(step.assigneeUserIds || [])].sort(),
|
||||
plannedStartTime: step.plannedStartTime || '',
|
||||
reagents: normalizeReagents(step.reagents),
|
||||
consumables: normalizeConsumables(step.consumables),
|
||||
configuredReagents: normalizeConfiguredReagents(step.configuredReagents),
|
||||
outputs: normalizeStepOutputs(step.outputs),
|
||||
dataCollections: normalizeDataCollections(step.dataCollections)
|
||||
})
|
||||
}
|
||||
|
||||
export function scopeToStepId(scope: DirtyScope): string | null {
|
||||
if (!scope.startsWith('step:')) return null
|
||||
return scope.slice(5)
|
||||
}
|
||||
@@ -50,6 +50,18 @@ import { useUserStore } from '@/store/modules/user'
|
||||
import { normalizePlannedStartDate, extractProductionTaskSteps } from '@/utils/production-labels'
|
||||
import { resolveCellProductSpecDisplay } from '@/utils/cell-product-spec'
|
||||
import { countOutputsMissingStorageSlot } from '@/utils/storage-slot-options'
|
||||
import {
|
||||
createEmptySnapshots,
|
||||
serializeAttachments,
|
||||
serializeEquipmentIds,
|
||||
serializeInputs,
|
||||
serializeOutputs,
|
||||
serializeStep,
|
||||
scopeToStepId,
|
||||
type DirtyScope,
|
||||
type EditorSnapshots,
|
||||
type FlushResult
|
||||
} from './task-step-editor-persistence'
|
||||
|
||||
// ── helpers ──────────────────────────────────────────────────────────
|
||||
function parseTaskAttachmentsFromUrls(urls: string): FinanceAttachmentItem[] {
|
||||
@@ -141,6 +153,9 @@ export function useTaskStepEditor() {
|
||||
const activeSubTab = ref(PROCESS_ROUTE_DEFAULT_SUB_TAB)
|
||||
const processSearchKeyword = ref('')
|
||||
const configSuppressSave = ref(false)
|
||||
const executionReadonly = ref(false)
|
||||
const snapshots = ref<EditorSnapshots>(createEmptySnapshots())
|
||||
const flushInProgress = ref(false)
|
||||
|
||||
// ── execution-mode state ────────────────────────────────────────────
|
||||
const mode = ref<'edit' | 'execution'>('edit')
|
||||
@@ -597,7 +612,8 @@ export function useTaskStepEditor() {
|
||||
const code = (s.inputCode || '').trim()
|
||||
const id = (s.inputId || '').trim()
|
||||
if (!code) continue
|
||||
if (sampleCodeOptions.value.some((x) => x.sampleCode === code || (id && x.id === id))) continue
|
||||
if (sampleCodeOptions.value.some((x) => x.sampleCode === code || (id && x.id === id)))
|
||||
continue
|
||||
mergeSampleCodeOption({
|
||||
id: id || code,
|
||||
sampleCode: code,
|
||||
@@ -642,7 +658,11 @@ export function useTaskStepEditor() {
|
||||
/* 样本编码池查询失败时继续尝试接收记录 */
|
||||
}
|
||||
try {
|
||||
const recRes = await fetchSampleReceptionReceivedList({ page: 1, pageSize: 10, keyword: code })
|
||||
const recRes = await fetchSampleReceptionReceivedList({
|
||||
page: 1,
|
||||
pageSize: 10,
|
||||
keyword: code
|
||||
})
|
||||
for (const item of recRes.list || []) {
|
||||
const sc = String(item.sampleCode || '').trim()
|
||||
const lc = String(item.labStorageCode || '').trim()
|
||||
@@ -759,6 +779,86 @@ export function useTaskStepEditor() {
|
||||
const completedStepCount = computed(
|
||||
() => stepList.value.filter((s) => s.stepStatus === 'ywc').length
|
||||
)
|
||||
|
||||
function refreshStepSnapshot(stepId: string) {
|
||||
const step = stepList.value.find((s) => s.id === stepId)
|
||||
if (!step) return
|
||||
snapshots.value.steps[stepId] = serializeStep(step)
|
||||
}
|
||||
|
||||
function refreshSnapshots() {
|
||||
snapshots.value = {
|
||||
inputs: serializeInputs(taskInputs.value),
|
||||
outputs: serializeOutputs(taskOutputs.value),
|
||||
attachments: serializeAttachments(taskAttachments.value),
|
||||
equipmentIds: serializeEquipmentIds(taskEquipmentIds.value),
|
||||
steps: Object.fromEntries(stepList.value.map((s) => [s.id, serializeStep(s)]))
|
||||
}
|
||||
}
|
||||
|
||||
function getCurrentScope(): DirtyScope | null {
|
||||
if (selectedVirtualStep.value) return selectedVirtualStep.value
|
||||
if (selectedStepId.value) return `step:${selectedStepId.value}`
|
||||
return null
|
||||
}
|
||||
|
||||
function shouldGuardNavigation(): boolean {
|
||||
return (
|
||||
mode.value === 'execution' &&
|
||||
!executionReadonly.value &&
|
||||
!configSuppressSave.value &&
|
||||
!flushInProgress.value
|
||||
)
|
||||
}
|
||||
|
||||
function isScopeDirty(scope: DirtyScope): boolean {
|
||||
switch (scope) {
|
||||
case 'input':
|
||||
return serializeInputs(taskInputs.value) !== snapshots.value.inputs
|
||||
case 'output':
|
||||
return serializeOutputs(taskOutputs.value) !== snapshots.value.outputs
|
||||
case 'paper':
|
||||
return serializeAttachments(taskAttachments.value) !== snapshots.value.attachments
|
||||
case 'equipment':
|
||||
return serializeEquipmentIds(taskEquipmentIds.value) !== snapshots.value.equipmentIds
|
||||
default: {
|
||||
const stepId = scopeToStepId(scope)
|
||||
if (!stepId) return false
|
||||
const step = stepList.value.find((s) => s.id === stepId)
|
||||
if (!step) return false
|
||||
return serializeStep(step) !== (snapshots.value.steps[stepId] || '')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function isCurrentScopeDirty(): boolean {
|
||||
const scope = getCurrentScope()
|
||||
return scope ? isScopeDirty(scope) : false
|
||||
}
|
||||
|
||||
const dirtyScopeCount = computed(() => {
|
||||
let count = 0
|
||||
const virtualScopes: DirtyScope[] = ['input', 'output', 'paper', 'equipment']
|
||||
for (const scope of virtualScopes) {
|
||||
if (isScopeDirty(scope)) count++
|
||||
}
|
||||
for (const step of stepList.value) {
|
||||
if (isScopeDirty(`step:${step.id}`)) count++
|
||||
}
|
||||
return count
|
||||
})
|
||||
|
||||
/** 任务执行弹窗:手动保存与导航自动保存期间的统一 loading */
|
||||
const isExecutionSaving = computed(
|
||||
() =>
|
||||
flushInProgress.value ||
|
||||
inputSaving.value ||
|
||||
outputSaving.value ||
|
||||
attachmentSaving.value ||
|
||||
equipmentSaving.value ||
|
||||
manualSaveLoading.value
|
||||
)
|
||||
|
||||
const sopIdsArr = computed({
|
||||
get() {
|
||||
if (!selectedStep.value) return []
|
||||
@@ -882,15 +982,16 @@ export function useTaskStepEditor() {
|
||||
const workOrderId = String(executionDetail.workOrderId || '').trim()
|
||||
if (!workOrderId) return executionDetail
|
||||
|
||||
const needsWo =
|
||||
!(executionDetail.labStorageCode || '').trim() || !executionDetail.workOrderType
|
||||
const needsWo = !(executionDetail.labStorageCode || '').trim() || !executionDetail.workOrderType
|
||||
if (!needsWo) return executionDetail
|
||||
|
||||
try {
|
||||
const wo = await fetchProductionWorkOrderDetail(workOrderId)
|
||||
const patch: Record<string, any> = {}
|
||||
const lc = String(
|
||||
wo?.labStorageCode || (wo?.reception as Record<string, any> | undefined)?.labStorageCode || ''
|
||||
wo?.labStorageCode ||
|
||||
(wo?.reception as Record<string, any> | undefined)?.labStorageCode ||
|
||||
''
|
||||
).trim()
|
||||
if (lc && !(executionDetail.labStorageCode || '').trim()) {
|
||||
patch.labStorageCode = lc
|
||||
@@ -925,7 +1026,9 @@ export function useTaskStepEditor() {
|
||||
let executionDetail = detail
|
||||
executionDetail = await enrichExecutionDetailFromWorkOrder(executionDetail)
|
||||
taskDetail.value = executionDetail
|
||||
taskInputs.value = (executionDetail.inputs || []).map((i: Record<string, any>) => ({ ...i }))
|
||||
taskInputs.value = (executionDetail.inputs || []).map((i: Record<string, any>) => ({
|
||||
...i
|
||||
}))
|
||||
taskOutputs.value = (detail.outputs || []).map((o: Record<string, any>) =>
|
||||
enrichTaskOutputRow(o)
|
||||
)
|
||||
@@ -948,6 +1051,7 @@ export function useTaskStepEditor() {
|
||||
}
|
||||
ensureSampleCodesInOptions(taskInputs.value.filter((r) => r.inputType === 'sample'))
|
||||
await hydrateSampleLabStorageCodes()
|
||||
refreshSnapshots()
|
||||
}
|
||||
return stepList.value.length
|
||||
} catch {
|
||||
@@ -965,7 +1069,11 @@ export function useTaskStepEditor() {
|
||||
if (!processId || !taskId.value) return
|
||||
stepListLoading.value = true
|
||||
try {
|
||||
const newStep = await fetchAddTaskStep(taskId.value, { process_id: processId }, operateScope.value)
|
||||
const newStep = await fetchAddTaskStep(
|
||||
taskId.value,
|
||||
{ process_id: processId },
|
||||
operateScope.value
|
||||
)
|
||||
await loadTaskDetail()
|
||||
if (newStep?.id) selectedStepId.value = newStep.id
|
||||
ElMessage.success('步骤添加成功')
|
||||
@@ -993,13 +1101,19 @@ export function useTaskStepEditor() {
|
||||
stepListLoading.value = false
|
||||
}
|
||||
}
|
||||
function selectStep(step: Record<string, any>) {
|
||||
async function selectStep(step: Record<string, any>) {
|
||||
if (selectedStepId.value === step.id && !selectedVirtualStep.value) return
|
||||
if (!(await guardBeforeLeaveCurrentScope())) return
|
||||
|
||||
ensureStepAssigneeFields(step)
|
||||
selectedStepId.value = step.id
|
||||
selectedVirtualStep.value = null
|
||||
void ensureStepMaterialOptionsLoaded()
|
||||
}
|
||||
function selectVirtualStep(type: 'input' | 'output' | 'paper' | 'equipment') {
|
||||
async function selectVirtualStep(type: 'input' | 'output' | 'paper' | 'equipment') {
|
||||
if (selectedVirtualStep.value === type) return
|
||||
if (!(await guardBeforeLeaveCurrentScope())) return
|
||||
|
||||
selectedVirtualStep.value = type
|
||||
selectedStepId.value = ''
|
||||
if (type === 'input' || type === 'output') {
|
||||
@@ -1010,7 +1124,10 @@ export function useTaskStepEditor() {
|
||||
stepListLoading.value = true
|
||||
configSuppressSave.value = true
|
||||
try {
|
||||
const ns = await fetchCopyTaskStep({ taskId: taskId.value, stepId: step.id }, operateScope.value)
|
||||
const ns = await fetchCopyTaskStep(
|
||||
{ taskId: taskId.value, stepId: step.id },
|
||||
operateScope.value
|
||||
)
|
||||
await loadTaskDetail()
|
||||
if (ns?.id) selectedStepId.value = ns.id
|
||||
ElMessage.success('步骤已复制')
|
||||
@@ -1161,6 +1278,7 @@ export function useTaskStepEditor() {
|
||||
step._snapshotPlannedStartTime = step.plannedStartTime || ''
|
||||
touchStepList()
|
||||
}
|
||||
refreshStepSnapshot(step.id)
|
||||
}
|
||||
|
||||
async function saveStepBasic() {
|
||||
@@ -1283,31 +1401,60 @@ export function useTaskStepEditor() {
|
||||
void saveConsumables()
|
||||
}
|
||||
|
||||
function validateExecutionReagents() {
|
||||
if (mode.value !== 'execution' || !selectedStep.value?.reagents) return true
|
||||
function getExecutionReagentsError(): string | null {
|
||||
if (mode.value !== 'execution' || !selectedStep.value?.reagents) return null
|
||||
for (const r of selectedStep.value.reagents) {
|
||||
const actual = String(r.actualUsage ?? '').trim()
|
||||
const code = String(r.reagentCode ?? '').trim()
|
||||
const reqId = String(r.requisitionUsageId ?? '').trim()
|
||||
if (actual && code && !reqId) {
|
||||
ElMessage.warning(`试剂「${r.reagentName || code}」需选择领用记录`)
|
||||
return false
|
||||
return `试剂「${r.reagentName || code}」需选择领用记录`
|
||||
}
|
||||
}
|
||||
return true
|
||||
return null
|
||||
}
|
||||
|
||||
function validateExecutionConsumables() {
|
||||
if (mode.value !== 'execution' || !selectedStep.value?.consumables) return true
|
||||
function getExecutionConsumablesError(): string | null {
|
||||
if (mode.value !== 'execution' || !selectedStep.value?.consumables) return null
|
||||
for (const c of selectedStep.value.consumables) {
|
||||
const actual = String(c.actualUsage ?? '').trim()
|
||||
const code = String(c.consumableCode ?? '').trim()
|
||||
const reqId = String(c.requisitionUsageId ?? '').trim()
|
||||
if (actual && code && !reqId) {
|
||||
ElMessage.warning(`耗材「${c.consumableName || code}」需选择领用记录`)
|
||||
return false
|
||||
return `耗材「${c.consumableName || code}」需选择领用记录`
|
||||
}
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
function getExecutionConfiguredReagentsError(): string | null {
|
||||
if (mode.value !== 'execution' || !selectedStep.value?.configuredReagents) return null
|
||||
for (const r of selectedStep.value.configuredReagents) {
|
||||
const actual = String(r.actualUsage ?? '').trim()
|
||||
const code = String(r.configuredReagentCode ?? '').trim()
|
||||
const reqId = String(r.requisitionUsageId ?? '').trim()
|
||||
if (actual && code && !reqId) {
|
||||
return `配置试剂「${r.configuredReagentName || code}」需选择领用记录`
|
||||
}
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
function validateExecutionReagents() {
|
||||
const err = getExecutionReagentsError()
|
||||
if (err) {
|
||||
ElMessage.warning(err)
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
function validateExecutionConsumables() {
|
||||
const err = getExecutionConsumablesError()
|
||||
if (err) {
|
||||
ElMessage.warning(err)
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
@@ -1327,6 +1474,7 @@ export function useTaskStepEditor() {
|
||||
remark: r.remark || ''
|
||||
}))
|
||||
await fetchReplaceStepReagents(taskId.value, selectedStep.value.id, items, operateScope.value)
|
||||
refreshStepSnapshot(selectedStep.value.id)
|
||||
} catch {
|
||||
/* ignore */
|
||||
}
|
||||
@@ -1366,7 +1514,13 @@ export function useTaskStepEditor() {
|
||||
is_required: toApiFlag(c.isRequired),
|
||||
remark: c.remark || ''
|
||||
}))
|
||||
await fetchReplaceStepConsumables(taskId.value, selectedStep.value.id, items, operateScope.value)
|
||||
await fetchReplaceStepConsumables(
|
||||
taskId.value,
|
||||
selectedStep.value.id,
|
||||
items,
|
||||
operateScope.value
|
||||
)
|
||||
refreshStepSnapshot(selectedStep.value.id)
|
||||
} catch {
|
||||
/* ignore */
|
||||
}
|
||||
@@ -1448,10 +1602,11 @@ export function useTaskStepEditor() {
|
||||
]
|
||||
}
|
||||
function ensureAllStepConfiguredReagentOptions() {
|
||||
for (const step of stepList.value)
|
||||
for (const step of stepList.value) {
|
||||
;(step.configuredReagents || []).forEach((r: Record<string, any>) =>
|
||||
ensureConfiguredReagentOption(r)
|
||||
)
|
||||
}
|
||||
}
|
||||
function onConfiguredReagentRowSelect(row: Record<string, any>, materialId: string) {
|
||||
if (!materialId) {
|
||||
@@ -1498,7 +1653,10 @@ export function useTaskStepEditor() {
|
||||
function removeConfiguredReagentRow(i: number) {
|
||||
selectedStep.value?.configuredReagents?.splice(i, 1)
|
||||
}
|
||||
function isConfiguredReagentRequisitionDisabled(requisitionUsageId: string, currentIndex: number) {
|
||||
function isConfiguredReagentRequisitionDisabled(
|
||||
requisitionUsageId: string,
|
||||
currentIndex: number
|
||||
) {
|
||||
if (!requisitionUsageId || !selectedStep.value?.configuredReagents) return false
|
||||
return selectedStep.value.configuredReagents.some(
|
||||
(r: Record<string, any>, i: number) =>
|
||||
@@ -1534,15 +1692,10 @@ export function useTaskStepEditor() {
|
||||
void saveConfiguredReagents()
|
||||
}
|
||||
function validateExecutionConfiguredReagents() {
|
||||
if (mode.value !== 'execution' || !selectedStep.value?.configuredReagents) return true
|
||||
for (const r of selectedStep.value.configuredReagents) {
|
||||
const actual = String(r.actualUsage ?? '').trim()
|
||||
const code = String(r.configuredReagentCode ?? '').trim()
|
||||
const reqId = String(r.requisitionUsageId ?? '').trim()
|
||||
if (actual && code && !reqId) {
|
||||
ElMessage.warning(`配置试剂「${r.configuredReagentName || code}」需选择领用记录`)
|
||||
return false
|
||||
}
|
||||
const err = getExecutionConfiguredReagentsError()
|
||||
if (err) {
|
||||
ElMessage.warning(err)
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
@@ -1566,6 +1719,7 @@ export function useTaskStepEditor() {
|
||||
items,
|
||||
operateScope.value
|
||||
)
|
||||
refreshStepSnapshot(selectedStep.value.id)
|
||||
} catch {
|
||||
/* ignore */
|
||||
}
|
||||
@@ -1594,6 +1748,7 @@ export function useTaskStepEditor() {
|
||||
remark: o.remark || ''
|
||||
}))
|
||||
await fetchReplaceStepOutputs(taskId.value, selectedStep.value.id, items, operateScope.value)
|
||||
refreshStepSnapshot(selectedStep.value.id)
|
||||
} catch {
|
||||
/* ignore */
|
||||
}
|
||||
@@ -1621,7 +1776,13 @@ export function useTaskStepEditor() {
|
||||
collection_value: d.collectionValue || '',
|
||||
remark: d.remark || ''
|
||||
}))
|
||||
await fetchReplaceStepDataCollection(taskId.value, selectedStep.value.id, items, operateScope.value)
|
||||
await fetchReplaceStepDataCollection(
|
||||
taskId.value,
|
||||
selectedStep.value.id,
|
||||
items,
|
||||
operateScope.value
|
||||
)
|
||||
refreshStepSnapshot(selectedStep.value.id)
|
||||
} catch {
|
||||
/* ignore */
|
||||
}
|
||||
@@ -1630,41 +1791,400 @@ export function useTaskStepEditor() {
|
||||
const manualSaveLoading = ref(false)
|
||||
const stepActionLoading = ref(false)
|
||||
const taskActionLoading = ref(false)
|
||||
async function handleManualSave() {
|
||||
if (!selectedStep.value || manualSaveLoading.value) return
|
||||
const step = selectedStep.value
|
||||
function validateTaskInputs(): string | null {
|
||||
const invalid = taskInputs.value.find(
|
||||
(row) =>
|
||||
!row.inputType ||
|
||||
(!(row.inputId || '').trim() &&
|
||||
!(row.inputCode || '').trim() &&
|
||||
!(row.inputName || '').trim())
|
||||
)
|
||||
if (invalid) {
|
||||
return '请补全每行原材料的类型与编码/名称'
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
function validateTaskOutputs(): string | null {
|
||||
const invalid = taskOutputs.value.find(
|
||||
(row) => !(row.outputName || '').trim() || !(row.outputBarcode || '').trim()
|
||||
)
|
||||
if (invalid) {
|
||||
return '请补全每行产出的输出名称与条码'
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
function validateTaskAttachments(): string | null {
|
||||
if (taskAttachments.value.some((f) => f._uploading)) {
|
||||
return '文档正在上传,请稍候再保存'
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
async function saveTaskInputs(options?: { silent?: boolean }): Promise<FlushResult> {
|
||||
if (!taskDetail.value?.id) return { ok: true }
|
||||
const err = validateTaskInputs()
|
||||
if (err) {
|
||||
if (!options?.silent) ElMessage.warning(err)
|
||||
return { ok: false, message: err, blocking: true }
|
||||
}
|
||||
|
||||
inputSaving.value = true
|
||||
try {
|
||||
await fetchSetTaskInputs(taskDetail.value.id, taskInputs.value, operateScope.value)
|
||||
if (!options?.silent) ElMessage.success('输入已保存')
|
||||
await loadTaskDetail()
|
||||
refreshSnapshots()
|
||||
return { ok: true }
|
||||
} catch (e: any) {
|
||||
const message = e?.message || '保存失败,请重试'
|
||||
if (!options?.silent) ElMessage.warning(message)
|
||||
return { ok: false, message, blocking: true }
|
||||
} finally {
|
||||
inputSaving.value = false
|
||||
}
|
||||
}
|
||||
|
||||
async function saveTaskOutputs(options?: { silent?: boolean }): Promise<FlushResult> {
|
||||
if (!taskDetail.value?.id) return { ok: true }
|
||||
const err = validateTaskOutputs()
|
||||
if (err) {
|
||||
if (!options?.silent) ElMessage.warning(err)
|
||||
return { ok: false, message: err, blocking: true }
|
||||
}
|
||||
|
||||
outputSaving.value = true
|
||||
try {
|
||||
const payload = taskOutputs.value.map((row) => {
|
||||
const specName =
|
||||
'specName' in row || 'specText' in row
|
||||
? String(row.specName ?? row.specText ?? '').trim()
|
||||
: resolveCellProductSpecDisplay(row)
|
||||
return { ...row, specName, specText: specName }
|
||||
})
|
||||
await fetchSetTaskOutputs(taskDetail.value.id, payload, operateScope.value)
|
||||
if (!options?.silent) ElMessage.success('产出已保存')
|
||||
await loadTaskDetail()
|
||||
refreshSnapshots()
|
||||
return { ok: true }
|
||||
} catch (e: any) {
|
||||
const message = e?.message || '保存失败,请重试'
|
||||
if (!options?.silent) ElMessage.warning(message)
|
||||
return { ok: false, message, blocking: true }
|
||||
} finally {
|
||||
outputSaving.value = false
|
||||
}
|
||||
}
|
||||
|
||||
async function saveTaskAttachments(options?: { silent?: boolean }): Promise<FlushResult> {
|
||||
if (!taskDetail.value?.id) return { ok: true }
|
||||
const err = validateTaskAttachments()
|
||||
if (err) {
|
||||
if (!options?.silent) ElMessage.warning(err)
|
||||
return { ok: false, message: err, blocking: true }
|
||||
}
|
||||
|
||||
attachmentSaving.value = true
|
||||
try {
|
||||
await fetchUpdateProductionTask(taskDetail.value.id, {
|
||||
attachments: financeAttachmentsToUrlString(taskAttachments.value) || undefined
|
||||
})
|
||||
if (!options?.silent) ElMessage.success('纸质文档已保存')
|
||||
await loadTaskDetail()
|
||||
refreshSnapshots()
|
||||
return { ok: true }
|
||||
} catch (e: any) {
|
||||
const message = e?.message || '保存失败,请重试'
|
||||
if (!options?.silent) ElMessage.warning(message)
|
||||
return { ok: false, message, blocking: true }
|
||||
} finally {
|
||||
attachmentSaving.value = false
|
||||
}
|
||||
}
|
||||
|
||||
async function saveTaskEquipment(options?: { silent?: boolean }): Promise<FlushResult> {
|
||||
const id = taskDetail.value?.id || taskId.value
|
||||
if (!id) return { ok: true }
|
||||
|
||||
equipmentSaving.value = true
|
||||
try {
|
||||
await fetchUpdateProductionTask(id, {
|
||||
equipmentIds: taskEquipmentIds.value.length ? taskEquipmentIds.value : null
|
||||
})
|
||||
if (!options?.silent) ElMessage.success('设备列表已保存')
|
||||
await loadTaskDetail()
|
||||
refreshSnapshots()
|
||||
return { ok: true }
|
||||
} catch (e: any) {
|
||||
const message = e?.message || '保存失败,请重试'
|
||||
if (!options?.silent) ElMessage.warning(message)
|
||||
return { ok: false, message, blocking: true }
|
||||
} finally {
|
||||
equipmentSaving.value = false
|
||||
}
|
||||
}
|
||||
|
||||
function getStepSubTablesSaveErrorFor(step: Record<string, any>): string | null {
|
||||
if (mode.value !== 'execution') return null
|
||||
for (const r of step.reagents || []) {
|
||||
const actual = String(r.actualUsage ?? '').trim()
|
||||
const code = String(r.reagentCode ?? '').trim()
|
||||
const reqId = String(r.requisitionUsageId ?? '').trim()
|
||||
if (actual && code && !reqId) {
|
||||
return `试剂「${r.reagentName || code}」需选择领用记录`
|
||||
}
|
||||
}
|
||||
for (const c of step.consumables || []) {
|
||||
const actual = String(c.actualUsage ?? '').trim()
|
||||
const code = String(c.consumableCode ?? '').trim()
|
||||
const reqId = String(c.requisitionUsageId ?? '').trim()
|
||||
if (actual && code && !reqId) {
|
||||
return `耗材「${c.consumableName || code}」需选择领用记录`
|
||||
}
|
||||
}
|
||||
for (const r of step.configuredReagents || []) {
|
||||
const actual = String(r.actualUsage ?? '').trim()
|
||||
const code = String(r.configuredReagentCode ?? '').trim()
|
||||
const reqId = String(r.requisitionUsageId ?? '').trim()
|
||||
if (actual && code && !reqId) {
|
||||
return `配置试剂「${r.configuredReagentName || code}」需选择领用记录`
|
||||
}
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
function canEditStepDispatchFor(step: Record<string, any> | null | undefined): boolean {
|
||||
if (operateScope.value === 'mine') {
|
||||
return canEditStep(step)
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
async function saveStepRecord(step: Record<string, any>): Promise<FlushResult> {
|
||||
const canBasic = canEditStep(step)
|
||||
const canDispatch = canEditStepDispatch() && stepDispatchChanged(step)
|
||||
if (!canBasic && !canDispatch) return
|
||||
manualSaveLoading.value = true
|
||||
const canDispatch = canEditStepDispatchFor(step) && stepDispatchChanged(step)
|
||||
if (!canBasic && !canDispatch) return { ok: true }
|
||||
|
||||
if (canBasic) {
|
||||
const subErr = getStepSubTablesSaveErrorFor(step)
|
||||
if (subErr) return { ok: false, message: subErr, blocking: true }
|
||||
}
|
||||
|
||||
try {
|
||||
if (canBasic) {
|
||||
await Promise.all([
|
||||
saveStepBasic(),
|
||||
saveReagents(),
|
||||
saveConsumables(),
|
||||
saveConfiguredReagents(),
|
||||
saveOutputs(),
|
||||
saveDataCollections()
|
||||
])
|
||||
await fetchUpdateTaskStep(
|
||||
taskId.value,
|
||||
step.id,
|
||||
{
|
||||
process_name: step.processName,
|
||||
category_id: step.categoryId,
|
||||
description: step.description,
|
||||
estimated_duration: step.estimatedDuration,
|
||||
sop_ids: step.sopIds
|
||||
},
|
||||
operateScope.value
|
||||
)
|
||||
const items = (step.reagents || []).map((r: Record<string, any>) => ({
|
||||
material_code: r.reagentCode,
|
||||
material_name: r.reagentName,
|
||||
spec: r.spec,
|
||||
standard_usage: r.standardUsage,
|
||||
actual_usage: r.actualUsage || '',
|
||||
unit: r.unit,
|
||||
requisition_usage_id: r.requisitionUsageId || '',
|
||||
is_key_material: toApiFlag(r.isKeyMaterial),
|
||||
remark: r.remark || ''
|
||||
}))
|
||||
await fetchReplaceStepReagents(taskId.value, step.id, items, operateScope.value)
|
||||
const consumableItems = (step.consumables || []).map((c: Record<string, any>) => ({
|
||||
material_code: c.consumableCode,
|
||||
material_name: c.consumableName,
|
||||
spec_model: c.specModel,
|
||||
standard_usage: c.standardUsage,
|
||||
actual_usage: c.actualUsage || '',
|
||||
unit: c.unit,
|
||||
requisition_usage_id: c.requisitionUsageId || '',
|
||||
is_required: toApiFlag(c.isRequired),
|
||||
remark: c.remark || ''
|
||||
}))
|
||||
await fetchReplaceStepConsumables(
|
||||
taskId.value,
|
||||
step.id,
|
||||
consumableItems,
|
||||
operateScope.value
|
||||
)
|
||||
const configuredItems = (step.configuredReagents || []).map((r: Record<string, any>) => ({
|
||||
material_code: r.configuredReagentCode,
|
||||
material_name: r.configuredReagentName,
|
||||
spec: r.spec,
|
||||
standard_usage: r.standardUsage,
|
||||
actual_usage: r.actualUsage || '',
|
||||
unit: r.unit,
|
||||
requisition_usage_id: r.requisitionUsageId || '',
|
||||
remark: r.remark || ''
|
||||
}))
|
||||
await fetchReplaceStepConfiguredReagents(
|
||||
taskId.value,
|
||||
step.id,
|
||||
configuredItems,
|
||||
operateScope.value
|
||||
)
|
||||
const outputItems = (step.outputs || []).map((o: Record<string, any>) => ({
|
||||
output_type_id: o.outputTypeId,
|
||||
output_name: o.outputName,
|
||||
output_barcode: o.outputBarcode,
|
||||
remark: o.remark || ''
|
||||
}))
|
||||
await fetchReplaceStepOutputs(taskId.value, step.id, outputItems, operateScope.value)
|
||||
const dataItems = (step.dataCollections || []).map((d: Record<string, any>) => ({
|
||||
collection_name: d.collectionName,
|
||||
unit: d.unit,
|
||||
collection_value: d.collectionValue || '',
|
||||
remark: d.remark || ''
|
||||
}))
|
||||
await fetchReplaceStepDataCollection(taskId.value, step.id, dataItems, operateScope.value)
|
||||
}
|
||||
if (canDispatch) {
|
||||
await saveStepDispatch()
|
||||
const assigneeUserIds = [...(step.assigneeUserIds || [])]
|
||||
const result = await fetchDispatchProductionTaskSteps(
|
||||
taskId.value,
|
||||
{
|
||||
steps: [
|
||||
{
|
||||
stepId: step.id,
|
||||
assigneeUserIds,
|
||||
plannedStartTime: step.plannedStartTime || null
|
||||
}
|
||||
]
|
||||
},
|
||||
operateScope.value
|
||||
)
|
||||
const steps = extractProductionTaskSteps(result)
|
||||
if (steps.length) {
|
||||
mergeStepDispatchSummaries(steps)
|
||||
} else {
|
||||
syncStepAssigneeDisplay(step)
|
||||
step._snapshotAssigneeUserIds = [...assigneeUserIds]
|
||||
step._snapshotPlannedStartTime = step.plannedStartTime || ''
|
||||
touchStepList()
|
||||
}
|
||||
}
|
||||
ElMessage.success('保存成功')
|
||||
} catch {
|
||||
ElMessage.error('保存失败,请重试')
|
||||
refreshStepSnapshot(step.id)
|
||||
return { ok: true }
|
||||
} catch (e: any) {
|
||||
return { ok: false, message: e?.message || '保存失败,请重试', blocking: true }
|
||||
}
|
||||
}
|
||||
|
||||
async function saveCurrentStep(options?: { silent?: boolean }): Promise<FlushResult> {
|
||||
if (!selectedStep.value || manualSaveLoading.value) return { ok: true }
|
||||
manualSaveLoading.value = true
|
||||
try {
|
||||
const result = await saveStepRecord(selectedStep.value)
|
||||
if (result.ok && !options?.silent) {
|
||||
ElMessage.success('保存成功')
|
||||
}
|
||||
return result
|
||||
} finally {
|
||||
manualSaveLoading.value = false
|
||||
}
|
||||
}
|
||||
|
||||
async function flushScope(
|
||||
scope: DirtyScope,
|
||||
options?: { silent?: boolean }
|
||||
): Promise<FlushResult> {
|
||||
switch (scope) {
|
||||
case 'input':
|
||||
return saveTaskInputs(options)
|
||||
case 'output':
|
||||
return saveTaskOutputs(options)
|
||||
case 'paper':
|
||||
return saveTaskAttachments(options)
|
||||
case 'equipment':
|
||||
return saveTaskEquipment(options)
|
||||
default: {
|
||||
const stepId = scopeToStepId(scope)
|
||||
const step = stepList.value.find((s) => s.id === stepId)
|
||||
if (!step) return { ok: true }
|
||||
return saveStepRecord(step)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
async function flushAllDirtyScopes(options?: { silent?: boolean }): Promise<FlushResult> {
|
||||
if (!shouldGuardNavigation()) return { ok: true }
|
||||
|
||||
const scopes: DirtyScope[] = [
|
||||
'input',
|
||||
'output',
|
||||
'paper',
|
||||
'equipment',
|
||||
...stepList.value.map((s) => `step:${s.id}` as DirtyScope)
|
||||
]
|
||||
|
||||
if (flushInProgress.value) {
|
||||
return { ok: false, message: '正在保存,请稍候', blocking: true }
|
||||
}
|
||||
|
||||
flushInProgress.value = true
|
||||
try {
|
||||
for (const scope of scopes) {
|
||||
if (!isScopeDirty(scope)) continue
|
||||
const result = await flushScope(scope, options)
|
||||
if (!result.ok) {
|
||||
if (result.blocking) ElMessage.warning(result.message)
|
||||
return result
|
||||
}
|
||||
}
|
||||
return { ok: true }
|
||||
} finally {
|
||||
flushInProgress.value = false
|
||||
}
|
||||
}
|
||||
|
||||
async function flushCurrentScope(options?: { silent?: boolean }): Promise<FlushResult> {
|
||||
if (!shouldGuardNavigation()) return { ok: true }
|
||||
|
||||
const scope = getCurrentScope()
|
||||
if (!scope || !isScopeDirty(scope)) return { ok: true }
|
||||
|
||||
if (flushInProgress.value) {
|
||||
return { ok: false, message: '正在保存,请稍候', blocking: true }
|
||||
}
|
||||
|
||||
flushInProgress.value = true
|
||||
try {
|
||||
const result = await flushScope(scope, options)
|
||||
if (!result.ok && result.blocking) {
|
||||
ElMessage.warning(result.message)
|
||||
}
|
||||
return result
|
||||
} finally {
|
||||
flushInProgress.value = false
|
||||
}
|
||||
}
|
||||
|
||||
async function guardBeforeLeaveCurrentScope(): Promise<boolean> {
|
||||
const result = await flushCurrentScope({ silent: true })
|
||||
return result.ok
|
||||
}
|
||||
|
||||
async function handleManualSave() {
|
||||
const result = await saveCurrentStep({ silent: false })
|
||||
if (!result.ok && result.blocking) {
|
||||
ElMessage.warning(result.message)
|
||||
}
|
||||
}
|
||||
|
||||
async function handleStartStep(step: Record<string, any>) {
|
||||
if (!taskId.value || !step.id || stepActionLoading.value) return
|
||||
if (!canEditStep(step)) {
|
||||
ElMessage.warning('非当前步骤负责人,无法操作')
|
||||
return
|
||||
}
|
||||
if (!(await guardBeforeLeaveCurrentScope())) return
|
||||
stepActionLoading.value = true
|
||||
try {
|
||||
await fetchUpdateTaskStep(taskId.value, step.id, { step_status: 'jxz' }, operateScope.value)
|
||||
@@ -1688,6 +2208,7 @@ export function useTaskStepEditor() {
|
||||
} catch {
|
||||
return
|
||||
}
|
||||
if (!(await guardBeforeLeaveCurrentScope())) return
|
||||
stepActionLoading.value = true
|
||||
try {
|
||||
await fetchUpdateTaskStep(taskId.value, step.id, { step_status: 'ywc' }, operateScope.value)
|
||||
@@ -1702,6 +2223,8 @@ export function useTaskStepEditor() {
|
||||
|
||||
async function handleStartTask() {
|
||||
if (!taskDetail.value?.id || taskActionLoading.value) return
|
||||
const flushResult = await flushAllDirtyScopes({ silent: true })
|
||||
if (!flushResult.ok) return
|
||||
try {
|
||||
await ElMessageBox.confirm('确定开始执行该任务吗?', '提示', { type: 'warning' })
|
||||
} catch {
|
||||
@@ -1709,7 +2232,11 @@ export function useTaskStepEditor() {
|
||||
}
|
||||
taskActionLoading.value = true
|
||||
try {
|
||||
await fetchUpdateProductionTaskStatus(taskDetail.value.id, { taskStatus: 'jxz' }, operateScope.value)
|
||||
await fetchUpdateProductionTaskStatus(
|
||||
taskDetail.value.id,
|
||||
{ taskStatus: 'jxz' },
|
||||
operateScope.value
|
||||
)
|
||||
ElMessage.success('任务已开始执行')
|
||||
await loadTaskDetail(taskDetail.value.id)
|
||||
} catch {
|
||||
@@ -1757,6 +2284,9 @@ export function useTaskStepEditor() {
|
||||
|
||||
async function handleCompleteTask() {
|
||||
if (!taskDetail.value?.id || taskActionLoading.value) return
|
||||
const flushResult = await flushAllDirtyScopes({ silent: true })
|
||||
if (!flushResult.ok) return
|
||||
|
||||
const isCompleted = taskDetail.value.taskStatus === 'ywc'
|
||||
completeConclusionIsEdit.value = isCompleted
|
||||
completeConclusionInitial.conclusion =
|
||||
@@ -1831,30 +2361,6 @@ export function useTaskStepEditor() {
|
||||
function removeTaskInputRow(i: number) {
|
||||
taskInputs.value.splice(i, 1)
|
||||
}
|
||||
async function saveTaskInputs() {
|
||||
if (!taskDetail.value?.id) return
|
||||
const invalid = taskInputs.value.find(
|
||||
(row) =>
|
||||
!row.inputType ||
|
||||
(!(row.inputId || '').trim() &&
|
||||
!(row.inputCode || '').trim() &&
|
||||
!(row.inputName || '').trim())
|
||||
)
|
||||
if (invalid) {
|
||||
ElMessage.warning('请补全每行原材料的类型与编码/名称')
|
||||
return
|
||||
}
|
||||
inputSaving.value = true
|
||||
try {
|
||||
await fetchSetTaskInputs(taskDetail.value.id, taskInputs.value, operateScope.value)
|
||||
ElMessage.success('输入已保存')
|
||||
await loadTaskDetail()
|
||||
} catch {
|
||||
/* global error handling */
|
||||
} finally {
|
||||
inputSaving.value = false
|
||||
}
|
||||
}
|
||||
|
||||
function addTaskOutputRow() {
|
||||
taskOutputs.value.push({
|
||||
@@ -1870,70 +2376,6 @@ export function useTaskStepEditor() {
|
||||
function removeTaskOutputRow(i: number) {
|
||||
taskOutputs.value.splice(i, 1)
|
||||
}
|
||||
async function saveTaskOutputs() {
|
||||
if (!taskDetail.value?.id) return
|
||||
const invalid = taskOutputs.value.find(
|
||||
(row) => !(row.outputName || '').trim() || !(row.outputBarcode || '').trim()
|
||||
)
|
||||
if (invalid) {
|
||||
ElMessage.warning('请补全每行产出的输出名称与条码')
|
||||
return
|
||||
}
|
||||
outputSaving.value = true
|
||||
try {
|
||||
const payload = taskOutputs.value.map((row) => {
|
||||
const specName =
|
||||
'specName' in row || 'specText' in row
|
||||
? String(row.specName ?? row.specText ?? '').trim()
|
||||
: resolveCellProductSpecDisplay(row)
|
||||
return { ...row, specName, specText: specName }
|
||||
})
|
||||
await fetchSetTaskOutputs(taskDetail.value.id, payload, operateScope.value)
|
||||
ElMessage.success('产出已保存')
|
||||
await loadTaskDetail()
|
||||
} catch {
|
||||
/* global error handling */
|
||||
} finally {
|
||||
outputSaving.value = false
|
||||
}
|
||||
}
|
||||
|
||||
async function saveTaskAttachments() {
|
||||
if (!taskDetail.value?.id) return
|
||||
if (taskAttachments.value.some((f) => f._uploading)) {
|
||||
ElMessage.warning('文档正在上传,请稍候再保存')
|
||||
return
|
||||
}
|
||||
attachmentSaving.value = true
|
||||
try {
|
||||
await fetchUpdateProductionTask(taskDetail.value.id, {
|
||||
attachments: financeAttachmentsToUrlString(taskAttachments.value) || undefined
|
||||
})
|
||||
ElMessage.success('纸质文档已保存')
|
||||
await loadTaskDetail()
|
||||
} catch {
|
||||
/* global error handling */
|
||||
} finally {
|
||||
attachmentSaving.value = false
|
||||
}
|
||||
}
|
||||
|
||||
async function saveTaskEquipment() {
|
||||
const id = taskDetail.value?.id || taskId.value
|
||||
if (!id) return
|
||||
equipmentSaving.value = true
|
||||
try {
|
||||
await fetchUpdateProductionTask(id, {
|
||||
equipmentIds: taskEquipmentIds.value.length ? taskEquipmentIds.value : null
|
||||
})
|
||||
ElMessage.success('设备列表已保存')
|
||||
await loadTaskDetail()
|
||||
} catch {
|
||||
/* global error handling */
|
||||
} finally {
|
||||
equipmentSaving.value = false
|
||||
}
|
||||
}
|
||||
|
||||
function taskStatusTag(status: string) {
|
||||
const map: Record<string, { label: string; type: string }> = {
|
||||
@@ -1997,11 +2439,13 @@ export function useTaskStepEditor() {
|
||||
options?: {
|
||||
mode?: 'edit' | 'execution'
|
||||
operateScope?: import('@/api/production-task').ProductionTaskOperateScope
|
||||
readonly?: boolean
|
||||
expectSteps?: boolean
|
||||
initialSteps?: Record<string, any>[]
|
||||
}
|
||||
): Promise<number> {
|
||||
operateScope.value = options?.operateScope
|
||||
executionReadonly.value = Boolean(options?.readonly)
|
||||
mode.value = options?.mode || 'edit'
|
||||
taskId.value = id
|
||||
selectedStepId.value = ''
|
||||
@@ -2041,7 +2485,9 @@ export function useTaskStepEditor() {
|
||||
let executionDetail = detail
|
||||
executionDetail = await enrichExecutionDetailFromWorkOrder(executionDetail)
|
||||
taskDetail.value = executionDetail
|
||||
taskInputs.value = (executionDetail.inputs || []).map((i: Record<string, any>) => ({ ...i }))
|
||||
taskInputs.value = (executionDetail.inputs || []).map((i: Record<string, any>) => ({
|
||||
...i
|
||||
}))
|
||||
taskOutputs.value = (executionDetail.outputs || []).map((o: Record<string, any>) =>
|
||||
enrichTaskOutputRow(o)
|
||||
)
|
||||
@@ -2087,6 +2533,9 @@ export function useTaskStepEditor() {
|
||||
processLibraryLoading.value = false
|
||||
await nextTick()
|
||||
configSuppressSave.value = false
|
||||
if (mode.value === 'execution') {
|
||||
refreshSnapshots()
|
||||
}
|
||||
}
|
||||
return stepCount
|
||||
}
|
||||
@@ -2105,6 +2554,16 @@ export function useTaskStepEditor() {
|
||||
activeSubTab,
|
||||
processSearchKeyword,
|
||||
configSuppressSave,
|
||||
executionReadonly,
|
||||
isScopeDirty,
|
||||
isCurrentScopeDirty,
|
||||
dirtyScopeCount,
|
||||
isExecutionSaving,
|
||||
flushCurrentScope,
|
||||
flushAllDirtyScopes,
|
||||
guardBeforeLeaveCurrentScope,
|
||||
refreshSnapshots,
|
||||
getCurrentScope,
|
||||
mode,
|
||||
taskDetail,
|
||||
taskInputs,
|
||||
|
||||
Reference in new issue
Block a user