This commit is contained in:
zlwu committed 2026-07-28 21:33:15 +08:00
1 parent b105bd9b7d
commit b569643581
43 files changed
+20435 -19597

No files matched your search

@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_process_material_ui_ts", "label": "process-material-ui.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/process-material-ui.ts", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/index.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_stepdetailpanel_vue", "label": "StepDetailPanel.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L1"}, {"id": "production_work_order_stepdetailpanel_for", "label": "for()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L923"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_stepdetailpanel_vue", "target": "production_work_order_stepdetailpanel_for", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L923", "weight": 1.0}], "raw_calls": [{"caller_nid": "production_work_order_stepdetailpanel_for", "callee": "push", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L925"}, {"caller_nid": "production_work_order_stepdetailpanel_for", "callee": "decodeURIComponent", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L928"}, {"caller_nid": "production_work_order_stepdetailpanel_for", "callee": "pop", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L928"}, {"caller_nid": "production_work_order_stepdetailpanel_for", "callee": "split", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L928"}, {"caller_nid": "production_work_order_stepdetailpanel_for", "callee": "String", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L928"}]}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/index.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_stepdetailpanel_vue", "label": "StepDetailPanel.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L1"}, {"id": "production_work_order_stepdetailpanel_for", "label": "for()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L924"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_stepdetailpanel_vue", "target": "production_work_order_stepdetailpanel_for", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L924", "weight": 1.0}], "raw_calls": [{"caller_nid": "production_work_order_stepdetailpanel_for", "callee": "push", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L926"}, {"caller_nid": "production_work_order_stepdetailpanel_for", "callee": "decodeURIComponent", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L929"}, {"caller_nid": "production_work_order_stepdetailpanel_for", "callee": "pop", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L929"}, {"caller_nid": "production_work_order_stepdetailpanel_for", "callee": "split", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L929"}, {"caller_nid": "production_work_order_stepdetailpanel_for", "callee": "String", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/StepDetailPanel.vue", "source_location": "L929"}]}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "label": "ProcessRouteTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1"}, {"id": "process_processroutetab_if", "label": "if()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1538"}, {"id": "process_processroutetab_get", "label": "get()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1746"}, {"id": "process_processroutetab_set", "label": "set()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1756"}, {"id": "process_processroutetab_for", "label": "for()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1798"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1538", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1658", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_get", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1746", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_set", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1756", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_for", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1798", "weight": 1.0}], "raw_calls": [{"caller_nid": "process_processroutetab_if", "callee": "mapReagentOptionLabel", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1540"}, {"caller_nid": "process_processroutetab_if", "callee": "mapConsumableOptionLabel", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1660"}, {"caller_nid": "process_processroutetab_get", "callee": "isArray", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1750"}, {"caller_nid": "process_processroutetab_get", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1750"}, {"caller_nid": "process_processroutetab_get", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1751"}, {"caller_nid": "process_processroutetab_get", "callee": "map", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1751"}, {"caller_nid": "process_processroutetab_get", "callee": "split", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1751"}, {"caller_nid": "process_processroutetab_get", "callee": "String", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1751"}, {"caller_nid": "process_processroutetab_set", "callee": "join", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1758"}, {"caller_nid": "process_processroutetab_for", "callee": "push", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_locaLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_process_material_ui_ts", "label": "process-material-ui.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/process-material-ui.ts", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -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": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_operations_storage_facility_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L1"}, {"id": "storage_facility_index_if", "label": "if()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L1486"}, {"id": "storage_facility_index_push", "label": "push()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L1489"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_operations_storage_facility_index_vue", "target": "storage_facility_index_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L1486", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_operations_storage_facility_index_vue", "target": "storage_facility_index_push", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L1489", "weight": 1.0}], "raw_calls": [{"caller_nid": "storage_facility_index_if", "callee": "set", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L1487"}]}
@@ -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": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "label": "ProcessRouteTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1"}, {"id": "process_processroutetab_if", "label": "if()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1537"}, {"id": "process_processroutetab_get", "label": "get()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1745"}, {"id": "process_processroutetab_set", "label": "set()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1755"}, {"id": "process_processroutetab_for", "label": "for()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1797"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1537", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1657", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_get", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1745", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_set", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1755", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_for", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1797", "weight": 1.0}], "raw_calls": [{"caller_nid": "process_processroutetab_if", "callee": "mapReagentOptionLabel", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1539"}, {"caller_nid": "process_processroutetab_if", "callee": "mapConsumableOptionLabel", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1659"}, {"caller_nid": "process_processroutetab_get", "callee": "isArray", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1749"}, {"caller_nid": "process_processroutetab_get", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1749"}, {"caller_nid": "process_processroutetab_get", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1750"}, {"caller_nid": "process_processroutetab_get", "callee": "map", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1750"}, {"caller_nid": "process_processroutetab_get", "callee": "split", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1750"}, {"caller_nid": "process_processroutetab_get", "callee": "String", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1750"}, {"caller_nid": "process_processroutetab_set", "callee": "join", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1757"}, {"caller_nid": "process_processroutetab_for", "callee": "push", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_locaLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "label": "ProcessRouteTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1"}, {"id": "process_processroutetab_if", "label": "if()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1550"}, {"id": "process_processroutetab_get", "label": "get()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1758"}, {"id": "process_processroutetab_set", "label": "set()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1768"}, {"id": "process_processroutetab_for", "label": "for()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1810"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1550", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1670", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_get", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1758", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_set", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1768", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_for", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1810", "weight": 1.0}], "raw_calls": [{"caller_nid": "process_processroutetab_if", "callee": "mapReagentOptionLabel", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1552"}, {"caller_nid": "process_processroutetab_if", "callee": "mapConsumableOptionLabel", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1672"}, {"caller_nid": "process_processroutetab_get", "callee": "isArray", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1762"}, {"caller_nid": "process_processroutetab_get", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1762"}, {"caller_nid": "process_processroutetab_get", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1763"}, {"caller_nid": "process_processroutetab_get", "callee": "map", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1763"}, {"caller_nid": "process_processroutetab_get", "callee": "split", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1763"}, {"caller_nid": "process_processroutetab_get", "callee": "String", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1763"}, {"caller_nid": "process_processroutetab_set", "callee": "join", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1770"}, {"caller_nid": "process_processroutetab_for", "callee": "push", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_locaLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_operations_storage_facility_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L1"}, {"id": "storage_facility_index_if", "label": "if()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L1476"}, {"id": "storage_facility_index_push", "label": "push()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L1479"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_operations_storage_facility_index_vue", "target": "storage_facility_index_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L1476", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_operations_storage_facility_index_vue", "target": "storage_facility_index_push", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L1479", "weight": 1.0}], "raw_calls": [{"caller_nid": "storage_facility_index_if", "callee": "set", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L1477"}]}
@@ -1,5 +1,11 @@
/** 是否在工艺相关界面展示试剂、耗材关联(暂时隐藏) */
export const SHOW_PROCESS_REAGENT_CONSUMABLE = false
/** 是否在工艺/路线/任务相关界面展示数据采集(暂时隐藏) */
export const SHOW_PROCESS_DATA_COLLECTION = false
/** 是否在工艺/路线/任务相关界面展示预计时长、描述、关联SOP(暂时隐藏) */
export const SHOW_PROCESS_DURATION_DESC_SOP = false
/** 工艺路线步骤详情:试剂/耗材 Tab 默认选中(产出物、数据采集为上下区块展示) */
export const PROCESS_ROUTE_DEFAULT_SUB_TAB = 'reagent'
@@ -336,6 +336,21 @@
<span class="route-config-step-count">共 {{ stepList.length }} 步</span>
</div>
<div class="route-config-center-dropzone">
<div
class="virtual-step-card"
:class="{ 'is-active': selectedVirtualStep === 'equipment' }"
@click="selectVirtualEquipment"
>
<div class="virtual-step-icon virtual-step-icon--equipment">🔧</div>
<div class="virtual-step-info">
<div class="virtual-step-name">默认设备</div>
</div>
<el-tag v-if="virtualEquipmentStatus === 'filled'" type="success" size="small"
>已选 {{ virtualEquipmentCount }} 台</el-tag
>
<el-tag v-else type="info" size="small">暂无</el-tag>
</div>
<div class="step-divider"><span>工艺步骤</span></div>
<draggable
v-model="stepList"
handle=".route-config-step-handle"
@@ -385,9 +400,23 @@
</div>
</div>
<!-- 右侧:步骤详情 -->
<!-- 右侧:默认设备 / 步骤详情 -->
<div class="route-config-right">
<template v-if="selectedStep">
<template v-if="selectedVirtualStep === 'equipment'">
<div class="route-config-right-header">
<h3>默认设备</h3>
</div>
<div class="route-config-right-body">
<TaskEquipmentPanel
:equipment-ids="routeEquipmentIds"
:equipment-options="equipmentOptions"
:saving="equipmentSaving"
@update:equipment-ids="onRouteEquipmentIdsUpdate"
@save="saveRouteEquipment"
/>
</div>
</template>
<template v-else-if="selectedStep">
<div class="route-config-right-header">
<h3>步骤详情</h3>
<el-button
@@ -421,14 +450,18 @@
/>
</el-select>
</el-form-item>
<el-form-item label="预计时长(h)">
<el-form-item v-if="SHOW_PROCESS_DURATION_DESC_SOP" label="预计时长(h)">
<el-input
v-model="selectedStep.estimatedDuration"
placeholder="如 2"
@change="saveStepBasic"
/>
</el-form-item>
<el-form-item label="描述" class="step-form-col-half">
<el-form-item
v-if="SHOW_PROCESS_DURATION_DESC_SOP"
label="描述"
class="step-form-col-half"
>
<el-input
v-model="selectedStep.description"
type="textarea"
@@ -437,7 +470,11 @@
@change="saveStepBasic"
/>
</el-form-item>
<el-form-item label="关联SOP" class="step-form-col-half">
<el-form-item
v-if="SHOW_PROCESS_DURATION_DESC_SOP"
label="关联SOP"
class="step-form-col-half"
>
<el-select
v-model="sopIdsArr"
multiple
@@ -453,7 +490,10 @@
/>
</el-select>
</el-form-item>
<div v-if="sopIdsArr.length" class="step-sop-attachment-row step-form-col-full">
<div
v-if="SHOW_PROCESS_DURATION_DESC_SOP && sopIdsArr.length"
class="step-sop-attachment-row step-form-col-full"
>
<ProtocolAttachmentReadonly
:files="linkedSopAttachmentFiles"
@preview="handleSopAttachmentPreview"
@@ -955,8 +995,8 @@
</div>
</section>
<!-- 数据采集 -->
<section class="route-config-step-section">
<!-- 数据采集(SHOW_PROCESS_DATA_COLLECTION 控制展示) -->
<section v-if="SHOW_PROCESS_DATA_COLLECTION" class="route-config-step-section">
<h3 class="route-config-step-section-title">数据采集</h3>
<div class="route-config-tab-list">
<div class="list-toolbar">
@@ -1069,7 +1109,7 @@
<template v-else>
<div class="route-config-right-empty">
<el-icon :size="48" color="#d1d5db"><Rank /></el-icon>
<p>请选择左侧步骤查看详情</p>
<p>请选择默认设备或左侧步骤查看详情</p>
</div>
</template>
</div>
@@ -1094,7 +1134,9 @@
Search
} from '@element-plus/icons-vue'
import ProtocolAttachmentReadonly from '@/views/cell-storage/protocol/ProtocolAttachmentReadonly.vue'
import TaskEquipmentPanel from '@/views/production/production-work-order/TaskEquipmentPanel.vue'
import { downloadAttachmentFile } from '@/utils/download-attachment'
import { parseEquipmentIds } from '@/utils/equipment-select'
import { VueDraggable as draggable } from 'vue-draggable-plus'
import {
fetchProcessRouteList,
@@ -1118,11 +1160,14 @@
fetchAllProcessCategories,
fetchAllSopDocuments,
fetchAllOutputTypes,
fetchAllEquipments,
fetchProductionProductTypeList
} from '@/api/production'
import { fetchItemUnitList } from '@/api/admin'
import {
SHOW_PROCESS_REAGENT_CONSUMABLE,
SHOW_PROCESS_DATA_COLLECTION,
SHOW_PROCESS_DURATION_DESC_SOP,
PROCESS_ROUTE_DEFAULT_SUB_TAB
} from '@/utils/process-material-ui'
@@ -1343,10 +1388,19 @@
const configSuppressSave = ref(false)
const stepList = ref<Record<string, any>[]>([])
const selectedStepId = ref('')
const selectedVirtualStep = ref<'equipment' | null>(null)
const routeEquipmentIds = ref<string[]>([])
const equipmentOptions = ref<Record<string, any>[]>([])
const equipmentSaving = ref(false)
const stepListLoading = ref(false)
const activeSubTab = ref(PROCESS_ROUTE_DEFAULT_SUB_TAB)
const processSearchKeyword = ref('')
const virtualEquipmentCount = computed(() => routeEquipmentIds.value.length)
const virtualEquipmentStatus = computed(() =>
routeEquipmentIds.value.length > 0 ? 'filled' : 'empty'
)
/** 接口 isKeyMaterial / isRequired 为 "0" | "1" 字符串 */
function toApiFlag(val: boolean | number | string | undefined): string {
if (val === true || val === 1 || val === '1') return '1'
@@ -1803,15 +1857,17 @@
async function loadConfigReferenceData() {
processLibraryLoading.value = true
try {
const [processes, categories, sops, outputTypes] = await Promise.all([
const [processes, categories, sops, outputTypes, equipments] = await Promise.all([
fetchAllProcesses(),
fetchAllProcessCategories(),
fetchAllSopDocuments(),
fetchAllOutputTypes()
fetchAllOutputTypes(),
fetchAllEquipments()
])
categoryOptions.value = categories || []
sopOptions.value = sops || []
outputTypeOptions.value = outputTypes || []
equipmentOptions.value = equipments || []
// 按分类分组
const catMap: Record<
@@ -1864,6 +1920,8 @@
configRouteName.value = row.routeName || ''
configRouteVersion.value = row.version || ''
selectedStepId.value = ''
selectedVirtualStep.value = null
routeEquipmentIds.value = []
activeSubTab.value = PROCESS_ROUTE_DEFAULT_SUB_TAB
processSearchKeyword.value = ''
configSuppressSave.value = true
@@ -1884,17 +1942,19 @@
async function loadRouteDetail() {
try {
const detail = await fetchProcessRouteDetail(configRouteId.value)
routeEquipmentIds.value = parseEquipmentIds(detail.equipmentIds || detail.equipmentName)
stepList.value = (detail.steps || []).map((s: Record<string, any>) =>
normalizeStepSubTables(s)
)
ensureAllStepReagentOptions()
ensureAllStepConsumableOptions()
ensureAllStepUnitOptions()
if (stepList.value.length > 0 && !selectedStepId.value) {
if (stepList.value.length > 0 && !selectedStepId.value && !selectedVirtualStep.value) {
selectedStepId.value = stepList.value[0].id
}
} catch {
stepList.value = []
routeEquipmentIds.value = []
}
}
@@ -1917,6 +1977,7 @@
})
await loadRouteDetail()
if (newStep?.id) {
selectedVirtualStep.value = null
selectedStepId.value = newStep.id
}
ElMessage.success('步骤添加成功')
@@ -1943,16 +2004,42 @@
}
}
function selectVirtualEquipment() {
selectedVirtualStep.value = 'equipment'
selectedStepId.value = ''
}
function onRouteEquipmentIdsUpdate(ids: string[]) {
routeEquipmentIds.value = ids || []
}
function selectStep(step: Record<string, any>) {
selectedVirtualStep.value = null
selectedStepId.value = step.id
}
async function saveRouteEquipment() {
if (!configRouteId.value) return
equipmentSaving.value = true
try {
await fetchUpdateProcessRoute(configRouteId.value, {
equipmentIds: routeEquipmentIds.value
})
ElMessage.success('默认设备已保存')
} catch {
/* 全局处理 */
} finally {
equipmentSaving.value = false
}
}
async function handleCopyStep(step: Record<string, any>) {
stepListLoading.value = true
try {
const newStep = await fetchCopyRouteStep({ stepId: step.id })
await loadRouteDetail()
if (newStep?.id) {
selectedVirtualStep.value = null
selectedStepId.value = newStep.id
}
ElMessage.success('步骤已复制')
@@ -2486,6 +2573,69 @@
white-space: nowrap;
}
.virtual-step-card {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
margin-bottom: 8px;
border: 1px solid #e2e8f0;
border-radius: 8px;
cursor: pointer;
transition:
border-color 0.15s,
background 0.15s;
&:hover {
border-color: #a7f3d0;
background: #f0fdf4;
}
&.is-active {
border-color: var(--primary, #10b981);
background: #ecfdf5;
}
}
.virtual-step-icon {
flex-shrink: 0;
width: 28px;
text-align: center;
font-size: 16px;
}
.virtual-step-info {
flex: 1;
min-width: 0;
}
.virtual-step-name {
font-size: 13px;
font-weight: 500;
color: #1e293b;
}
.step-divider {
display: flex;
align-items: center;
margin: 12px 0;
color: #94a3b8;
font-size: 12px;
&::before,
&::after {
content: '';
flex: 1;
height: 1px;
background: #e2e8f0;
}
span {
padding: 0 10px;
white-space: nowrap;
}
}
/* 右侧面板:步骤详情 */
.route-config-right {
flex: 1;
@@ -87,6 +87,7 @@
</template>
</el-table-column>
<el-table-column
v-if="SHOW_PROCESS_DURATION_DESC_SOP"
prop="description"
label="描述"
min-width="160"
@@ -95,6 +96,7 @@
show-overflow-tooltip
/>
<el-table-column
v-if="SHOW_PROCESS_DURATION_DESC_SOP"
prop="estimatedDuration"
label="预估耗时(h)"
min-width="100"
@@ -197,11 +199,11 @@
/>
</el-select>
</el-form-item>
<el-form-item>
<el-form-item v-if="SHOW_PROCESS_DURATION_DESC_SOP">
<template #label>预估耗时<span class="form-label-tip">(h)</span></template>
<el-input v-model="formData.estimatedDuration" placeholder="如 0.5" />
</el-form-item>
<el-form-item label="关联SOP">
<el-form-item v-if="SHOW_PROCESS_DURATION_DESC_SOP" label="关联SOP">
<el-select
v-model="formData.sopIds"
placeholder="请选择SOP文档"
@@ -218,7 +220,7 @@
/>
</el-select>
</el-form-item>
<el-form-item label="描述">
<el-form-item v-if="SHOW_PROCESS_DURATION_DESC_SOP" label="描述">
<el-input
v-model="formData.description"
type="textarea"
@@ -557,7 +559,11 @@
</div>
</div>
<div id="form-section-data-collections" class="form-tab-pane">
<div
v-if="SHOW_PROCESS_DATA_COLLECTION"
id="form-section-data-collections"
class="form-tab-pane"
>
<div class="section-card">
<div class="section-title">
<div class="section-title-left">
@@ -1029,7 +1035,11 @@
fetchConsumablePackDetail
} from '@/api/production'
import { fetchItemUnitList } from '@/api/admin'
import { SHOW_PROCESS_REAGENT_CONSUMABLE } from '@/utils/process-material-ui'
import {
SHOW_PROCESS_REAGENT_CONSUMABLE,
SHOW_PROCESS_DATA_COLLECTION,
SHOW_PROCESS_DURATION_DESC_SOP
} from '@/utils/process-material-ui'
import { packTypeLabel, packTypeTagType } from '@/utils/status-tag-registry'
import { withFullscreenLoading, fullscreenLoadingText } from '@/utils/fullscreen-loading'
import DialogFormBody from '@/components/business/dialog-form-body/index.vue'
@@ -1066,7 +1076,9 @@
]
: []),
{ key: 'outputs', label: '产出物' },
{ key: 'data-collections', label: '数据采集' }
...(SHOW_PROCESS_DATA_COLLECTION
? [{ key: 'data-collections', label: '数据采集' }]
: [])
] as const
function scrollToSection(key: string) {
@@ -1,4 +1,4 @@
<!-- 步骤详情右侧面板:表单 + 产出物/数据采集上下区块(试剂/耗材 Tab 按开关展示) -->
<!-- 步骤详情右侧面板:表单 + 产出物上下区块(试剂/耗材、数据采集按开关展示) -->
<template>
<div class="route-config-right">
<template v-if="editor.selectedStep.value">
@@ -27,7 +27,7 @@
/>
</el-select>
</el-form-item>
<el-form-item label="预计时长(h)">
<el-form-item v-if="SHOW_PROCESS_DURATION_DESC_SOP" label="预计时长(h)">
<el-input
v-model="editor.selectedStep.value.estimatedDuration"
placeholder="如 2"
@@ -107,14 +107,14 @@
>
<span>{{ formatPlannedStartDate(editor.selectedStep.value.plannedStartTime) || '—' }}</span>
</el-form-item>
<el-form-item label="描述">
<el-form-item v-if="SHOW_PROCESS_DURATION_DESC_SOP" label="描述">
<el-input
v-model="editor.selectedStep.value.description"
placeholder="工序描述"
:disabled="stepFormReadonly"
/>
</el-form-item>
<el-form-item label="关联SOP">
<el-form-item v-if="SHOW_PROCESS_DURATION_DESC_SOP" label="关联SOP">
<el-select
v-model="editor.sopIdsArr.value"
multiple
@@ -132,7 +132,7 @@
</el-select>
</el-form-item>
<div
v-if="editor.sopIdsArr.value.length"
v-if="SHOW_PROCESS_DURATION_DESC_SOP && editor.sopIdsArr.value.length"
class="step-sop-attachment-row step-form-col-full"
>
<ProtocolAttachmentReadonly
@@ -705,8 +705,8 @@
</div>
</section>
<!-- 数据采集 -->
<section class="route-config-step-section">
<!-- 数据采集(SHOW_PROCESS_DATA_COLLECTION 控制展示) -->
<section v-if="SHOW_PROCESS_DATA_COLLECTION" class="route-config-step-section">
<h3 class="route-config-step-section-title">数据采集</h3>
<div class="route-config-tab-list">
<div v-if="!stepFormReadonly" class="list-toolbar">
@@ -855,7 +855,11 @@
import { Delete, Plus, Rank } from '@element-plus/icons-vue'
import ProtocolAttachmentReadonly from '@/views/cell-storage/protocol/ProtocolAttachmentReadonly.vue'
import { downloadAttachmentFile } from '@/utils/download-attachment'
import { SHOW_PROCESS_REAGENT_CONSUMABLE } from '@/utils/process-material-ui'
import {
SHOW_PROCESS_REAGENT_CONSUMABLE,
SHOW_PROCESS_DATA_COLLECTION,
SHOW_PROCESS_DURATION_DESC_SOP
} from '@/utils/process-material-ui'
import { formatPlannedStartDate } from '@/utils/production-labels'
import StepDetailActionBar from './StepDetailActionBar.vue'
import { useTaskStepEditor } from './useTaskStepEditor'