提交
This commit is contained in:
1 parent
08f3b76e24
commit
c7a7b6fa45
19 files changed
+22594
-10954
No files matched your search
@@ -66,13 +66,14 @@ STATIC_MENU_TREE = [
|
||||
"component": "/cell-storage/payment-confirm/index",
|
||||
"meta": {"title": "缴退费财务确认及开票", "keepAlive": True, "menuCode": "biz:cellStoragePaymentConfirm:list"},
|
||||
},
|
||||
{
|
||||
"id": "70000000000000000000000000000011",
|
||||
"name": "CellStorageStorageReleaseReview",
|
||||
"path": "storage-release-review",
|
||||
"component": "/quality-inspection/storage-release-review/index",
|
||||
"meta": {"title": "入库放行审核", "keepAlive": True, "menuCode": "biz:storageReleaseReview:list"},
|
||||
},
|
||||
# 市场侧入库放行审核(总览)暂下线:改由生产/质检入口审核
|
||||
# {
|
||||
# "id": "70000000000000000000000000000011",
|
||||
# "name": "CellStorageStorageReleaseReview",
|
||||
# "path": "storage-release-review",
|
||||
# "component": "/quality-inspection/storage-release-review/index",
|
||||
# "meta": {"title": "入库放行审核", "keepAlive": True, "menuCode": "biz:storageReleaseReview:list"},
|
||||
# },
|
||||
],
|
||||
},
|
||||
# 科研捐赠
|
||||
@@ -427,7 +428,7 @@ STATIC_MENU_TREE = [
|
||||
"meta": {"title": "生产工单", "keepAlive": True, "menuCode": "production:work-order:list"},
|
||||
},
|
||||
{
|
||||
"id": "95400000000000000000000000000001",
|
||||
"id": "95500000000000000000000000000001",
|
||||
"name": "ProductionStorageReleaseReview",
|
||||
"path": "storage-release-review",
|
||||
"component": "/quality-inspection/storage-release-review/index",
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
+5965
-1613
File diff suppressed because it is too large.
Load diff
@@ -1,11 +1,11 @@
|
||||
# Graph Report - app (2026-08-19)
|
||||
|
||||
## Corpus Check
|
||||
- Large corpus: 259 files · ~311,371 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
|
||||
- Large corpus: 261 files · ~313,370 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
|
||||
|
||||
## Summary
|
||||
- 5386 nodes · 29426 edges · 46 communities detected
|
||||
- Extraction: 32% EXTRACTED · 68% INFERRED · 0% AMBIGUOUS · INFERRED: 20114 edges (avg confidence: 0.6)
|
||||
- 5421 nodes · 29857 edges · 41 communities detected
|
||||
- Extraction: 31% EXTRACTED · 69% INFERRED · 0% AMBIGUOUS · INFERRED: 20489 edges (avg confidence: 0.6)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Community Hubs (Navigation)
|
||||
@@ -44,22 +44,17 @@
|
||||
- [[_COMMUNITY_Community 32|Community 32]]
|
||||
- [[_COMMUNITY_Community 33|Community 33]]
|
||||
- [[_COMMUNITY_Community 34|Community 34]]
|
||||
- [[_COMMUNITY_Community 35|Community 35]]
|
||||
- [[_COMMUNITY_Community 36|Community 36]]
|
||||
- [[_COMMUNITY_Community 37|Community 37]]
|
||||
- [[_COMMUNITY_Community 38|Community 38]]
|
||||
- [[_COMMUNITY_Community 39|Community 39]]
|
||||
- [[_COMMUNITY_Community 40|Community 40]]
|
||||
- [[_COMMUNITY_Community 41|Community 41]]
|
||||
- [[_COMMUNITY_Community 42|Community 42]]
|
||||
- [[_COMMUNITY_Community 43|Community 43]]
|
||||
- [[_COMMUNITY_Community 44|Community 44]]
|
||||
- [[_COMMUNITY_Community 45|Community 45]]
|
||||
- [[_COMMUNITY_Community 46|Community 46]]
|
||||
- [[_COMMUNITY_Community 47|Community 47]]
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
1. `success_response()` - 753 edges
|
||||
2. `error_response()` - 623 edges
|
||||
3. `SysUser` - 604 edges
|
||||
1. `success_response()` - 759 edges
|
||||
2. `error_response()` - 629 edges
|
||||
3. `SysUser` - 605 edges
|
||||
4. `BizQcTaskResult` - 352 edges
|
||||
5. `BizProductionMaterial` - 335 edges
|
||||
6. `BizProductionMaterialUsage` - 329 edges
|
||||
@@ -75,241 +70,221 @@
|
||||
api/menu.py → core/response.py
|
||||
- `sync_lab_storage_seq_after_use()` --calls--> `generate_uuid()` [INFERRED]
|
||||
crud/sample_reception_lab_code.py → core/utils.py
|
||||
- `中试服务体检管理 API(体检信息、预约项目、实际项目)` --uses--> `SysUser` [INFERRED]
|
||||
api/pilot_checkup.py → models/models.py
|
||||
- `微信小程序登录业务:openid + 手机号一致性校验。` --uses--> `SysUser` [INFERRED]
|
||||
services/wechat_login_service.py → models/models.py
|
||||
- `已绑定 openid 时静默换票(无需手机号授权)。` --uses--> `SysUser` [INFERRED]
|
||||
services/wechat_login_service.py → models/models.py
|
||||
|
||||
## Communities
|
||||
|
||||
### Community 0 - "Community 0"
|
||||
Cohesion: 0.01
|
||||
Nodes (1090): attachment_download_url(), create_dept(), create_dict_data(), create_dict_type(), create_express_company(), create_item_unit(), create_menu(), create_post() (+1082 more)
|
||||
Nodes (1038): create_dept(), create_dict_data(), create_dict_type(), create_express_company(), create_item_unit(), create_menu(), create_post(), create_role_management() (+1030 more)
|
||||
|
||||
### Community 1 - "Community 1"
|
||||
Cohesion: 0.01
|
||||
Nodes (791): format_date(), generate_uuid(), ApiRequestLogCRUD, delete(), get_multi_with_filters(), create_cell_sample_type(), get_cell_sample_type(), list_cell_sample_types() (+783 more)
|
||||
Nodes (789): get_role_menus(), generate_uuid(), allocate_next_biz_no(), _format_biz_no(), _prefix_for(), 业务协议号自动生成:XBCC / JZCC + YYYYMMDD + 6 位序号, 原子分配下一个业务协议号。 须在 create 事务内调用;使用 MySQL LAST_INSERT_ID 保证并发安全。, create_cell_sample_type() (+781 more)
|
||||
|
||||
### Community 2 - "Community 2"
|
||||
Cohesion: 0.01
|
||||
Nodes (641): AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, DictDataCreateBody, DictDataUpdateBody, DictTypeCreateBody, DictTypeUpdateBody, ExpressCompanyCreateBody (+633 more)
|
||||
Nodes (616): GarmentBatchDeleteBody, GarmentBatchDiscardBody, GarmentCreateBody, GarmentDiscardBody, GarmentUpdateBody, SterilizeLogBatchBody, SterilizeLogCreateBody, SterilizeLogUpdateBody (+608 more)
|
||||
|
||||
### Community 3 - "Community 3"
|
||||
Cohesion: 0.08
|
||||
Nodes (395): 环境检测 — 检测项维护 + 登记管理 API, 保险公司及险种价格管理 API(保险公司 + 开票信息 + 险种价格), ProcessDefCreateBody, ProcessDefUpdateBody, PublishVersionBody, 审批意见:前端传 commentText,兼容 comment。, StartInstanceBody, TaskActionBody (+387 more)
|
||||
Cohesion: 0.07
|
||||
Nodes (412): 保险公司及险种价格管理 API(保险公司 + 开票信息 + 险种价格), 小程序菜单:当前用户在「移动端菜单」树下有权限的入口。, 宫格图标底色/图形色(可按入口自定义,不强制品牌绿)。, 按路由匹配移动端宫格图标(与 mobile-h5 van-icon 字形名对齐)。, AccessLogCreateBody, AccessLogUpdateBody, CleanRoomCreateBody, CleanRoomUpdateBody (+404 more)
|
||||
|
||||
### Community 4 - "Community 4"
|
||||
Cohesion: 0.01
|
||||
Nodes (310): _normalize_date_bound(), list_ethnics_for_select(), apply_data_scope(), _get_child_dept_ids(), get_user_dept_id(), _resolve_user_role_scopes(), generate_id(), optional_date() (+302 more)
|
||||
Nodes (365): list_users(), list_collection_regions(), _normalize_date_bound(), _persist_protocol_sub_resources(), list_ethnics_for_select(), apply_data_scope(), _get_child_dept_ids(), get_user_dept_id() (+357 more)
|
||||
|
||||
### Community 5 - "Community 5"
|
||||
Cohesion: 0.05
|
||||
Nodes (343): CellSampleTypeCreateBody, CellSampleTypeUpdateBody, CollectionRegionCreateBody, CollectionRegionUpdateBody, CustomerCreateBody, CustomerUpdateBody, HospitalCreateBody, HospitalUpdateBody (+335 more)
|
||||
Cohesion: 0.01
|
||||
Nodes (373): _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() (+365 more)
|
||||
|
||||
### Community 6 - "Community 6"
|
||||
Cohesion: 0.02
|
||||
Nodes (285): 截止日期:仅日期时扩到当天 23:59:59。, 发起前预览审批链(条件齐后解析最终路径与审批人)。, 兼容旧 GET:无 formData,含条件分支时多为待确定占位。, CRUDBase, _copied_app_name(), copy_app(), create_app(), create_group() (+277 more)
|
||||
Nodes (330): attachment_download_url(), AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, dict_data_options(), DictDataCreateBody, DictDataUpdateBody, DictTypeCreateBody (+322 more)
|
||||
|
||||
### Community 7 - "Community 7"
|
||||
Cohesion: 0.02
|
||||
Nodes (292): eq_unicode(), like_unicode(), MySQL 字符串比较/模糊匹配时统一排序规则,避免 Illegal mix of collations。, 跨表字符串等值比较(JOIN / WHERE)时统一为 utf8mb4_unicode_ci。, 将列显式设为 utf8mb4_unicode_ci。, unicode_ci(), build_void_type_label_map(), format_protocol_status_label() (+284 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (326): CellSampleTypeCreateBody, CellSampleTypeUpdateBody, CollectionRegionCreateBody, CollectionRegionUpdateBody, CustomerCreateBody, CustomerUpdateBody, HospitalCreateBody, HospitalUpdateBody (+318 more)
|
||||
|
||||
### Community 8 - "Community 8"
|
||||
Cohesion: 0.02
|
||||
Nodes (162): mp_bind_status(), 小程序鉴权:微信登录 / 绑定 openid。, 当前用户是否已绑定微信服务号 openid。, 服务号网页授权 code 绑定当前用户(需 Bearer)。, 微信登录:openid 已绑定时可静默换票;否则须授权手机号且与账号 phone_no 一致。, 密码登录后绑定当前微信 openid(需 Bearer)。, _resolve_user_id(), wechat_bind() (+154 more)
|
||||
Nodes (188): _ancestor_link_from_cell_product_input(), _ancestor_sample_chain_link(), _apply_cell_product_status_change(), _build_ancestor_chain(), _build_descendant_chain(), _build_facility_path_label(), build_split_product_codes(), create_cell_product() (+180 more)
|
||||
|
||||
### Community 9 - "Community 9"
|
||||
Cohesion: 0.05
|
||||
Nodes (118): AccessLogCreateBody, AccessLogUpdateBody, CleanRoomCreateBody, CleanRoomUpdateBody, ExhibitionAppointmentCreateBody, ExhibitionAppointmentUpdateBody, list_storage_slot_stats(), OccupancyCreateBody (+110 more)
|
||||
Cohesion: 0.02
|
||||
Nodes (154): mp_bind_status(), 小程序鉴权:微信登录 / 绑定 openid。, 当前用户是否已绑定微信服务号 openid。, 服务号网页授权 code 绑定当前用户(需 Bearer)。, 微信登录:openid 已绑定时可静默换票;否则须授权手机号且与账号 phone_no 一致。, 密码登录后绑定当前微信 openid(需 Bearer)。, _resolve_user_id(), wechat_bind() (+146 more)
|
||||
|
||||
### Community 10 - "Community 10"
|
||||
Cohesion: 0.03
|
||||
Nodes (113): 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() (+105 more)
|
||||
Cohesion: 0.02
|
||||
Nodes (103): _collect_descendants(), _current_user(), _find_mobile_root(), list_my_mobile_menus(), _mobile_menu_icon(), _mobile_menu_icon_colors(), _user_menu_ids(), _build_current_user_payload() (+95 more)
|
||||
|
||||
### Community 11 - "Community 11"
|
||||
Cohesion: 0.04
|
||||
Nodes (75): _collect_descendants(), _current_user(), _find_mobile_root(), list_my_mobile_menus(), _mobile_menu_icon(), _mobile_menu_icon_colors(), 小程序菜单:当前用户在「移动端菜单」树下有权限的入口。, 宫格图标底色/图形色(可按入口自定义,不强制品牌绿)。 (+67 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (52): aggregate_slot_stats_by_facility(), _apply_slot_select_base_filters(), _apply_slot_select_query_filters(), batch_create_facilities(), batch_create_slots(), _build_node_path_cache(), _build_slot_keyword_sql_filters(), collect_descendant_ids() (+44 more)
|
||||
|
||||
### Community 12 - "Community 12"
|
||||
Cohesion: 0.05
|
||||
Nodes (22): extract_avatar_storage_key(), 用户头像 URL 解析(sys_user.avatar 可能存 MinIO 相对路径或完整 URL), 从 upload 返回值或历史完整 URL 中提取 avatar/ 相对路径。, 服务端内部拼完整 URL(邮件等);Web API 应返回库中原始路径。, resolve_avatar_display_url(), BaseStorage, convert_heic_to_jpeg(), get_storage() (+14 more)
|
||||
|
||||
### Community 13 - "Community 13"
|
||||
Cohesion: 0.09
|
||||
Nodes (50): complete_application(), create_basic_experiment_sale_schedules(), create_infusion_plan(), create_schedule(), _create_schedule_products(), _format_yyyy_mm_dd(), _generate_application_no(), get_application() (+42 more)
|
||||
|
||||
### Community 14 - "Community 14"
|
||||
### Community 13 - "Community 13"
|
||||
Cohesion: 0.12
|
||||
Nodes (11): get_wechat_pay_client(), get_wechat_pay_v2(), 微信支付工具模块 支持微信支付 V3 API 文档参考: https://pay.weixin.qq.com/docs/v3/apis/index.ht, 统一下单接口 (V3) Args: out_trade_no: 商户订单号 total, 申请退款 Args: out_trade_no: 商户订单号 total_amount, 小程序调起支付的二次签名参数(与公众号 JSAPI 规则一致), 统一下单 (V2 API) Args: out_trade_no: 商户订单号 tot, 生成签名 V3 (SHA256 with RSA) (+3 more)
|
||||
|
||||
### Community 15 - "Community 15"
|
||||
Cohesion: 0.19
|
||||
Nodes (27): _amount_for_row(), _batch_map(), deduct_for_task(), _deduct_task_usage_legacy_batch(), _display_remark(), _fmt_date_val(), _linked_qc_task_no_map(), list_linked_task_usages() (+19 more)
|
||||
|
||||
### Community 16 - "Community 16"
|
||||
Cohesion: 0.13
|
||||
Nodes (22): 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) (+14 more)
|
||||
|
||||
### Community 17 - "Community 17"
|
||||
### Community 14 - "Community 14"
|
||||
Cohesion: 0.19
|
||||
Nodes (21): apply_overtime_kit_hours(), _build_rest_day_segments(), _build_workday_windows(), calc_overtime_hours(), _day_at_minutes(), _day_start_ms(), _extract_rules(), _format_ymd() (+13 more)
|
||||
|
||||
### Community 18 - "Community 18"
|
||||
### Community 15 - "Community 15"
|
||||
Cohesion: 0.21
|
||||
Nodes (19): _consumable_row_to_dict(), create_process(), _create_sub_consumable(), _create_sub_data_collection(), _create_sub_output(), _create_sub_reagent(), _data_collection_row_to_dict(), get_process() (+11 more)
|
||||
|
||||
### Community 19 - "Community 19"
|
||||
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 20 - "Community 20"
|
||||
Cohesion: 0.23
|
||||
Nodes (17): _apply_qc_status_filter(), _base_query(), _derive_qc_conclusion(), _ensure_notification(), _eq_ci(), _fetch_completed_tasks(), _fmt_dt(), generate_sms_content() (+9 more)
|
||||
|
||||
### Community 21 - "Community 21"
|
||||
### Community 16 - "Community 16"
|
||||
Cohesion: 0.22
|
||||
Nodes (15): apply_trip_kit_days(), calc_trip_leg_days(), _day_index(), _end_offset(), _extract_rules(), is_half_day_multiple(), 出差套件:半日制行程时长(与前端 oa-trip-days.ts 对齐), 遍历 tripKit:行程未手改则覆盖 duration;出差天数未手改则覆盖为各行程时长之和。 (+7 more)
|
||||
|
||||
### Community 22 - "Community 22"
|
||||
### Community 17 - "Community 17"
|
||||
Cohesion: 0.27
|
||||
Nodes (12): create_equipment(), _dec(), equipment_code_exists(), equipment_is_referenced(), get_equipment(), list_equipments(), _norm_status(), _parse_date() (+4 more)
|
||||
|
||||
### Community 18 - "Community 18"
|
||||
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)
|
||||
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 23 - "Community 23"
|
||||
Cohesion: 0.23
|
||||
Nodes (12): Config, ProductBase, ProductCategoryBase, ProductCategoryCreate, ProductCategoryResponse, ProductCreate, ProductResponse, ProductUnitBase (+4 more)
|
||||
|
||||
### Community 24 - "Community 24"
|
||||
Cohesion: 0.29
|
||||
Nodes (12): apply_leave_kit_hours(), calc_leave_hours(), _extract_rules(), _overlap_minutes_on_day(), _parse_dt(), _parse_hm(), 请假套件:双段工时重叠小时(与前端 oa-leave-hours.ts 对齐), 遍历 leaveKit:未手改则覆盖时长;已手改(form_data[__manual_<durationField>])则仅规范化一位小数。 (+4 more)
|
||||
|
||||
### Community 25 - "Community 25"
|
||||
### Community 19 - "Community 19"
|
||||
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 26 - "Community 26"
|
||||
### Community 20 - "Community 20"
|
||||
Cohesion: 0.3
|
||||
Nodes (10): create_consumable_pack(), get_consumable_pack(), get_pack_detail(), _item_row_to_dict(), list_all_packs(), list_consumable_packs(), pack_code_exists(), _row_to_dict() (+2 more)
|
||||
|
||||
### Community 21 - "Community 21"
|
||||
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 27 - "Community 27"
|
||||
### Community 22 - "Community 22"
|
||||
Cohesion: 0.31
|
||||
Nodes (10): create_account(), _filtered_query(), get_account(), list_accounts(), list_options(), OA 收款账户 CRUD(oa_receive_account), row_to_dict(), soft_delete_account() (+2 more)
|
||||
|
||||
### Community 28 - "Community 28"
|
||||
### Community 23 - "Community 23"
|
||||
Cohesion: 0.31
|
||||
Nodes (10): _build_tree(), _cascade_soft_delete(), _collect_with_ancestors(), get_dept(), list_depts(), list_depts_tree(), 保留匹配节点及其全部上级,供关键词检索后仍能正确组树。, _row_to_dict() (+2 more)
|
||||
|
||||
### Community 24 - "Community 24"
|
||||
Cohesion: 0.33
|
||||
Nodes (8): _build_tree(), _cascade_soft_delete(), get_menu(), list_menus(), list_menus_tree(), _row_to_dict(), soft_delete_menu(), update_menu()
|
||||
|
||||
### Community 25 - "Community 25"
|
||||
Cohesion: 0.29
|
||||
Nodes (2): BaseModel, SoftDeleteModel
|
||||
|
||||
### Community 29 - "Community 29"
|
||||
Cohesion: 0.39
|
||||
Nodes (5): _fmt_dt(), list_production_waste_outputs(), _normalize_date_bound(), pick_waste_output_type_ids(), resolve_waste_output_type_ids()
|
||||
|
||||
### Community 30 - "Community 30"
|
||||
### Community 26 - "Community 26"
|
||||
Cohesion: 0.38
|
||||
Nodes (6): derive_legacy_status_from_three(), derive_three_status_from_legacy(), 阶段A兼容:从旧 status 推导三字段。 约束:旧 status 本身混合了支付/配送/订单生命周期,因此只能尽力推断; 若业务侧已有更精确, 阶段A兼容:从三字段反推旧 status(用于旧前端/旧筛选参数兼容)。, ThreeStatus, _to_decimal()
|
||||
|
||||
### Community 31 - "Community 31"
|
||||
Cohesion: 0.6
|
||||
Nodes (5): _dec(), _fmt_dt(), list_stock_logs(), _row_to_dict(), _user_nick_name_map()
|
||||
|
||||
### Community 32 - "Community 32"
|
||||
### Community 27 - "Community 27"
|
||||
Cohesion: 0.4
|
||||
Nodes (5): batch_matches_stock_status(), normalize_batch_stock_status(), 质检物料入库批次:按剩余数量过滤的语义辅助。, 纯函数判定(供单测);list_batches 用 SQL 等价条件。, 返回 'available' | 'exhausted';全部 / 空 / 非法 → None(不加剩余数量条件)。
|
||||
|
||||
### Community 33 - "Community 33"
|
||||
### Community 28 - "Community 28"
|
||||
Cohesion: 0.5
|
||||
Nodes (3): BaseSettings, Config, Settings
|
||||
|
||||
### Community 34 - "Community 34"
|
||||
### Community 29 - "Community 29"
|
||||
Cohesion: 0.5
|
||||
Nodes (2): _auto_fill_create_dept_id(), ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID
|
||||
|
||||
### Community 35 - "Community 35"
|
||||
### Community 30 - "Community 30"
|
||||
Cohesion: 0.67
|
||||
Nodes (2): get_menu_list(), 运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,5 个一级菜单分组)
|
||||
|
||||
### Community 36 - "Community 36"
|
||||
### Community 31 - "Community 31"
|
||||
Cohesion: 0.67
|
||||
Nodes (1): 转正套件:入职日 + 试用期月数 → 建议转正日(YYYY-MM-DD)。
|
||||
|
||||
### Community 37 - "Community 37"
|
||||
### Community 32 - "Community 32"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): 质检物料金额查看授权:专用角色与菜单权限常量。
|
||||
|
||||
### Community 38 - "Community 38"
|
||||
### Community 33 - "Community 33"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): 请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传
|
||||
|
||||
### Community 39 - "Community 39"
|
||||
### Community 34 - "Community 34"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)
|
||||
|
||||
### Community 42 - "Community 42"
|
||||
### Community 37 - "Community 37"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): 发送订单状态通知 Args: openid: 用户openid ord
|
||||
|
||||
### Community 43 - "Community 43"
|
||||
### Community 38 - "Community 38"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): 发送支付成功通知 Args: openid: 用户openid ord
|
||||
|
||||
### Community 44 - "Community 44"
|
||||
### Community 39 - "Community 39"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): 发送配送通知 Args: openid: 配送员openid task
|
||||
|
||||
### Community 45 - "Community 45"
|
||||
### Community 40 - "Community 40"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): 发送配送时效预警 Args: openid: 配送员openid ta
|
||||
|
||||
### Community 46 - "Community 46"
|
||||
### Community 41 - "Community 41"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): 发送退款结果通知 Args: openid: 用户openid ord
|
||||
|
||||
### Community 47 - "Community 47"
|
||||
### Community 42 - "Community 42"
|
||||
Cohesion: 1.0
|
||||
Nodes (1): 发送催单通知给配送员 Args: deliver_openid: 配送员openid
|
||||
|
||||
## Knowledge Gaps
|
||||
- **176 isolated node(s):** `刷新会话 TTL(refreshToken 续期;已登录用户每次 API 校验通过后滑动续期)`, `写入 refreshToken(用于 one-time 使用/吊销)`, `根据 token 获取当前用户(包含 Redis 会话校验;会话滑动续期)`, `登录凭据 RSA 解密(与前端 JSEncrypt PKCS#1 v1.5 兼容)。`, `加载 RSA 密钥对:优先环境变量,否则使用内置固定默认密钥。` (+171 more)
|
||||
These have ≤1 connection - possible missing edges or undocumented components.
|
||||
- **Thin community `Community 28`** (8 nodes): `BaseModel`, `.to_dict()`, `get_active()`, `base.py`, `SoftDeleteModel`, `.restore()`, `.soft_delete()`, `__tablename__()`
|
||||
- **Thin community `Community 25`** (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 34`** (4 nodes): `_auto_fill_create_dept_id()`, `get_db()`, `database.py`, `ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID`
|
||||
- **Thin community `Community 29`** (4 nodes): `_auto_fill_create_dept_id()`, `get_db()`, `database.py`, `ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 35`** (3 nodes): `get_menu_list()`, `menu.py`, `运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,5 个一级菜单分组)`
|
||||
- **Thin community `Community 30`** (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 36`** (3 nodes): `add_months_ymd()`, `oa_confirmation_date.py`, `转正套件:入职日 + 试用期月数 → 建议转正日(YYYY-MM-DD)。`
|
||||
- **Thin community `Community 31`** (3 nodes): `add_months_ymd()`, `oa_confirmation_date.py`, `转正套件:入职日 + 试用期月数 → 建议转正日(YYYY-MM-DD)。`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 37`** (2 nodes): `qc_material_amount_auth_constants.py`, `质检物料金额查看授权:专用角色与菜单权限常量。`
|
||||
- **Thin community `Community 32`** (2 nodes): `qc_material_amount_auth_constants.py`, `质检物料金额查看授权:专用角色与菜单权限常量。`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 38`** (2 nodes): `context.py`, `请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传`
|
||||
- **Thin community `Community 33`** (2 nodes): `context.py`, `请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 39`** (2 nodes): `__init__.py`, `API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)`
|
||||
- **Thin community `Community 34`** (2 nodes): `__init__.py`, `API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 42`** (1 nodes): `发送订单状态通知 Args: openid: 用户openid ord`
|
||||
- **Thin community `Community 37`** (1 nodes): `发送订单状态通知 Args: openid: 用户openid ord`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 43`** (1 nodes): `发送支付成功通知 Args: openid: 用户openid ord`
|
||||
- **Thin community `Community 38`** (1 nodes): `发送支付成功通知 Args: openid: 用户openid ord`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 44`** (1 nodes): `发送配送通知 Args: openid: 配送员openid task`
|
||||
- **Thin community `Community 39`** (1 nodes): `发送配送通知 Args: openid: 配送员openid task`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 45`** (1 nodes): `发送配送时效预警 Args: openid: 配送员openid ta`
|
||||
- **Thin community `Community 40`** (1 nodes): `发送配送时效预警 Args: openid: 配送员openid ta`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 46`** (1 nodes): `发送退款结果通知 Args: openid: 用户openid ord`
|
||||
- **Thin community `Community 41`** (1 nodes): `发送退款结果通知 Args: openid: 用户openid ord`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 47`** (1 nodes): `发送催单通知给配送员 Args: deliver_openid: 配送员openid`
|
||||
- **Thin community `Community 42`** (1 nodes): `发送催单通知给配送员 Args: deliver_openid: 配送员openid`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
|
||||
## Suggested Questions
|
||||
_Questions this graph is uniquely positioned to answer:_
|
||||
|
||||
- **Why does `SysUser` connect `Community 2` to `Community 0`, `Community 1`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 25`, `Community 26`?**
|
||||
_High betweenness centrality (0.090) - this node is a cross-community bridge._
|
||||
- **Why does `success_response()` connect `Community 0` to `Community 2`, `Community 35`, `Community 4`, `Community 8`, `Community 9`, `Community 10`, `Community 11`?**
|
||||
_High betweenness centrality (0.051) - this node is a cross-community bridge._
|
||||
- **Why does `generate_uuid()` connect `Community 1` to `Community 0`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 15`, `Community 16`, `Community 18`, `Community 19`, `Community 20`, `Community 25`, `Community 26`, `Community 27`?**
|
||||
_High betweenness centrality (0.041) - this node is a cross-community bridge._
|
||||
- **Are the 903 inferred relationships involving `str` (e.g. with `unhandled_exception_handler()` and `get_current_user_by_token()`) actually correct?**
|
||||
_`str` has 903 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 752 inferred relationships involving `success_response()` (e.g. with `list_storage_release_reviews()` and `get_storage_release_review_detail()`) actually correct?**
|
||||
_`success_response()` has 752 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 622 inferred relationships involving `error_response()` (e.g. with `_json_error_response()` and `list_storage_release_reviews()`) actually correct?**
|
||||
_`error_response()` has 622 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 602 inferred relationships involving `SysUser` (e.g. with `数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3` and `从 SysUser 读取用户的 dept_id。`) actually correct?**
|
||||
_`SysUser` has 602 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Why does `SysUser` connect `Community 2` to `Community 0`, `Community 1`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 19`, `Community 21`?**
|
||||
_High betweenness centrality (0.105) - this node is a cross-community bridge._
|
||||
- **Why does `generate_uuid()` connect `Community 1` to `Community 0`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 15`, `Community 17`, `Community 18`, `Community 19`, `Community 20`, `Community 21`, `Community 22`?**
|
||||
_High betweenness centrality (0.044) - this node is a cross-community bridge._
|
||||
- **Why does `success_response()` connect `Community 0` to `Community 1`, `Community 2`, `Community 4`, `Community 5`, `Community 6`, `Community 9`, `Community 10`, `Community 30`?**
|
||||
_High betweenness centrality (0.040) - this node is a cross-community bridge._
|
||||
- **Are the 912 inferred relationships involving `str` (e.g. with `unhandled_exception_handler()` and `get_current_user_by_token()`) actually correct?**
|
||||
_`str` has 912 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 758 inferred relationships involving `success_response()` (e.g. with `list_storage_release_reviews()` and `get_storage_release_review_detail()`) actually correct?**
|
||||
_`success_response()` has 758 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 628 inferred relationships involving `error_response()` (e.g. with `_json_error_response()` and `list_storage_release_reviews()`) actually correct?**
|
||||
_`error_response()` has 628 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 603 inferred relationships involving `SysUser` (e.g. with `数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3` and `从 SysUser 读取用户的 dept_id。`) actually correct?**
|
||||
_`SysUser` has 603 INFERRED edges - model-reasoned connections that need verification._
|
||||
+8734
-3247
File diff suppressed because it is too large.
Load diff
@@ -31,12 +31,12 @@
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/material.py": 1782894693.6389399,
|
||||
"/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": 1787110220.9968657,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py": 1787114498.0697706,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/cleanroom_garment.py": 1781347080.6165943,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/cn_holiday.py": 1786373798.242758,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/__init__.py": 1781344070.5899634,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/research_donation.py": 1783920516.0199852,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/qc_material.py": 1781690312.7245836,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/qc_material.py": 1787116012.3385794,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/base.py": 1778578258.0821667,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/models/clinical_payment.py": 1779834956.9588954,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/schemas/storage_release_review.py": 1787110411.5106792,
|
||||
@@ -115,6 +115,7 @@
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/cleanroom_garment.py": 1782264452.4901433,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_material_usage.py": 1783428516.0973594,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/biz_no_generator.py": 1779882385.4674172,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_material_month_template.py": 1787115871.8303692,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_infusion_confirm.py": 1779828818.7646794,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/reagent_stock_log.py": 1779515479.6599197,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_infusion_schedule_mgmt.py": 1781604486.4315972,
|
||||
@@ -146,6 +147,7 @@
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/api_request_log.py": 1778578258.0614743,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/dict_data.py": 1782893595.9312406,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/research_donation.py": 1785205964.126392,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_material_stock_in_no.py": 1787114586.3799527,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/ethnic.py": 1779265849.547566,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/production_material_formula.py": 1781344175.5871844,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_checkup.py": 1779935785.233911,
|
||||
@@ -167,7 +169,7 @@
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/consumable_pack.py": 1779265715.416005,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_inspection_batch.py": 1786011049.96145,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/production_material_prep.py": 1781514953.3551314,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_material.py": 1779284415.64655,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_material.py": 1787114725.8477683,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/collection_protocol_no.py": 1779882001.753651,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/outbound_handover.py": 1780455574.0993364,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/storage_facility.py": 1786945250.4117062,
|
||||
@@ -191,7 +193,7 @@
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/material.py": 1782894693.6582327,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/production_material.py": 1782404982.2474263,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/mini_menu.py": 1786680837.227191,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/qc.py": 1787017177.347961,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/qc.py": 1787115790.3977795,
|
||||
"/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": 1785145536.3204737,
|
||||
@@ -207,7 +209,7 @@
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/research_donation_sample_collection.py": 1780457788.2998126,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/oa_approval.py": 1786527707.997609,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/operations.py": 1785213144.2881503,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/menu.py": 1787110991.0985372,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/menu.py": 1787112431.3662364,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_delivery.py": 1779655584.820777,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/admin.py": 1786010386.7044516,
|
||||
"/Users/wuzilong/work/00code/zkxw/backend/app/api/env_detect.py": 1786945487.513935,
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
-- 入库放行审核:生产 / 质检菜单(sys_menu)
|
||||
-- MySQL 5.7;可重复执行
|
||||
-- 市场 → 细胞存储 原菜单(biz:storageReleaseReview:list)保持不变
|
||||
-- 不写入 sys_role_menu:由管理员在角色管理中勾选新菜单
|
||||
|
||||
SET @tenant_no = CONVERT('zkxw' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
SET @prm_id = CONVERT('PRM00000000000000000000000000001' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
SET @qcm_id = CONVERT('QCM00000000000000000000000000001' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
-- 注意:954…001 已占用「生产任务组合模版」,生产侧入库放行用 955…001
|
||||
SET @menu_prod = CONVERT('95500000000000000000000000000001' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
SET @menu_qc = CONVERT('70000000000000000000000000000014' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
|
||||
-- 1) 生产 → 生产管理 → 入库放行审核
|
||||
INSERT INTO sys_menu (
|
||||
id, menu_name, parent_id, menu_type, path, component, perms,
|
||||
is_frame, visible, status, tenant_no, order_num, remark,
|
||||
create_by, create_dept_id, create_time, update_by, update_time, del_flag
|
||||
)
|
||||
SELECT
|
||||
@menu_prod,
|
||||
'入库放行审核',
|
||||
@prm_id,
|
||||
'C',
|
||||
'storage-release-review',
|
||||
'/quality-inspection/storage-release-review/index',
|
||||
'production:storageReleaseReview:list',
|
||||
1, '1', '1', @tenant_no, 4,
|
||||
'生产侧入库放行审核(仅审生产结论;双通过后可入库)',
|
||||
NULL, '', NOW(), NULL, NOW(), 0
|
||||
FROM DUAL
|
||||
WHERE NOT EXISTS (
|
||||
SELECT 1 FROM sys_menu m
|
||||
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_prod
|
||||
OR m.perms COLLATE utf8mb4_unicode_ci = 'production:storageReleaseReview:list'
|
||||
);
|
||||
|
||||
UPDATE sys_menu
|
||||
SET
|
||||
menu_name = '入库放行审核',
|
||||
parent_id = @prm_id,
|
||||
menu_type = 'C',
|
||||
path = 'storage-release-review',
|
||||
component = '/quality-inspection/storage-release-review/index',
|
||||
perms = 'production:storageReleaseReview:list',
|
||||
visible = '1',
|
||||
status = '1',
|
||||
order_num = 4,
|
||||
remark = '生产侧入库放行审核(仅审生产结论;双通过后可入库)',
|
||||
del_flag = 0,
|
||||
update_time = NOW()
|
||||
WHERE id COLLATE utf8mb4_unicode_ci = @menu_prod;
|
||||
|
||||
-- 2) 质检 → 质检管理 → 入库放行审核
|
||||
INSERT INTO sys_menu (
|
||||
id, menu_name, parent_id, menu_type, path, component, perms,
|
||||
is_frame, visible, status, tenant_no, order_num, remark,
|
||||
create_by, create_dept_id, create_time, update_by, update_time, del_flag
|
||||
)
|
||||
SELECT
|
||||
@menu_qc,
|
||||
'入库放行审核',
|
||||
@qcm_id,
|
||||
'C',
|
||||
'storage-release-review',
|
||||
'/quality-inspection/storage-release-review/index',
|
||||
'quality:storageReleaseReview:list',
|
||||
1, '1', '1', @tenant_no, 3,
|
||||
'质检侧入库放行审核(仅审质检结论;双通过后可入库)',
|
||||
NULL, '', NOW(), NULL, NOW(), 0
|
||||
FROM DUAL
|
||||
WHERE NOT EXISTS (
|
||||
SELECT 1 FROM sys_menu m
|
||||
WHERE m.id COLLATE utf8mb4_unicode_ci = @menu_qc
|
||||
OR m.perms COLLATE utf8mb4_unicode_ci = 'quality:storageReleaseReview:list'
|
||||
);
|
||||
|
||||
UPDATE sys_menu
|
||||
SET
|
||||
menu_name = '入库放行审核',
|
||||
parent_id = @qcm_id,
|
||||
menu_type = 'C',
|
||||
path = 'storage-release-review',
|
||||
component = '/quality-inspection/storage-release-review/index',
|
||||
perms = 'quality:storageReleaseReview:list',
|
||||
visible = '1',
|
||||
status = '1',
|
||||
order_num = 3,
|
||||
remark = '质检侧入库放行审核(仅审质检结论;双通过后可入库)',
|
||||
del_flag = 0,
|
||||
update_time = NOW()
|
||||
WHERE id COLLATE utf8mb4_unicode_ci = @menu_qc;
|
||||
@@ -0,0 +1,111 @@
|
||||
-- 入库放行审核:给指定角色授权(sys_role_menu)
|
||||
-- MySQL 5.7;可重复执行
|
||||
-- 研发主管 → 生产侧入库放行审核
|
||||
-- 质量主管 → 质检侧入库放行审核
|
||||
-- 祖先菜单(生产/生产管理、质检/质检管理)若已有则不重复插入
|
||||
|
||||
SET @tenant_no = CONVERT('zkxw' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
-- 研发主管
|
||||
SET @role_rd = CONVERT('2668804724054AB6A45DF35D2108138B' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
-- 质量主管
|
||||
SET @role_qa = CONVERT('35DD110367764827ACCCFEEBA1E21699' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
-- 生产入库放行
|
||||
SET @menu_prod = CONVERT('95500000000000000000000000000001' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
-- 质检入库放行
|
||||
SET @menu_qc = CONVERT('70000000000000000000000000000014' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
SET @top_prod = CONVERT('TOP00000000000000000000000000002' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
SET @prm_id = CONVERT('PRM00000000000000000000000000001' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
SET @top_qc = CONVERT('TOP00000000000000000000000000003' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
SET @qcm_id = CONVERT('QCM00000000000000000000000000001' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
SET @web_root = CONVERT('2' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
|
||||
-- 软删恢复
|
||||
UPDATE sys_role_menu
|
||||
SET del_flag = 0, update_time = NOW(), remark = 'grant storage release dual-gate'
|
||||
WHERE tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
|
||||
AND del_flag = 1
|
||||
AND (
|
||||
(role_id COLLATE utf8mb4_unicode_ci = @role_rd AND menu_id COLLATE utf8mb4_unicode_ci IN (@web_root, @top_prod, @prm_id, @menu_prod))
|
||||
OR
|
||||
(role_id COLLATE utf8mb4_unicode_ci = @role_qa AND menu_id COLLATE utf8mb4_unicode_ci IN (@web_root, @top_qc, @qcm_id, @menu_qc))
|
||||
);
|
||||
|
||||
-- 研发主管:Web 根 + 生产 + 生产管理 + 生产入库放行
|
||||
INSERT INTO sys_role_menu (
|
||||
id, role_id, menu_id, tenant_no, order_num, remark,
|
||||
create_by, create_dept_id, create_time, update_by, update_time, del_flag
|
||||
)
|
||||
SELECT
|
||||
UPPER(MD5(CONCAT(x.role_id, '|', x.menu_id))),
|
||||
x.role_id,
|
||||
x.menu_id,
|
||||
@tenant_no,
|
||||
0,
|
||||
'grant storage release dual-gate',
|
||||
'admin',
|
||||
'',
|
||||
NOW(),
|
||||
NULL,
|
||||
NOW(),
|
||||
0
|
||||
FROM (
|
||||
SELECT @role_rd AS role_id, @web_root AS menu_id
|
||||
UNION ALL SELECT @role_rd, @top_prod
|
||||
UNION ALL SELECT @role_rd, @prm_id
|
||||
UNION ALL SELECT @role_rd, @menu_prod
|
||||
) x
|
||||
WHERE EXISTS (
|
||||
SELECT 1 FROM sys_role r
|
||||
WHERE r.id COLLATE utf8mb4_unicode_ci = x.role_id AND r.del_flag = 0
|
||||
)
|
||||
AND EXISTS (
|
||||
SELECT 1 FROM sys_menu m
|
||||
WHERE m.id COLLATE utf8mb4_unicode_ci = x.menu_id AND m.del_flag = 0
|
||||
)
|
||||
AND NOT EXISTS (
|
||||
SELECT 1 FROM sys_role_menu rm
|
||||
WHERE rm.role_id COLLATE utf8mb4_unicode_ci = x.role_id
|
||||
AND rm.menu_id COLLATE utf8mb4_unicode_ci = x.menu_id
|
||||
AND rm.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
|
||||
AND rm.del_flag = 0
|
||||
);
|
||||
|
||||
-- 质量主管:Web 根 + 质检 + 质检管理 + 质检入库放行
|
||||
INSERT INTO sys_role_menu (
|
||||
id, role_id, menu_id, tenant_no, order_num, remark,
|
||||
create_by, create_dept_id, create_time, update_by, update_time, del_flag
|
||||
)
|
||||
SELECT
|
||||
UPPER(MD5(CONCAT(x.role_id, '|', x.menu_id))),
|
||||
x.role_id,
|
||||
x.menu_id,
|
||||
@tenant_no,
|
||||
0,
|
||||
'grant storage release dual-gate',
|
||||
'admin',
|
||||
'',
|
||||
NOW(),
|
||||
NULL,
|
||||
NOW(),
|
||||
0
|
||||
FROM (
|
||||
SELECT @role_qa AS role_id, @web_root AS menu_id
|
||||
UNION ALL SELECT @role_qa, @top_qc
|
||||
UNION ALL SELECT @role_qa, @qcm_id
|
||||
UNION ALL SELECT @role_qa, @menu_qc
|
||||
) x
|
||||
WHERE EXISTS (
|
||||
SELECT 1 FROM sys_role r
|
||||
WHERE r.id COLLATE utf8mb4_unicode_ci = x.role_id AND r.del_flag = 0
|
||||
)
|
||||
AND EXISTS (
|
||||
SELECT 1 FROM sys_menu m
|
||||
WHERE m.id COLLATE utf8mb4_unicode_ci = x.menu_id AND m.del_flag = 0
|
||||
)
|
||||
AND NOT EXISTS (
|
||||
SELECT 1 FROM sys_role_menu rm
|
||||
WHERE rm.role_id COLLATE utf8mb4_unicode_ci = x.role_id
|
||||
AND rm.menu_id COLLATE utf8mb4_unicode_ci = x.menu_id
|
||||
AND rm.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
|
||||
AND rm.del_flag = 0
|
||||
);
|
||||
@@ -0,0 +1,42 @@
|
||||
-- 市场 → 细胞存储 → 入库放行审核:取消全部角色授权 + 菜单软删
|
||||
-- MySQL 5.7;可重复执行
|
||||
-- 目标菜单:id=70000000000000000000000000000011
|
||||
-- perms=biz:storageReleaseReview:list
|
||||
-- 不影响生产/质检侧入库放行审核菜单与授权
|
||||
|
||||
SET @tenant_no = CONVERT('zkxw' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
SET @menu_market = CONVERT('70000000000000000000000000000011' USING utf8mb4) COLLATE utf8mb4_unicode_ci;
|
||||
|
||||
-- 1) 取消任意角色对该菜单的授权(软删 sys_role_menu)
|
||||
UPDATE sys_role_menu
|
||||
SET
|
||||
del_flag = 1,
|
||||
update_time = NOW(),
|
||||
remark = 'revoke market storage release review (overview offline)'
|
||||
WHERE menu_id COLLATE utf8mb4_unicode_ci = @menu_market
|
||||
AND del_flag = 0;
|
||||
|
||||
-- 兼容按 perms 关联(若存在重复/历史 id)
|
||||
UPDATE sys_role_menu rm
|
||||
INNER JOIN sys_menu m
|
||||
ON m.id COLLATE utf8mb4_unicode_ci = rm.menu_id COLLATE utf8mb4_unicode_ci
|
||||
SET
|
||||
rm.del_flag = 1,
|
||||
rm.update_time = NOW(),
|
||||
rm.remark = 'revoke market storage release review (overview offline)'
|
||||
WHERE m.perms COLLATE utf8mb4_unicode_ci = 'biz:storageReleaseReview:list'
|
||||
AND rm.del_flag = 0;
|
||||
|
||||
-- 2) 菜单表虚拟删除
|
||||
UPDATE sys_menu
|
||||
SET
|
||||
del_flag = 1,
|
||||
visible = '0',
|
||||
status = '0',
|
||||
update_time = NOW(),
|
||||
remark = '市场侧入库放行审核暂下线(改由生产/质检入口)'
|
||||
WHERE (
|
||||
id COLLATE utf8mb4_unicode_ci = @menu_market
|
||||
OR perms COLLATE utf8mb4_unicode_ci = 'biz:storageReleaseReview:list'
|
||||
)
|
||||
AND del_flag = 0;
|
||||
@@ -0,0 +1,533 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>月初导入 · 入库明细双行布局 Demo</title>
|
||||
<style>
|
||||
:root {
|
||||
--primary: #10b981;
|
||||
--primary-dark: #059669;
|
||||
--primary-bg: #ecfdf5;
|
||||
--text: #0f172a;
|
||||
--muted: #64748b;
|
||||
--border: #e2e8f0;
|
||||
--surface: #ffffff;
|
||||
--danger: #dc2626;
|
||||
--radius: 10px;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
color: var(--text);
|
||||
background: #f1f5f9;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0 0 8px;
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.page-desc {
|
||||
margin: 0 0 20px;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.tab {
|
||||
border: 1px solid var(--border);
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
padding: 8px 14px;
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--muted);
|
||||
}
|
||||
.tab.active {
|
||||
background: var(--primary-bg);
|
||||
border-color: #a7f3d0;
|
||||
color: var(--primary-dark);
|
||||
}
|
||||
|
||||
.panel {
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
|
||||
overflow: hidden;
|
||||
max-width: 1100px;
|
||||
}
|
||||
.panel-hd {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
gap: 12px;
|
||||
padding: 14px 16px 10px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.panel-title { font-weight: 700; }
|
||||
.panel-hint { font-size: 12px; color: var(--muted); margin-top: 2px; }
|
||||
|
||||
.req::before {
|
||||
content: "*";
|
||||
color: var(--danger);
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
/* —— 方案 A:单行表(横向滚动) —— */
|
||||
.scroll-x {
|
||||
overflow-x: auto;
|
||||
}
|
||||
table.flat {
|
||||
width: max-content;
|
||||
min-width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table.flat th,
|
||||
table.flat td {
|
||||
border-bottom: 1px solid var(--border);
|
||||
padding: 10px 8px;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
font-size: 13px;
|
||||
}
|
||||
table.flat th {
|
||||
background: #f8fafc;
|
||||
color: var(--muted);
|
||||
font-weight: 600;
|
||||
}
|
||||
table.flat tr:nth-child(even) td { background: #fafafa; }
|
||||
.cell-input {
|
||||
height: 32px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
padding: 0 8px;
|
||||
min-width: 100px;
|
||||
width: 100%;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* —— 方案 B:一条数据两行 —— */
|
||||
.dual-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
padding: 12px 16px 16px;
|
||||
}
|
||||
.dual-card {
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
overflow: hidden;
|
||||
}
|
||||
.dual-card:nth-child(even) {
|
||||
background: #fafafa;
|
||||
}
|
||||
.dual-card-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 8px 12px;
|
||||
background: var(--primary-bg);
|
||||
border-bottom: 1px solid #d1fae5;
|
||||
}
|
||||
.dual-idx {
|
||||
flex: 0 0 28px;
|
||||
height: 28px;
|
||||
border-radius: 6px;
|
||||
background: #fff;
|
||||
border: 1px solid #a7f3d0;
|
||||
color: var(--primary-dark);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
}
|
||||
.dual-actions {
|
||||
margin-left: auto;
|
||||
}
|
||||
.btn-link {
|
||||
border: none;
|
||||
background: none;
|
||||
color: var(--danger);
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
padding: 4px 6px;
|
||||
}
|
||||
|
||||
.dual-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||
gap: 8px 12px;
|
||||
padding: 12px;
|
||||
}
|
||||
.field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
.field label {
|
||||
font-size: 11px;
|
||||
color: var(--muted);
|
||||
font-weight: 600;
|
||||
}
|
||||
.field .cell-input { min-width: 0; }
|
||||
|
||||
.row-sep {
|
||||
grid-column: 1 / -1;
|
||||
height: 1px;
|
||||
background: var(--border);
|
||||
margin: 2px 0;
|
||||
}
|
||||
|
||||
.footer {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
padding: 12px 16px;
|
||||
border-top: 1px solid var(--border);
|
||||
background: #fff;
|
||||
}
|
||||
.btn {
|
||||
height: 36px;
|
||||
border-radius: 8px;
|
||||
padding: 0 14px;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
.btn-ghost {
|
||||
background: #fff;
|
||||
border: 1px solid #d9e8e2;
|
||||
color: var(--text);
|
||||
}
|
||||
.btn-main {
|
||||
background: var(--primary);
|
||||
border: 1px solid var(--primary);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.badge {
|
||||
display: inline-block;
|
||||
margin-left: 8px;
|
||||
padding: 2px 8px;
|
||||
border-radius: 999px;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.badge-warn { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
|
||||
.badge-ok { background: var(--primary-bg); color: var(--primary-dark); border: 1px solid #a7f3d0; }
|
||||
|
||||
.note {
|
||||
max-width: 1100px;
|
||||
margin-top: 16px;
|
||||
padding: 12px 14px;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
border: 1px solid var(--border);
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
.note strong { color: var(--text); }
|
||||
|
||||
.panel[hidden] { display: none; }
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.dual-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>月初导入 · 入库明细布局 Demo</h1>
|
||||
<p class="page-desc">
|
||||
对照 Fresh Mint 管理端风格。点击下方切换两种方案,看「一条数据两行」是否更适合当前弹窗宽度。
|
||||
</p>
|
||||
|
||||
<div class="tabs">
|
||||
<button class="tab active" type="button" data-panel="a">方案 A · 单行多列(现状)</button>
|
||||
<button class="tab" type="button" data-panel="b">方案 B · 一条两行(推荐)</button>
|
||||
</div>
|
||||
|
||||
<!-- 方案 A -->
|
||||
<section class="panel" id="panel-a">
|
||||
<div class="panel-hd">
|
||||
<div>
|
||||
<div class="panel-title">
|
||||
入库明细
|
||||
<span class="badge badge-warn">需横向滚动</span>
|
||||
</div>
|
||||
<div class="panel-hint">共 2 项 · 一行列很多,窄屏/普通弹窗会出现横向滚动条</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="scroll-x">
|
||||
<table class="flat">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>序号</th>
|
||||
<th class="req">物料编码</th>
|
||||
<th class="req">物料名称</th>
|
||||
<th>规格型号</th>
|
||||
<th>单位</th>
|
||||
<th class="req">入库编号</th>
|
||||
<th class="req">过期日期</th>
|
||||
<th class="req">货号</th>
|
||||
<th class="req">批号</th>
|
||||
<th class="req">厂家</th>
|
||||
<th class="req">数量</th>
|
||||
<th class="req">单价</th>
|
||||
<th class="req">金额</th>
|
||||
<th>备注</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td><input class="cell-input" value="QC-REAGENT-01" /></td>
|
||||
<td><input class="cell-input" value="检测试剂A" /></td>
|
||||
<td><input class="cell-input" value="100T/盒" /></td>
|
||||
<td><input class="cell-input" value="盒" /></td>
|
||||
<td><input class="cell-input" value="RK20260819001" /></td>
|
||||
<td><input class="cell-input" value="2027-06-30" /></td>
|
||||
<td><input class="cell-input" value="CAT-1001" /></td>
|
||||
<td><input class="cell-input" value="LOT-2508" /></td>
|
||||
<td><input class="cell-input" value="某某生物" /></td>
|
||||
<td><input class="cell-input" value="0.00" style="min-width:80px" /></td>
|
||||
<td><input class="cell-input" value="128.00" style="min-width:80px" /></td>
|
||||
<td><input class="cell-input" value="0.00" style="min-width:80px" /></td>
|
||||
<td><input class="cell-input" value="" placeholder="可选" /></td>
|
||||
<td><button class="btn-link" type="button">删除</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2</td>
|
||||
<td><input class="cell-input" value="QC-CONS-02" /></td>
|
||||
<td><input class="cell-input" value="离心管" /></td>
|
||||
<td><input class="cell-input" value="15ml" /></td>
|
||||
<td><input class="cell-input" value="包" /></td>
|
||||
<td><input class="cell-input" value="RK20260819002" /></td>
|
||||
<td><input class="cell-input" value="2028-01-01" /></td>
|
||||
<td><input class="cell-input" value="CAT-2002" /></td>
|
||||
<td><input class="cell-input" value="LOT-088" /></td>
|
||||
<td><input class="cell-input" value="某某耗材" /></td>
|
||||
<td><input class="cell-input" value="10.00" style="min-width:80px" /></td>
|
||||
<td><input class="cell-input" value="35.50" style="min-width:80px" /></td>
|
||||
<td><input class="cell-input" value="355.00" style="min-width:80px" /></td>
|
||||
<td><input class="cell-input" value="月初补货" /></td>
|
||||
<td><button class="btn-link" type="button">删除</button></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<button class="btn btn-ghost" type="button">取消</button>
|
||||
<button class="btn btn-main" type="button">确认入库</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- 方案 B -->
|
||||
<section class="panel" id="panel-b" hidden>
|
||||
<div class="panel-hd">
|
||||
<div>
|
||||
<div class="panel-title">
|
||||
入库明细
|
||||
<span class="badge badge-ok">无横向滚动</span>
|
||||
</div>
|
||||
<div class="panel-hint">共 2 项 · 每条记录分两行字段:上排主信息,下排批号/数量金额</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dual-list">
|
||||
<!-- card 1 -->
|
||||
<article class="dual-card">
|
||||
<div class="dual-card-top">
|
||||
<div class="dual-idx">1</div>
|
||||
<div style="font-weight:600;color:var(--primary-dark)">检测试剂A · QC-REAGENT-01</div>
|
||||
<div class="dual-actions">
|
||||
<button class="btn-link" type="button">删除</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dual-grid">
|
||||
<!-- 第一行:物料 + 入库主信息 -->
|
||||
<div class="field">
|
||||
<label class="req">物料编码</label>
|
||||
<input class="cell-input" value="QC-REAGENT-01" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">物料名称</label>
|
||||
<input class="cell-input" value="检测试剂A" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>规格型号</label>
|
||||
<input class="cell-input" value="100T/盒" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>单位</label>
|
||||
<input class="cell-input" value="盒" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">入库编号</label>
|
||||
<input class="cell-input" value="RK20260819001" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">过期日期</label>
|
||||
<input class="cell-input" type="date" value="2027-06-30" />
|
||||
</div>
|
||||
|
||||
<div class="row-sep" aria-hidden="true"></div>
|
||||
|
||||
<!-- 第二行:批次 / 数量金额 / 备注 -->
|
||||
<div class="field">
|
||||
<label class="req">货号</label>
|
||||
<input class="cell-input" value="CAT-1001" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">批号</label>
|
||||
<input class="cell-input" value="LOT-2508" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">厂家</label>
|
||||
<input class="cell-input" value="某某生物" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">数量</label>
|
||||
<input class="cell-input" value="0.00" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">单价</label>
|
||||
<input class="cell-input" value="128.00" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">金额</label>
|
||||
<input class="cell-input" value="0.00" />
|
||||
</div>
|
||||
<!-- 备注可占满下一行,这里用整行示意:把最后一格拉满可用备注替换其中一格扩展 -->
|
||||
</div>
|
||||
<div style="padding:0 12px 12px">
|
||||
<div class="field">
|
||||
<label>备注</label>
|
||||
<input class="cell-input" placeholder="可选" />
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<!-- card 2 -->
|
||||
<article class="dual-card">
|
||||
<div class="dual-card-top">
|
||||
<div class="dual-idx">2</div>
|
||||
<div style="font-weight:600;color:var(--primary-dark)">离心管 · QC-CONS-02</div>
|
||||
<div class="dual-actions">
|
||||
<button class="btn-link" type="button">删除</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dual-grid">
|
||||
<div class="field">
|
||||
<label class="req">物料编码</label>
|
||||
<input class="cell-input" value="QC-CONS-02" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">物料名称</label>
|
||||
<input class="cell-input" value="离心管" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>规格型号</label>
|
||||
<input class="cell-input" value="15ml" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>单位</label>
|
||||
<input class="cell-input" value="包" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">入库编号</label>
|
||||
<input class="cell-input" value="RK20260819002" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">过期日期</label>
|
||||
<input class="cell-input" type="date" value="2028-01-01" />
|
||||
</div>
|
||||
|
||||
<div class="row-sep" aria-hidden="true"></div>
|
||||
|
||||
<div class="field">
|
||||
<label class="req">货号</label>
|
||||
<input class="cell-input" value="CAT-2002" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">批号</label>
|
||||
<input class="cell-input" value="LOT-088" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">厂家</label>
|
||||
<input class="cell-input" value="某某耗材" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">数量</label>
|
||||
<input class="cell-input" value="10.00" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">单价</label>
|
||||
<input class="cell-input" value="35.50" />
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="req">金额</label>
|
||||
<input class="cell-input" value="355.00" />
|
||||
</div>
|
||||
</div>
|
||||
<div style="padding:0 12px 12px">
|
||||
<div class="field">
|
||||
<label>备注</label>
|
||||
<input class="cell-input" value="月初补货" />
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<button class="btn btn-ghost" type="button">取消</button>
|
||||
<button class="btn btn-main" type="button">确认入库</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="note">
|
||||
<strong>字段分行建议:</strong>
|
||||
第 1 行:物料编码 / 物料名称 / 规格型号 / 单位 / 入库编号 / 过期日期;
|
||||
第 2 行:货号 / 批号 / 厂家 / 数量 / 单价 / 金额;
|
||||
备注单独占底下一整行。红色 <span class="req"></span> 为确认入库必填项。
|
||||
<br /><br />
|
||||
若认可方案 B,我再按此布局改正式 Vue 弹窗(仍可编辑,无横向滚动)。
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const tabs = document.querySelectorAll('.tab')
|
||||
const panels = {
|
||||
a: document.getElementById('panel-a'),
|
||||
b: document.getElementById('panel-b')
|
||||
}
|
||||
tabs.forEach((tab) => {
|
||||
tab.addEventListener('click', () => {
|
||||
tabs.forEach((t) => t.classList.remove('active'))
|
||||
tab.classList.add('active')
|
||||
const key = tab.dataset.panel
|
||||
Object.keys(panels).forEach((k) => {
|
||||
panels[k].hidden = k !== key
|
||||
})
|
||||
})
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -10472,6 +10472,55 @@
|
||||
"source_file": "hooks/core/useAppMode.ts",
|
||||
"source_location": "L20"
|
||||
},
|
||||
{
|
||||
"id": "api_qc_material_month_template_ts",
|
||||
"label": "qc-material-month-template.ts",
|
||||
"file_type": "code",
|
||||
"source_file": "api/qc-material-month-template.ts",
|
||||
"source_location": "L1"
|
||||
},
|
||||
{
|
||||
"id": "api_qc_material_month_template_fetchqcmonthtemplatelist",
|
||||
"label": "fetchQcMonthTemplateList()",
|
||||
"file_type": "code",
|
||||
"source_file": "api/qc-material-month-template.ts",
|
||||
"source_location": "L40"
|
||||
},
|
||||
{
|
||||
"id": "api_qc_material_month_template_fetchcreateqcmonthtemplate",
|
||||
"label": "fetchCreateQcMonthTemplate()",
|
||||
"file_type": "code",
|
||||
"source_file": "api/qc-material-month-template.ts",
|
||||
"source_location": "L46"
|
||||
},
|
||||
{
|
||||
"id": "api_qc_material_month_template_fetchupdateqcmonthtemplate",
|
||||
"label": "fetchUpdateQcMonthTemplate()",
|
||||
"file_type": "code",
|
||||
"source_file": "api/qc-material-month-template.ts",
|
||||
"source_location": "L53"
|
||||
},
|
||||
{
|
||||
"id": "api_qc_material_month_template_fetchdeleteqcmonthtemplate",
|
||||
"label": "fetchDeleteQcMonthTemplate()",
|
||||
"file_type": "code",
|
||||
"source_file": "api/qc-material-month-template.ts",
|
||||
"source_location": "L60"
|
||||
},
|
||||
{
|
||||
"id": "api_qc_material_month_template_fetchpreviewqcmonthimport",
|
||||
"label": "fetchPreviewQcMonthImport()",
|
||||
"file_type": "code",
|
||||
"source_file": "api/qc-material-month-template.ts",
|
||||
"source_location": "L66"
|
||||
},
|
||||
{
|
||||
"id": "api_qc_material_month_template_fetchconfirmqcmonthimport",
|
||||
"label": "fetchConfirmQcMonthImport()",
|
||||
"file_type": "code",
|
||||
"source_file": "api/qc-material-month-template.ts",
|
||||
"source_location": "L73"
|
||||
},
|
||||
{
|
||||
"id": "api_leave_ts",
|
||||
"label": "leave.ts",
|
||||
@@ -20963,21 +21012,21 @@
|
||||
"label": "handleStockStatusChange()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1300"
|
||||
"source_location": "L1321"
|
||||
},
|
||||
{
|
||||
"id": "qc_material_index_ensuretabmounted",
|
||||
"label": "ensureTabMounted()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1311"
|
||||
"source_location": "L1332"
|
||||
},
|
||||
{
|
||||
"id": "qc_material_index_handletabchange",
|
||||
"label": "handleTabChange()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1316"
|
||||
"source_location": "L1337"
|
||||
},
|
||||
{
|
||||
"id": "views_quality_inspection_qc_material_qcmaterialstockchecktab_vue",
|
||||
@@ -21105,6 +21154,62 @@
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialUsageTab.vue",
|
||||
"source_location": "L537"
|
||||
},
|
||||
{
|
||||
"id": "views_quality_inspection_qc_material_qcmaterialmonthimportdialog_vue",
|
||||
"label": "QcMaterialMonthImportDialog.vue",
|
||||
"file_type": "code",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L1"
|
||||
},
|
||||
{
|
||||
"id": "qc_material_qcmaterialmonthimportdialog_todaystr",
|
||||
"label": "todayStr()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L166"
|
||||
},
|
||||
{
|
||||
"id": "qc_material_qcmaterialmonthimportdialog_handleopen",
|
||||
"label": "handleOpen()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L173"
|
||||
},
|
||||
{
|
||||
"id": "qc_material_qcmaterialmonthimportdialog_reloadpreview",
|
||||
"label": "reloadPreview()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L180"
|
||||
},
|
||||
{
|
||||
"id": "qc_material_qcmaterialmonthimportdialog_markamounttouched",
|
||||
"label": "markAmountTouched()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L196"
|
||||
},
|
||||
{
|
||||
"id": "qc_material_qcmaterialmonthimportdialog_recalcamount",
|
||||
"label": "recalcAmount()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L201"
|
||||
},
|
||||
{
|
||||
"id": "qc_material_qcmaterialmonthimportdialog_handleconfirm",
|
||||
"label": "handleConfirm()",
|
||||
"file_type": "code",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L209"
|
||||
},
|
||||
{
|
||||
"id": "views_quality_inspection_qc_material_qcmaterialmonthtemplatedialog_vue",
|
||||
"label": "QcMaterialMonthTemplateDialog.vue",
|
||||
"file_type": "code",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthTemplateDialog.vue",
|
||||
"source_location": "L1"
|
||||
},
|
||||
{
|
||||
"id": "views_quality_inspection_qc_material_qcmaterialbatchattachmentdialog_vue",
|
||||
"label": "QcMaterialBatchAttachmentDialog.vue",
|
||||
@@ -45663,6 +45768,69 @@
|
||||
"source_location": "L20",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "api_qc_material_month_template_ts",
|
||||
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_http",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "api/qc-material-month-template.ts",
|
||||
"source_location": "L1",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "api_qc_material_month_template_ts",
|
||||
"target": "api_qc_material_month_template_fetchqcmonthtemplatelist",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "api/qc-material-month-template.ts",
|
||||
"source_location": "L40",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "api_qc_material_month_template_ts",
|
||||
"target": "api_qc_material_month_template_fetchcreateqcmonthtemplate",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "api/qc-material-month-template.ts",
|
||||
"source_location": "L46",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "api_qc_material_month_template_ts",
|
||||
"target": "api_qc_material_month_template_fetchupdateqcmonthtemplate",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "api/qc-material-month-template.ts",
|
||||
"source_location": "L53",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "api_qc_material_month_template_ts",
|
||||
"target": "api_qc_material_month_template_fetchdeleteqcmonthtemplate",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "api/qc-material-month-template.ts",
|
||||
"source_location": "L60",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "api_qc_material_month_template_ts",
|
||||
"target": "api_qc_material_month_template_fetchpreviewqcmonthimport",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "api/qc-material-month-template.ts",
|
||||
"source_location": "L66",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "api_qc_material_month_template_ts",
|
||||
"target": "api_qc_material_month_template_fetchconfirmqcmonthimport",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "api/qc-material-month-template.ts",
|
||||
"source_location": "L73",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "api_leave_ts",
|
||||
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_http",
|
||||
@@ -63498,7 +63666,7 @@
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1231",
|
||||
"source_location": "L1244",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -63507,7 +63675,7 @@
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1232",
|
||||
"source_location": "L1245",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -63516,7 +63684,7 @@
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1247",
|
||||
"source_location": "L1262",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -63525,7 +63693,7 @@
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1248",
|
||||
"source_location": "L1263",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -63534,7 +63702,7 @@
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1249",
|
||||
"source_location": "L1264",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -63543,7 +63711,7 @@
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1250",
|
||||
"source_location": "L1265",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -63552,52 +63720,52 @@
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1251",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_index_vue",
|
||||
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_material",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1252",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_index_vue",
|
||||
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_material",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1265",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_index_vue",
|
||||
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_material_usage",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1266",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_index_vue",
|
||||
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_constants_material_discard",
|
||||
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_material",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1267",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_index_vue",
|
||||
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_material",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1280",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_index_vue",
|
||||
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_material_usage",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1281",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_index_vue",
|
||||
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_constants_material_discard",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1282",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_index_vue",
|
||||
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_fetch_paged_list",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1268",
|
||||
"source_location": "L1283",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -63606,7 +63774,7 @@
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1269",
|
||||
"source_location": "L1284",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -63615,7 +63783,7 @@
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1270",
|
||||
"source_location": "L1285",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -63624,7 +63792,34 @@
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1271",
|
||||
"source_location": "L1286",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_index_vue",
|
||||
"target": "views_quality_inspection_qc_material_qcmaterialmonthtemplatedialog_vue",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1287",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_index_vue",
|
||||
"target": "views_quality_inspection_qc_material_qcmaterialmonthimportdialog_vue",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1288",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_index_vue",
|
||||
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_material_month_template",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1289",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -63633,7 +63828,7 @@
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1272",
|
||||
"source_location": "L1290",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -63642,7 +63837,7 @@
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1300",
|
||||
"source_location": "L1321",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -63651,7 +63846,7 @@
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1311",
|
||||
"source_location": "L1332",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -63660,7 +63855,7 @@
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1316",
|
||||
"source_location": "L1337",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -63669,7 +63864,7 @@
|
||||
"relation": "calls",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1318",
|
||||
"source_location": "L1339",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -63933,6 +64128,96 @@
|
||||
"source_location": "L534",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_qcmaterialmonthimportdialog_vue",
|
||||
"target": "icons_vue",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L144",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_qcmaterialmonthimportdialog_vue",
|
||||
"target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_material_month_template",
|
||||
"relation": "imports_from",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L145",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_qcmaterialmonthimportdialog_vue",
|
||||
"target": "qc_material_qcmaterialmonthimportdialog_todaystr",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L166",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_qcmaterialmonthimportdialog_vue",
|
||||
"target": "qc_material_qcmaterialmonthimportdialog_handleopen",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L173",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_qcmaterialmonthimportdialog_vue",
|
||||
"target": "qc_material_qcmaterialmonthimportdialog_reloadpreview",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L180",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_qcmaterialmonthimportdialog_vue",
|
||||
"target": "qc_material_qcmaterialmonthimportdialog_markamounttouched",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L196",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_qcmaterialmonthimportdialog_vue",
|
||||
"target": "qc_material_qcmaterialmonthimportdialog_recalcamount",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L201",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_qcmaterialmonthimportdialog_vue",
|
||||
"target": "qc_material_qcmaterialmonthimportdialog_handleconfirm",
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L209",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "qc_material_qcmaterialmonthimportdialog_handleopen",
|
||||
"target": "qc_material_qcmaterialmonthimportdialog_todaystr",
|
||||
"relation": "calls",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L174",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "qc_material_qcmaterialmonthimportdialog_handleopen",
|
||||
"target": "qc_material_qcmaterialmonthimportdialog_reloadpreview",
|
||||
"relation": "calls",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L177",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "views_quality_inspection_qc_material_qcmaterialbatchattachmentdialog_vue",
|
||||
"target": "icons_vue",
|
||||
@@ -75669,6 +75954,16 @@
|
||||
"source_location": "L67",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "api_qc_material_month_template_fetchqcmonthtemplatelist",
|
||||
"target": "process_processroutetab_get",
|
||||
"relation": "calls",
|
||||
"confidence": "INFERRED",
|
||||
"confidence_score": 0.8,
|
||||
"source_file": "api/qc-material-month-template.ts",
|
||||
"source_location": "L41",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "api_leave_fetchleavelist",
|
||||
"target": "process_processroutetab_get",
|
||||
@@ -80696,7 +80991,7 @@
|
||||
"confidence": "INFERRED",
|
||||
"confidence_score": 0.8,
|
||||
"source_file": "views/quality-inspection/qc-material/index.vue",
|
||||
"source_location": "L1304",
|
||||
"source_location": "L1325",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
@@ -80709,6 +81004,36 @@
|
||||
"source_location": "L549",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "qc_material_qcmaterialmonthimportdialog_reloadpreview",
|
||||
"target": "api_qc_material_month_template_fetchpreviewqcmonthimport",
|
||||
"relation": "calls",
|
||||
"confidence": "INFERRED",
|
||||
"confidence_score": 0.8,
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L187",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "qc_material_qcmaterialmonthimportdialog_handleconfirm",
|
||||
"target": "api_qc_material_month_template_fetchconfirmqcmonthimport",
|
||||
"relation": "calls",
|
||||
"confidence": "INFERRED",
|
||||
"confidence_score": 0.8,
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L239",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "qc_material_qcmaterialmonthimportdialog_handleconfirm",
|
||||
"target": "widget_settingitem_emit",
|
||||
"relation": "calls",
|
||||
"confidence": "INFERRED",
|
||||
"confidence_score": 0.8,
|
||||
"source_file": "views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue",
|
||||
"source_location": "L255",
|
||||
"weight": 1.0
|
||||
},
|
||||
{
|
||||
"source": "qc_material_qcmaterialbatchattachmentdialog_handlesubmit",
|
||||
"target": "api_qc_material_fetchupdateqcmaterialbatch",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
# Graph Report - src (2026-08-19)
|
||||
|
||||
## Corpus Check
|
||||
- Large corpus: 986 files · ~646,921 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
|
||||
- Large corpus: 989 files · ~648,627 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
|
||||
|
||||
## Summary
|
||||
- 3526 nodes · 5026 edges · 67 communities detected
|
||||
- Extraction: 78% EXTRACTED · 22% INFERRED · 0% AMBIGUOUS · INFERRED: 1111 edges (avg confidence: 0.8)
|
||||
- 3541 nodes · 5046 edges · 69 communities detected
|
||||
- Extraction: 78% EXTRACTED · 22% INFERRED · 0% AMBIGUOUS · INFERRED: 1115 edges (avg confidence: 0.8)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Community Hubs (Navigation)
|
||||
@@ -50,37 +50,39 @@
|
||||
- [[_COMMUNITY_Community 38|Community 38]]
|
||||
- [[_COMMUNITY_Community 39|Community 39]]
|
||||
- [[_COMMUNITY_Community 40|Community 40]]
|
||||
- [[_COMMUNITY_Community 41|Community 41]]
|
||||
- [[_COMMUNITY_Community 42|Community 42]]
|
||||
- [[_COMMUNITY_Community 43|Community 43]]
|
||||
- [[_COMMUNITY_Community 44|Community 44]]
|
||||
- [[_COMMUNITY_Community 45|Community 45]]
|
||||
- [[_COMMUNITY_Community 46|Community 46]]
|
||||
- [[_COMMUNITY_Community 47|Community 47]]
|
||||
- [[_COMMUNITY_Community 48|Community 48]]
|
||||
- [[_COMMUNITY_Community 49|Community 49]]
|
||||
- [[_COMMUNITY_Community 50|Community 50]]
|
||||
- [[_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 57|Community 57]]
|
||||
- [[_COMMUNITY_Community 58|Community 58]]
|
||||
- [[_COMMUNITY_Community 59|Community 59]]
|
||||
- [[_COMMUNITY_Community 60|Community 60]]
|
||||
- [[_COMMUNITY_Community 64|Community 64]]
|
||||
- [[_COMMUNITY_Community 66|Community 66]]
|
||||
- [[_COMMUNITY_Community 71|Community 71]]
|
||||
- [[_COMMUNITY_Community 74|Community 74]]
|
||||
- [[_COMMUNITY_Community 75|Community 75]]
|
||||
- [[_COMMUNITY_Community 61|Community 61]]
|
||||
- [[_COMMUNITY_Community 63|Community 63]]
|
||||
- [[_COMMUNITY_Community 67|Community 67]]
|
||||
- [[_COMMUNITY_Community 73|Community 73]]
|
||||
- [[_COMMUNITY_Community 76|Community 76]]
|
||||
- [[_COMMUNITY_Community 77|Community 77]]
|
||||
- [[_COMMUNITY_Community 78|Community 78]]
|
||||
- [[_COMMUNITY_Community 79|Community 79]]
|
||||
- [[_COMMUNITY_Community 82|Community 82]]
|
||||
- [[_COMMUNITY_Community 94|Community 94]]
|
||||
- [[_COMMUNITY_Community 80|Community 80]]
|
||||
- [[_COMMUNITY_Community 81|Community 81]]
|
||||
- [[_COMMUNITY_Community 84|Community 84]]
|
||||
- [[_COMMUNITY_Community 96|Community 96]]
|
||||
- [[_COMMUNITY_Community 97|Community 97]]
|
||||
- [[_COMMUNITY_Community 98|Community 98]]
|
||||
- [[_COMMUNITY_Community 99|Community 99]]
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
1. `get()` - 313 edges
|
||||
1. `get()` - 314 edges
|
||||
2. `push()` - 124 edges
|
||||
3. `emit()` - 29 edges
|
||||
3. `emit()` - 30 edges
|
||||
4. `WebSocketClient` - 26 edges
|
||||
5. `set()` - 21 edges
|
||||
6. `handleDynamicRoutes()` - 19 edges
|
||||
@@ -90,6 +92,8 @@
|
||||
10. `scopeQuery()` - 16 edges
|
||||
|
||||
## Surprising Connections (you probably didn't know these)
|
||||
- `handleBatchStore()` --calls--> `withFullscreenLoading()` [INFERRED]
|
||||
views/quality-inspection/storage-release-review/index.vue → utils/fullscreen-loading.ts
|
||||
- `formatReceiveAccountLine()` --calls--> `push()` [INFERRED]
|
||||
utils/oa-receive-account-value.ts → views/operations/storage-facility/index.vue
|
||||
- `dash()` --calls--> `formatDisplayOrDash()` [INFERRED]
|
||||
@@ -98,26 +102,24 @@
|
||||
components/business/clinical-schedule-payment-detail/index.vue → utils/datetime-display.ts
|
||||
- `displayCell()` --calls--> `formatDisplayOrDash()` [INFERRED]
|
||||
views/production/waste-output/index.vue → utils/datetime-display.ts
|
||||
- `resolveBatchSectionTasks()` --calls--> `set()` [INFERRED]
|
||||
utils/qc-inspection-batch.ts → views/production/process/ProcessRouteTab.vue
|
||||
|
||||
## Communities
|
||||
|
||||
### Community 0 - "Community 0"
|
||||
Cohesion: 0.0
|
||||
Nodes (201): fetchAccessLogList(), fetchActiveRegions(), fetchCategoryList(), fetchCategoryParameters(), fetchCellProductPriceList(), fetchCellProductSpecList(), fetchCellProductTypeList(), fetchChannelAccount() (+193 more)
|
||||
Nodes (207): fetchAccessLogList(), fetchActiveRegions(), fetchCategoryList(), fetchCategoryParameters(), fetchCellProductPriceList(), fetchCellProductSpecList(), fetchCellProductTypeList(), fetchChannelAccount() (+199 more)
|
||||
|
||||
### Community 1 - "Community 1"
|
||||
Cohesion: 0.02
|
||||
Nodes (99): fetchMyProductionTasks(), fetchMyQcTaskList(), fetchQcTaskDetail(), fetchQcTaskList(), buildTemporaryViewSections(), buildInsertedSiblingCard(), fetchMineTasksForWorkOrders(), resolveShowProtocolPaymentAtGroup() (+91 more)
|
||||
Cohesion: 0.03
|
||||
Nodes (87): batchSavePilotCheckup(), deletePilotCheckupActualItem(), fetchCheckupInstitutionList(), fetchCheckupInstitutionPackageDetail(), fetchCheckupInstitutionPackages(), fetchPilotCheckupDetail(), fetchPilotCheckupList(), markPilotCheckupChecked() (+79 more)
|
||||
|
||||
### Community 2 - "Community 2"
|
||||
Cohesion: 0.02
|
||||
Nodes (92): fetchUpdatePostBoundRoles(), fetchUploadAttachment(), handleReportUpload(), handleReportUpload(), walk(), branchConditionLines(), collectConditionReferencedFields(), collectFormConditionReferencedFields() (+84 more)
|
||||
Cohesion: 0.03
|
||||
Nodes (77): fetchUploadAttachment(), FireworkSystem, handleReportUpload(), handleReportUpload(), walk(), if(), async(), addDispatchItem() (+69 more)
|
||||
|
||||
### Community 3 - "Community 3"
|
||||
Cohesion: 0.03
|
||||
Nodes (90): batchSavePilotCheckup(), deletePilotCheckupActualItem(), fetchCheckupInstitutionList(), fetchCheckupInstitutionPackageDetail(), fetchCheckupInstitutionPackages(), fetchPilotCheckupActualItems(), fetchPilotCheckupDetail(), fetchPilotCheckupList() (+82 more)
|
||||
Nodes (57): collectIds(), buildInboundBasicSection(), buildInboundCellStorageViewSections(), buildInboundResearchDonationViewSections(), buildReceptionSection(), buildTransportSection(), resolveInboundProtocolStatus(), buildBaseFields() (+49 more)
|
||||
|
||||
### Community 4 - "Community 4"
|
||||
Cohesion: 0.03
|
||||
@@ -129,308 +131,310 @@ Nodes (61): fetchBatchDeleteOaReceiveAccounts(), fetchBatchMarkOaCcTasksRead(),
|
||||
|
||||
### Community 6 - "Community 6"
|
||||
Cohesion: 0.03
|
||||
Nodes (66): fetchCellSampleTypeList(), fetchCheckupInstitutionInvoices(), fetchCheckupInstitutionProjects(), fetchCreateCellSampleType(), fetchCreateCheckupInstitution(), fetchCreateCheckupInstitutionInvoice(), fetchCreateCheckupInstitutionProject(), fetchDeleteCellSampleType() (+58 more)
|
||||
Nodes (58): fetchUpdatePostBoundRoles(), useSettingsHandlers(), useSettingsPanel(), useSettingsState(), useCeremony(), useTheme(), if(), branchConditionLines() (+50 more)
|
||||
|
||||
### Community 7 - "Community 7"
|
||||
Cohesion: 0.03
|
||||
Nodes (33): fetchGetMenuList(), ComponentLoader, IframeRouteManager, MenuProcessor, RouteRegistry, RouteTransformer, useAppMode(), useAuth() (+25 more)
|
||||
Nodes (60): fetchCheckupInstitutionInvoices(), fetchCheckupInstitutionProjects(), fetchCreateCheckupInstitution(), fetchCreateCheckupInstitutionInvoice(), fetchCreateCheckupInstitutionProject(), fetchUpdateCheckupInstitution(), fetchUpdateCheckupInstitutionInvoice(), fetchUpdateCheckupInstitutionProject() (+52 more)
|
||||
|
||||
### Community 8 - "Community 8"
|
||||
Cohesion: 0.03
|
||||
Nodes (50): fetchAttachmentDownloadUrl(), qcAttachmentFullUrl(), qcDownloadAttachment(), qcPreviewAttachment(), formatHandoverUserLabel(), formatNowDatetime(), fullFileUrl(), handleDownloadAttachment() (+42 more)
|
||||
Nodes (42): fetchGetMenuList(), fetchGetMenuCodes(), fetchGetUserInfo(), fetchLogin(), fetchUpdateProfile(), fetchUploadProfileAvatar(), MenuProcessor, RoutePermissionValidator (+34 more)
|
||||
|
||||
### Community 9 - "Community 9"
|
||||
Cohesion: 0.04
|
||||
Nodes (53): fetchCreateCustomer(), fetchCustomerList(), fetchDeleteCustomer(), fetchUpdateCustomer(), updateInfusionScheduleStatus(), handleDialogClose(), handleAdd(), handleDelete() (+45 more)
|
||||
Cohesion: 0.03
|
||||
Nodes (56): fetchMyProductionTasks(), fetchMyQcTaskList(), fetchQcTaskDetail(), fetchQcTaskList(), fetchMineTasksForWorkOrders(), useInboundSiblingNavigation(), shouldApplyTriggerSourceFilter(), useQcWorkOrderTabPage() (+48 more)
|
||||
|
||||
### Community 10 - "Community 10"
|
||||
Cohesion: 0.03
|
||||
Nodes (26): handleBlur(), handleFocus(), handleInput(), fetchQcMaterialBatchDetail(), fetchQcMaterialBatchList(), fetchQcMaterialBatchOptions(), fetchQcMaterialList(), fetchQcMaterialOptions() (+18 more)
|
||||
Nodes (55): fetchCreateCustomer(), fetchCustomerList(), fetchDeleteCustomer(), fetchUpdateCustomer(), updateInfusionScheduleStatus(), handleDialogClose(), handleAdd(), handleDelete() (+47 more)
|
||||
|
||||
### Community 11 - "Community 11"
|
||||
Cohesion: 0.03
|
||||
Nodes (44): useSettingsHandlers(), useSettingsPanel(), useSettingsState(), RoutePermissionValidator, useCeremony(), useTheme(), if(), themeAnimation() (+36 more)
|
||||
Cohesion: 0.04
|
||||
Nodes (54): buildTemporaryViewSections(), buildInsertedSiblingCard(), resolveShowProtocolPaymentAtGroup(), appendTaskResultSections(), batchTasksForPanelSlot(), buildConfiguredOnlySection(), for(), for() (+46 more)
|
||||
|
||||
### Community 12 - "Community 12"
|
||||
Cohesion: 0.04
|
||||
Nodes (42): buildBaseFields(), buildFeeSection(), buildInboundBasicSection(), buildInboundCellStorageProductionViewSections(), buildInboundResearchDonationProductionViewSections(), buildOutboundBasicExperimentProductionViewSections(), buildOutboundClinicalProductionViewSections(), buildOutboundDetail() (+34 more)
|
||||
|
||||
### Community 13 - "Community 13"
|
||||
Cohesion: 0.05
|
||||
Nodes (52): buildInboundBasicSection(), buildInboundCellStorageViewSections(), buildInboundResearchDonationViewSections(), buildReceptionSection(), buildTransportSection(), resolveInboundProtocolStatus(), appendTaskResultSections(), batchTasksForPanelSlot() (+44 more)
|
||||
|
||||
### Community 14 - "Community 14"
|
||||
Cohesion: 0.05
|
||||
Nodes (60): fetchDeptTree(), fetchUserList(), fetchOaFlowPreview(), fetchOaTemplateDetail(), remoteSearchHandoverUsers(), flowNeedsInitiatorSelect(), loadFlowPreview(), loadUsers() (+52 more)
|
||||
|
||||
### Community 15 - "Community 15"
|
||||
Cohesion: 0.05
|
||||
Nodes (53): fetchGetMenuCodes(), fetchGetUserInfo(), fetchLogin(), fetchRefreshToken(), fetchUpdateProfile(), fetchUploadProfileAvatar(), toLogin(), fetchUserInfo() (+45 more)
|
||||
### Community 13 - "Community 13"
|
||||
Cohesion: 0.04
|
||||
Nodes (33): handleBlur(), handleFocus(), handleInput(), fetchDeleteMaterialBatch(), fetchMaterialBatchList(), fetchMaterialBatchOptions(), fetchMaterialList(), fetchMaterialOptions() (+25 more)
|
||||
|
||||
### Community 16 - "Community 16"
|
||||
### Community 14 - "Community 14"
|
||||
Cohesion: 0.04
|
||||
Nodes (43): fetchFullmoonTodoList(), fetchUpdateFullmoonTodoInsurance(), fetchCollectionProtocolAuditList(), fetchCollectionProtocolDetail(), fetchCollectionProtocolList(), fetchCreateProtocolInvoiceRequest(), fetchInvoiceEligiblePayments(), fetchPaymentDetailList() (+35 more)
|
||||
|
||||
### Community 17 - "Community 17"
|
||||
### Community 15 - "Community 15"
|
||||
Cohesion: 0.04
|
||||
Nodes (34): fetchCreateMenu(), fetchDeleteMenu(), fetchMenuTree(), fetchUpdateMenu(), fetchCreateEnvDetectItem(), fetchDeleteEnvDetectItem(), fetchEnvDetectItemDetail(), fetchEnvDetectItemList() (+26 more)
|
||||
Nodes (35): qcAttachmentFullUrl(), qcDownloadAttachment(), qcPreviewAttachment(), formatHandoverUserLabel(), formatNowDatetime(), fullFileUrl(), handleDownloadAttachment(), handlePreviewAttachment() (+27 more)
|
||||
|
||||
### Community 16 - "Community 16"
|
||||
Cohesion: 0.04
|
||||
Nodes (30): fetchQcMaterialBatchDetail(), fetchQcMaterialBatchList(), fetchQcMaterialBatchOptions(), fetchQcMaterialList(), fetchQcMaterialOptions(), fetchUpdateQcMaterialBatch(), fetchConfirmQcMonthImport(), fetchPreviewQcMonthImport() (+22 more)
|
||||
|
||||
### Community 17 - "Community 17"
|
||||
Cohesion: 0.05
|
||||
Nodes (34): fetchClinicalPaymentDetail(), fetchClinicalPayments(), fetchClinicalReceiptConfirmed(), fetchClinicalReceiptPending(), fetchClinicalRefundConfirmed(), fetchClinicalRefundPending(), fetchOrderAdjusts(), fetchOrderDetail() (+26 more)
|
||||
|
||||
### Community 18 - "Community 18"
|
||||
Cohesion: 0.05
|
||||
Nodes (34): fetchClinicalPaymentDetail(), fetchClinicalPayments(), fetchClinicalReceiptConfirmed(), fetchClinicalReceiptPending(), fetchClinicalRefundConfirmed(), fetchClinicalRefundPending(), fetchOrderAdjusts(), fetchOrderDetail() (+26 more)
|
||||
Nodes (37): fetchAddTaskStep(), fetchCopyTaskStep(), fetchDeleteTaskStep(), fetchDispatchProductionTaskSteps(), fetchForwardProductionTask(), fetchProductionTaskDetail(), fetchProductionTaskEditorInit(), fetchProductionTaskList() (+29 more)
|
||||
|
||||
### Community 19 - "Community 19"
|
||||
Cohesion: 0.05
|
||||
Nodes (39): fetchCreateQcInspectionItemTemplate(), fetchDeleteQcInspectionItemTemplate(), fetchQcInspectionItemTemplateDetail(), fetchQcInspectionItemTemplateList(), fetchQcInspectionItemTemplatesActive(), fetchUpdateQcInspectionItemTemplate(), fetchQcLabTestItemList(), fetchQcLabTestItemsActive() (+31 more)
|
||||
|
||||
### Community 20 - "Community 20"
|
||||
Cohesion: 0.05
|
||||
Nodes (37): fetchAddTaskStep(), fetchCopyTaskStep(), fetchDeleteTaskStep(), fetchDispatchProductionTaskSteps(), fetchForwardProductionTask(), fetchProductionTaskDetail(), fetchProductionTaskEditorInit(), fetchProductionTaskList() (+29 more)
|
||||
Cohesion: 0.07
|
||||
Nodes (44): fetchOaRelatedSummaries(), buildFormRows(), buildOaPrintFilename(), buildOaPrintModel(), canvasToPdf(), ensurePlainObject(), exportOaApprovalPdf(), extractUrls() (+36 more)
|
||||
|
||||
### Community 21 - "Community 21"
|
||||
Cohesion: 0.05
|
||||
Nodes (33): fetchMineProductionWorkOrderTabStepCounts(), fetchMineProductionWorkOrderTabStepCountsDeduped(), fetchProductionWorkOrderCellProductOptions(), fetchProductionWorkOrderDetail(), fetchProductionWorkOrderList(), fetchProductionWorkOrderQcDispatchOptions(), fetchProductionWorkOrderQcInfo(), fetchProductionWorkOrderTabStepCounts() (+25 more)
|
||||
|
||||
### Community 22 - "Community 22"
|
||||
Cohesion: 0.07
|
||||
Nodes (43): fetchOaRelatedSummaries(), buildFormRows(), buildOaPrintFilename(), buildOaPrintModel(), canvasToPdf(), ensurePlainObject(), exportOaApprovalPdf(), extractUrls() (+35 more)
|
||||
|
||||
### Community 23 - "Community 23"
|
||||
Cohesion: 0.08
|
||||
Nodes (37): formatDatetimeToMinute(), handleChineseDatetimePaste(), parseChineseDatetimeText(), parseBirthOrder(), parseChineseNumeral(), addSampleHint(), earliestCollectTime(), isMaternalBloodEmpty() (+29 more)
|
||||
|
||||
### Community 24 - "Community 24"
|
||||
### Community 22 - "Community 22"
|
||||
Cohesion: 0.1
|
||||
Nodes (2): WebSocketClient, TableCache
|
||||
|
||||
### Community 23 - "Community 23"
|
||||
Cohesion: 0.08
|
||||
Nodes (33): fetchRefreshToken(), toLogin(), base64ToBytes(), bytesToBase64(), decryptJson(), deriveKey(), encryptJson(), fromBase64Url() (+25 more)
|
||||
|
||||
### Community 24 - "Community 24"
|
||||
Cohesion: 0.08
|
||||
Nodes (12): ComponentLoader, IframeRouteManager, RouteTransformer, getFirstMenuPath(), getFirstSecondLevelMenuPath(), isIframe(), isNavigableMenuItem(), isWorkbenchMenuItem() (+4 more)
|
||||
|
||||
### Community 25 - "Community 25"
|
||||
Cohesion: 0.09
|
||||
Nodes (8): getDefaultLanguage(), checkStorageCompatibility(), StorageConfig, getSystemStorage(), getSysVersion(), StorageKeyManager, StorageCompatibilityManager, validateStorageData()
|
||||
|
||||
### Community 26 - "Community 26"
|
||||
Cohesion: 0.07
|
||||
Nodes (13): fetchProductionWorkOrderQcInfo(), dash(), fmtMoney(), auditorDisplay(), dash(), ensureUnitsInOptions(), expressName(), formatYm() (+5 more)
|
||||
|
||||
### Community 27 - "Community 27"
|
||||
Cohesion: 0.08
|
||||
Nodes (20): createEmptySnapshots(), normalizeConfiguredReagents(), normalizeConsumables(), normalizeDataCollections(), normalizeReagents(), normalizeStepOutputs(), serializeAttachments(), serializeEquipmentIds() (+12 more)
|
||||
|
||||
### Community 27 - "Community 27"
|
||||
Cohesion: 0.07
|
||||
Nodes (19): fetchDeleteMaterialBatch(), fetchMaterialBatchList(), fetchMaterialBatchOptions(), fetchMaterialList(), fetchMaterialOptions(), fetchUpdateMaterialBatch(), fetchMaterialUsageList(), fetchMyMaterialUsageList() (+11 more)
|
||||
|
||||
### Community 28 - "Community 28"
|
||||
Cohesion: 0.09
|
||||
Nodes (18): fetchProductionReceptionBySampleCode(), fetchProductionReceptionSubmit(), fetchProductionReceptionUpdate(), onUserSelectVisible(), remoteSearchUsers(), buildPayload(), ensureDefaultHandler(), initDialog() (+10 more)
|
||||
Nodes (28): completePilotApplication(), deletePilotApplication(), fetchPilotApplicationList(), startPilotApplication(), voidPilotApplication(), clearTableSelection(), handleBatchComplete(), handleBatchStart() (+20 more)
|
||||
|
||||
### Community 29 - "Community 29"
|
||||
Cohesion: 0.09
|
||||
Nodes (22): fetchOaAppList(), fetchOaGroupList(), fetchPublishOaApp(), loadData(), loadGroups(), resetForm(), onSuccess(), goBack() (+14 more)
|
||||
Nodes (22): fetchMineProductionWorkOrderTabStepCounts(), fetchMineProductionWorkOrderTabStepCountsDeduped(), fetchProductionWorkOrderCellProductOptions(), fetchProductionWorkOrderDetail(), fetchProductionWorkOrderList(), fetchProductionWorkOrderQcDispatchOptions(), fetchProductionWorkOrderTabStepCounts(), fetchProductionWorkOrderTabStepCountsDeduped() (+14 more)
|
||||
|
||||
### Community 30 - "Community 30"
|
||||
Cohesion: 0.09
|
||||
Nodes (18): fetchProductionReceptionBySampleCode(), fetchProductionReceptionSubmit(), fetchProductionReceptionUpdate(), onUserSelectVisible(), remoteSearchUsers(), buildPayload(), ensureDefaultHandler(), initDialog() (+10 more)
|
||||
|
||||
### Community 31 - "Community 31"
|
||||
Cohesion: 0.09
|
||||
Nodes (22): fetchOaAppList(), fetchOaGroupList(), fetchPublishOaApp(), loadData(), loadGroups(), resetForm(), onSuccess(), goBack() (+14 more)
|
||||
|
||||
### Community 32 - "Community 32"
|
||||
Cohesion: 0.1
|
||||
Nodes (21): displayPeople(), nodeStatusText(), personLines(), personStatusHint(), personTitle(), showNodeComment(), signBadge(), signBadgeText() (+13 more)
|
||||
|
||||
### Community 31 - "Community 31"
|
||||
Cohesion: 0.11
|
||||
Nodes (25): completePilotApplication(), deletePilotApplication(), fetchPilotApplicationList(), startPilotApplication(), voidPilotApplication(), clearTableSelection(), handleBatchComplete(), handleBatchStart() (+17 more)
|
||||
|
||||
### Community 32 - "Community 32"
|
||||
### Community 33 - "Community 33"
|
||||
Cohesion: 0.09
|
||||
Nodes (12): fetchMineQcWorkOrderTabUnfinishedCounts(), fetchOutboundQcDetail(), fetchQcWorkOrderDetail(), fetchQcWorkOrderList(), fetchQcWorkOrdersBySample(), fetchQcWorkOrderTabUnfinishedCounts(), reload(), reloadTabCounts() (+4 more)
|
||||
|
||||
### Community 33 - "Community 33"
|
||||
### Community 34 - "Community 34"
|
||||
Cohesion: 0.13
|
||||
Nodes (19): fetchCreateMenu(), fetchDeleteMenu(), fetchMenuTree(), fetchUpdateMenu(), postorder(), preorder(), applyTreeExpand(), handleAdd() (+11 more)
|
||||
|
||||
### Community 35 - "Community 35"
|
||||
Cohesion: 0.1
|
||||
Nodes (12): fetchOutboundReleaseMaterial(), fetchOutboundReleaseReviewDetail(), fetchOutboundReleaseReviewList(), fetchReleaseReviewList(), handleReset(), handleSearch(), handleTabChange(), handleToggleSelect() (+4 more)
|
||||
|
||||
### Community 34 - "Community 34"
|
||||
### Community 36 - "Community 36"
|
||||
Cohesion: 0.12
|
||||
Nodes (15): addCopyButton(), highlightCode(), insertLineNumbers(), isBlockProcessed(), markBlockAsProcessed(), processBlock(), setupHighlightDirective(), setupRippleDirective() (+7 more)
|
||||
|
||||
### Community 35 - "Community 35"
|
||||
### Community 37 - "Community 37"
|
||||
Cohesion: 0.13
|
||||
Nodes (18): fetchCellSampleTypeList(), fetchCreateCellSampleType(), fetchDeleteCellSampleType(), fetchUpdateCellSampleType(), handleAdd(), handleDelete(), handleDropdownCommand(), handleEdit() (+10 more)
|
||||
|
||||
### Community 38 - "Community 38"
|
||||
Cohesion: 0.19
|
||||
Nodes (15): fetchAttachmentDownloadUrl(), attachmentFullUrl(), ensureUniqueZipEntryName(), fetchAttachmentBlob(), getAttachmentExtension(), resolveAttachmentFileName(), sanitizeZipPathSegment(), applyInboundLabStorageCodePrefix() (+7 more)
|
||||
|
||||
### Community 39 - "Community 39"
|
||||
Cohesion: 0.2
|
||||
Nodes (14): applyFlagToRule(), applySchema(), countRules(), getActiveRule(), getDesigner(), getSetupState(), onMessage(), readFlag() (+6 more)
|
||||
|
||||
### Community 36 - "Community 36"
|
||||
Cohesion: 0.2
|
||||
Nodes (11): fetchMarkQcMaterialUsageFullyUsed(), canMarkFullyUsed(), displayPurpose(), displayReceiver(), displayUseTime(), getChangeTypeLabel(), getChangeTypeTagType(), handleMarkFullyUsed() (+3 more)
|
||||
|
||||
### Community 37 - "Community 37"
|
||||
### Community 40 - "Community 40"
|
||||
Cohesion: 0.12
|
||||
Nodes (6): setupOaConfirmationKit(), ensureOaKitMenu(), setupOaLeaveKit(), setupOaOvertimeKit(), setupOaResignationKit(), setupOaTripKit()
|
||||
|
||||
### Community 38 - "Community 38"
|
||||
### Community 41 - "Community 41"
|
||||
Cohesion: 0.16
|
||||
Nodes (10): useTable(), useTableImpl(), getColumnChecks(), useTableColumns(), createErrorHandler(), createSmartDebounce(), defaultResponseAdapter(), extractPagination() (+2 more)
|
||||
|
||||
### Community 39 - "Community 39"
|
||||
### Community 42 - "Community 42"
|
||||
Cohesion: 0.27
|
||||
Nodes (14): useChart(), useChartComponent(), useChartOps(), colourBlend(), getCssVar(), getDarkColor(), getLightColor(), handleElementThemeColor() (+6 more)
|
||||
|
||||
### Community 40 - "Community 40"
|
||||
### Community 43 - "Community 43"
|
||||
Cohesion: 0.33
|
||||
Nodes (13): buildProtocolPaymentFlowSteps(), dash(), financeReceiptTime(), formatAmount(), hasFinanceReceipt(), hasFinanceRefund(), hasReceiptSubmit(), hasRefundSubmit() (+5 more)
|
||||
|
||||
### Community 44 - "Community 44"
|
||||
Cohesion: 0.19
|
||||
Nodes (6): fetchServiceOrderTxnList(), handleReset(), handleSearch(), handleTabChange(), loadData(), switchTab()
|
||||
|
||||
### Community 42 - "Community 42"
|
||||
### Community 46 - "Community 46"
|
||||
Cohesion: 0.27
|
||||
Nodes (10): nodeSummary(), createDefaultFlow(), createEndNode(), createNode(), ensureFlowRoot(), newId(), normalizeCcAssigneeTypes(), removeChildNode() (+2 more)
|
||||
|
||||
### Community 43 - "Community 43"
|
||||
### Community 47 - "Community 47"
|
||||
Cohesion: 0.42
|
||||
Nodes (9): buildPaymentFlowSteps(), dash(), formatAmount(), hasFinanceReceipt(), hasFinanceRefund(), hasReceiptSubmit(), hasRefundSubmit(), receiptSubmitTime() (+1 more)
|
||||
|
||||
### Community 48 - "Community 48"
|
||||
Cohesion: 0.31
|
||||
Nodes (4): isSlotAvailable(), resolveStorageSlotRangeFill(), slotFacilityNodeId(), sortBoxSlots()
|
||||
|
||||
### Community 44 - "Community 44"
|
||||
### Community 49 - "Community 49"
|
||||
Cohesion: 0.25
|
||||
Nodes (2): handleTouchEnd(), setTransition()
|
||||
|
||||
### Community 45 - "Community 45"
|
||||
Cohesion: 0.28
|
||||
Nodes (1): FireworkSystem
|
||||
|
||||
### Community 49 - "Community 49"
|
||||
### Community 53 - "Community 53"
|
||||
Cohesion: 0.39
|
||||
Nodes (6): isIgnorableScriptError(), normalizeErrorMessage(), registerPromiseErrorHandler(), registerResourceErrorHandler(), scriptErrorHandler(), setupErrorHandle()
|
||||
|
||||
### Community 50 - "Community 50"
|
||||
### Community 54 - "Community 54"
|
||||
Cohesion: 0.36
|
||||
Nodes (1): TableHeightCalculator
|
||||
|
||||
### Community 52 - "Community 52"
|
||||
### Community 56 - "Community 56"
|
||||
Cohesion: 0.33
|
||||
Nodes (2): logApiCryptoBootInfo(), maskSecret()
|
||||
|
||||
### Community 53 - "Community 53"
|
||||
### Community 57 - "Community 57"
|
||||
Cohesion: 0.38
|
||||
Nodes (4): handleFocus(), handleInput(), parseDecimalToNumber(), sanitizeDecimalInput()
|
||||
|
||||
### Community 54 - "Community 54"
|
||||
Cohesion: 0.29
|
||||
Nodes (2): fetchStorageReleaseReviewDetail(), fetchStorageReleaseReviewList()
|
||||
|
||||
### Community 55 - "Community 55"
|
||||
### Community 58 - "Community 58"
|
||||
Cohesion: 0.4
|
||||
Nodes (2): isUnfinishedQcWorkOrder(), resolveQcWorkOrderUnfinishedBadgeCount()
|
||||
|
||||
### Community 56 - "Community 56"
|
||||
### Community 59 - "Community 59"
|
||||
Cohesion: 0.47
|
||||
Nodes (3): isPaymentDueWithinWarnWindow(), parsePaymentDueYmd(), startOfLocalDay()
|
||||
|
||||
### Community 57 - "Community 57"
|
||||
### Community 60 - "Community 60"
|
||||
Cohesion: 0.5
|
||||
Nodes (2): formatProtocolDocDeleteConfirm(), formatProtocolDocSubject()
|
||||
|
||||
### Community 58 - "Community 58"
|
||||
### Community 61 - "Community 61"
|
||||
Cohesion: 0.5
|
||||
Nodes (2): parseEquipmentIds(), syncEquipmentNamesFromOptions()
|
||||
|
||||
### Community 60 - "Community 60"
|
||||
### Community 63 - "Community 63"
|
||||
Cohesion: 0.5
|
||||
Nodes (2): focusInput(), handleKeydown()
|
||||
|
||||
### Community 64 - "Community 64"
|
||||
### Community 67 - "Community 67"
|
||||
Cohesion: 0.67
|
||||
Nodes (2): if(), logSidebarMenu()
|
||||
|
||||
### Community 66 - "Community 66"
|
||||
Cohesion: 0.5
|
||||
Nodes (1): fetchStorageEntrySmsList()
|
||||
|
||||
### Community 71 - "Community 71"
|
||||
### Community 73 - "Community 73"
|
||||
Cohesion: 1.0
|
||||
Nodes (2): getSettingDefaults(), resetToDefaults()
|
||||
|
||||
### Community 74 - "Community 74"
|
||||
### Community 76 - "Community 76"
|
||||
Cohesion: 1.0
|
||||
Nodes (2): buildOvertimeKitChildren(), uniqueId()
|
||||
|
||||
### Community 75 - "Community 75"
|
||||
### Community 77 - "Community 77"
|
||||
Cohesion: 1.0
|
||||
Nodes (2): buildLeaveKitChildren(), uniqueId()
|
||||
|
||||
### Community 77 - "Community 77"
|
||||
### Community 79 - "Community 79"
|
||||
Cohesion: 1.0
|
||||
Nodes (2): buildConfirmationKitChildren(), uniqueId()
|
||||
|
||||
### Community 78 - "Community 78"
|
||||
### Community 80 - "Community 80"
|
||||
Cohesion: 1.0
|
||||
Nodes (2): buildResignationKitChildren(), uniqueId()
|
||||
|
||||
### Community 79 - "Community 79"
|
||||
### Community 81 - "Community 81"
|
||||
Cohesion: 1.0
|
||||
Nodes (2): copyTextToClipboard(), copyTextWithFallback()
|
||||
|
||||
### Community 82 - "Community 82"
|
||||
### Community 84 - "Community 84"
|
||||
Cohesion: 1.0
|
||||
Nodes (2): getSourceProtocolAttachment(), normalizeAttachmentFiles()
|
||||
|
||||
### Community 94 - "Community 94"
|
||||
### Community 96 - "Community 96"
|
||||
Cohesion: 1.0
|
||||
Nodes (2): emptyTabCounts(), useProductionWorkOrderTabStepCounts()
|
||||
|
||||
### Community 96 - "Community 96"
|
||||
### Community 98 - "Community 98"
|
||||
Cohesion: 1.0
|
||||
Nodes (2): initialProgress(), useQcWorkOrderAttachmentExport()
|
||||
|
||||
### Community 97 - "Community 97"
|
||||
### Community 99 - "Community 99"
|
||||
Cohesion: 1.0
|
||||
Nodes (2): emptyTabCounts(), useQcWorkOrderTabUnfinishedCounts()
|
||||
|
||||
## Knowledge Gaps
|
||||
- **Thin community `Community 24`** (42 nodes): `WebSocketClient`, `.calculateReconnectDelay()`, `.clearAllTimers()`, `.clearConnectionTimers()`, `.clearTimer()`, `.close()`, `.closeCurrentSocketForReconnect()`, `.connect()`, `.connectionStatusText()`, `.constructor()`, `.destroyInstance()`, `.flushMessageQueue()`, `.getInstance()`, `.getReadyStateText()`, `.handleClose()`, `.handleConnectionTimeout()`, `.handleError()`, `.handleMessage()`, `.handleOpen()`, `.init()`, `.isWebSocketConnected()`, `.reconnect()`, `.resetHeartbeat()`, `.send()`, `.startHeartbeat()`, `.startPing()`, `TableCache`, `.cleanupExpired()`, `.clear()`, `.clearByTags()`, `.clearCurrentSearch()`, `.clearPagination()`, `.constructor()`, `.evictLRU()`, `.generateKey()`, `.generateTags()`, `.get()`, `.getStats()`, `.log()`, `.set()`, `index.ts`, `tableCache.ts`
|
||||
- **Thin community `Community 22`** (42 nodes): `WebSocketClient`, `.calculateReconnectDelay()`, `.clearAllTimers()`, `.clearConnectionTimers()`, `.clearTimer()`, `.close()`, `.closeCurrentSocketForReconnect()`, `.connect()`, `.connectionStatusText()`, `.constructor()`, `.destroyInstance()`, `.flushMessageQueue()`, `.getInstance()`, `.getReadyStateText()`, `.handleClose()`, `.handleConnectionTimeout()`, `.handleError()`, `.handleMessage()`, `.handleOpen()`, `.init()`, `.isWebSocketConnected()`, `.reconnect()`, `.resetHeartbeat()`, `.send()`, `.startHeartbeat()`, `.startPing()`, `TableCache`, `.cleanupExpired()`, `.clear()`, `.clearByTags()`, `.clearCurrentSearch()`, `.clearPagination()`, `.constructor()`, `.evictLRU()`, `.generateKey()`, `.generateTags()`, `.get()`, `.getStats()`, `.log()`, `.set()`, `index.ts`, `tableCache.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 44`** (9 nodes): `cleanupEventListeners()`, `handleTouchEnd()`, `handleTouchMove()`, `handleTouchStart()`, `handleWheelScroll()`, `if()`, `setTransition()`, `setupEventListeners()`, `index.vue`
|
||||
- **Thin community `Community 49`** (9 nodes): `cleanupEventListeners()`, `handleTouchEnd()`, `handleTouchMove()`, `handleTouchStart()`, `handleWheelScroll()`, `if()`, `setTransition()`, `setupEventListeners()`, `index.vue`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 45`** (9 nodes): `FireworkSystem`, `.constructor()`, `.createFirework()`, `.createParticle()`, `.getAvailableParticle()`, `.initializePool()`, `.preloadAllImages()`, `.preloadImage()`, `index.vue`
|
||||
- **Thin community `Community 54`** (8 nodes): `TableHeightCalculator`, `.calculate()`, `.calculateOffset()`, `.calculatePaginationOffset()`, `.constructor()`, `.getHeaderHeight()`, `useTableHeight()`, `useTableHeight.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 50`** (8 nodes): `TableHeightCalculator`, `.calculate()`, `.calculateOffset()`, `.calculatePaginationOffset()`, `.constructor()`, `.getHeaderHeight()`, `useTableHeight()`, `useTableHeight.ts`
|
||||
- **Thin community `Community 56`** (7 nodes): `App.vue`, `main.ts`, `refreshButtonAutoIcons()`, `refreshPanelTitleIcons()`, `logApiCryptoBootInfo()`, `maskSecret()`, `console.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 52`** (7 nodes): `App.vue`, `main.ts`, `refreshButtonAutoIcons()`, `refreshPanelTitleIcons()`, `logApiCryptoBootInfo()`, `maskSecret()`, `console.ts`
|
||||
- **Thin community `Community 58`** (6 nodes): `formatQcWorkOrderUnfinishedBadgeCount()`, `isUnfinishedQcWorkOrder()`, `qcWorkOrderUnfinishedBadgeTitle()`, `resolveQcWorkOrderUnfinishedBadgeCount()`, `sumQcWorkOrderGroupUnfinishedBadgeCount()`, `qc-work-order-unfinished-badge.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 54`** (7 nodes): `batchReviewStorageRelease()`, `batchStoreSample()`, `fetchStorageReleaseReviewDetail()`, `fetchStorageReleaseReviewList()`, `storeSample()`, `submitStorageReleaseReview()`, `storage-release-review.ts`
|
||||
- **Thin community `Community 60`** (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 55`** (6 nodes): `formatQcWorkOrderUnfinishedBadgeCount()`, `isUnfinishedQcWorkOrder()`, `qcWorkOrderUnfinishedBadgeTitle()`, `resolveQcWorkOrderUnfinishedBadgeCount()`, `sumQcWorkOrderGroupUnfinishedBadgeCount()`, `qc-work-order-unfinished-badge.ts`
|
||||
- **Thin community `Community 61`** (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 57`** (5 nodes): `formatProtocolDocBatchDeleteConfirm()`, `formatProtocolDocDeleteConfirm()`, `formatProtocolDocSubject()`, `getProtocolDocTypeLabel()`, `protocol-doc-label.ts`
|
||||
- **Thin community `Community 63`** (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 58`** (5 nodes): `equipmentOptionLabel()`, `joinEquipmentIds()`, `parseEquipmentIds()`, `syncEquipmentNamesFromOptions()`, `equipment-select.ts`
|
||||
- **Thin community `Community 67`** (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 60`** (5 nodes): `focusInput()`, `handleKeydown()`, `if()`, `search()`, `index.vue`
|
||||
- **Thin community `Community 73`** (3 nodes): `getSettingDefaults()`, `resetToDefaults()`, `setting.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 64`** (4 nodes): `if()`, `logSidebarMenu()`, `index.vue`, `SidebarSubmenu.vue`
|
||||
- **Thin community `Community 76`** (3 nodes): `buildOvertimeKitChildren()`, `oa-overtime-kit-rule.ts`, `uniqueId()`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 66`** (4 nodes): `fetchGenerateStorageEntrySms()`, `fetchStorageEntrySmsList()`, `fetchToggleStorageEntrySmsNotified()`, `storage-entry-sms-notification.ts`
|
||||
- **Thin community `Community 77`** (3 nodes): `buildLeaveKitChildren()`, `oa-leave-kit-rule.ts`, `uniqueId()`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 71`** (3 nodes): `getSettingDefaults()`, `resetToDefaults()`, `setting.ts`
|
||||
- **Thin community `Community 79`** (3 nodes): `buildConfirmationKitChildren()`, `oa-confirmation-kit-rule.ts`, `uniqueId()`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 74`** (3 nodes): `buildOvertimeKitChildren()`, `oa-overtime-kit-rule.ts`, `uniqueId()`
|
||||
- **Thin community `Community 80`** (3 nodes): `buildResignationKitChildren()`, `oa-resignation-kit-rule.ts`, `uniqueId()`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 75`** (3 nodes): `buildLeaveKitChildren()`, `oa-leave-kit-rule.ts`, `uniqueId()`
|
||||
- **Thin community `Community 81`** (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): `buildConfirmationKitChildren()`, `oa-confirmation-kit-rule.ts`, `uniqueId()`
|
||||
- **Thin community `Community 84`** (3 nodes): `getSourceProtocolAttachment()`, `normalizeAttachmentFiles()`, `protocol-source-attachment.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 78`** (3 nodes): `buildResignationKitChildren()`, `oa-resignation-kit-rule.ts`, `uniqueId()`
|
||||
- **Thin community `Community 96`** (3 nodes): `emptyTabCounts()`, `useProductionWorkOrderTabStepCounts()`, `useProductionWorkOrderTabStepCounts.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 79`** (3 nodes): `copyTextToClipboard()`, `copyTextWithFallback()`, `copy-text.ts`
|
||||
- **Thin community `Community 98`** (3 nodes): `initialProgress()`, `useQcWorkOrderAttachmentExport()`, `useQcWorkOrderAttachmentExport.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 82`** (3 nodes): `getSourceProtocolAttachment()`, `normalizeAttachmentFiles()`, `protocol-source-attachment.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 94`** (3 nodes): `emptyTabCounts()`, `useProductionWorkOrderTabStepCounts()`, `useProductionWorkOrderTabStepCounts.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 96`** (3 nodes): `initialProgress()`, `useQcWorkOrderAttachmentExport()`, `useQcWorkOrderAttachmentExport.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 97`** (3 nodes): `emptyTabCounts()`, `useQcWorkOrderTabUnfinishedCounts()`, `useQcWorkOrderTabUnfinishedCounts.ts`
|
||||
- **Thin community `Community 99`** (3 nodes): `emptyTabCounts()`, `useQcWorkOrderTabUnfinishedCounts()`, `useQcWorkOrderTabUnfinishedCounts.ts`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
|
||||
## Suggested Questions
|
||||
_Questions this graph is uniquely positioned to answer:_
|
||||
|
||||
- **Why does `push()` connect `Community 2` to `Community 0`, `Community 1`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 8`, `Community 9`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 15`, `Community 16`, `Community 19`, `Community 20`, `Community 21`, `Community 22`, `Community 23`, `Community 24`, `Community 26`, `Community 29`, `Community 30`, `Community 32`, `Community 42`, `Community 45`?**
|
||||
_High betweenness centrality (0.332) - this node is a cross-community bridge._
|
||||
- **Why does `get()` connect `Community 0` to `Community 1`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 9`, `Community 10`, `Community 11`, `Community 13`, `Community 14`, `Community 15`, `Community 16`, `Community 17`, `Community 18`, `Community 19`, `Community 20`, `Community 21`, `Community 22`, `Community 27`, `Community 28`, `Community 29`, `Community 31`, `Community 32`, `Community 33`, `Community 40`, `Community 43`, `Community 54`, `Community 66`?**
|
||||
_High betweenness centrality (0.235) - this node is a cross-community bridge._
|
||||
- **Why does `handleDynamicRoutes()` connect `Community 7` to `Community 32`, `Community 5`, `Community 11`, `Community 15`, `Community 21`?**
|
||||
_High betweenness centrality (0.045) - this node is a cross-community bridge._
|
||||
- **Are the 312 inferred relationships involving `get()` (e.g. with `resolveStorageSlotRangeFill()` and `buildNodeCodePathFromFlat()`) actually correct?**
|
||||
_`get()` has 312 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Why does `push()` connect `Community 2` to `Community 0`, `Community 1`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 14`, `Community 15`, `Community 18`, `Community 19`, `Community 20`, `Community 21`, `Community 22`, `Community 23`, `Community 26`, `Community 27`, `Community 28`, `Community 29`, `Community 31`, `Community 32`, `Community 33`, `Community 38`, `Community 46`?**
|
||||
_High betweenness centrality (0.297) - this node is a cross-community bridge._
|
||||
- **Why does `get()` connect `Community 0` to `Community 1`, `Community 4`, `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 20`, `Community 26`, `Community 28`, `Community 29`, `Community 30`, `Community 31`, `Community 33`, `Community 34`, `Community 35`, `Community 37`, `Community 44`, `Community 48`?**
|
||||
_High betweenness centrality (0.244) - this node is a cross-community bridge._
|
||||
- **Why does `handleDynamicRoutes()` connect `Community 8` to `Community 33`, `Community 5`, `Community 20`, `Community 24`, `Community 29`?**
|
||||
_High betweenness centrality (0.044) - this node is a cross-community bridge._
|
||||
- **Are the 313 inferred relationships involving `get()` (e.g. with `resolveStorageSlotRangeFill()` and `buildNodeCodePathFromFlat()`) actually correct?**
|
||||
_`get()` has 313 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 123 inferred relationships involving `push()` (e.g. with `refreshQcMenuBadges()` and `collectLeafFacilityNodesInTreeOrder()`) actually correct?**
|
||||
_`push()` has 123 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 28 inferred relationships involving `emit()` (e.g. with `handleSubmit()` and `handleDialogClose()`) actually correct?**
|
||||
_`emit()` has 28 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 29 inferred relationships involving `emit()` (e.g. with `handleSubmit()` and `handleDialogClose()`) actually correct?**
|
||||
_`emit()` has 29 INFERRED edges - model-reasoned connections that need verification._
|
||||
- **Are the 20 inferred relationships involving `set()` (e.g. with `buildNodeCodePathFromFlat()` and `collectLeafFacilityNodesInTreeOrder()`) actually correct?**
|
||||
_`set()` has 20 INFERRED edges - model-reasoned connections that need verification._
|
||||
@@ -57,12 +57,12 @@
|
||||
</div>
|
||||
<div id="legend"></div>
|
||||
</div>
|
||||
<div id="stats">3526 nodes · 5026 edges · 390 communities</div>
|
||||
<div id="stats">3541 nodes · 5046 edges · 392 communities</div>
|
||||
</div>
|
||||
<script>
|
||||
const RAW_NODES = [{"id": "app_vue", "label": "App.vue", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "App.vue", "community": 52, "community_name": "Community 52", "source_file": "App.vue", "file_type": "code", "degree": 3}, {"id": "src_app_refreshbuttonautoicons", "label": "refreshButtonAutoIcons()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshButtonAutoIcons()", "community": 52, "community_name": "Community 52", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "src_app_refreshpaneltitleicons", "label": "refreshPanelTitleIcons()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshPanelTitleIcons()", "community": 52, "community_name": "Community 52", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "main_ts", "label": "main.ts", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "main.ts", "community": 52, "community_name": "Community 52", "source_file": "main.ts", "file_type": "code", "degree": 4}, {"id": "src_main_masksecret", "label": "maskSecret()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "maskSecret()", "community": 52, "community_name": "Community 52", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "src_main_logapicryptobootinfo", "label": "logApiCryptoBootInfo()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "logApiCryptoBootInfo()", "community": 52, "community_name": "Community 52", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "env_d_ts", "label": "env.d.ts", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "env.d.ts", "community": 146, "community_name": "Community 146", "source_file": "env.d.ts", "file_type": "code", "degree": 0}, {"id": "shims_loose_d_ts", "label": "shims-loose.d.ts", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "shims-loose.d.ts", "community": 147, "community_name": "Community 147", "source_file": "shims-loose.d.ts", "file_type": "code", "degree": 0}, {"id": "directives_index_ts", "label": "index.ts", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "index.ts", "community": 34, "community_name": "Community 34", "source_file": "directives/index.ts", "file_type": "code", "degree": 1}, {"id": "directives_index_setupglobdirectives", "label": "setupGlobDirectives()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.5, "font": {"size": 0, "color": "#ffffff"}, "title": "setupGlobDirectives()", "community": 34, "community_name": "Community 34", "source_file": "directives/index.ts", "file_type": "code", "degree": 5}, {"id": "directives_core_roles_ts", "label": "roles.ts", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "roles.ts", "community": 34, "community_name": "Community 34", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 3}, {"id": "core_roles_checkrolepermission", "label": "checkRolePermission()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "checkRolePermission()", "community": 34, "community_name": "Community 34", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_removeelement", "label": "removeElement()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "removeElement()", "community": 34, "community_name": "Community 34", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_setuprolesdirective",Line truncated
|
||||
const RAW_EDGES = [{"from": "app_vue", "to": "src_app_refreshbuttonautoicons", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_vue", "to": "src_app_refreshpaneltitleicons", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_vue", "to": "main_ts", "label": "imports_from", "title": "imports_from [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "utils_sys_console_ts", "label": "imports_from", "title": "imports_from [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "src_main_masksecret", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "src_main_logapicryptobootinfo", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_main_masksecret", "to": "src_main_logapicryptobootinfo", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_index_ts", "to": "directives_index_setupglobdirectives", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_index_setupglobdirectives", "to": "core_auth_setupauthdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "core_roles_setuprolesdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "business_highlight_setuphighlightdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "business_ripple_setuprippledirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_core_roles_ts", "to": "core_roles_checkrolepermission", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_roles_ts", "to": "core_roles_removeelement", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_roles_ts", "to": "core_roles_setuprolesdirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_roles_checkrolepermission", "to": "core_roles_removeelement", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_checkauthpermission", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_removeelement", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_setupauthdirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_checkauthpermission", "to": "core_auth_removeelement", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_ripple_ts", "to": "business_ripple_setuprippledirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_highlightcode", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_insertlinenumbers", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_addcopybutton", "label": "contains", "title": "contains [EXTRACTED]", "dLine truncated
|
||||
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Community 0", "count": 557}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 160}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 131}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 126}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 110}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 106}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 100}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 94}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 84}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 84}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 78}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 77}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 76}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 71}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 71}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 69}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 68}, {"cid": 17, "color": "#FF9DA7", "label": "Community 17", "count": 64}, {"cid": 18, "color": "#9C755F", "label": "Community 18", "count": 61}, {"cid": 19, "color": "#BAB0AC", "label": "Community 19", "count": 57}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 57}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 56}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 53}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 47}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 42}, {"cid": 25, "color": "#EDC948", "label": "Community 25", "count": 37}, {"cid": 26, "color": "#B07AA1", "label": "Community 26", "count": 36}, {"cid": 27, "color": "#FF9DA7", "label": "Community 27", "count": 35}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 34}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 33}, {"cid": 30, "color": "#4E79A7", "label": "Community 30", "count": 31}, {"cid": 31, "color": "#F28E2B", "label": "Community 31", "count": 30}, {"cid": 32, "color": "#E15759", "label": "Community 32", "count": 25}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 24}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 22}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 19}, {"cid": 36, "color": "#B07AA1", "label": "Community 36", "count": 18}, {"cid": 37, "color": "#FF9DA7", "label": "Community 37", "count": 17}, {"cid": 38, "color": "#9C755F", "label": "Community 38", "count": 17}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 16}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 14}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 13}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 13}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 9}, {"cid": 44, "color": "#59A14F", "label": "Community 44", "count": 9}, {"cid": 45, "color": "#EDC948", "label": "Community 45", "count": 9}, {"cid": 46, "color": "#B07AA1", "label": "Community 46", "count": 9}, {"cid": 47, "color": "#FF9DA7", "label": "Community 47", "count": 9}, {"cid": 48, "color": "#9C755F", "label": "Community 48", "count": 9}, {"cid": 49, "color": "#BAB0AC", "label": "Community 49", "count": 8}, {"cid": 50, "color": "#4E79A7", "label": "Community 50", "count": 8}, {"cid": 51, "color": "#F28E2B", "label": "Community 51", "count": 8}, {"cid": 52, "color": "#E15759", "label": "Community 52", "count": 7}, {"cid": 53, "color": "#76B7B2", "label": "Community 53", "count": 7}, {"cid": 54, "color": "#59A14F", "label": "Community 54", "count": 7}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 6}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 6}, {"cid": 57, "color": "#FF9DA7", "label": "Community 57", "count": 5}, {"cid": 58, "color": "#9C755F", "label": "Community 58", "count": 5}, {"cid": 59, "color": "#BAB0AC", "label": "Community 59", "count": 5}, {"cid": 60, "color": "#4E79A7", "label": "Community 60", "count": 5}, {"cid": 61, "color": "#F28E2B", "label": "Community 61", "count": 5}, {"cid": 62, "color": "#E15759", "label": "Community 62", "count": 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": 4}, {"cid": 68, "color": "#9C755F", "label": "Community 68", "count": 4}, {"cid": 69, "color": "#BAB0AC", "label": "Community 69", "count": 4}, {"cid": 70, "color": "#4E79A7", "label": "Community 7Line truncated
|
||||
const RAW_NODES = [{"id": "app_vue", "label": "App.vue", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "App.vue", "community": 56, "community_name": "Community 56", "source_file": "App.vue", "file_type": "code", "degree": 3}, {"id": "src_app_refreshbuttonautoicons", "label": "refreshButtonAutoIcons()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshButtonAutoIcons()", "community": 56, "community_name": "Community 56", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "src_app_refreshpaneltitleicons", "label": "refreshPanelTitleIcons()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshPanelTitleIcons()", "community": 56, "community_name": "Community 56", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "main_ts", "label": "main.ts", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "main.ts", "community": 56, "community_name": "Community 56", "source_file": "main.ts", "file_type": "code", "degree": 4}, {"id": "src_main_masksecret", "label": "maskSecret()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "maskSecret()", "community": 56, "community_name": "Community 56", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "src_main_logapicryptobootinfo", "label": "logApiCryptoBootInfo()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "logApiCryptoBootInfo()", "community": 56, "community_name": "Community 56", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "env_d_ts", "label": "env.d.ts", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "env.d.ts", "community": 148, "community_name": "Community 148", "source_file": "env.d.ts", "file_type": "code", "degree": 0}, {"id": "shims_loose_d_ts", "label": "shims-loose.d.ts", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "shims-loose.d.ts", "community": 149, "community_name": "Community 149", "source_file": "shims-loose.d.ts", "file_type": "code", "degree": 0}, {"id": "directives_index_ts", "label": "index.ts", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "index.ts", "community": 36, "community_name": "Community 36", "source_file": "directives/index.ts", "file_type": "code", "degree": 1}, {"id": "directives_index_setupglobdirectives", "label": "setupGlobDirectives()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.5, "font": {"size": 0, "color": "#ffffff"}, "title": "setupGlobDirectives()", "community": 36, "community_name": "Community 36", "source_file": "directives/index.ts", "file_type": "code", "degree": 5}, {"id": "directives_core_roles_ts", "label": "roles.ts", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "roles.ts", "community": 36, "community_name": "Community 36", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 3}, {"id": "core_roles_checkrolepermission", "label": "checkRolePermission()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "checkRolePermission()", "community": 36, "community_name": "Community 36", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_removeelement", "label": "removeElement()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "removeElement()", "community": 36, "community_name": "Community 36", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_setuprolesdirective",Line truncated
|
||||
const RAW_EDGES = [{"from": "app_vue", "to": "src_app_refreshbuttonautoicons", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_vue", "to": "src_app_refreshpaneltitleicons", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_vue", "to": "main_ts", "label": "imports_from", "title": "imports_from [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "utils_sys_console_ts", "label": "imports_from", "title": "imports_from [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "src_main_masksecret", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "src_main_logapicryptobootinfo", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_main_masksecret", "to": "src_main_logapicryptobootinfo", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_index_ts", "to": "directives_index_setupglobdirectives", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_index_setupglobdirectives", "to": "core_auth_setupauthdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "core_roles_setuprolesdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "business_highlight_setuphighlightdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "business_ripple_setuprippledirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_core_roles_ts", "to": "core_roles_checkrolepermission", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_roles_ts", "to": "core_roles_removeelement", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_roles_ts", "to": "core_roles_setuprolesdirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_roles_checkrolepermission", "to": "core_roles_removeelement", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_checkauthpermission", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_removeelement", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_setupauthdirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_checkauthpermission", "to": "core_auth_removeelement", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_ripple_ts", "to": "business_ripple_setuprippledirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_highlightcode", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_insertlinenumbers", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_addcopybutton", "label": "contains", "title": "contains [EXTRACTED]", "dLine truncated
|
||||
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Community 0", "count": 571}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 123}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 118}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 117}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 110}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 106}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 93}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 93}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 92}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 90}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 88}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 87}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 71}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 71}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 68}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 64}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 62}, {"cid": 17, "color": "#FF9DA7", "label": "Community 17", "count": 61}, {"cid": 18, "color": "#9C755F", "label": "Community 18", "count": 57}, {"cid": 19, "color": "#BAB0AC", "label": "Community 19", "count": 57}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 55}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 47}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 42}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 41}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 37}, {"cid": 25, "color": "#EDC948", "label": "Community 25", "count": 37}, {"cid": 26, "color": "#B07AA1", "label": "Community 26", "count": 37}, {"cid": 27, "color": "#FF9DA7", "label": "Community 27", "count": 36}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 35}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 34}, {"cid": 30, "color": "#4E79A7", "label": "Community 30", "count": 34}, {"cid": 31, "color": "#F28E2B", "label": "Community 31", "count": 33}, {"cid": 32, "color": "#E15759", "label": "Community 32", "count": 31}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 25}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 24}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 24}, {"cid": 36, "color": "#B07AA1", "label": "Community 36", "count": 22}, {"cid": 37, "color": "#FF9DA7", "label": "Community 37", "count": 22}, {"cid": 38, "color": "#9C755F", "label": "Community 38", "count": 20}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 19}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 17}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 17}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 16}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 14}, {"cid": 44, "color": "#59A14F", "label": "Community 44", "count": 14}, {"cid": 45, "color": "#EDC948", "label": "Community 45", "count": 13}, {"cid": 46, "color": "#B07AA1", "label": "Community 46", "count": 13}, {"cid": 47, "color": "#FF9DA7", "label": "Community 47", "count": 10}, {"cid": 48, "color": "#9C755F", "label": "Community 48", "count": 9}, {"cid": 49, "color": "#BAB0AC", "label": "Community 49", "count": 9}, {"cid": 50, "color": "#4E79A7", "label": "Community 50", "count": 9}, {"cid": 51, "color": "#F28E2B", "label": "Community 51", "count": 9}, {"cid": 52, "color": "#E15759", "label": "Community 52", "count": 9}, {"cid": 53, "color": "#76B7B2", "label": "Community 53", "count": 8}, {"cid": 54, "color": "#59A14F", "label": "Community 54", "count": 8}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 8}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 7}, {"cid": 57, "color": "#FF9DA7", "label": "Community 57", "count": 7}, {"cid": 58, "color": "#9C755F", "label": "Community 58", "count": 6}, {"cid": 59, "color": "#BAB0AC", "label": "Community 59", "count": 6}, {"cid": 60, "color": "#4E79A7", "label": "Community 60", "count": 5}, {"cid": 61, "color": "#F28E2B", "label": "Community 61", "count": 5}, {"cid": 62, "color": "#E15759", "label": "Community 62", "count": 5}, {"cid": 63, "color": "#76B7B2", "label": "Community 63", "count": 5}, {"cid": 64, "color": "#59A14F", "label": "Community 64", "count": 5}, {"cid": 65, "color": "#EDC948", "label": "Community 65", "count": 4}, {"cid": 66, "color": "#B07AA1", "label": "Community 66", "count": 4}, {"cid": 67, "color": "#FF9DA7", "label": "Community 67", "count": 4}, {"cid": 68, "color": "#9C755F", "label": "Community 68", "count": 4}, {"cid": 69, "color": "#BAB0AC", "label": "Community 69", "count": 4}, {"cid": 70, "color": "#4E79A7", "label": "CommuniLine truncated
|
||||
|
||||
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
|
||||
function esc(s) {
|
||||
|
||||
+2938
-2563
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": 1787105128.357657,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/auto-imports.d.ts": 1787104039.0379424,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/components.d.ts": 1787115616.6481376,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/auto-imports.d.ts": 1787115605.2134686,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/store/index.ts": 1781272556.364766,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/router/index.ts": 1782394569.8806834,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/composables/useAttachmentActions.ts": 1783921717.4015942,
|
||||
@@ -376,6 +376,7 @@
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/hooks/core/useChart.ts": 1781272556.6525066,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/hooks/core/useCeremony.ts": 1781272556.6531773,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/hooks/core/useAppMode.ts": 1781272556.6535022,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-material-month-template.ts": 1787114908.150207,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/leave.ts": 1781272556.654047,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/sample-reception-check-item.ts": 1781272556.654672,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts": 1785145511.6866825,
|
||||
@@ -635,9 +636,11 @@
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/lab-test-item/index.vue": 1782893853.832618,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/lab-test-item/ThirdPartyCompanyTab.vue": 1783326448.9753742,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-material-usage/index.vue": 1782893853.6503608,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue": 1787017630.2202766,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue": 1787115003.8945668,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/QcMaterialStockCheckTab.vue": 1783326448.981454,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/QcMaterialUsageTab.vue": 1783429524.2582674,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/QcMaterialMonthImportDialog.vue": 1787114932.9540818,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/QcMaterialMonthTemplateDialog.vue": 1787115875.939122,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/QcMaterialBatchAttachmentDialog.vue": 1782893853.076457,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material-amount-auth/index.vue": 1785905319.985337,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/pre-transit-sample/index.vue": 1783326448.9852715,
|
||||
@@ -731,7 +734,7 @@
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/router/core/RoutePermissionValidator.ts": 1781272559.4235668,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/router/core/index.ts": 1781272559.424284,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/router/core/IframeRouteManager.ts": 1781272559.425215,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/router/modules/sqxp.ts": 1787110990.856188,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/router/modules/sqxp.ts": 1787112428.2639441,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/router/modules/index.ts": 1781272559.5419338,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/router/modules/exception.ts": 1781272559.549901,
|
||||
"/Users/wuzilong/work/00code/zkxw/web-admin/src/router/routes/staticRoutes.ts": 1781272559.596198,
|
||||
|
||||
@@ -93,17 +93,18 @@ export const sqxpAdminRoutes: AppRouteRecord[] = [
|
||||
menuCode: 'biz:cellStoragePaymentConfirm:list'
|
||||
}
|
||||
},
|
||||
{
|
||||
id: '70000000000000000000000000000011',
|
||||
name: 'CellStorageStorageReleaseReview',
|
||||
path: 'storage-release-review',
|
||||
component: '/quality-inspection/storage-release-review/index',
|
||||
meta: {
|
||||
title: '入库放行审核',
|
||||
keepAlive: true,
|
||||
menuCode: 'biz:storageReleaseReview:list'
|
||||
}
|
||||
},
|
||||
// 市场侧入库放行审核(总览)暂下线:改由生产/质检入口审核
|
||||
// {
|
||||
// id: '70000000000000000000000000000011',
|
||||
// name: 'CellStorageStorageReleaseReview',
|
||||
// path: 'storage-release-review',
|
||||
// component: '/quality-inspection/storage-release-review/index',
|
||||
// meta: {
|
||||
// title: '入库放行审核',
|
||||
// keepAlive: true,
|
||||
// menuCode: 'biz:storageReleaseReview:list'
|
||||
// }
|
||||
// },
|
||||
{
|
||||
id: '50000000000000000000000000000005',
|
||||
name: 'CellStorageRefundConfirm',
|
||||
@@ -724,7 +725,7 @@ export const sqxpAdminRoutes: AppRouteRecord[] = [
|
||||
}
|
||||
},
|
||||
{
|
||||
id: '95400000000000000000000000000001',
|
||||
id: '95500000000000000000000000000001',
|
||||
name: 'ProductionStorageReleaseReview',
|
||||
path: 'storage-release-review',
|
||||
component: '/quality-inspection/storage-release-review/index',
|
||||
|
||||
+247
-57
@@ -1,4 +1,4 @@
|
||||
<!-- 质检物料库 · 月初导入预览确认 -->
|
||||
<!-- 质检物料库 · 月初导入预览确认(方案 B:一条明细两行) -->
|
||||
<!-- eslint-disable vue/no-v-model-argument -->
|
||||
<template>
|
||||
<el-dialog
|
||||
@@ -37,92 +37,118 @@
|
||||
</div>
|
||||
</el-form>
|
||||
|
||||
<div class="batch-stock-move-lines-head" style="margin-bottom: 12px">
|
||||
<div class="batch-stock-move-lines-head-left">
|
||||
<span class="batch-stock-move-lines-title">入库明细</span>
|
||||
<span class="batch-stock-move-lines-hint">
|
||||
共 {{ lines.length }} 项,可改字段后确认;删除行仅影响本次
|
||||
<div class="month-import-lines-head">
|
||||
<div class="month-import-lines-head-left">
|
||||
<span class="month-import-lines-title">入库明细</span>
|
||||
<span class="month-import-lines-hint">
|
||||
共 {{ lines.length }} 项,每条分两行编辑;删除仅影响本次,不改模板
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-loading="loading">
|
||||
<div v-if="lines.length" class="batch-in-line-list">
|
||||
<div v-for="(row, index) in lines" :key="index" class="batch-in-line-card">
|
||||
<div class="batch-in-line-card-head">
|
||||
<span class="batch-in-line-card-index">{{ index + 1 }}</span>
|
||||
<el-button link type="danger" size="small" @click="lines.splice(index, 1)">
|
||||
<div v-loading="loading" class="month-import-dual-list">
|
||||
<template v-if="lines.length">
|
||||
<article v-for="(row, index) in lines" :key="row.templateId || index" class="dual-card">
|
||||
<div class="dual-card-top">
|
||||
<div class="dual-idx">{{ index + 1 }}</div>
|
||||
<div class="dual-summary">
|
||||
{{ row.materialName || '未命名物料' }}
|
||||
<span v-if="row.materialCode" class="dual-summary-code">· {{ row.materialCode }}</span>
|
||||
</div>
|
||||
<el-button link type="danger" class="dual-delete" @click="lines.splice(index, 1)">
|
||||
<el-icon><Delete /></el-icon>
|
||||
删除
|
||||
</el-button>
|
||||
</div>
|
||||
<div class="batch-in-line-grid batch-in-line-card-body">
|
||||
<el-form-item label="物料" class="batch-in-col-span-2">
|
||||
<el-input
|
||||
:model-value="`${row.materialName}(${row.materialCode})`"
|
||||
size="small"
|
||||
disabled
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="入库编号">
|
||||
<el-input v-model="row.stockInNo" size="small" placeholder="必填" />
|
||||
</el-form-item>
|
||||
<el-form-item label="过期日期">
|
||||
|
||||
<div class="dual-grid">
|
||||
<div class="dual-field">
|
||||
<label class="dual-label col-label-required">物料编码</label>
|
||||
<el-input v-model="row.materialCode" placeholder="请输入" clearable />
|
||||
</div>
|
||||
<div class="dual-field">
|
||||
<label class="dual-label col-label-required">物料名称</label>
|
||||
<el-input v-model="row.materialName" placeholder="请输入" clearable />
|
||||
</div>
|
||||
<div class="dual-field">
|
||||
<label class="dual-label">规格型号</label>
|
||||
<el-input v-model="row.specModel" placeholder="可选" clearable />
|
||||
</div>
|
||||
<div class="dual-field">
|
||||
<label class="dual-label">单位</label>
|
||||
<el-input v-model="row.unit" placeholder="可选" clearable />
|
||||
</div>
|
||||
<div class="dual-field">
|
||||
<label class="dual-label col-label-required">入库编号</label>
|
||||
<el-input v-model="row.stockInNo" placeholder="请输入" clearable />
|
||||
</div>
|
||||
<div class="dual-field">
|
||||
<label class="dual-label col-label-required">过期日期</label>
|
||||
<el-date-picker
|
||||
v-model="row.expireDate"
|
||||
type="date"
|
||||
size="small"
|
||||
value-format="YYYY-MM-DD"
|
||||
placeholder="选择日期"
|
||||
style="width: 100%"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="货号">
|
||||
<el-input v-model="row.catalogNo" size="small" />
|
||||
</el-form-item>
|
||||
<el-form-item label="批号">
|
||||
<el-input v-model="row.batchNo" size="small" />
|
||||
</el-form-item>
|
||||
<el-form-item label="厂家">
|
||||
<el-input v-model="row.manufacturer" size="small" />
|
||||
</el-form-item>
|
||||
<el-form-item label="数量">
|
||||
</div>
|
||||
|
||||
<div class="dual-row-sep" aria-hidden="true" />
|
||||
|
||||
<div class="dual-field">
|
||||
<label class="dual-label col-label-required">货号</label>
|
||||
<el-input v-model="row.catalogNo" placeholder="请输入" clearable />
|
||||
</div>
|
||||
<div class="dual-field">
|
||||
<label class="dual-label col-label-required">批号</label>
|
||||
<el-input v-model="row.batchNo" placeholder="请输入" clearable />
|
||||
</div>
|
||||
<div class="dual-field">
|
||||
<label class="dual-label col-label-required">厂家</label>
|
||||
<el-input v-model="row.manufacturer" placeholder="请输入" clearable />
|
||||
</div>
|
||||
<div class="dual-field">
|
||||
<label class="dual-label col-label-required">数量</label>
|
||||
<el-input-number
|
||||
v-model="row.qty"
|
||||
size="small"
|
||||
:min="0.0001"
|
||||
:precision="4"
|
||||
:min="0"
|
||||
:precision="2"
|
||||
:step="0.01"
|
||||
controls-position="right"
|
||||
style="width: 100%"
|
||||
@change="() => recalcAmount(row)"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="单价">
|
||||
</div>
|
||||
<div class="dual-field">
|
||||
<label class="dual-label col-label-required">单价</label>
|
||||
<el-input-number
|
||||
v-model="row.unitPrice"
|
||||
size="small"
|
||||
:min="0"
|
||||
:precision="2"
|
||||
controls-position="right"
|
||||
style="width: 100%"
|
||||
@change="() => recalcAmount(row)"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="金额">
|
||||
</div>
|
||||
<div class="dual-field">
|
||||
<label class="dual-label col-label-required">金额</label>
|
||||
<el-input-number
|
||||
v-model="row.amount"
|
||||
size="small"
|
||||
:min="0"
|
||||
:precision="2"
|
||||
controls-position="right"
|
||||
style="width: 100%"
|
||||
@change="() => markAmountTouched(row)"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="备注" class="batch-in-col-span-2">
|
||||
<el-input v-model="row.remark" size="small" placeholder="可选" />
|
||||
</el-form-item>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dual-remark">
|
||||
<label class="dual-label">备注</label>
|
||||
<el-input v-model="row.remark" placeholder="可选" clearable />
|
||||
</div>
|
||||
</article>
|
||||
</template>
|
||||
<el-empty v-else description="暂无预览明细" :image-size="56" />
|
||||
</div>
|
||||
|
||||
@@ -184,7 +210,13 @@
|
||||
}
|
||||
loading.value = true
|
||||
try {
|
||||
lines.value = (await fetchPreviewQcMonthImport(stockInDate.value)) || []
|
||||
const rows = (await fetchPreviewQcMonthImport(stockInDate.value)) || []
|
||||
lines.value = rows.map((row) => ({
|
||||
...row,
|
||||
qty: Number(row.qty) || 0,
|
||||
unitPrice: Number(row.unitPrice) || 0,
|
||||
amount: Number(row.amount) || 0
|
||||
}))
|
||||
amountTouchedMap.value = {}
|
||||
} catch {
|
||||
lines.value = []
|
||||
@@ -217,6 +249,14 @@
|
||||
}
|
||||
for (let i = 0; i < lines.value.length; i++) {
|
||||
const line = lines.value[i]
|
||||
if (!line.materialCode?.trim()) {
|
||||
ElMessage.warning(`第 ${i + 1} 行请填写物料编码`)
|
||||
return
|
||||
}
|
||||
if (!line.materialName?.trim()) {
|
||||
ElMessage.warning(`第 ${i + 1} 行请填写物料名称`)
|
||||
return
|
||||
}
|
||||
if (!line.stockInNo?.trim()) {
|
||||
ElMessage.warning(`第 ${i + 1} 行请填写入库编号`)
|
||||
return
|
||||
@@ -242,13 +282,18 @@
|
||||
items: lines.value.map((l) => ({
|
||||
...l,
|
||||
materialId: l.materialId || undefined,
|
||||
stockInNo: l.stockInNo.trim(),
|
||||
catalogNo: l.catalogNo.trim(),
|
||||
batchNo: l.batchNo.trim(),
|
||||
manufacturer: l.manufacturer.trim(),
|
||||
materialCode: (l.materialCode || '').trim(),
|
||||
materialName: (l.materialName || '').trim(),
|
||||
specModel: (l.specModel || '').trim() || undefined,
|
||||
unit: (l.unit || '').trim() || undefined,
|
||||
stockInNo: (l.stockInNo || '').trim(),
|
||||
catalogNo: (l.catalogNo || '').trim(),
|
||||
batchNo: (l.batchNo || '').trim(),
|
||||
manufacturer: (l.manufacturer || '').trim(),
|
||||
qty: Number(l.qty),
|
||||
unitPrice: Number(l.unitPrice),
|
||||
amount: Number(l.amount)
|
||||
amount: Number(l.amount),
|
||||
remark: (l.remark || '').trim() || undefined
|
||||
}))
|
||||
})
|
||||
ElMessage.success(`月初导入成功,共 ${res?.count ?? lines.value.length} 项`)
|
||||
@@ -259,3 +304,148 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.month-import-lines-head {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
margin: 4px 0 0;
|
||||
}
|
||||
|
||||
.month-import-lines-head-left {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.month-import-lines-title {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--mint-text, #0f172a);
|
||||
}
|
||||
|
||||
.month-import-lines-hint {
|
||||
font-size: 12px;
|
||||
color: var(--mint-text-muted, #64748b);
|
||||
}
|
||||
|
||||
.month-import-dual-list {
|
||||
margin-top: 12px;
|
||||
max-height: min(52vh, 520px);
|
||||
overflow-y: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
padding-right: 2px;
|
||||
min-height: 120px;
|
||||
}
|
||||
|
||||
.dual-card {
|
||||
flex-shrink: 0;
|
||||
border: 1px solid var(--mint-border, #e2e8f0);
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dual-card:nth-child(even) {
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
.dual-card-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 8px 12px;
|
||||
background: var(--mint-primary-bg, #ecfdf5);
|
||||
border-bottom: 1px solid #d1fae5;
|
||||
}
|
||||
|
||||
.dual-idx {
|
||||
flex: 0 0 28px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 6px;
|
||||
background: #fff;
|
||||
border: 1px solid #a7f3d0;
|
||||
color: var(--mint-primary-dark, #059669);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.dual-summary {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
font-weight: 600;
|
||||
color: var(--mint-primary-dark, #059669);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dual-summary-code {
|
||||
font-weight: 500;
|
||||
color: var(--mint-text-muted, #64748b);
|
||||
}
|
||||
|
||||
.dual-delete {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.dual-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||
gap: 8px 12px;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.dual-row-sep {
|
||||
grid-column: 1 / -1;
|
||||
height: 1px;
|
||||
background: var(--mint-border, #e2e8f0);
|
||||
margin: 2px 0;
|
||||
}
|
||||
|
||||
.dual-field,
|
||||
.dual-remark {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.dual-remark {
|
||||
padding: 0 12px 14px;
|
||||
}
|
||||
|
||||
.dual-label {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--mint-text-muted, #64748b);
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.col-label-required::before {
|
||||
content: '*';
|
||||
color: var(--el-color-danger, #dc2626);
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
:deep(.dual-field .el-input),
|
||||
:deep(.dual-field .el-input-number),
|
||||
:deep(.dual-field .el-date-editor),
|
||||
:deep(.dual-remark .el-input) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.dual-grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
</style>
|
||||
+116
-9
@@ -5,7 +5,7 @@
|
||||
<el-dialog
|
||||
:model-value="modelValue"
|
||||
title="维护月初模板"
|
||||
width="1280px"
|
||||
width="1440px"
|
||||
class="dialog-form-layout material-batch-stock-dialog"
|
||||
align-center
|
||||
append-to-body
|
||||
@@ -27,14 +27,109 @@
|
||||
</div>
|
||||
|
||||
<el-table v-loading="loading" :data="rows" class="list-table" stripe max-height="420">
|
||||
<el-table-column label="物料编码" prop="materialCode" min-width="120" show-overflow-tooltip />
|
||||
<el-table-column label="物料名称" prop="materialName" min-width="140" show-overflow-tooltip />
|
||||
<el-table-column label="货号" prop="catalogNo" min-width="100" show-overflow-tooltip />
|
||||
<el-table-column label="批号" prop="batchNo" min-width="100" show-overflow-tooltip />
|
||||
<el-table-column label="厂家" prop="manufacturer" min-width="120" show-overflow-tooltip />
|
||||
<el-table-column label="数量" prop="inQty" min-width="80" align="right" />
|
||||
<el-table-column label="过期日期" prop="expireDate" min-width="110" />
|
||||
<el-table-column label="操作" fixed="right" min-width="160">
|
||||
<el-table-column
|
||||
type="index"
|
||||
label="序号"
|
||||
min-width="56"
|
||||
align="center"
|
||||
header-align="center"
|
||||
fixed="left"
|
||||
/>
|
||||
<el-table-column
|
||||
label="物料编码"
|
||||
prop="materialCode"
|
||||
min-width="120"
|
||||
align="center"
|
||||
header-align="center"
|
||||
show-overflow-tooltip
|
||||
/>
|
||||
<el-table-column
|
||||
label="物料名称"
|
||||
prop="materialName"
|
||||
min-width="140"
|
||||
align="center"
|
||||
header-align="center"
|
||||
show-overflow-tooltip
|
||||
/>
|
||||
<el-table-column
|
||||
label="规格型号"
|
||||
prop="specModel"
|
||||
min-width="120"
|
||||
align="center"
|
||||
header-align="center"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template #default="{ row }">{{ row.specModel || '—' }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="单位"
|
||||
prop="unit"
|
||||
min-width="80"
|
||||
align="center"
|
||||
header-align="center"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template #default="{ row }">{{ row.unit || '—' }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="货号"
|
||||
prop="catalogNo"
|
||||
min-width="110"
|
||||
align="center"
|
||||
header-align="center"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template #default="{ row }">{{ row.catalogNo || '—' }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="批号"
|
||||
prop="batchNo"
|
||||
min-width="110"
|
||||
align="center"
|
||||
header-align="center"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template #default="{ row }">{{ row.batchNo || '—' }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="厂家"
|
||||
prop="manufacturer"
|
||||
min-width="120"
|
||||
align="center"
|
||||
header-align="center"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template #default="{ row }">{{ row.manufacturer || '—' }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="单价" prop="unitPrice" min-width="100" align="right" header-align="center">
|
||||
<template #default="{ row }">{{ formatMoney(row.unitPrice) }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="数量" prop="inQty" min-width="90" align="right" header-align="center">
|
||||
<template #default="{ row }">{{ formatQty(row.inQty) }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="金额" prop="amount" min-width="100" align="right" header-align="center">
|
||||
<template #default="{ row }">{{ formatMoney(row.amount) }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="过期日期"
|
||||
prop="expireDate"
|
||||
min-width="120"
|
||||
align="center"
|
||||
header-align="center"
|
||||
>
|
||||
<template #default="{ row }">{{ row.expireDate || '—' }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="备注"
|
||||
prop="remark"
|
||||
min-width="140"
|
||||
align="center"
|
||||
header-align="center"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template #default="{ row }">{{ row.remark || '—' }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" fixed="right" min-width="160" align="center" header-align="center">
|
||||
<template #default="{ row }">
|
||||
<el-button link type="primary" @click="openEdit(row)">
|
||||
<el-icon><Edit /></el-icon>
|
||||
@@ -196,6 +291,18 @@
|
||||
(e: 'saved'): void
|
||||
}>()
|
||||
|
||||
function formatMoney(v: unknown) {
|
||||
const n = Number(v)
|
||||
if (!Number.isFinite(n)) return '—'
|
||||
return n.toFixed(2)
|
||||
}
|
||||
|
||||
function formatQty(v: unknown) {
|
||||
const n = Number(v)
|
||||
if (!Number.isFinite(n)) return '—'
|
||||
return n.toFixed(2)
|
||||
}
|
||||
|
||||
const loading = ref(false)
|
||||
const saving = ref(false)
|
||||
const rows = ref<QcMonthTemplateRow[]>([])
|
||||
|
||||
Reference in new issue
Block a user