提交
This commit is contained in:
1 parent
7e04ebecc4
commit
0bf107d4f7
186 files changed
+29150
-21498
No files matched your search
@@ -34,6 +34,8 @@ export function fetchMyProductionTasks(params: {
|
||||
keyword?: string
|
||||
taskStatus?: string
|
||||
workOrderType?: string
|
||||
receptionSource?: string
|
||||
bizType?: string
|
||||
scope: 'current' | 'history'
|
||||
}) {
|
||||
return request.get<{
|
||||
|
||||
@@ -39,6 +39,10 @@ export interface ProductionWorkOrderItem {
|
||||
/** 出库工单:输注计划总次数 */
|
||||
totalCourseCount?: number | null
|
||||
infusionTime?: string
|
||||
/** 基础实验出库:课题名称(列表 enrich) */
|
||||
projectTitle?: string
|
||||
/** 基础实验出库:客户名称(列表 enrich) */
|
||||
customerName?: string
|
||||
paymentSummary?: QcProtocolPaymentSummary | null
|
||||
feeSummary?: QcBasicExperimentFeeSummary | null
|
||||
}
|
||||
@@ -76,6 +80,8 @@ export function fetchProductionWorkOrderList(params?: {
|
||||
keyword?: string
|
||||
workOrderStatus?: string
|
||||
workOrderType?: string
|
||||
receptionSource?: string
|
||||
bizType?: string
|
||||
createTimeStart?: string
|
||||
createTimeEnd?: string
|
||||
infusionTimeStart?: string
|
||||
|
||||
@@ -118,6 +118,8 @@ export function fetchMyQcTaskList(params?: {
|
||||
taskType?: string
|
||||
taskStatus?: string
|
||||
qcBizType?: string
|
||||
receptionSource?: string
|
||||
bizType?: string
|
||||
}) {
|
||||
return request.get<PageList<QcTask>>({
|
||||
url: '/web/admin/qc-tasks/mine',
|
||||
|
||||
@@ -117,6 +117,8 @@ export type QcWorkOrder = {
|
||||
bizTypeLabel?: string
|
||||
applicationNo?: string
|
||||
applicationName?: string
|
||||
projectTitle?: string
|
||||
customerName?: string
|
||||
channelName?: string
|
||||
/** 出库工单:患者/用户姓名 */
|
||||
patientName?: string
|
||||
@@ -176,6 +178,7 @@ export function fetchQcWorkOrderList(params?: {
|
||||
workOrderStatus?: string
|
||||
workOrderType?: string
|
||||
bizType?: string
|
||||
receptionSource?: string
|
||||
createTimeStart?: string
|
||||
createTimeEnd?: string
|
||||
infusionTimeStart?: string
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_qcworkordertabpanel_vue", "label": "QcWorkOrderTabPanel.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/QcWorkOrderTabPanel.vue", "source_location": "L1"}, {"id": "tabs_qcworkordertabpanel_handlecommand", "label": "handleCommand()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/QcWorkOrderTabPanel.vue", "source_location": "L264"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_qcworkordertabpanel_vue", "target": "tabs_qcworkordertabpanel_handlecommand", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/QcWorkOrderTabPanel.vue", "source_location": "L264", "weight": 1.0}], "raw_calls": [{"caller_nid": "tabs_qcworkordertabpanel_handlecommand", "callee": "handleView", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/QcWorkOrderTabPanel.vue", "source_location": "L266"}, {"caller_nid": "tabs_qcworkordertabpanel_handlecommand", "callee": "emit", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/QcWorkOrderTabPanel.vue", "source_location": "L269"}]}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_temporaryproductionviewdialog_vue", "label": "TemporaryProductionViewDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/TemporaryProductionViewDialog.vue", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_temporaryproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_productionworkorderviewdialogframe_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/TemporaryProductionViewDialog.vue", "source_location": "L22", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_temporaryproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionviewdialog", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/TemporaryProductionViewDialog.vue", "source_location": "L23", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_temporaryproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_production_view_sections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/TemporaryProductionViewDialog.vue", "source_location": "L24", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order_ts", "label": "production-work-order.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L1"}, {"id": "api_production_work_order_fetchproductionworkorderlist", "label": "fetchProductionWorkOrderList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L77"}, {"id": "api_production_work_order_fetchproductionworkorderdetail", "label": "fetchProductionWorkOrderDetail()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L99"}, {"id": "api_production_work_order_fetchcompleteproductionworkorder", "label": "fetchCompleteProductionWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L103"}, {"id": "api_production_work_order_fetchcreateproductionworkorder", "label": "fetchCreateProductionWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L107"}, {"id": "api_production_work_order_fetchconfigureproductionworkorder", "label": "fetchConfigureProductionWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L120"}, {"id": "api_production_work_order_fetchupdateproductionworkorder", "label": "fetchUpdateProductionWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L136"}, {"id": "api_production_work_order_fetchdeleteproductionworkorder", "label": "fetchDeleteProductionWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L143"}, {"id": "api_production_work_order_fetchproductionworkordercellproductoptions", "label": "fetchProductionWorkOrderCellProductOptions()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L159"}, {"id": "api_production_work_order_fetchcreateqcfromproduction", "label": "fetchCreateQcFromProduction()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L165"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_http", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order_ts", "target": "api_production_work_order_fetchproductionworkorderlist", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L77", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order_ts", "target": "api_production_work_order_fetchproductionworkorderdetail", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L99", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order_ts", "target": "api_production_work_order_fetchcompleteproductionworkorder", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L103", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order_ts", "target": "api_production_work_order_fetchcreateproductionworkorder", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts", "source_location": "L107", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order_ts", "target": "api_production_work_order_fetchconfigureproductionworkorder", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-work-order.ts",Line truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_card_meta_ts", "label": "production-work-order-card-meta.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L1"}, {"id": "utils_production_work_order_card_meta_formatoutboundschedulesortno", "label": "formatOutboundScheduleSortNo()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L38"}, {"id": "utils_production_work_order_card_meta_formatoutboundscheduletotalcount", "label": "formatOutboundScheduleTotalCount()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L44"}, {"id": "utils_production_work_order_card_meta_parsereceptiontime", "label": "parseReceptionTime()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L50"}, {"id": "utils_production_work_order_card_meta_receptionover24hourslabel", "label": "receptionOver24HoursLabel()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L57"}, {"id": "utils_production_work_order_card_meta_receptionover24hourstagtype", "label": "receptionOver24HoursTagType()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L64"}, {"id": "utils_production_work_order_card_meta_protocolstatuslabelfortab", "label": "protocolStatusLabelForTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L71"}, {"id": "utils_production_work_order_card_meta_protocolstatustagtypefortab", "label": "protocolStatusTagTypeForTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L80"}, {"id": "utils_production_work_order_card_meta_buildinboundmetafields", "label": "buildInboundMetaFields()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L89"}, {"id": "utils_production_work_order_card_meta_getcardmetaconfig", "label": "getCardMetaConfig()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L255"}, {"id": "utils_production_work_order_card_meta_getcardmetaconfigforlegacytab", "label": "getCardMetaConfigForLegacyTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L259"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_card_meta_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_card_meta_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_labels", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_card_meta_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_status_tag_registry", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_card_meta_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_status_tag_registry", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_card_meta_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-card-meta.ts", "source_location": "L10", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_my_production_task_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/my-production-task/index.vue", "source_location": "L1"}, {"id": "my_production_task_index_handletabchange", "label": "handleTabChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/my-production-task/index.vue", "source_location": "L48"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_my_production_task_index_vue", "target": "vue_router", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/my-production-task/index.vue", "source_location": "L30", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_my_production_task_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/my-production-task/index.vue", "source_location": "L31", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_my_production_task_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_tab_registry", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/my-production-task/index.vue", "source_location": "L36", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_my_production_task_index_vue", "target": "my_production_task_index_handletabchange", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/my-production-task/index.vue", "source_location": "L48", "weight": 1.0}], "raw_calls": [{"caller_nid": "my_production_task_index_handletabchange", "callee": "replace", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/my-production-task/index.vue", "source_location": "L51"}]}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_outboundqcproducttable_vue", "label": "OutboundQcProductTable.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/OutboundQcProductTable.vue", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_outboundqcproducttable_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/OutboundQcProductTable.vue", "source_location": "L53", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_outboundbasicexperimentviewdialog_vue", "label": "OutboundBasicExperimentViewDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/OutboundBasicExperimentViewDialog.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_outboundbasicexperimentproductionviewdialog_vue", "label": "OutboundBasicExperimentProductionViewDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/OutboundBasicExperimentProductionViewDialog.vue", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_outboundbasicexperimentproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_productionworkorderviewdialogframe_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/OutboundBasicExperimentProductionViewDialog.vue", "source_location": "L22", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_outboundbasicexperimentproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionviewdialog", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/OutboundBasicExperimentProductionViewDialog.vue", "source_location": "L23", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_outboundbasicexperimentproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_production_view_sections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/OutboundBasicExperimentProductionViewDialog.vue", "source_location": "L24", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_outboundbasicexperimenttab_vue", "label": "OutboundBasicExperimentTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/OutboundBasicExperimentTab.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_productionworkorderviewdialogframe_vue", "label": "ProductionWorkOrderViewDialogFrame.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/ProductionWorkOrderViewDialogFrame.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_task_ts", "label": "qc-task.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L1"}, {"id": "api_qc_task_fetchqctasklist", "label": "fetchQcTaskList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L99"}, {"id": "api_qc_task_fetchmyqctasklist", "label": "fetchMyQcTaskList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L114"}, {"id": "api_qc_task_fetchqctaskdetail", "label": "fetchQcTaskDetail()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L130"}, {"id": "api_qc_task_fetchstartqctask", "label": "fetchStartQcTask()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L136"}, {"id": "api_qc_task_fetchcompleteqctask", "label": "fetchCompleteQcTask()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L143"}, {"id": "api_qc_task_fetchupdateqctaskattachments", "label": "fetchUpdateQcTaskAttachments()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L149"}, {"id": "api_qc_task_fetchcreateqctask", "label": "fetchCreateQcTask()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L161"}, {"id": "api_qc_task_fetchdeleteqctask", "label": "fetchDeleteQcTask()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L179"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_task_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_http", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_task_ts", "target": "api_qc_task_fetchqctasklist", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L99", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_task_ts", "target": "api_qc_task_fetchmyqctasklist", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L114", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_task_ts", "target": "api_qc_task_fetchqctaskdetail", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L130", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_task_ts", "target": "api_qc_task_fetchstartqctask", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L136", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_task_ts", "target": "api_qc_task_fetchcompleteqctask", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L143", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_task_ts", "target": "api_qc_task_fetchupdateqctaskattachments", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L149", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_task_ts", "target": "api_qc_task_fetchcreateqctask", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L161", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_task_ts", "target": "api_qc_task_fetchdeleteqctask", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L179", "weight": 1.0}], "raw_calls": [{"caller_nid": "api_qc_task_fetchqctasklist", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L108"}, {"caller_nid": "api_qc_task_fetchmyqctasklist", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-task.ts", "source_location": "L124"}, {"caller_nid": "api_qc_task_fetchqctaskdetail", "callee": "get", "source_file": "/Users/wuzilong/work/00Line truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordersamplegroup_vue", "label": "QcWorkOrderSampleGroup.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderSampleGroup.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_types_import_components_d_ts", "label": "components.d.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/components.d.ts", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordersinglecard_vue", "label": "QcWorkOrderSingleCard.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderSingleCard.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_inboundresearchdonationproductionviewdialog_vue", "label": "InboundResearchDonationProductionViewDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/InboundResearchDonationProductionViewDialog.vue", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_inboundresearchdonationproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_productionworkorderviewdialogframe_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/InboundResearchDonationProductionViewDialog.vue", "source_location": "L22", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_inboundresearchdonationproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionviewdialog", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/InboundResearchDonationProductionViewDialog.vue", "source_location": "L23", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_inboundresearchdonationproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_production_view_sections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/InboundResearchDonationProductionViewDialog.vue", "source_location": "L24", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_inboundcellstorageproductionviewdialog_vue", "label": "InboundCellStorageProductionViewDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/InboundCellStorageProductionViewDialog.vue", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_inboundcellstorageproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_productionworkorderviewdialogframe_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/InboundCellStorageProductionViewDialog.vue", "source_location": "L22", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_inboundcellstorageproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionviewdialog", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/InboundCellStorageProductionViewDialog.vue", "source_location": "L23", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_inboundcellstorageproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_production_view_sections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/InboundCellStorageProductionViewDialog.vue", "source_location": "L24", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_inboundcellstoragetab_vue", "label": "InboundCellStorageTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/InboundCellStorageTab.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L1"}, {"id": "my_qc_task_index_handletabchange", "label": "handleTabChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L46"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "vue_router", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L30", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L31", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_tab_registry", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L36", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "my_qc_task_index_handletabchange", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L46", "weight": 1.0}], "raw_calls": [{"caller_nid": "my_qc_task_index_handletabchange", "callee": "replace", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L49"}]}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_temporarytab_vue", "label": "TemporaryTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/TemporaryTab.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordersamplegroup_vue", "label": "QcWorkOrderSampleGroup.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderSampleGroup.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_outboundclinicalviewdialog_vue", "label": "OutboundClinicalViewDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/OutboundClinicalViewDialog.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundresearchdonationviewdialog_vue", "label": "InboundResearchDonationViewDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/InboundResearchDonationViewDialog.vue", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundresearchdonationviewdialog_vue", "target": "icons_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/InboundResearchDonationViewDialog.vue", "source_location": "L37", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundresearchdonationviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_cell_storage_protocol_protocolattachmentreadonly_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/InboundResearchDonationViewDialog.vue", "source_location": "L38", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundresearchdonationviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_qcworkordersystemviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/InboundResearchDonationViewDialog.vue", "source_location": "L39", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundresearchdonationviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useinboundqcviewdialog", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/InboundResearchDonationViewDialog.vue", "source_location": "L40", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundresearchdonationviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_inbound_view_sections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/InboundResearchDonationViewDialog.vue", "source_location": "L41", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_outboundqcdiagnosisattachments_vue", "label": "OutboundQcDiagnosisAttachments.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/OutboundQcDiagnosisAttachments.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_types_import_components_d_ts", "label": "components.d.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/components.d.ts", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L1"}, {"id": "my_qc_task_index_formatlocaldate", "label": "formatLocalDate()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L205"}, {"id": "my_qc_task_index_buildworkordersearchfilters", "label": "buildWorkOrderSearchFilters()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L232"}, {"id": "my_qc_task_index_loaddata", "label": "loadData()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L255"}, {"id": "my_qc_task_index_handlesearch", "label": "handleSearch()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L277"}, {"id": "my_qc_task_index_handlereset", "label": "handleReset()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L282"}, {"id": "my_qc_task_index_handletypetabchange", "label": "handleTypeTabChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L294"}, {"id": "my_qc_task_index_handletabchange", "label": "handleTabChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L303"}, {"id": "my_qc_task_index_handleworkordertaskschanged", "label": "handleWorkOrderTasksChanged()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L310"}, {"id": "my_qc_task_index_onworkorderpagechange", "label": "onWorkOrderPageChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L315"}, {"id": "my_qc_task_index_onworkorderpagesizechange", "label": "onWorkOrderPageSizeChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L320"}, {"id": "my_qc_task_index_handleview", "label": "handleView()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L326"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "my_qc_task_index_formatlocaldate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L205", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "my_qc_task_index_buildworkordersearchfilters", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L232", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "my_qc_task_index_loaddata", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L255", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "my_qc_task_index_handlesearch", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L277", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "my_qc_task_index_handlereset", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L282", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "my_qc_task_index_handletypetabchange", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_outboundclinicaltab_vue", "label": "OutboundClinicalTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/OutboundClinicalTab.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "label": "QcWorkOrderCardList.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L1"}, {"id": "qc_work_order_qcworkordercardlist_cardindex", "label": "cardIndex()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L108"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L64", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_task", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L65", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_groups", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L66", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_card_meta", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L67", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_card_meta", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L68", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordersamplegroup_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L69", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordersinglecard_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L70", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "qc_work_order_qcworkordercardlist_cardindex", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L108", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_outboundclinicalproductionviewdialog_vue", "label": "OutboundClinicalProductionViewDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/OutboundClinicalProductionViewDialog.vue", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_outboundclinicalproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_productionworkorderviewdialogframe_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/OutboundClinicalProductionViewDialog.vue", "source_location": "L22", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_outboundclinicalproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionviewdialog", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/OutboundClinicalProductionViewDialog.vue", "source_location": "L23", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_outboundclinicalproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_production_view_sections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/OutboundClinicalProductionViewDialog.vue", "source_location": "L24", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_inboundresearchdonationtab_vue", "label": "InboundResearchDonationTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/InboundResearchDonationTab.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_outboundpilottab_vue", "label": "OutboundPilotTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/OutboundPilotTab.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_productionworkordercardlist_vue", "label": "ProductionWorkOrderCardList.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L1"}, {"id": "production_work_order_productionworkordercardlist_visiblemetafields", "label": "visibleMetaFields()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L229"}, {"id": "production_work_order_productionworkordercardlist_showprotocolfeesummary", "label": "showProtocolFeeSummary()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L233"}, {"id": "production_work_order_productionworkordercardlist_showoutboundfeesummary", "label": "showOutboundFeeSummary()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L237"}, {"id": "production_work_order_productionworkordercardlist_productionwostatustag", "label": "productionWoStatusTag()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L241"}, {"id": "production_work_order_productionworkordercardlist_handlecardselect", "label": "handleCardSelect()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L251"}, {"id": "production_work_order_productionworkordercardlist_cardindex", "label": "cardIndex()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L255"}, {"id": "production_work_order_productionworkordercardlist_isselected", "label": "isSelected()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L259"}, {"id": "production_work_order_productionworkordercardlist_candispatchtask", "label": "canDispatchTask()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L263"}, {"id": "production_work_order_productionworkordercardlist_candispatchqc", "label": "canDispatchQc()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L267"}, {"id": "production_work_order_productionworkordercardlist_dispatchqctooltip", "label": "dispatchQcTooltip()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L273"}, {"id": "production_work_order_productionworkordercardlist_cancomplete", "label": "canComplete()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L280"}, {"id": "production_work_order_productionworkordercardlist_caneditworkorder", "label": "canEditWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L284"}, {"id": "production_work_order_productionworkordercardlist_candeleteworkorder", "label": "canDeleteWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L292"}, {"id": "production_work_order_productionworkordercardlist_hasmoreactions", "label": "hasMoreActions()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L297"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_productionworkordercardlist_vue", "target": "production_work_order_productionworkordercardlist_visiblemetafields", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L229", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_productionLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_tab_registry_ts", "label": "tab-registry.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/tab-registry.ts", "source_location": "L1"}, {"id": "tabs_tab_registry_getproductionworkordertabcomponent", "label": "getProductionWorkOrderTabComponent()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/tab-registry.ts", "source_location": "L19"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_tab_registry_ts", "target": "vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/tab-registry.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_tab_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/tab-registry.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_tab_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_inboundcellstoragetab_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/tab-registry.ts", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_tab_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_inboundresearchdonationtab_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/tab-registry.ts", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_tab_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_outboundpilottab_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/tab-registry.ts", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_tab_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_outboundbasicexperimenttab_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/tab-registry.ts", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_tab_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_outboundclinicaltab_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/tab-registry.ts", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_tab_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_temporarytab_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/tab-registry.ts", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_tab_registry_ts", "target": "tabs_tab_registry_getproductionworkordertabcomponent", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/tab-registry.ts", "source_location": "L19", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcviewdialogrouter_ts", "label": "useQcViewDialogRouter.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewDialogRouter.ts", "source_location": "L1"}, {"id": "composables_useqcviewdialogrouter_createqcviewdialogstate", "label": "createQcViewDialogState()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewDialogRouter.ts", "source_location": "L9"}, {"id": "composables_useqcviewdialogrouter_openqcviewdialogfortab", "label": "openQcViewDialogForTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewDialogRouter.ts", "source_location": "L14"}, {"id": "composables_useqcviewdialogrouter_createqcviewdialogsmap", "label": "createQcViewDialogsMap()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewDialogRouter.ts", "source_location": "L25"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcviewdialogrouter_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewDialogRouter.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcviewdialogrouter_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewDialogRouter.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcviewdialogrouter_ts", "target": "composables_useqcviewdialogrouter_createqcviewdialogstate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewDialogRouter.ts", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcviewdialogrouter_ts", "target": "composables_useqcviewdialogrouter_openqcviewdialogfortab", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewDialogRouter.ts", "source_location": "L14", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcviewdialogrouter_ts", "target": "composables_useqcviewdialogrouter_createqcviewdialogsmap", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewDialogRouter.ts", "source_location": "L25", "weight": 1.0}, {"source": "composables_useqcviewdialogrouter_createqcviewdialogsmap", "target": "composables_useqcviewdialogrouter_createqcviewdialogstate", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewDialogRouter.ts", "source_location": "L27", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_qcworkordersystemviewdialog_vue", "label": "QcWorkOrderSystemViewDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/QcWorkOrderSystemViewDialog.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_inboundcellstoragetab_vue", "label": "InboundCellStorageTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/InboundCellStorageTab.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_temporaryqcviewdialog_vue", "label": "TemporaryQcViewDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/TemporaryQcViewDialog.vue", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_temporaryqcviewdialog_vue", "target": "icons_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/TemporaryQcViewDialog.vue", "source_location": "L22", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_temporaryqcviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_qcworkordersystemviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/TemporaryQcViewDialog.vue", "source_location": "L23", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_temporaryqcviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useinboundqcviewdialog", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/TemporaryQcViewDialog.vue", "source_location": "L24", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_temporaryqcviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_inbound_view_sections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/TemporaryQcViewDialog.vue", "source_location": "L25", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionworkordertabpage_ts", "label": "useProductionWorkOrderTabPage.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionWorkOrderTabPage.ts", "source_location": "L1"}, {"id": "composables_useproductionworkordertabpage_formatlocaldate", "label": "formatLocalDate()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionWorkOrderTabPage.ts", "source_location": "L24"}, {"id": "composables_useproductionworkordertabpage_getdefaultlast30daysrange", "label": "getDefaultLast30DaysRange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionWorkOrderTabPage.ts", "source_location": "L31"}, {"id": "composables_useproductionworkordertabpage_useproductionworkordertabpage", "label": "useProductionWorkOrderTabPage()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionWorkOrderTabPage.ts", "source_location": "L38"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionworkordertabpage_ts", "target": "vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionWorkOrderTabPage.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionworkordertabpage_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionWorkOrderTabPage.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionworkordertabpage_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_mine_task_groups", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionWorkOrderTabPage.ts", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionworkordertabpage_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionWorkOrderTabPage.ts", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionworkordertabpage_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_card_meta", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionWorkOrderTabPage.ts", "source_location": "L20", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionworkordertabpage_ts", "target": "composables_useproductionworkordertabpage_formatlocaldate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionWorkOrderTabPage.ts", "source_location": "L24", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionworkordertabpage_ts", "target": "composables_useproductionworkordertabpage_getdefaultlast30daysrange", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionWorkOrderTabPage.ts", "source_location": "L31", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionworkordertabpage_ts", "target": "composables_useproductionworkordertabpage_useproductionworkordertabpage", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionWLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "label": "qc-work-order-tabs.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L1"}, {"id": "utils_qc_work_order_tabs_getqcworkordertab", "label": "getQcWorkOrderTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L75"}, {"id": "utils_qc_work_order_tabs_parseqcworkordertabkey", "label": "parseQcWorkOrderTabKey()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L79"}, {"id": "utils_qc_work_order_tabs_toworkorderlistquery", "label": "toWorkOrderListQuery()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L88"}, {"id": "utils_qc_work_order_tabs_resolvetabkeyfromworkorder", "label": "resolveTabKeyFromWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L96"}, {"id": "utils_qc_work_order_tabs_tabusesinfusiontimefilter", "label": "tabUsesInfusionTimeFilter()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L114"}, {"id": "utils_qc_work_order_tabs_keywordplaceholderfortab", "label": "keywordPlaceholderForTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L118"}, {"id": "utils_qc_work_order_tabs_filtertimelabelfortab", "label": "filterTimeLabelForTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L127"}, {"id": "utils_qc_work_order_tabs_filtertimehintfortab", "label": "filterTimeHintForTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L133"}, {"id": "utils_qc_work_order_tabs_workordermatchestab", "label": "workOrderMatchesTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L142"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "utils_qc_work_order_tabs_getqcworkordertab", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L75", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "utils_qc_work_order_tabs_parseqcworkordertabkey", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L79", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "utils_qc_work_order_tabs_toworkorderlistquery", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L88", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "utils_qc_work_order_tabs_resolvetabkeyfromworkorder", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L96", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "utils_qc_work_order_tabs_tabusesinfusiontimefilter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L114", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "utils_qc_work_order_tabs_keywordplaceholderfortab", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L118", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "utils_qc_work_order_tabs_filtertimelabelfortab", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilongLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_mine_task_groups_ts", "label": "production-mine-task-groups.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L1"}, {"id": "utils_production_mine_task_groups_dateinrange", "label": "dateInRange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L39"}, {"id": "utils_production_mine_task_groups_keywordmatchesworkorder", "label": "keywordMatchesWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L47"}, {"id": "utils_production_mine_task_groups_resolveworkordertabkey", "label": "resolveWorkOrderTabKey()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L66"}, {"id": "utils_production_mine_task_groups_buildworkorderfromtasks", "label": "buildWorkOrderFromTasks()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L74"}, {"id": "utils_production_mine_task_groups_groupminetasksbyworkorder", "label": "groupMineTasksByWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L108"}, {"id": "utils_production_mine_task_groups_buildpresettasksmap", "label": "buildPresetTasksMap()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L130"}, {"id": "utils_production_mine_task_groups_fetchminetasksbyscope", "label": "fetchMineTasksByScope()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L138"}, {"id": "utils_production_mine_task_groups_fetchallmineproductiontasks", "label": "fetchAllMineProductionTasks()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L169"}, {"id": "utils_production_mine_task_groups_enrichmineentrieswithworkorders", "label": "enrichMineEntriesWithWorkOrders()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L183"}, {"id": "utils_production_mine_task_groups_filtermineentriesbyworkordersearch", "label": "filterMineEntriesByWorkOrderSearch()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L214"}, {"id": "utils_production_mine_task_groups_paginatemineentries", "label": "paginateMineEntries()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L237"}, {"id": "utils_production_mine_task_groups_buildminetablerows", "label": "buildMineTableRows()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L247"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_mine_task_groups_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_mine_task_groups_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_mine_task_groups_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_task", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_mine_task_groups_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_mine_task_groups_ts", Line truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_outboundpilottab_vue", "label": "OutboundPilotTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/OutboundPilotTab.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_mine_task_groups_ts", "label": "qc-mine-task-groups.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L1"}, {"id": "utils_qc_mine_task_groups_dateinrange", "label": "dateInRange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L40"}, {"id": "utils_qc_mine_task_groups_keywordmatchesworkorder", "label": "keywordMatchesWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L48"}, {"id": "utils_qc_mine_task_groups_filtermineentriesbyworkordersearch", "label": "filterMineEntriesByWorkOrderSearch()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L63"}, {"id": "utils_qc_mine_task_groups_fetchallminetasks", "label": "fetchAllMineTasks()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L88"}, {"id": "utils_qc_mine_task_groups_enrichmineentrieswithworkorders", "label": "enrichMineEntriesWithWorkOrders()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L115"}, {"id": "utils_qc_mine_task_groups_paginatemineentries", "label": "paginateMineEntries()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L144"}, {"id": "utils_qc_mine_task_groups_buildminetablerows", "label": "buildMineTableRows()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L154"}, {"id": "utils_qc_mine_task_groups_resolveworkordertabkey", "label": "resolveWorkOrderTabKey()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L164"}, {"id": "utils_qc_mine_task_groups_buildworkorderfromtasks", "label": "buildWorkOrderFromTasks()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L181"}, {"id": "utils_qc_mine_task_groups_groupminetasksbyworkorder", "label": "groupMineTasksByWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L219"}, {"id": "utils_qc_mine_task_groups_buildpresettasksmap", "label": "buildPresetTasksMap()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L241"}, {"id": "utils_qc_mine_task_groups_buildminecardlistmodel", "label": "buildMineCardListModel()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L257"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_mine_task_groups_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_mine_task_groups_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_mine_task_groups_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_task", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_mine_task_groups_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_groups", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_mine_task_groups_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-mine-task-groups.ts", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utilLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L1"}, {"id": "my_qc_task_index_handletabchange", "label": "handleTabChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L46"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "vue_router", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L30", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L31", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_tab_registry", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L36", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "my_qc_task_index_handletabchange", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L46", "weight": 1.0}], "raw_calls": [{"caller_nid": "my_qc_task_index_handletabchange", "callee": "replace", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L49"}]}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_temporarytab_vue", "label": "TemporaryTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/TemporaryTab.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_outboundclinicaltab_vue", "label": "OutboundClinicalTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/OutboundClinicalTab.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_qcworkorderviewdialogshost_vue", "label": "QcWorkOrderViewDialogsHost.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/QcWorkOrderViewDialogsHost.vue", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_qcworkorderviewdialogshost_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/QcWorkOrderViewDialogsHost.vue", "source_location": "L32", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_qcworkorderviewdialogshost_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundcellstorageviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/QcWorkOrderViewDialogsHost.vue", "source_location": "L33", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_qcworkorderviewdialogshost_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundresearchdonationviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/QcWorkOrderViewDialogsHost.vue", "source_location": "L34", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_qcworkorderviewdialogshost_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_temporaryqcviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/QcWorkOrderViewDialogsHost.vue", "source_location": "L35", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_qcworkorderviewdialogshost_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_outboundpilotviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/QcWorkOrderViewDialogsHost.vue", "source_location": "L36", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_qcworkorderviewdialogshost_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_outboundbasicexperimentviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/QcWorkOrderViewDialogsHost.vue", "source_location": "L37", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_qcworkorderviewdialogshost_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_outboundclinicalviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/QcWorkOrderViewDialogsHost.vue", "source_location": "L38", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/index.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs_ts", "label": "production-work-order-tabs.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L1"}, {"id": "utils_production_work_order_tabs_getproductionworkordertab", "label": "getProductionWorkOrderTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L81"}, {"id": "utils_production_work_order_tabs_parseproductionworkordertabkey", "label": "parseProductionWorkOrderTabKey()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L85"}, {"id": "utils_production_work_order_tabs_toworkorderlistquery", "label": "toWorkOrderListQuery()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L95"}, {"id": "utils_production_work_order_tabs_resolvetabkeyfromworkorder", "label": "resolveTabKeyFromWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L103"}, {"id": "utils_production_work_order_tabs_tabusesinfusiontimefilter", "label": "tabUsesInfusionTimeFilter()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L121"}, {"id": "utils_production_work_order_tabs_keywordplaceholderfortab", "label": "keywordPlaceholderForTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L125"}, {"id": "utils_production_work_order_tabs_filtertimelabelfortab", "label": "filterTimeLabelForTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L134"}, {"id": "utils_production_work_order_tabs_filtertimehintfortab", "label": "filterTimeHintForTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L140"}, {"id": "utils_production_work_order_tabs_workordermatchestab", "label": "workOrderMatchesTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L149"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs_ts", "target": "utils_production_work_order_tabs_getproductionworkordertab", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L81", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs_ts", "target": "utils_production_work_order_tabs_parseproductionworkordertabkey", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L85", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs_ts", "target": "utils_production_work_order_tabs_toworkorderlistquery", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L95", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs_ts", "target": "utils_production_work_order_tabs_resolvetabkeyfromworkorder", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L103", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs_ts", "target": "utils_production_work_order_tabs_tabusesinfusiontimefilter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-work-order-tabs.ts", "source_location": "L121", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs_ts", "target": "utils_production_work_order_tabs_keywordplaceholderfortab", "relation": "contains", "confidence": "Line truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useoutboundqcviewdialog_ts", "label": "useOutboundQcViewDialog.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useOutboundQcViewDialog.ts", "source_location": "L1"}, {"id": "composables_useoutboundqcviewdialog_useoutboundqcviewdialog", "label": "useOutboundQcViewDialog()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useOutboundQcViewDialog.ts", "source_location": "L30"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useoutboundqcviewdialog_ts", "target": "vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useOutboundQcViewDialog.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useoutboundqcviewdialog_ts", "target": "icons_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useOutboundQcViewDialog.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useoutboundqcviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_money_format", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useOutboundQcViewDialog.ts", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useoutboundqcviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useOutboundQcViewDialog.ts", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useoutboundqcviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_labels", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useOutboundQcViewDialog.ts", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useoutboundqcviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_status_tag_registry", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useOutboundQcViewDialog.ts", "source_location": "L10", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useoutboundqcviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_outbound_qc_pilot_view_sections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useOutboundQcViewDialog.ts", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useoutboundqcviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_components_business_system_view_dialog_index_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useOutboundQcViewDialog.ts", "source_location": "L15", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useoutboundqcviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertaskviewsections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useOutboundQcViewDialog.ts", "source_location": "L16", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useoutboundqcviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspectiLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_tab_registry_ts", "label": "tab-registry.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/tab-registry.ts", "source_location": "L1"}, {"id": "tabs_tab_registry_getqcworkordertabcomponent", "label": "getQcWorkOrderTabComponent()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/tab-registry.ts", "source_location": "L19"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_tab_registry_ts", "target": "vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/tab-registry.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_tab_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/tab-registry.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_tab_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_inboundcellstoragetab_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/tab-registry.ts", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_tab_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_inboundresearchdonationtab_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/tab-registry.ts", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_tab_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_outboundpilottab_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/tab-registry.ts", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_tab_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_outboundbasicexperimenttab_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/tab-registry.ts", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_tab_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_outboundclinicaltab_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/tab-registry.ts", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_tab_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_temporarytab_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/tab-registry.ts", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_tab_registry_ts", "target": "tabs_tab_registry_getqcworkordertabcomponent", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/tab-registry.ts", "source_location": "L19", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_material_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1"}, {"id": "qc_material_index_ensuretabmounted", "label": "ensureTabMounted()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1201"}, {"id": "qc_material_index_handletabchange", "label": "handleTabChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1206"}, {"id": "qc_material_index_loaddata", "label": "loadData()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1662"}, {"id": "qc_material_index_handlesearch", "label": "handleSearch()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1678"}, {"id": "qc_material_index_handlereset", "label": "handleReset()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1683"}, {"id": "qc_material_index_oneditpriceqtychange", "label": "onEditPriceQtyChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1690"}, {"id": "qc_material_index_handleedit", "label": "handleEdit()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1695"}, {"id": "qc_material_index_handlesubmit", "label": "handleSubmit()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1721"}, {"id": "qc_material_index_handleview", "label": "handleView()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1753"}, {"id": "qc_material_index_handledelete", "label": "handleDelete()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1777"}, {"id": "qc_material_index_formattodaydate", "label": "formatTodayDate()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1796"}, {"id": "qc_material_index_onstockinmaterialkeychange", "label": "onStockInMaterialKeyChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1802"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_material_index_vue", "target": "element_plus", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1145", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_material_index_vue", "target": "icons_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1146", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_material_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_components_business_system_view_dialog_index_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1160", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_material_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_components_common_amount_input_index_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "source_location": "L1161", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_material_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_money_format", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material/index.vue", "sourcLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_outboundpilotviewdialog_vue", "label": "OutboundPilotViewDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/OutboundPilotViewDialog.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordersinglecard_vue", "label": "QcWorkOrderSingleCard.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderSingleCard.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundcellstorageviewdialog_vue", "label": "InboundCellStorageViewDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/InboundCellStorageViewDialog.vue", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundcellstorageviewdialog_vue", "target": "icons_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/InboundCellStorageViewDialog.vue", "source_location": "L40", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundcellstorageviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_cell_storage_protocol_protocolattachmentreadonly_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/InboundCellStorageViewDialog.vue", "source_location": "L41", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundcellstorageviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkorderprotocolpaymentpanel_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/InboundCellStorageViewDialog.vue", "source_location": "L42", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundcellstorageviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_qcworkordersystemviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/InboundCellStorageViewDialog.vue", "source_location": "L43", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundcellstorageviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useinboundqcviewdialog", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/InboundCellStorageViewDialog.vue", "source_location": "L44", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundcellstorageviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_inbound_view_sections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/InboundCellStorageViewDialog.vue", "source_location": "L45", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordersinglecard_vue", "label": "QcWorkOrderSingleCard.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderSingleCard.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_card_meta_ts", "label": "qc-work-order-card-meta.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L1"}, {"id": "utils_qc_work_order_card_meta_formatdetectmethods", "label": "formatDetectMethods()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L39"}, {"id": "utils_qc_work_order_card_meta_formatqctarget", "label": "formatQcTarget()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L46"}, {"id": "utils_qc_work_order_card_meta_formatoutboundschedulesortno", "label": "formatOutboundScheduleSortNo()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L54"}, {"id": "utils_qc_work_order_card_meta_formatoutboundscheduletotalcount", "label": "formatOutboundScheduleTotalCount()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L60"}, {"id": "utils_qc_work_order_card_meta_formattempcellproductfield", "label": "formatTempCellProductField()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L66"}, {"id": "utils_qc_work_order_card_meta_protocolstatuslabelbysource", "label": "protocolStatusLabelBySource()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L71"}, {"id": "utils_qc_work_order_card_meta_protocolstatustagtypebysource", "label": "protocolStatusTagTypeBySource()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L75"}, {"id": "utils_qc_work_order_card_meta_buildcellstoragegroupcontext", "label": "buildCellStorageGroupContext()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L150"}, {"id": "utils_qc_work_order_card_meta_builddonationgroupcontext", "label": "buildDonationGroupContext()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L162"}, {"id": "utils_qc_work_order_card_meta_getcardmetaconfig", "label": "getCardMetaConfig()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L249"}, {"id": "utils_qc_work_order_card_meta_buildgroupcontextsubtitle", "label": "buildGroupContextSubtitle()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L253"}, {"id": "utils_qc_work_order_card_meta_cardmetausesinboundgroups", "label": "cardMetaUsesInboundGroups()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L258"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_card_meta_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_card_meta_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_labels", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_card_meta_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_status_tag_registry", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_card_meta_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_status_tag_registry", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-card-meta.ts", "source_location": "L10", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_card_meta_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs", "relation": "imports_from", "confidenLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_productionworkordertabpanel_vue", "label": "ProductionWorkOrderTabPanel.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/ProductionWorkOrderTabPanel.vue", "source_location": "L1"}, {"id": "tabs_productionworkordertabpanel_handlecommand", "label": "handleCommand()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/ProductionWorkOrderTabPanel.vue", "source_location": "L226"}, {"id": "tabs_productionworkordertabpanel_handleopensamplereception", "label": "handleOpenSampleReception()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/ProductionWorkOrderTabPanel.vue", "source_location": "L234"}, {"id": "tabs_productionworkordertabpanel_handlesamplereceptionsuccess", "label": "handleSampleReceptionSuccess()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/ProductionWorkOrderTabPanel.vue", "source_location": "L244"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_productionworkordertabpanel_vue", "target": "tabs_productionworkordertabpanel_handlecommand", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/ProductionWorkOrderTabPanel.vue", "source_location": "L226", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_productionworkordertabpanel_vue", "target": "tabs_productionworkordertabpanel_handleopensamplereception", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/ProductionWorkOrderTabPanel.vue", "source_location": "L234", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_productionworkordertabpanel_vue", "target": "tabs_productionworkordertabpanel_handlesamplereceptionsuccess", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/ProductionWorkOrderTabPanel.vue", "source_location": "L244", "weight": 1.0}], "raw_calls": [{"caller_nid": "tabs_productionworkordertabpanel_handlecommand", "callee": "handleView", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/ProductionWorkOrderTabPanel.vue", "source_location": "L228"}, {"caller_nid": "tabs_productionworkordertabpanel_handlecommand", "callee": "emit", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/ProductionWorkOrderTabPanel.vue", "source_location": "L231"}, {"caller_nid": "tabs_productionworkordertabpanel_handleopensamplereception", "callee": "emit", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/ProductionWorkOrderTabPanel.vue", "source_location": "L241"}, {"caller_nid": "tabs_productionworkordertabpanel_handlesamplereceptionsuccess", "callee": "bumpTaskRefresh", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/ProductionWorkOrderTabPanel.vue", "source_location": "L245"}, {"caller_nid": "tabs_productionworkordertabpanel_handlesamplereceptionsuccess", "callee": "loadData", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/ProductionWorkOrderTabPanel.vue", "source_location": "L246"}]}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_task_ts", "label": "production-task.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L1"}, {"id": "api_production_task_scopequery", "label": "scopeQuery()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L5"}, {"id": "api_production_task_fetchcreateproductiontask", "label": "fetchCreateProductionTask()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L9"}, {"id": "api_production_task_fetchproductiontasklist", "label": "fetchProductionTaskList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L13"}, {"id": "api_production_task_fetchmyproductiontasks", "label": "fetchMyProductionTasks()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L31"}, {"id": "api_production_task_fetchforwardproductiontask", "label": "fetchForwardProductionTask()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L50"}, {"id": "api_production_task_fetchreassignproductiontask", "label": "fetchReassignProductionTask()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L62"}, {"id": "api_production_task_fetchproductiontaskdetail", "label": "fetchProductionTaskDetail()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L72"}, {"id": "api_production_task_fetchupdateproductiontask", "label": "fetchUpdateProductionTask()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L76"}, {"id": "api_production_task_fetchupdateproductiontaskstatus", "label": "fetchUpdateProductionTaskStatus()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L80"}, {"id": "api_production_task_fetchdeleteproductiontask", "label": "fetchDeleteProductionTask()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L92"}, {"id": "api_production_task_fetchaddtaskstep", "label": "fetchAddTaskStep()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L96"}, {"id": "api_production_task_fetchupdatetaskstep", "label": "fetchUpdateTaskStep()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L108"}, {"id": "api_production_task_fetchdeletetaskstep", "label": "fetchDeleteTaskStep()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L121"}, {"id": "api_production_task_fetchreplacestepreagents", "label": "fetchReplaceStepReagents()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L132"}, {"id": "api_production_task_fetchreplacestepconsumables", "label": "fetchReplaceStepConsumables()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L145"}, {"id": "api_production_task_fetchreplacestepconfiguredreagents", "label": "fetchReplaceStepConfiguredReagents()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L158"}, {"id": "api_production_task_fetchreplacestepdatacollection", "label": "fetchReplaceStepDataCollection()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L171"}, {"id": "api_production_task_fetchsettaskinputs", "label": "fetchSetTaskInputs()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L184"}, {"id": "api_production_task_fetchsettaskoutputs", "label": "fetchSetTaskOutputs()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L196"}, {"id": "api_production_task_fetchreordertasksteps", "label": "fetchReorderTaskSteps()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production-task.ts", "source_location": "L208"}, {"id": "api_production_task_fetchcopytaskstep", "label": "fetchCopyTaskStep()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/Line truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_tabs_inboundresearchdonationtab_vue", "label": "InboundResearchDonationTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/tabs/InboundResearchDonationTab.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_production_view_sections_ts", "label": "production-view-sections.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L1"}, {"id": "composables_production_view_sections_wostatustag", "label": "woStatusTag()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L24"}, {"id": "composables_production_view_sections_sourcetag", "label": "sourceTag()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L34"}, {"id": "composables_production_view_sections_formatmetric", "label": "formatMetric()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L42"}, {"id": "composables_production_view_sections_formatcheckresults", "label": "formatCheckResults()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L47"}, {"id": "composables_production_view_sections_buildbasefields", "label": "buildBaseFields()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L52"}, {"id": "composables_production_view_sections_buildtransportsections", "label": "buildTransportSections()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L65"}, {"id": "composables_production_view_sections_buildreceptionsection", "label": "buildReceptionSection()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L86"}, {"id": "composables_production_view_sections_buildinboundbasicsection", "label": "buildInboundBasicSection()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L117"}, {"id": "composables_production_view_sections_buildoutbounddetail", "label": "buildOutboundDetail()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L154"}, {"id": "composables_production_view_sections_buildfeesection", "label": "buildFeeSection()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L165"}, {"id": "composables_production_view_sections_buildoutboundsections", "label": "buildOutboundSections()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L195"}, {"id": "composables_production_view_sections_buildtemporaryproductionviewsections", "label": "buildTemporaryProductionViewSections()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L216"}, {"id": "composables_production_view_sections_buildinboundcellstorageproductionviewsections", "label": "buildInboundCellStorageProductionViewSections()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L233"}, {"id": "composables_production_view_sections_buildinboundresearchdonationproductionviewsections", "label": "buildInboundResearchDonationProductionViewSections()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L248"}, {"id": "composables_production_view_sections_buildoutboundpilotproductionviewsections", "label": "buildOutboundPilotProductionViewSections()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/production-view-sections.ts", "source_location": "L262"}, {"id": "composables_production_view_sections_buildoutboundbasicexperimentLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcviewattachmenthelpers_ts", "label": "useQcViewAttachmentHelpers.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewAttachmentHelpers.ts", "source_location": "L1"}, {"id": "composables_useqcviewattachmenthelpers_qcattachmentfullurl", "label": "qcAttachmentFullUrl()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewAttachmentHelpers.ts", "source_location": "L5"}, {"id": "composables_useqcviewattachmenthelpers_qcpreviewattachment", "label": "qcPreviewAttachment()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewAttachmentHelpers.ts", "source_location": "L12"}, {"id": "composables_useqcviewattachmenthelpers_qcdownloadattachment", "label": "qcDownloadAttachment()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewAttachmentHelpers.ts", "source_location": "L17"}, {"id": "composables_useqcviewattachmenthelpers_qcattachmentfilesfromcommaurls", "label": "qcAttachmentFilesFromCommaUrls()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewAttachmentHelpers.ts", "source_location": "L21"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcviewattachmenthelpers_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_download_attachment", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewAttachmentHelpers.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcviewattachmenthelpers_ts", "target": "composables_useqcviewattachmenthelpers_qcattachmentfullurl", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewAttachmentHelpers.ts", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcviewattachmenthelpers_ts", "target": "composables_useqcviewattachmenthelpers_qcpreviewattachment", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewAttachmentHelpers.ts", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcviewattachmenthelpers_ts", "target": "composables_useqcviewattachmenthelpers_qcdownloadattachment", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewAttachmentHelpers.ts", "source_location": "L17", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcviewattachmenthelpers_ts", "target": "composables_useqcviewattachmenthelpers_qcattachmentfilesfromcommaurls", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewAttachmentHelpers.ts", "source_location": "L21", "weight": 1.0}, {"source": "composables_useqcviewattachmenthelpers_qcpreviewattachment", "target": "composables_useqcviewattachmenthelpers_qcattachmentfullurl", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewAttachmentHelpers.ts", "source_location": "L13", "weight": 1.0}, {"source": "composables_useqcviewattachmenthelpers_qcdownloadattachment", "target": "composables_useqcviewattachmenthelpers_qcattachmentfullurl", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewAttachmentHelpers.ts", "source_location": "L18", "weight": 1.0}], "raw_calls": [{"caller_nid": "composables_useqcviewattachmenthelpers_qcattachmentfullurl", "callee": "trim", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcViewAttachmentHelpers.ts", "source_location": "L6"}, {"caller_nid": "composables_useqcviewattachmenthelpers_qcattacLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_mine_task_groups_ts", "label": "production-mine-task-groups.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L1"}, {"id": "utils_production_mine_task_groups_dateinrange", "label": "dateInRange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L39"}, {"id": "utils_production_mine_task_groups_keywordmatchesworkorder", "label": "keywordMatchesWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L47"}, {"id": "utils_production_mine_task_groups_resolveworkordertabkey", "label": "resolveWorkOrderTabKey()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L66"}, {"id": "utils_production_mine_task_groups_buildworkorderfromtasks", "label": "buildWorkOrderFromTasks()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L74"}, {"id": "utils_production_mine_task_groups_groupminetasksbyworkorder", "label": "groupMineTasksByWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L106"}, {"id": "utils_production_mine_task_groups_buildpresettasksmap", "label": "buildPresetTasksMap()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L128"}, {"id": "utils_production_mine_task_groups_fetchminetasksbyscope", "label": "fetchMineTasksByScope()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L136"}, {"id": "utils_production_mine_task_groups_fetchallmineproductiontasks", "label": "fetchAllMineProductionTasks()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L167"}, {"id": "utils_production_mine_task_groups_enrichmineentrieswithworkorders", "label": "enrichMineEntriesWithWorkOrders()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L181"}, {"id": "utils_production_mine_task_groups_filtermineentriesbyworkordersearch", "label": "filterMineEntriesByWorkOrderSearch()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L212"}, {"id": "utils_production_mine_task_groups_paginatemineentries", "label": "paginateMineEntries()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L235"}, {"id": "utils_production_mine_task_groups_buildminetablerows", "label": "buildMineTableRows()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L245"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_mine_task_groups_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_mine_task_groups_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_mine_task_groups_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_task", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_mine_task_groups_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/production-mine-task-groups.ts", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_mine_task_groups_ts", Line truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertabpage_ts", "label": "useQcWorkOrderTabPage.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTabPage.ts", "source_location": "L1"}, {"id": "composables_useqcworkordertabpage_formatlocaldate", "label": "formatLocalDate()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTabPage.ts", "source_location": "L25"}, {"id": "composables_useqcworkordertabpage_getdefaultlast30daysrange", "label": "getDefaultLast30DaysRange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTabPage.ts", "source_location": "L32"}, {"id": "composables_useqcworkordertabpage_useqcworkordertabpage", "label": "useQcWorkOrderTabPage()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTabPage.ts", "source_location": "L39"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertabpage_ts", "target": "vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTabPage.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertabpage_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTabPage.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertabpage_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_task", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTabPage.ts", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertabpage_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_mine_task_groups", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTabPage.ts", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertabpage_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTabPage.ts", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertabpage_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_card_meta", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTabPage.ts", "source_location": "L21", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertabpage_ts", "target": "composables_useqcworkordertabpage_formatlocaldate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTabPage.ts", "source_location": "L25", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertabpage_ts", "target": "composables_useqcworkordertabpage_getdefaultlast30daysrange", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTabPage.ts", "source_location": "L32", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertabpage_ts", "target": "composables_useqcworkordertabpage_useqcworkordertabpage", "relatiLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_inbound_view_sections_ts", "label": "inbound-view-sections.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/inbound-view-sections.ts", "source_location": "L1"}, {"id": "composables_inbound_view_sections_formatmetric", "label": "formatMetric()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/inbound-view-sections.ts", "source_location": "L21"}, {"id": "composables_inbound_view_sections_formatcheckresults", "label": "formatCheckResults()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/inbound-view-sections.ts", "source_location": "L26"}, {"id": "composables_inbound_view_sections_buildtransportsection", "label": "buildTransportSection()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/inbound-view-sections.ts", "source_location": "L31"}, {"id": "composables_inbound_view_sections_buildreceptionsection", "label": "buildReceptionSection()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/inbound-view-sections.ts", "source_location": "L53"}, {"id": "composables_inbound_view_sections_buildinboundbasicsection", "label": "buildInboundBasicSection()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/inbound-view-sections.ts", "source_location": "L88"}, {"id": "composables_inbound_view_sections_buildinboundcellstorageviewsections", "label": "buildInboundCellStorageViewSections()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/inbound-view-sections.ts", "source_location": "L125"}, {"id": "composables_inbound_view_sections_buildinboundresearchdonationviewsections", "label": "buildInboundResearchDonationViewSections()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/inbound-view-sections.ts", "source_location": "L142"}, {"id": "composables_inbound_view_sections_buildtemporaryviewsections", "label": "buildTemporaryViewSections()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/inbound-view-sections.ts", "source_location": "L158"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_inbound_view_sections_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/inbound-view-sections.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_inbound_view_sections_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_components_business_system_view_dialog_index_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/inbound-view-sections.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_inbound_view_sections_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_labels", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/inbound-view-sections.ts", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_inbound_view_sections_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_status_tag_registry", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/inbound-view-sections.ts", "source_location": "L10", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_inbound_view_sections_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertaskviewsections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/srLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "label": "qc-work-order-tabs.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L1"}, {"id": "utils_qc_work_order_tabs_getqcworkordertab", "label": "getQcWorkOrderTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L81"}, {"id": "utils_qc_work_order_tabs_parseqcworkordertabkey", "label": "parseQcWorkOrderTabKey()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L85"}, {"id": "utils_qc_work_order_tabs_toworkorderlistquery", "label": "toWorkOrderListQuery()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L95"}, {"id": "utils_qc_work_order_tabs_resolvetabkeyfromworkorder", "label": "resolveTabKeyFromWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L103"}, {"id": "utils_qc_work_order_tabs_tabusesinfusiontimefilter", "label": "tabUsesInfusionTimeFilter()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L121"}, {"id": "utils_qc_work_order_tabs_keywordplaceholderfortab", "label": "keywordPlaceholderForTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L125"}, {"id": "utils_qc_work_order_tabs_filtertimelabelfortab", "label": "filterTimeLabelForTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L134"}, {"id": "utils_qc_work_order_tabs_filtertimehintfortab", "label": "filterTimeHintForTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L140"}, {"id": "utils_qc_work_order_tabs_workordermatchestab", "label": "workOrderMatchesTab()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L149"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "utils_qc_work_order_tabs_getqcworkordertab", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L81", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "utils_qc_work_order_tabs_parseqcworkordertabkey", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L85", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "utils_qc_work_order_tabs_toworkorderlistquery", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L95", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "utils_qc_work_order_tabs_resolvetabkeyfromworkorder", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L103", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "utils_qc_work_order_tabs_tabusesinfusiontimefilter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L121", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "utils_qc_work_order_tabs_keywordplaceholderfortab", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/qc-work-order-tabs.ts", "source_location": "L125", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs_ts", "target": "utils_qc_work_order_tabs_filtertimelabelfortab", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuziloLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionviewdialog_ts", "label": "useProductionViewDialog.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionViewDialog.ts", "source_location": "L1"}, {"id": "composables_useproductionviewdialog_useproductionviewdialog", "label": "useProductionViewDialog()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionViewDialog.ts", "source_location": "L10"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionviewdialog_ts", "target": "vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionViewDialog.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionViewDialog.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_download_attachment", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionViewDialog.ts", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_production_view_sections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionViewDialog.ts", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_production_view_sections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionViewDialog.ts", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionviewdialog_ts", "target": "composables_useproductionviewdialog_useproductionviewdialog", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionViewDialog.ts", "source_location": "L10", "weight": 1.0}], "raw_calls": [{"caller_nid": "composables_useproductionviewdialog_useproductionviewdialog", "callee": "ref", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionViewDialog.ts", "source_location": "L11"}, {"caller_nid": "composables_useproductionviewdialog_useproductionviewdialog", "callee": "ref", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionViewDialog.ts", "source_location": "L12"}, {"caller_nid": "composables_useproductionviewdialog_useproductionviewdialog", "callee": "replace", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionViewDialog.ts", "source_location": "L13"}, {"caller_nid": "composables_useproductionviewdialog_useproductionviewdialog", "callee": "computed", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionViewDialog.ts", "source_location": "L15"}, {"caller_nid": "composables_useproductionviewdialog_useproductionviewdialog", "callee": "computed", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/composables/useProductionViewDialog.ts", "source_location": "L16"}, {"caller_nid": "composables_useproductionviewdialog_useproductionviewdialog", "callee": "computed", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/proLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "label": "QcWorkOrderCardList.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L1"}, {"id": "qc_work_order_qcworkordercardlist_cardindex", "label": "cardIndex()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L108"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L64", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_task", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L65", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_groups", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L66", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_card_meta", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L67", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_card_meta", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L68", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordersamplegroup_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L69", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordersinglecard_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L70", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_qcworkordercardlist_vue", "target": "qc_work_order_qcworkordercardlist_cardindex", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderCardList.vue", "source_location": "L108", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_tabs_outboundbasicexperimenttab_vue", "label": "OutboundBasicExperimentTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/tabs/OutboundBasicExperimentTab.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_productionworkordercardlist_vue", "label": "ProductionWorkOrderCardList.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L1"}, {"id": "production_work_order_productionworkordercardlist_visiblemetafields", "label": "visibleMetaFields()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L225"}, {"id": "production_work_order_productionworkordercardlist_showprotocolfeesummary", "label": "showProtocolFeeSummary()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L229"}, {"id": "production_work_order_productionworkordercardlist_showoutboundfeesummary", "label": "showOutboundFeeSummary()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L233"}, {"id": "production_work_order_productionworkordercardlist_productionwostatustag", "label": "productionWoStatusTag()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L237"}, {"id": "production_work_order_productionworkordercardlist_handlecardselect", "label": "handleCardSelect()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L247"}, {"id": "production_work_order_productionworkordercardlist_cardindex", "label": "cardIndex()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L251"}, {"id": "production_work_order_productionworkordercardlist_isselected", "label": "isSelected()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L255"}, {"id": "production_work_order_productionworkordercardlist_candispatchtask", "label": "canDispatchTask()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L259"}, {"id": "production_work_order_productionworkordercardlist_candispatchqc", "label": "canDispatchQc()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L263"}, {"id": "production_work_order_productionworkordercardlist_dispatchqctooltip", "label": "dispatchQcTooltip()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L269"}, {"id": "production_work_order_productionworkordercardlist_cancomplete", "label": "canComplete()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L276"}, {"id": "production_work_order_productionworkordercardlist_caneditworkorder", "label": "canEditWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L280"}, {"id": "production_work_order_productionworkordercardlist_candeleteworkorder", "label": "canDeleteWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L288"}, {"id": "production_work_order_productionworkordercardlist_hasmoreactions", "label": "hasMoreActions()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L293"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_productionworkordercardlist_vue", "target": "production_work_order_productionworkordercardlist_visiblemetafields", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/ProductionWorkOrderCardList.vue", "source_location": "L225", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_productionLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order_ts", "label": "qc-work-order.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L1"}, {"id": "api_qc_work_order_fetchqcworkorderlist", "label": "fetchQcWorkOrderList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L174"}, {"id": "api_qc_work_order_fetchqcworkorderdetail", "label": "fetchQcWorkOrderDetail()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L194"}, {"id": "api_qc_work_order_fetchconfigureqcworkorder", "label": "fetchConfigureQcWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L200"}, {"id": "api_qc_work_order_fetchcreateqcworkorder", "label": "fetchCreateQcWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L217"}, {"id": "api_qc_work_order_fetchupdateqcworkorder", "label": "fetchUpdateQcWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L232"}, {"id": "api_qc_work_order_fetchdeleteqcworkorder", "label": "fetchDeleteQcWorkOrder()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L242"}, {"id": "api_qc_work_order_fetchoutboundqcdetail", "label": "fetchOutboundQcDetail()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L306"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_http", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order_ts", "target": "api_qc_work_order_fetchqcworkorderlist", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L174", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order_ts", "target": "api_qc_work_order_fetchqcworkorderdetail", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L194", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order_ts", "target": "api_qc_work_order_fetchconfigureqcworkorder", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L200", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order_ts", "target": "api_qc_work_order_fetchcreateqcworkorder", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L217", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order_ts", "target": "api_qc_work_order_fetchupdateqcworkorder", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L232", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order_ts", "target": "api_qc_work_order_fetchdeleteqcworkorder", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L242", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order_ts", "target": "api_qc_work_order_fetchoutboundqcdetail", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L306", "weight": 1.0}], "raw_calls": [{"caller_nid": "api_qc_work_order_fetchqcworkorderlist", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L188"}, {"caller_nid": "api_qc_work_order_fetchqcworkorderdetail", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L195"}, {"caller_nid": "api_qc_work_order_fetchconfigureqcworkorder", "callee": "post", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/qc-work-order.ts", "source_location": "L211"}, {"caller_nid": "api_qc_work_order_fetchcreateqcworkoLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L1"}, {"id": "my_qc_task_index_formatlocaldate", "label": "formatLocalDate()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L207"}, {"id": "my_qc_task_index_buildworkordersearchfilters", "label": "buildWorkOrderSearchFilters()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L235"}, {"id": "my_qc_task_index_loaddata", "label": "loadData()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L259"}, {"id": "my_qc_task_index_handlesearch", "label": "handleSearch()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L281"}, {"id": "my_qc_task_index_handlereset", "label": "handleReset()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L286"}, {"id": "my_qc_task_index_handletypetabchange", "label": "handleTypeTabChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L299"}, {"id": "my_qc_task_index_handletabchange", "label": "handleTabChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L311"}, {"id": "my_qc_task_index_handleworkordertaskschanged", "label": "handleWorkOrderTasksChanged()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L317"}, {"id": "my_qc_task_index_onworkorderpagechange", "label": "onWorkOrderPageChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L322"}, {"id": "my_qc_task_index_onworkorderpagesizechange", "label": "onWorkOrderPageSizeChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L327"}, {"id": "my_qc_task_index_handleview", "label": "handleView()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L333"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "my_qc_task_index_formatlocaldate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L207", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "my_qc_task_index_buildworkordersearchfilters", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L235", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "my_qc_task_index_loaddata", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L259", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "my_qc_task_index_handlesearch", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L281", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "my_qc_task_index_handlereset", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qc-task/index.vue", "source_location": "L286", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_my_qc_task_index_vue", "target": "my_qc_task_index_handletypetabchange", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/my-qLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertaskviewsections_ts", "label": "useQcWorkOrderTaskViewSections.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTaskViewSections.ts", "source_location": "L1"}, {"id": "composables_useqcworkordertaskviewsections_taskattachmentslotname", "label": "taskAttachmentSlotName()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTaskViewSections.ts", "source_location": "L30"}, {"id": "composables_useqcworkordertaskviewsections_taskmaterialslotname", "label": "taskMaterialSlotName()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTaskViewSections.ts", "source_location": "L34"}, {"id": "composables_useqcworkordertaskviewsections_materialrowsfromapi", "label": "materialRowsFromApi()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTaskViewSections.ts", "source_location": "L38"}, {"id": "composables_useqcworkordertaskviewsections_loadenrichedqcworkordertasks", "label": "loadEnrichedQcWorkOrderTasks()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTaskViewSections.ts", "source_location": "L52"}, {"id": "composables_useqcworkordertaskviewsections_conclusiontagtype", "label": "conclusionTagType()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTaskViewSections.ts", "source_location": "L76"}, {"id": "composables_useqcworkordertaskviewsections_taskstatustagtype", "label": "taskStatusTagType()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTaskViewSections.ts", "source_location": "L82"}, {"id": "composables_useqcworkordertaskviewsections_formatconfiguredlabitems", "label": "formatConfiguredLabItems()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTaskViewSections.ts", "source_location": "L88"}, {"id": "composables_useqcworkordertaskviewsections_formatconfiguredthirditems", "label": "formatConfiguredThirdItems()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTaskViewSections.ts", "source_location": "L92"}, {"id": "composables_useqcworkordertaskviewsections_buildconfiguredonlysection", "label": "buildConfiguredOnlySection()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTaskViewSections.ts", "source_location": "L103"}, {"id": "composables_useqcworkordertaskviewsections_buildtasktypesections", "label": "buildTaskTypeSections()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTaskViewSections.ts", "source_location": "L121"}, {"id": "composables_useqcworkordertaskviewsections_appendtaskresultsections", "label": "appendTaskResultSections()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTaskViewSections.ts", "source_location": "L208"}, {"id": "composables_useqcworkordertaskviewsections_useqcworkordertaskslothelpers", "label": "useQcWorkOrderTaskSlotHelpers()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTaskViewSections.ts", "source_location": "L240"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertaskviewsections_ts", "target": "vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTaskViewSections.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertaskviewsections_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_money_format", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useQcWorkOrderTaskViewSections.ts", "soLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_view_dialog_registry_ts", "label": "view-dialog-registry.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L1"}, {"id": "view_dialogs_view_dialog_registry_getproductionworkorderviewdialogcomponent", "label": "getProductionWorkOrderViewDialogComponent()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L22"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_view_dialog_registry_ts", "target": "vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_view_dialog_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_production_work_order_tabs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_view_dialog_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_inboundcellstorageproductionviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_view_dialog_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_inboundresearchdonationproductionviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_view_dialog_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_outboundpilotproductionviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_view_dialog_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_outboundbasicexperimentproductionviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_view_dialog_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_outboundclinicalproductionviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_view_dialog_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_temporaryproductionviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_view_dialog_registry_ts", "target": "view_dialogs_view_dialog_registry_getproductionworkorderviewdialogcomponent", "relation": "contains", "confidence": "EXTRACTED", "soLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/index.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_outboundpilotproductionviewdialog_vue", "label": "OutboundPilotProductionViewDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/OutboundPilotProductionViewDialog.vue", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_outboundpilotproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_productionworkorderviewdialogframe_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/OutboundPilotProductionViewDialog.vue", "source_location": "L22", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_outboundpilotproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_useproductionviewdialog", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/OutboundPilotProductionViewDialog.vue", "source_location": "L23", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_view_dialogs_outboundpilotproductionviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_composables_production_view_sections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/view-dialogs/OutboundPilotProductionViewDialog.vue", "source_location": "L24", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/index.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_view_dialog_registry_ts", "label": "view-dialog-registry.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_view_dialog_registry_ts", "target": "vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_view_dialog_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_qc_work_order_tabs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_view_dialog_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundcellstorageviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_view_dialog_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_inboundresearchdonationviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_view_dialog_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_outboundpilotviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_view_dialog_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_outboundbasicexperimentviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_view_dialog_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_outboundclinicalviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_view_dialog_registry_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_view_dialogs_temporaryqcviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/view-dialogs/view-dialog-registry.ts", "source_location": "L8", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useinboundqcviewdialog_ts", "label": "useInboundQcViewDialog.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useInboundQcViewDialog.ts", "source_location": "L1"}, {"id": "composables_useinboundqcviewdialog_useinboundqcviewdialog", "label": "useInboundQcViewDialog()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useInboundQcViewDialog.ts", "source_location": "L17"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useinboundqcviewdialog_ts", "target": "vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useInboundQcViewDialog.ts", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useinboundqcviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_qc_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useInboundQcViewDialog.ts", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useinboundqcviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_components_business_system_view_dialog_index_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useInboundQcViewDialog.ts", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useinboundqcviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcworkordertaskviewsections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useInboundQcViewDialog.ts", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useinboundqcviewdialog_ts", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useqcviewattachmenthelpers", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useInboundQcViewDialog.ts", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_qc_work_order_composables_useinboundqcviewdialog_ts", "target": "composables_useinboundqcviewdialog_useinboundqcviewdialog", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useInboundQcViewDialog.ts", "source_location": "L17", "weight": 1.0}], "raw_calls": [{"caller_nid": "composables_useinboundqcviewdialog_useinboundqcviewdialog", "callee": "ref", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useInboundQcViewDialog.ts", "source_location": "L20"}, {"caller_nid": "composables_useinboundqcviewdialog_useinboundqcviewdialog", "callee": "ref", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useInboundQcViewDialog.ts", "source_location": "L21"}, {"caller_nid": "composables_useinboundqcviewdialog_useinboundqcviewdialog", "callee": "ref", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useInboundQcViewDialog.ts", "source_location": "L22"}, {"caller_nid": "composables_useinboundqcviewdialog_useinboundqcviewdialog", "callee": "computed", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useInboundQcViewDialog.ts", "source_location": "L24"}, {"caller_nid": "composables_useinboundqcviewdialog_useinboundqcviewdialog", "callee": "useQcWorkOrderTaskSlotHelpers", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-work-order/composables/useInboundQcViewDialog.ts", "source_location": "L29"}, {"caller_nid": "composables_useinboundqcviewdialog_useinboundqcviewdialog", "callee": "computed", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/Line truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/index.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
@@ -1,24 +1,28 @@
|
||||
import type { ProductionWorkOrderItem } from '@/api/production-work-order'
|
||||
import { fetchProductionWorkOrderDetail } from '@/api/production-work-order'
|
||||
import { fetchMyProductionTasks } from '@/api/production-task'
|
||||
|
||||
export type ProductionWorkOrderTypeTab = 'inbound' | 'temporary' | 'outbound'
|
||||
import type { ProductionWorkOrderTabKey } from '@/utils/production-work-order-tabs'
|
||||
import {
|
||||
resolveTabKeyFromWorkOrder,
|
||||
tabUsesInfusionTimeFilter,
|
||||
getProductionWorkOrderTab,
|
||||
toWorkOrderListQuery
|
||||
} from '@/utils/production-work-order-tabs'
|
||||
|
||||
export type ProductionTaskMineFilters = {
|
||||
keyword?: string
|
||||
taskStatus?: string
|
||||
workOrderType?: ProductionWorkOrderTypeTab
|
||||
tabKey: ProductionWorkOrderTabKey
|
||||
}
|
||||
|
||||
export type MineWorkOrderSearchFilters = {
|
||||
keyword?: string
|
||||
workOrderStatus?: string
|
||||
bizType?: string
|
||||
createTimeStart?: string
|
||||
createTimeEnd?: string
|
||||
infusionTimeStart?: string
|
||||
infusionTimeEnd?: string
|
||||
activeTypeTab: ProductionWorkOrderTypeTab
|
||||
tabKey: ProductionWorkOrderTabKey
|
||||
}
|
||||
|
||||
export type ProductionTaskRow = Record<string, any>
|
||||
@@ -26,7 +30,7 @@ export type ProductionTaskRow = Record<string, any>
|
||||
export type MineWorkOrderEntry = {
|
||||
workOrderId: string
|
||||
workOrder: ProductionWorkOrderItem
|
||||
activeTypeTab: ProductionWorkOrderTypeTab
|
||||
tabKey: ProductionWorkOrderTabKey
|
||||
tasks: ProductionTaskRow[]
|
||||
}
|
||||
|
||||
@@ -43,43 +47,51 @@ function dateInRange(value: string | undefined, start?: string, end?: string): b
|
||||
function keywordMatchesWorkOrder(
|
||||
row: ProductionWorkOrderItem,
|
||||
keyword: string,
|
||||
tab: ProductionWorkOrderTypeTab
|
||||
tabKey: ProductionWorkOrderTabKey
|
||||
): boolean {
|
||||
const kw = keyword.trim().toLowerCase()
|
||||
if (!kw) return true
|
||||
const tab = getProductionWorkOrderTab(tabKey)!
|
||||
const fields =
|
||||
tab === 'temporary'
|
||||
tabKey === 'temporary'
|
||||
? [row.workOrderNo]
|
||||
: tab === 'outbound'
|
||||
? [row.workOrderNo, row.applicationNo, row.applicationName]
|
||||
: [row.workOrderNo, row.sampleCode, row.labStorageCode]
|
||||
: tabKey === 'outbound_basic_experiment'
|
||||
? [row.workOrderNo, row.applicationNo, row.projectTitle, row.customerName, row.applicationName]
|
||||
: tab.group === 'outbound'
|
||||
? [row.workOrderNo, row.applicationNo, row.applicationName, row.patientName]
|
||||
: [row.workOrderNo, row.sampleCode, row.labStorageCode]
|
||||
return fields.some((f) => (f || '').toLowerCase().includes(kw))
|
||||
}
|
||||
|
||||
export function resolveWorkOrderTypeTab(task: ProductionTaskRow): ProductionWorkOrderTypeTab {
|
||||
const t = String(task.workOrderType || task.orderSource || 'inbound').trim()
|
||||
if (t === 'outbound' || t === 'temporary' || t === 'inbound') return t
|
||||
return 'inbound'
|
||||
export function resolveWorkOrderTabKey(task: ProductionTaskRow): ProductionWorkOrderTabKey {
|
||||
return resolveTabKeyFromWorkOrder({
|
||||
workOrderType: task.workOrderType || task.orderSource,
|
||||
receptionSource: task.receptionSource,
|
||||
bizType: task.bizType
|
||||
})
|
||||
}
|
||||
|
||||
export function buildWorkOrderFromTasks(tasks: ProductionTaskRow[]): ProductionWorkOrderItem {
|
||||
const t = tasks[0]
|
||||
const woType = resolveWorkOrderTypeTab(t)
|
||||
const tabKey = resolveWorkOrderTabKey(t)
|
||||
const tab = getProductionWorkOrderTab(tabKey)!
|
||||
return {
|
||||
id: t.workOrderId,
|
||||
workOrderNo: t.workOrderNo || '—',
|
||||
workOrderType: woType,
|
||||
workOrderType: tab.workOrderType,
|
||||
workOrderStatus: t.workOrderStatus || '',
|
||||
protocolNo: t.protocolNo || '',
|
||||
sampleCode: t.sampleCode || '',
|
||||
receptionSource: t.receptionSource,
|
||||
receptionSourceLabel: t.receptionSourceLabel,
|
||||
protocolStatus: t.protocolStatus,
|
||||
bizType: woType === 'outbound' ? t.bizType : undefined,
|
||||
bizTypeLabel: woType === 'outbound' ? t.bizTypeLabel : undefined,
|
||||
bizType: tab.group === 'outbound' ? t.bizType : undefined,
|
||||
bizTypeLabel: tab.group === 'outbound' ? t.bizTypeLabel : undefined,
|
||||
applicationNo: t.applicationNo,
|
||||
applicationName: t.applicationName,
|
||||
channelName: t.channelName,
|
||||
projectTitle: t.projectTitle,
|
||||
customerName: t.customerName,
|
||||
patientName: t.patientName,
|
||||
sortNo: t.sortNo,
|
||||
totalCourseCount: t.totalCourseCount,
|
||||
@@ -109,7 +121,7 @@ export function groupMineTasksByWorkOrder(tasks: ProductionTaskRow[]): MineWorkO
|
||||
return {
|
||||
workOrderId,
|
||||
workOrder: buildWorkOrderFromTasks(groupTasks),
|
||||
activeTypeTab: resolveWorkOrderTypeTab(groupTasks[0]),
|
||||
tabKey: resolveWorkOrderTabKey(groupTasks[0]),
|
||||
tasks: groupTasks
|
||||
}
|
||||
})
|
||||
@@ -127,6 +139,8 @@ async function fetchMineTasksByScope(
|
||||
scope: 'current' | 'history',
|
||||
filters: ProductionTaskMineFilters
|
||||
): Promise<ProductionTaskRow[]> {
|
||||
const tab = getProductionWorkOrderTab(filters.tabKey)!
|
||||
const listQuery = toWorkOrderListQuery(tab)
|
||||
const pageSize = MINE_TASK_FETCH_PAGE_SIZE
|
||||
let page = 1
|
||||
const all: ProductionTaskRow[] = []
|
||||
@@ -138,7 +152,9 @@ async function fetchMineTasksByScope(
|
||||
pageSize,
|
||||
keyword: filters.keyword || undefined,
|
||||
taskStatus: filters.taskStatus || undefined,
|
||||
workOrderType: filters.workOrderType || undefined
|
||||
workOrderType: listQuery.workOrderType,
|
||||
receptionSource: listQuery.receptionSource,
|
||||
bizType: listQuery.bizType
|
||||
})
|
||||
const list = res.list || []
|
||||
all.push(...list)
|
||||
@@ -189,7 +205,8 @@ export async function enrichMineEntriesWithWorkOrders(
|
||||
...detail,
|
||||
paymentSummary: detail.paymentSummary ?? entry.workOrder.paymentSummary,
|
||||
feeSummary: detail.feeSummary ?? entry.workOrder.feeSummary
|
||||
}
|
||||
},
|
||||
tabKey: resolveTabKeyFromWorkOrder(detail)
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -198,15 +215,15 @@ export function filterMineEntriesByWorkOrderSearch(
|
||||
entries: MineWorkOrderEntry[],
|
||||
filters: MineWorkOrderSearchFilters
|
||||
): MineWorkOrderEntry[] {
|
||||
const tab = filters.activeTypeTab
|
||||
const tabKey = filters.tabKey
|
||||
const tab = getProductionWorkOrderTab(tabKey)!
|
||||
return entries.filter((entry) => {
|
||||
const row = entry.workOrder
|
||||
if (row.workOrderType && row.workOrderType !== tab) return false
|
||||
if (entry.activeTypeTab !== tab) return false
|
||||
if (resolveTabKeyFromWorkOrder(row) !== tabKey) return false
|
||||
if (entry.tabKey !== tabKey) return false
|
||||
if (filters.workOrderStatus && row.workOrderStatus !== filters.workOrderStatus) return false
|
||||
if (tab === 'outbound' && filters.bizType && row.bizType !== filters.bizType) return false
|
||||
if (!keywordMatchesWorkOrder(row, filters.keyword || '', tab)) return false
|
||||
if (tab === 'outbound') {
|
||||
if (!keywordMatchesWorkOrder(row, filters.keyword || '', tabKey)) return false
|
||||
if (tabUsesInfusionTimeFilter(tab)) {
|
||||
if (!dateInRange(row.infusionTime, filters.infusionTimeStart, filters.infusionTimeEnd)) {
|
||||
return false
|
||||
}
|
||||
|
||||
@@ -0,0 +1,263 @@
|
||||
import type { ProductionWorkOrderItem } from '@/api/production-work-order'
|
||||
import { receptionSourceLabel } from '@/utils/qc-labels'
|
||||
import {
|
||||
donationStatusLabel,
|
||||
donationStatusTagType,
|
||||
protocolStatusLabel,
|
||||
protocolStatusTagType
|
||||
} from '@/utils/status-tag-registry'
|
||||
import type { TagType } from '@/utils/status-tag-registry'
|
||||
import type { ProductionWorkOrderTabKey } from '@/utils/production-work-order-tabs'
|
||||
import { formatMoneyDisplay } from '@/utils/money-format'
|
||||
|
||||
export type CardMetaFieldKind = 'text' | 'tag'
|
||||
|
||||
export type CardMetaField = {
|
||||
label: string
|
||||
kind?: CardMetaFieldKind
|
||||
getValue: (row: ProductionWorkOrderItem) => string
|
||||
getTagType?: (row: ProductionWorkOrderItem) => TagType | undefined
|
||||
visible?: (row: ProductionWorkOrderItem) => boolean
|
||||
wide?: boolean
|
||||
}
|
||||
|
||||
export type ProductionWorkOrderCardMetaConfig = {
|
||||
tabKey: ProductionWorkOrderTabKey
|
||||
showProtocolFeeSummary: boolean
|
||||
showOutboundFeeSummary: boolean
|
||||
metaFields: CardMetaField[]
|
||||
allowDispatchQc: boolean
|
||||
allowSampleReception: boolean
|
||||
allowDispatchComplete: boolean
|
||||
allowEditRemark: boolean
|
||||
allowDelete: boolean
|
||||
}
|
||||
|
||||
const RECEPTION_OVER_HOURS_MS = 24 * 60 * 60 * 1000
|
||||
|
||||
function formatOutboundScheduleSortNo(row: ProductionWorkOrderItem) {
|
||||
const n = row.sortNo
|
||||
if (n == null || n === '' || Number(n) <= 0) return '—'
|
||||
return `第${Number(n)}次`
|
||||
}
|
||||
|
||||
function formatOutboundScheduleTotalCount(row: ProductionWorkOrderItem) {
|
||||
const n = row.totalCourseCount
|
||||
if (n == null || n === '' || Number(n) <= 0) return '—'
|
||||
return `共${Number(n)}次`
|
||||
}
|
||||
|
||||
function parseReceptionTime(value?: string | null): Date | null {
|
||||
const s = String(value || '').trim()
|
||||
if (!s) return null
|
||||
const dt = new Date(s.replace(/-/g, '/'))
|
||||
return Number.isNaN(dt.getTime()) ? null : dt
|
||||
}
|
||||
|
||||
function receptionOver24HoursLabel(receptionTime?: string | null): string {
|
||||
const dt = parseReceptionTime(receptionTime)
|
||||
if (!dt) return '—'
|
||||
if (Date.now() - dt.getTime() > RECEPTION_OVER_HOURS_MS) return '是'
|
||||
return '否'
|
||||
}
|
||||
|
||||
function receptionOver24HoursTagType(receptionTime?: string | null): TagType {
|
||||
const dt = parseReceptionTime(receptionTime)
|
||||
if (!dt) return 'info'
|
||||
if (Date.now() - dt.getTime() > RECEPTION_OVER_HOURS_MS) return 'danger'
|
||||
return 'success'
|
||||
}
|
||||
|
||||
function protocolStatusLabelForTab(
|
||||
row: ProductionWorkOrderItem,
|
||||
tabKey: ProductionWorkOrderTabKey
|
||||
): string {
|
||||
const status = String(row.protocolStatus || '')
|
||||
if (tabKey === 'inbound_research_donation') return donationStatusLabel(status)
|
||||
return protocolStatusLabel(status)
|
||||
}
|
||||
|
||||
function protocolStatusTagTypeForTab(
|
||||
row: ProductionWorkOrderItem,
|
||||
tabKey: ProductionWorkOrderTabKey
|
||||
): TagType {
|
||||
const status = String(row.protocolStatus || '')
|
||||
if (tabKey === 'inbound_research_donation') return donationStatusTagType(status)
|
||||
return protocolStatusTagType(status)
|
||||
}
|
||||
|
||||
function buildInboundMetaFields(tabKey: ProductionWorkOrderTabKey): CardMetaField[] {
|
||||
const fields: CardMetaField[] = [
|
||||
{ label: '样本编码', getValue: (row) => row.sampleCode || '—' },
|
||||
{ label: '实验室入库编码', getValue: (row) => row.labStorageCode || '—' }
|
||||
]
|
||||
if (tabKey === 'inbound_cell_storage') {
|
||||
fields.push({
|
||||
label: '来源类型',
|
||||
kind: 'tag',
|
||||
getValue: (row) => row.receptionSourceLabel || receptionSourceLabel(row.receptionSource || 'cell_storage'),
|
||||
getTagType: () => 'success'
|
||||
})
|
||||
}
|
||||
fields.push(
|
||||
{
|
||||
label: tabKey === 'inbound_research_donation' ? '捐赠状态' : '协议状态',
|
||||
kind: 'tag',
|
||||
getValue: (row) => protocolStatusLabelForTab(row, tabKey),
|
||||
getTagType: (row) => protocolStatusTagTypeForTab(row, tabKey),
|
||||
visible: (row) => !!String(row.protocolStatus || '').trim()
|
||||
},
|
||||
{ label: '样本类型', getValue: (row) => row.sampleTypeName || '—' },
|
||||
{ label: '接收经手人', getValue: (row) => row.handlerName || '—' },
|
||||
{
|
||||
label: '是否超24小时',
|
||||
kind: 'tag',
|
||||
getValue: (row) => receptionOver24HoursLabel(row.receptionTime),
|
||||
getTagType: (row) => receptionOver24HoursTagType(row.receptionTime),
|
||||
visible: (row) => !!row.receptionTime
|
||||
},
|
||||
{ label: '接收时间', getValue: (row) => row.receptionTime || '—' },
|
||||
{ label: '创建时间', getValue: (row) => row.createTime || '—' },
|
||||
{
|
||||
label: '备注',
|
||||
getValue: (row) => row.remark || '—',
|
||||
visible: (row) => !!row.remark,
|
||||
wide: true
|
||||
}
|
||||
)
|
||||
return fields
|
||||
}
|
||||
|
||||
const outboundPilotClinicalFields: CardMetaField[] = [
|
||||
{ label: '申请单号', getValue: (row) => row.applicationNo || '—' },
|
||||
{ label: '申请单名称', getValue: (row) => row.applicationName || '—' },
|
||||
{ label: '渠道名称', getValue: (row) => row.channelName || '—' },
|
||||
{ label: '患者姓名', getValue: (row) => row.patientName || '—' },
|
||||
{ label: '第几次', getValue: formatOutboundScheduleSortNo },
|
||||
{ label: '总次数', getValue: formatOutboundScheduleTotalCount },
|
||||
{ label: '输注时间', getValue: (row) => row.infusionTime || '—' },
|
||||
{ label: '创建时间', getValue: (row) => row.createTime || '—' },
|
||||
{
|
||||
label: '备注',
|
||||
getValue: (row) => row.remark || '—',
|
||||
visible: (row) => !!row.remark,
|
||||
wide: true
|
||||
}
|
||||
]
|
||||
|
||||
const outboundBasicExperimentFields: CardMetaField[] = [
|
||||
{ label: '申请单号', getValue: (row) => row.applicationNo || '—' },
|
||||
{
|
||||
label: '课题名称',
|
||||
getValue: (row) => row.projectTitle || row.applicationName || '—'
|
||||
},
|
||||
{ label: '客户名称', getValue: (row) => row.customerName || '—' },
|
||||
{ label: '交付时间', getValue: (row) => row.infusionTime || '—' },
|
||||
{
|
||||
label: '售卖金额',
|
||||
getValue: (row) => {
|
||||
const amount = row.feeSummary?.saleAmount
|
||||
if (amount == null || amount === '') return '—'
|
||||
return `¥${formatMoneyDisplay(amount)}`
|
||||
},
|
||||
visible: (row) => row.feeSummary?.saleAmount != null && row.feeSummary?.saleAmount !== ''
|
||||
},
|
||||
{ label: '创建时间', getValue: (row) => row.createTime || '—' },
|
||||
{
|
||||
label: '备注',
|
||||
getValue: (row) => row.remark || '—',
|
||||
visible: (row) => !!row.remark,
|
||||
wide: true
|
||||
}
|
||||
]
|
||||
|
||||
const temporaryFields: CardMetaField[] = [
|
||||
{ label: '备注', getValue: (row) => row.remark || '—' },
|
||||
{ label: '创建时间', getValue: (row) => row.createTime || '—' }
|
||||
]
|
||||
|
||||
const CARD_META_BY_TAB: Record<ProductionWorkOrderTabKey, ProductionWorkOrderCardMetaConfig> = {
|
||||
inbound_cell_storage: {
|
||||
tabKey: 'inbound_cell_storage',
|
||||
showProtocolFeeSummary: true,
|
||||
showOutboundFeeSummary: false,
|
||||
metaFields: buildInboundMetaFields('inbound_cell_storage'),
|
||||
allowDispatchQc: true,
|
||||
allowSampleReception: true,
|
||||
allowDispatchComplete: true,
|
||||
allowEditRemark: true,
|
||||
allowDelete: true
|
||||
},
|
||||
inbound_research_donation: {
|
||||
tabKey: 'inbound_research_donation',
|
||||
showProtocolFeeSummary: false,
|
||||
showOutboundFeeSummary: false,
|
||||
metaFields: buildInboundMetaFields('inbound_research_donation'),
|
||||
allowDispatchQc: true,
|
||||
allowSampleReception: true,
|
||||
allowDispatchComplete: true,
|
||||
allowEditRemark: true,
|
||||
allowDelete: true
|
||||
},
|
||||
outbound_pilot_service: {
|
||||
tabKey: 'outbound_pilot_service',
|
||||
showProtocolFeeSummary: false,
|
||||
showOutboundFeeSummary: false,
|
||||
metaFields: outboundPilotClinicalFields,
|
||||
allowDispatchQc: false,
|
||||
allowSampleReception: false,
|
||||
allowDispatchComplete: true,
|
||||
allowEditRemark: true,
|
||||
allowDelete: false
|
||||
},
|
||||
outbound_basic_experiment: {
|
||||
tabKey: 'outbound_basic_experiment',
|
||||
showProtocolFeeSummary: false,
|
||||
showOutboundFeeSummary: true,
|
||||
metaFields: outboundBasicExperimentFields,
|
||||
allowDispatchQc: false,
|
||||
allowSampleReception: false,
|
||||
allowDispatchComplete: true,
|
||||
allowEditRemark: true,
|
||||
allowDelete: false
|
||||
},
|
||||
outbound_clinical_application: {
|
||||
tabKey: 'outbound_clinical_application',
|
||||
showProtocolFeeSummary: false,
|
||||
showOutboundFeeSummary: true,
|
||||
metaFields: outboundPilotClinicalFields,
|
||||
allowDispatchQc: false,
|
||||
allowSampleReception: false,
|
||||
allowDispatchComplete: true,
|
||||
allowEditRemark: true,
|
||||
allowDelete: false
|
||||
},
|
||||
temporary: {
|
||||
tabKey: 'temporary',
|
||||
showProtocolFeeSummary: false,
|
||||
showOutboundFeeSummary: false,
|
||||
metaFields: temporaryFields,
|
||||
allowDispatchQc: false,
|
||||
allowSampleReception: false,
|
||||
allowDispatchComplete: false,
|
||||
allowEditRemark: false,
|
||||
allowDelete: true
|
||||
}
|
||||
}
|
||||
|
||||
/** 旧 3 Tab 兼容映射(P5 壳层改造前) */
|
||||
const LEGACY_TAB_MAP: Record<'inbound' | 'outbound' | 'temporary', ProductionWorkOrderTabKey> = {
|
||||
inbound: 'inbound_cell_storage',
|
||||
outbound: 'outbound_pilot_service',
|
||||
temporary: 'temporary'
|
||||
}
|
||||
|
||||
export function getCardMetaConfig(tabKey: ProductionWorkOrderTabKey): ProductionWorkOrderCardMetaConfig {
|
||||
return CARD_META_BY_TAB[tabKey]
|
||||
}
|
||||
|
||||
export function getCardMetaConfigForLegacyTab(
|
||||
activeTypeTab: 'inbound' | 'outbound' | 'temporary'
|
||||
): ProductionWorkOrderCardMetaConfig {
|
||||
return getCardMetaConfig(LEGACY_TAB_MAP[activeTypeTab])
|
||||
}
|
||||
@@ -0,0 +1,154 @@
|
||||
import type { ProductionWorkOrderItem } from '@/api/production-work-order'
|
||||
|
||||
export type ProductionWorkOrderTabKey =
|
||||
| 'inbound_cell_storage'
|
||||
| 'inbound_research_donation'
|
||||
| 'outbound_pilot_service'
|
||||
| 'outbound_basic_experiment'
|
||||
| 'outbound_clinical_application'
|
||||
| 'temporary'
|
||||
|
||||
export type ProductionWorkOrderTabGroup = 'inbound' | 'outbound' | 'temporary'
|
||||
|
||||
export type ProductionWorkOrderTabConfig = {
|
||||
key: ProductionWorkOrderTabKey
|
||||
label: string
|
||||
group: ProductionWorkOrderTabGroup
|
||||
workOrderType: 'inbound' | 'outbound' | 'temporary'
|
||||
receptionSource?: 'cell_storage' | 'research_donation'
|
||||
bizType?: 'pilot_service' | 'basic_experiment' | 'clinical_application'
|
||||
listLayout: 'inbound-grouped' | 'standalone'
|
||||
/** 侧栏 Tab 不展示(保留 key 供路由/数据解析) */
|
||||
hidden?: boolean
|
||||
}
|
||||
|
||||
export const PRODUCTION_WORK_ORDER_TABS: ProductionWorkOrderTabConfig[] = [
|
||||
{
|
||||
key: 'inbound_cell_storage',
|
||||
label: '细胞存储生产',
|
||||
group: 'inbound',
|
||||
workOrderType: 'inbound',
|
||||
receptionSource: 'cell_storage',
|
||||
listLayout: 'inbound-grouped'
|
||||
},
|
||||
{
|
||||
key: 'inbound_research_donation',
|
||||
label: '科研捐赠生产',
|
||||
group: 'inbound',
|
||||
workOrderType: 'inbound',
|
||||
receptionSource: 'research_donation',
|
||||
listLayout: 'inbound-grouped'
|
||||
},
|
||||
{
|
||||
key: 'outbound_pilot_service',
|
||||
label: '中试服务生产',
|
||||
group: 'outbound',
|
||||
workOrderType: 'outbound',
|
||||
bizType: 'pilot_service',
|
||||
listLayout: 'standalone'
|
||||
},
|
||||
{
|
||||
key: 'outbound_basic_experiment',
|
||||
label: '基础实验生产',
|
||||
group: 'outbound',
|
||||
workOrderType: 'outbound',
|
||||
bizType: 'basic_experiment',
|
||||
listLayout: 'standalone'
|
||||
},
|
||||
{
|
||||
key: 'outbound_clinical_application',
|
||||
label: '临床应用生产',
|
||||
group: 'outbound',
|
||||
workOrderType: 'outbound',
|
||||
bizType: 'clinical_application',
|
||||
listLayout: 'standalone',
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
key: 'temporary',
|
||||
label: '临时生产',
|
||||
group: 'temporary',
|
||||
workOrderType: 'temporary',
|
||||
listLayout: 'standalone'
|
||||
}
|
||||
]
|
||||
|
||||
/** 生产工单 / 我的生产任务 Tab 栏展示项(不含 hidden) */
|
||||
export const PRODUCTION_WORK_ORDER_VISIBLE_TABS = PRODUCTION_WORK_ORDER_TABS.filter((t) => !t.hidden)
|
||||
|
||||
export const DEFAULT_PRODUCTION_WORK_ORDER_TAB: ProductionWorkOrderTabKey = 'inbound_cell_storage'
|
||||
|
||||
export function getProductionWorkOrderTab(key: string): ProductionWorkOrderTabConfig | undefined {
|
||||
return PRODUCTION_WORK_ORDER_TABS.find((t) => t.key === key)
|
||||
}
|
||||
|
||||
export function parseProductionWorkOrderTabKey(raw?: string | null): ProductionWorkOrderTabKey {
|
||||
const k = (raw || '').trim()
|
||||
const tab = getProductionWorkOrderTab(k)
|
||||
if (tab && !tab.hidden) return tab.key
|
||||
if (k === 'inbound') return 'inbound_cell_storage'
|
||||
if (k === 'outbound') return 'outbound_pilot_service'
|
||||
if (k === 'temporary') return 'temporary'
|
||||
return DEFAULT_PRODUCTION_WORK_ORDER_TAB
|
||||
}
|
||||
|
||||
export function toWorkOrderListQuery(tab: ProductionWorkOrderTabConfig) {
|
||||
return {
|
||||
workOrderType: tab.workOrderType,
|
||||
receptionSource: tab.receptionSource,
|
||||
bizType: tab.bizType
|
||||
}
|
||||
}
|
||||
|
||||
export function resolveTabKeyFromWorkOrder(row: {
|
||||
workOrderType?: string
|
||||
receptionSource?: string
|
||||
bizType?: string
|
||||
}): ProductionWorkOrderTabKey {
|
||||
const wt = row.workOrderType || 'inbound'
|
||||
if (wt === 'temporary') return 'temporary'
|
||||
if (wt === 'outbound') {
|
||||
const bt = row.bizType || 'pilot_service'
|
||||
if (bt === 'basic_experiment') return 'outbound_basic_experiment'
|
||||
if (bt === 'clinical_application') return 'outbound_clinical_application'
|
||||
return 'outbound_pilot_service'
|
||||
}
|
||||
return row.receptionSource === 'research_donation'
|
||||
? 'inbound_research_donation'
|
||||
: 'inbound_cell_storage'
|
||||
}
|
||||
|
||||
export function tabUsesInfusionTimeFilter(tab: ProductionWorkOrderTabConfig): boolean {
|
||||
return tab.group === 'outbound'
|
||||
}
|
||||
|
||||
export function keywordPlaceholderForTab(tab: ProductionWorkOrderTabConfig): string {
|
||||
if (tab.key === 'temporary') return '工单号'
|
||||
if (tab.key === 'outbound_basic_experiment') {
|
||||
return '工单号/申请单号/课题名称/客户'
|
||||
}
|
||||
if (tab.group === 'outbound') return '工单号/申请单号/申请单名称/患者'
|
||||
return '工单号/样本编码/入库编码'
|
||||
}
|
||||
|
||||
export function filterTimeLabelForTab(tab: ProductionWorkOrderTabConfig): string {
|
||||
if (tab.key === 'outbound_basic_experiment') return '交付时间'
|
||||
if (tab.group === 'outbound') return '输注时间'
|
||||
return '创建时间'
|
||||
}
|
||||
|
||||
export function filterTimeHintForTab(tab: ProductionWorkOrderTabConfig): string {
|
||||
if (tab.group === 'outbound') {
|
||||
return tab.key === 'outbound_basic_experiment'
|
||||
? '默认展示近 30 天内交付的工单。'
|
||||
: '默认展示近 30 天内输注的工单。'
|
||||
}
|
||||
return '默认展示近 30 天内创建的工单。'
|
||||
}
|
||||
|
||||
export function workOrderMatchesTab(
|
||||
row: ProductionWorkOrderItem,
|
||||
tabKey: ProductionWorkOrderTabKey
|
||||
): boolean {
|
||||
return resolveTabKeyFromWorkOrder(row) === tabKey
|
||||
}
|
||||
@@ -2,32 +2,36 @@ import type { QcWorkOrder } from '@/api/qc-work-order'
|
||||
import { fetchQcWorkOrderDetail } from '@/api/qc-work-order'
|
||||
import { fetchMyQcTaskList, type QcTask } from '@/api/qc-task'
|
||||
import { groupInboundQcWorkOrders } from '@/utils/qc-work-order-groups'
|
||||
|
||||
export type QcWorkOrderTypeTab = 'inbound' | 'temporary' | 'outbound' | 'all'
|
||||
import type { QcWorkOrderTabKey } from '@/utils/qc-work-order-tabs'
|
||||
import {
|
||||
resolveTabKeyFromWorkOrder,
|
||||
tabUsesInfusionTimeFilter,
|
||||
getQcWorkOrderTab,
|
||||
toWorkOrderListQuery
|
||||
} from '@/utils/qc-work-order-tabs'
|
||||
|
||||
export type QcTaskMineFilters = {
|
||||
keyword?: string
|
||||
taskType?: string
|
||||
taskStatus?: string
|
||||
qcBizType?: string
|
||||
tabKey: QcWorkOrderTabKey
|
||||
}
|
||||
|
||||
export type MineWorkOrderSearchFilters = {
|
||||
keyword?: string
|
||||
workOrderStatus?: string
|
||||
bizType?: string
|
||||
triggerSource?: string
|
||||
createTimeStart?: string
|
||||
createTimeEnd?: string
|
||||
infusionTimeStart?: string
|
||||
infusionTimeEnd?: string
|
||||
activeTypeTab: QcWorkOrderTypeTab
|
||||
tabKey: QcWorkOrderTabKey
|
||||
}
|
||||
|
||||
export type MineWorkOrderEntry = {
|
||||
workOrderId: string
|
||||
workOrder: QcWorkOrder
|
||||
activeTypeTab: QcWorkOrderTypeTab
|
||||
tabKey: QcWorkOrderTabKey
|
||||
tasks: QcTask[]
|
||||
}
|
||||
|
||||
@@ -41,15 +45,18 @@ function dateInRange(value: string | undefined, start?: string, end?: string): b
|
||||
return true
|
||||
}
|
||||
|
||||
function keywordMatchesWorkOrder(row: QcWorkOrder, keyword: string, tab: QcWorkOrderTypeTab): boolean {
|
||||
function keywordMatchesWorkOrder(row: QcWorkOrder, keyword: string, tabKey: QcWorkOrderTabKey): boolean {
|
||||
const kw = keyword.trim().toLowerCase()
|
||||
if (!kw) return true
|
||||
const tab = getQcWorkOrderTab(tabKey)!
|
||||
const fields =
|
||||
tab === 'temporary'
|
||||
tabKey === 'temporary'
|
||||
? [row.workOrderNo]
|
||||
: tab === 'outbound'
|
||||
? [row.workOrderNo, row.applicationNo, row.applicationName]
|
||||
: [row.workOrderNo, row.sampleCode, row.labStorageCode]
|
||||
: tabKey === 'outbound_basic_experiment'
|
||||
? [row.workOrderNo, row.applicationNo, row.projectTitle, row.customerName, row.applicationName]
|
||||
: tab.group === 'outbound'
|
||||
? [row.workOrderNo, row.applicationNo, row.applicationName, row.patientName]
|
||||
: [row.workOrderNo, row.sampleCode, row.labStorageCode]
|
||||
return fields.some((f) => (f || '').toLowerCase().includes(kw))
|
||||
}
|
||||
|
||||
@@ -57,16 +64,17 @@ export function filterMineEntriesByWorkOrderSearch(
|
||||
entries: MineWorkOrderEntry[],
|
||||
filters: MineWorkOrderSearchFilters
|
||||
): MineWorkOrderEntry[] {
|
||||
const tab = filters.activeTypeTab
|
||||
const tabKey = filters.tabKey
|
||||
const tab = getQcWorkOrderTab(tabKey)!
|
||||
return entries.filter((entry) => {
|
||||
const row = entry.workOrder
|
||||
if (resolveTabKeyFromWorkOrder(row) !== tabKey) return false
|
||||
if (filters.workOrderStatus && row.workOrderStatus !== filters.workOrderStatus) return false
|
||||
if (tab === 'inbound' && filters.triggerSource && row.triggerSource !== filters.triggerSource) {
|
||||
if (tab.group === 'inbound' && filters.triggerSource && row.triggerSource !== filters.triggerSource) {
|
||||
return false
|
||||
}
|
||||
if (tab === 'outbound' && filters.bizType && row.bizType !== filters.bizType) return false
|
||||
if (!keywordMatchesWorkOrder(row, filters.keyword || '', tab)) return false
|
||||
if (tab === 'outbound') {
|
||||
if (!keywordMatchesWorkOrder(row, filters.keyword || '', tabKey)) return false
|
||||
if (tabUsesInfusionTimeFilter(tab)) {
|
||||
if (!dateInRange(row.infusionTime, filters.infusionTimeStart, filters.infusionTimeEnd)) {
|
||||
return false
|
||||
}
|
||||
@@ -78,6 +86,8 @@ export function filterMineEntriesByWorkOrderSearch(
|
||||
}
|
||||
|
||||
export async function fetchAllMineTasks(filters: QcTaskMineFilters): Promise<QcTask[]> {
|
||||
const tab = getQcWorkOrderTab(filters.tabKey)!
|
||||
const listQuery = toWorkOrderListQuery(tab)
|
||||
const pageSize = MINE_TASK_FETCH_PAGE_SIZE
|
||||
let page = 1
|
||||
const all: QcTask[] = []
|
||||
@@ -89,7 +99,9 @@ export async function fetchAllMineTasks(filters: QcTaskMineFilters): Promise<QcT
|
||||
keyword: filters.keyword || undefined,
|
||||
taskType: filters.taskType || undefined,
|
||||
taskStatus: filters.taskStatus || undefined,
|
||||
qcBizType: filters.qcBizType || undefined
|
||||
qcBizType: tab.workOrderType,
|
||||
receptionSource: listQuery.receptionSource,
|
||||
bizType: listQuery.bizType
|
||||
})
|
||||
const list = res.list || []
|
||||
all.push(...list)
|
||||
@@ -149,15 +161,27 @@ export function buildMineTableRows(pageEntries: MineWorkOrderEntry[]): {
|
||||
}
|
||||
}
|
||||
|
||||
export function resolveWorkOrderTypeTab(task: QcTask): QcWorkOrderTypeTab {
|
||||
const t = (task.qcBizType || task.orderSource || 'inbound').trim()
|
||||
if (t === 'outbound' || t === 'temporary' || t === 'inbound') return t
|
||||
return 'inbound'
|
||||
export function resolveWorkOrderTabKey(task: QcTask): QcWorkOrderTabKey {
|
||||
const woType = task.qcBizType || task.orderSource || 'inbound'
|
||||
if (woType === 'outbound') {
|
||||
return resolveTabKeyFromWorkOrder({
|
||||
workOrderType: 'outbound',
|
||||
bizType: task.receptionSource
|
||||
})
|
||||
}
|
||||
if (woType === 'temporary') {
|
||||
return 'temporary'
|
||||
}
|
||||
return resolveTabKeyFromWorkOrder({
|
||||
workOrderType: 'inbound',
|
||||
receptionSource: task.receptionSource
|
||||
})
|
||||
}
|
||||
|
||||
export function buildWorkOrderFromTasks(tasks: QcTask[]): QcWorkOrder {
|
||||
const t = tasks[0]
|
||||
const woType = resolveWorkOrderTypeTab(t)
|
||||
const tabKey = resolveWorkOrderTabKey(t)
|
||||
const woType = getQcWorkOrderTab(tabKey)?.workOrderType || 'inbound'
|
||||
return {
|
||||
id: t.workOrderId,
|
||||
workOrderNo: t.workOrderNo || '—',
|
||||
@@ -208,7 +232,7 @@ export function groupMineTasksByWorkOrder(tasks: QcTask[]): MineWorkOrderEntry[]
|
||||
return {
|
||||
workOrderId,
|
||||
workOrder: buildWorkOrderFromTasks(groupTasks),
|
||||
activeTypeTab: resolveWorkOrderTypeTab(groupTasks[0]),
|
||||
tabKey: resolveWorkOrderTabKey(groupTasks[0]),
|
||||
tasks: groupTasks
|
||||
}
|
||||
})
|
||||
@@ -230,12 +254,16 @@ export type MineCardListModel = {
|
||||
}
|
||||
|
||||
/** 入库走 SampleGroup,出库/临时走 SingleCard standalone */
|
||||
export function buildMineCardListModel(tasks: QcTask[]): MineCardListModel {
|
||||
const entries = groupMineTasksByWorkOrder(tasks)
|
||||
export function buildMineCardListModel(
|
||||
tasks: QcTask[],
|
||||
tabKey: QcWorkOrderTabKey
|
||||
): MineCardListModel {
|
||||
const entries = groupMineTasksByWorkOrder(tasks).filter((e) => e.tabKey === tabKey)
|
||||
const presetTasksByWorkOrderId = buildPresetTasksMap(entries)
|
||||
const inboundEntries = entries.filter((e) => e.activeTypeTab === 'inbound')
|
||||
const standaloneEntries = entries.filter((e) => e.activeTypeTab !== 'inbound')
|
||||
const inboundGroups = groupInboundQcWorkOrders(inboundEntries.map((e) => e.workOrder))
|
||||
const tab = getQcWorkOrderTab(tabKey)!
|
||||
const useInboundGroups = tab.listLayout === 'inbound-grouped'
|
||||
const inboundGroups = useInboundGroups ? groupInboundQcWorkOrders(entries.map((e) => e.workOrder)) : []
|
||||
const standaloneEntries = useInboundGroups ? [] : entries
|
||||
return {
|
||||
inboundGroups,
|
||||
standaloneEntries,
|
||||
|
||||
@@ -0,0 +1,260 @@
|
||||
import type { QcWorkOrder } from '@/api/qc-work-order'
|
||||
import { qcBizTypeLabel } from '@/utils/qc-labels'
|
||||
import {
|
||||
donationStatusLabel,
|
||||
donationStatusTagType,
|
||||
protocolStatusLabel,
|
||||
protocolStatusTagType,
|
||||
qcBizTypeTagType
|
||||
} from '@/utils/status-tag-registry'
|
||||
import type { TagType } from '@/utils/status-tag-registry'
|
||||
import type { QcWorkOrderTabKey } from '@/utils/qc-work-order-tabs'
|
||||
import { getQcWorkOrderTab } from '@/utils/qc-work-order-tabs'
|
||||
import { formatMoneyDisplay } from '@/utils/money-format'
|
||||
|
||||
export type CardMetaFieldKind = 'text' | 'tag'
|
||||
|
||||
export type CardMetaField = {
|
||||
label: string
|
||||
kind?: CardMetaFieldKind
|
||||
getValue: (row: QcWorkOrder) => string
|
||||
getTagType?: (row: QcWorkOrder) => TagType | undefined
|
||||
visible?: (row: QcWorkOrder) => boolean
|
||||
wide?: boolean
|
||||
}
|
||||
|
||||
export type QcWorkOrderCardMetaConfig = {
|
||||
tabKey: QcWorkOrderTabKey
|
||||
listLayout: 'inbound-grouped' | 'standalone'
|
||||
showTriggerTag: boolean
|
||||
showProtocolFeeSummary: boolean
|
||||
showOutboundFeeSummary: boolean
|
||||
metaFields: CardMetaField[]
|
||||
buildGroupContextParts: (row: QcWorkOrder) => string[]
|
||||
allowEditTemporary: boolean
|
||||
allowEditRemark: boolean
|
||||
allowDelete: boolean
|
||||
}
|
||||
|
||||
function formatDetectMethods(row: QcWorkOrder) {
|
||||
const parts: string[] = []
|
||||
if (row.hasLab) parts.push('实验室')
|
||||
if (row.hasThirdParty) parts.push('第三方')
|
||||
return parts.length ? parts.join(' / ') : '—'
|
||||
}
|
||||
|
||||
function formatQcTarget(row: QcWorkOrder) {
|
||||
if ((row.triggerSource || 'reception') === 'production') {
|
||||
const parts = [row.cellProductCode, row.cellProductName].filter(Boolean)
|
||||
return parts.length ? parts.join(' · ') : '—'
|
||||
}
|
||||
return '原始样本'
|
||||
}
|
||||
|
||||
function formatOutboundScheduleSortNo(row: QcWorkOrder) {
|
||||
const n = row.sortNo
|
||||
if (n == null || n === '' || Number(n) <= 0) return '—'
|
||||
return `第${Number(n)}次`
|
||||
}
|
||||
|
||||
function formatOutboundScheduleTotalCount(row: QcWorkOrder) {
|
||||
const n = row.totalCourseCount
|
||||
if (n == null || n === '' || Number(n) <= 0) return '—'
|
||||
return `共${Number(n)}次`
|
||||
}
|
||||
|
||||
function formatTempCellProductField(row: QcWorkOrder, value?: string | null) {
|
||||
if (row.workOrderType !== 'temporary') return '—'
|
||||
return String(value || '').trim() || '—'
|
||||
}
|
||||
|
||||
function protocolStatusLabelBySource(status: string, source: string): string {
|
||||
return source === 'research_donation' ? donationStatusLabel(status) : protocolStatusLabel(status)
|
||||
}
|
||||
|
||||
function protocolStatusTagTypeBySource(status: string, source: string): TagType {
|
||||
return source === 'research_donation' ? donationStatusTagType(status) : protocolStatusTagType(status)
|
||||
}
|
||||
|
||||
const commonTailFields: CardMetaField[] = [
|
||||
{ label: '检测方式', getValue: formatDetectMethods },
|
||||
{ label: '创建时间', getValue: (row) => row.createTime || '—' },
|
||||
{
|
||||
label: '备注',
|
||||
getValue: (row) => row.remark || '—',
|
||||
visible: (row) => !!row.remark,
|
||||
wide: true
|
||||
}
|
||||
]
|
||||
|
||||
const inboundGroupedFields: CardMetaField[] = [
|
||||
{ label: '质检对象', getValue: formatQcTarget },
|
||||
{
|
||||
label: '关联生产工单',
|
||||
getValue: (row) => row.productionWorkOrderNo || '—',
|
||||
visible: (row) => (row.triggerSource || 'reception') === 'production'
|
||||
},
|
||||
{ label: '实验室入库编码', getValue: (row) => row.labStorageCode || '—' },
|
||||
...commonTailFields
|
||||
]
|
||||
|
||||
const outboundPilotClinicalFields: CardMetaField[] = [
|
||||
{ label: '申请单号', getValue: (row) => row.applicationNo || '—' },
|
||||
{ label: '申请单名称', getValue: (row) => row.applicationName || '—' },
|
||||
{ label: '渠道名称', getValue: (row) => row.channelName || '—' },
|
||||
{ label: '患者姓名', getValue: (row) => row.patientName || '—' },
|
||||
{ label: '第几次', getValue: formatOutboundScheduleSortNo },
|
||||
{ label: '总次数', getValue: formatOutboundScheduleTotalCount },
|
||||
{ label: '输注时间', getValue: (row) => row.infusionTime || '—' },
|
||||
...commonTailFields
|
||||
]
|
||||
|
||||
const outboundBasicExperimentFields: CardMetaField[] = [
|
||||
{ label: '申请单号', getValue: (row) => row.applicationNo || '—' },
|
||||
{ label: '课题名称', getValue: (row) => row.projectTitle || row.applicationName || '—' },
|
||||
{ label: '客户名称', getValue: (row) => row.customerName || '—' },
|
||||
{ label: '交付时间', getValue: (row) => row.infusionTime || '—' },
|
||||
{
|
||||
label: '售卖金额',
|
||||
getValue: (row) => {
|
||||
const amount = row.feeSummary?.saleAmount
|
||||
if (amount == null || amount === '') return '—'
|
||||
return `¥${formatMoneyDisplay(amount)}`
|
||||
}
|
||||
},
|
||||
...commonTailFields
|
||||
]
|
||||
|
||||
const temporaryFields: CardMetaField[] = [
|
||||
{
|
||||
label: '业务类型',
|
||||
kind: 'tag',
|
||||
getValue: (row) => row.qcBizTypeLabel || qcBizTypeLabel('temporary'),
|
||||
getTagType: () => qcBizTypeTagType('temporary')
|
||||
},
|
||||
{
|
||||
label: '产品编码',
|
||||
getValue: (row) => formatTempCellProductField(row, row.cellProductCode)
|
||||
},
|
||||
{
|
||||
label: '产品名称',
|
||||
getValue: (row) => formatTempCellProductField(row, row.cellProductName)
|
||||
},
|
||||
{
|
||||
label: '产品类型',
|
||||
getValue: (row) => formatTempCellProductField(row, row.cellProductTypeName)
|
||||
},
|
||||
...commonTailFields
|
||||
]
|
||||
|
||||
function buildCellStorageGroupContext(row: QcWorkOrder): string[] {
|
||||
const parts: string[] = []
|
||||
if (row.sampleTypeName) parts.push(row.sampleTypeName)
|
||||
if (row.protocolNo) parts.push(`协议 ${row.protocolNo}`)
|
||||
if (row.protocolStatus) {
|
||||
parts.push(protocolStatusLabelBySource(String(row.protocolStatus), 'cell_storage'))
|
||||
}
|
||||
if (row.receptionTime) parts.push(`接收 ${row.receptionTime}`)
|
||||
if (row.handlerName) parts.push(row.handlerName)
|
||||
return parts
|
||||
}
|
||||
|
||||
function buildDonationGroupContext(row: QcWorkOrder): string[] {
|
||||
const parts: string[] = []
|
||||
if (row.sampleTypeName) parts.push(row.sampleTypeName)
|
||||
if (row.protocolNo) parts.push(`捐赠 ${row.protocolNo}`)
|
||||
if (row.protocolStatus) {
|
||||
parts.push(donationStatusLabel(String(row.protocolStatus)))
|
||||
}
|
||||
if (row.receptionTime) parts.push(`接收 ${row.receptionTime}`)
|
||||
if (row.handlerName) parts.push(row.handlerName)
|
||||
return parts
|
||||
}
|
||||
|
||||
const CARD_META_BY_TAB: Record<QcWorkOrderTabKey, QcWorkOrderCardMetaConfig> = {
|
||||
inbound_cell_storage: {
|
||||
tabKey: 'inbound_cell_storage',
|
||||
listLayout: 'inbound-grouped',
|
||||
showTriggerTag: true,
|
||||
showProtocolFeeSummary: true,
|
||||
showOutboundFeeSummary: false,
|
||||
metaFields: inboundGroupedFields,
|
||||
buildGroupContextParts: buildCellStorageGroupContext,
|
||||
allowEditTemporary: false,
|
||||
allowEditRemark: true,
|
||||
allowDelete: true
|
||||
},
|
||||
inbound_research_donation: {
|
||||
tabKey: 'inbound_research_donation',
|
||||
listLayout: 'inbound-grouped',
|
||||
showTriggerTag: true,
|
||||
showProtocolFeeSummary: false,
|
||||
showOutboundFeeSummary: false,
|
||||
metaFields: inboundGroupedFields,
|
||||
buildGroupContextParts: buildDonationGroupContext,
|
||||
allowEditTemporary: false,
|
||||
allowEditRemark: true,
|
||||
allowDelete: true
|
||||
},
|
||||
outbound_pilot_service: {
|
||||
tabKey: 'outbound_pilot_service',
|
||||
listLayout: 'standalone',
|
||||
showTriggerTag: false,
|
||||
showProtocolFeeSummary: false,
|
||||
showOutboundFeeSummary: false,
|
||||
metaFields: outboundPilotClinicalFields,
|
||||
buildGroupContextParts: () => [],
|
||||
allowEditTemporary: false,
|
||||
allowEditRemark: true,
|
||||
allowDelete: false
|
||||
},
|
||||
outbound_basic_experiment: {
|
||||
tabKey: 'outbound_basic_experiment',
|
||||
listLayout: 'standalone',
|
||||
showTriggerTag: false,
|
||||
showProtocolFeeSummary: false,
|
||||
showOutboundFeeSummary: true,
|
||||
metaFields: outboundBasicExperimentFields,
|
||||
buildGroupContextParts: () => [],
|
||||
allowEditTemporary: false,
|
||||
allowEditRemark: true,
|
||||
allowDelete: false
|
||||
},
|
||||
outbound_clinical_application: {
|
||||
tabKey: 'outbound_clinical_application',
|
||||
listLayout: 'standalone',
|
||||
showTriggerTag: false,
|
||||
showProtocolFeeSummary: false,
|
||||
showOutboundFeeSummary: true,
|
||||
metaFields: outboundPilotClinicalFields,
|
||||
buildGroupContextParts: () => [],
|
||||
allowEditTemporary: false,
|
||||
allowEditRemark: true,
|
||||
allowDelete: false
|
||||
},
|
||||
temporary: {
|
||||
tabKey: 'temporary',
|
||||
listLayout: 'standalone',
|
||||
showTriggerTag: false,
|
||||
showProtocolFeeSummary: false,
|
||||
showOutboundFeeSummary: false,
|
||||
metaFields: temporaryFields,
|
||||
buildGroupContextParts: () => [],
|
||||
allowEditTemporary: true,
|
||||
allowEditRemark: false,
|
||||
allowDelete: true
|
||||
}
|
||||
}
|
||||
|
||||
export function getCardMetaConfig(tabKey: QcWorkOrderTabKey): QcWorkOrderCardMetaConfig {
|
||||
return CARD_META_BY_TAB[tabKey]
|
||||
}
|
||||
|
||||
export function buildGroupContextSubtitle(row: QcWorkOrder, tabKey: QcWorkOrderTabKey): string {
|
||||
const parts = getCardMetaConfig(tabKey).buildGroupContextParts(row)
|
||||
return parts.length ? parts.join(' · ') : '—'
|
||||
}
|
||||
|
||||
export function cardMetaUsesInboundGroups(tabKey: QcWorkOrderTabKey): boolean {
|
||||
return getQcWorkOrderTab(tabKey)?.listLayout === 'inbound-grouped'
|
||||
}
|
||||
@@ -0,0 +1,151 @@
|
||||
import type { QcWorkOrder } from '@/api/qc-work-order'
|
||||
|
||||
export type QcWorkOrderTabKey =
|
||||
| 'inbound_cell_storage'
|
||||
| 'inbound_research_donation'
|
||||
| 'outbound_pilot_service'
|
||||
| 'outbound_basic_experiment'
|
||||
| 'outbound_clinical_application'
|
||||
| 'temporary'
|
||||
|
||||
export type QcWorkOrderTabGroup = 'inbound' | 'outbound' | 'temporary'
|
||||
|
||||
export type QcWorkOrderTabConfig = {
|
||||
key: QcWorkOrderTabKey
|
||||
label: string
|
||||
group: QcWorkOrderTabGroup
|
||||
workOrderType: 'inbound' | 'outbound' | 'temporary'
|
||||
receptionSource?: 'cell_storage' | 'research_donation'
|
||||
bizType?: 'pilot_service' | 'basic_experiment' | 'clinical_application'
|
||||
listLayout: 'inbound-grouped' | 'standalone'
|
||||
/** 侧栏 Tab 不展示(保留 key 供路由/数据解析) */
|
||||
hidden?: boolean
|
||||
}
|
||||
|
||||
export const QC_WORK_ORDER_TABS: QcWorkOrderTabConfig[] = [
|
||||
{
|
||||
key: 'inbound_cell_storage',
|
||||
label: '细胞存储质检',
|
||||
group: 'inbound',
|
||||
workOrderType: 'inbound',
|
||||
receptionSource: 'cell_storage',
|
||||
listLayout: 'inbound-grouped'
|
||||
},
|
||||
{
|
||||
key: 'inbound_research_donation',
|
||||
label: '科研捐赠质检',
|
||||
group: 'inbound',
|
||||
workOrderType: 'inbound',
|
||||
receptionSource: 'research_donation',
|
||||
listLayout: 'inbound-grouped'
|
||||
},
|
||||
{
|
||||
key: 'outbound_pilot_service',
|
||||
label: '中试服务质检',
|
||||
group: 'outbound',
|
||||
workOrderType: 'outbound',
|
||||
bizType: 'pilot_service',
|
||||
listLayout: 'standalone'
|
||||
},
|
||||
{
|
||||
key: 'outbound_basic_experiment',
|
||||
label: '基础实验质检',
|
||||
group: 'outbound',
|
||||
workOrderType: 'outbound',
|
||||
bizType: 'basic_experiment',
|
||||
listLayout: 'standalone'
|
||||
},
|
||||
{
|
||||
key: 'outbound_clinical_application',
|
||||
label: '临床应用质检',
|
||||
group: 'outbound',
|
||||
workOrderType: 'outbound',
|
||||
bizType: 'clinical_application',
|
||||
listLayout: 'standalone',
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
key: 'temporary',
|
||||
label: '临时质检',
|
||||
group: 'temporary',
|
||||
workOrderType: 'temporary',
|
||||
listLayout: 'standalone'
|
||||
}
|
||||
]
|
||||
|
||||
/** 质检工单 / 我的质检任务 Tab 栏展示项(不含 hidden) */
|
||||
export const QC_WORK_ORDER_VISIBLE_TABS = QC_WORK_ORDER_TABS.filter((t) => !t.hidden)
|
||||
|
||||
export const DEFAULT_QC_WORK_ORDER_TAB: QcWorkOrderTabKey = 'inbound_cell_storage'
|
||||
|
||||
export function getQcWorkOrderTab(key: string): QcWorkOrderTabConfig | undefined {
|
||||
return QC_WORK_ORDER_TABS.find((t) => t.key === key)
|
||||
}
|
||||
|
||||
export function parseQcWorkOrderTabKey(raw?: string | null): QcWorkOrderTabKey {
|
||||
const k = (raw || '').trim()
|
||||
const tab = getQcWorkOrderTab(k)
|
||||
if (tab && !tab.hidden) return tab.key
|
||||
if (k === 'inbound') return 'inbound_cell_storage'
|
||||
if (k === 'outbound') return 'outbound_pilot_service'
|
||||
if (k === 'temporary') return 'temporary'
|
||||
return DEFAULT_QC_WORK_ORDER_TAB
|
||||
}
|
||||
|
||||
export function toWorkOrderListQuery(tab: QcWorkOrderTabConfig) {
|
||||
return {
|
||||
workOrderType: tab.workOrderType,
|
||||
receptionSource: tab.receptionSource,
|
||||
bizType: tab.bizType
|
||||
}
|
||||
}
|
||||
|
||||
export function resolveTabKeyFromWorkOrder(row: {
|
||||
workOrderType?: string
|
||||
receptionSource?: string
|
||||
bizType?: string
|
||||
}): QcWorkOrderTabKey {
|
||||
const wt = row.workOrderType || 'inbound'
|
||||
if (wt === 'temporary') return 'temporary'
|
||||
if (wt === 'outbound') {
|
||||
const bt = row.bizType || 'pilot_service'
|
||||
if (bt === 'basic_experiment') return 'outbound_basic_experiment'
|
||||
if (bt === 'clinical_application') return 'outbound_clinical_application'
|
||||
return 'outbound_pilot_service'
|
||||
}
|
||||
return row.receptionSource === 'research_donation'
|
||||
? 'inbound_research_donation'
|
||||
: 'inbound_cell_storage'
|
||||
}
|
||||
|
||||
export function tabUsesInfusionTimeFilter(tab: QcWorkOrderTabConfig): boolean {
|
||||
return tab.group === 'outbound'
|
||||
}
|
||||
|
||||
export function keywordPlaceholderForTab(tab: QcWorkOrderTabConfig): string {
|
||||
if (tab.key === 'temporary') return '工单号'
|
||||
if (tab.key === 'outbound_basic_experiment') {
|
||||
return '工单号/申请单号/课题名称/客户'
|
||||
}
|
||||
if (tab.group === 'outbound') return '工单号/申请单号/申请单名称/患者'
|
||||
return '工单号/样本编码/入库编码'
|
||||
}
|
||||
|
||||
export function filterTimeLabelForTab(tab: QcWorkOrderTabConfig): string {
|
||||
if (tab.key === 'outbound_basic_experiment') return '交付时间'
|
||||
if (tab.group === 'outbound') return '输注时间'
|
||||
return '创建时间'
|
||||
}
|
||||
|
||||
export function filterTimeHintForTab(tab: QcWorkOrderTabConfig): string {
|
||||
if (tab.group === 'outbound') {
|
||||
return tab.key === 'outbound_basic_experiment'
|
||||
? '默认展示近 30 天内交付的工单。'
|
||||
: '默认展示近 30 天内输注的工单。'
|
||||
}
|
||||
return '默认展示近 30 天内创建的工单。'
|
||||
}
|
||||
|
||||
export function workOrderMatchesTab(row: QcWorkOrder, tabKey: QcWorkOrderTabKey): boolean {
|
||||
return resolveTabKeyFromWorkOrder(row) === tabKey
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- 生产管理 — 我的生产任务(复制生产工单页改造:三 Tab + 完整筛选,仅展示本人任务) -->
|
||||
<!-- 生产管理 — 我的生产任务(六 Tab,仅展示本人任务) -->
|
||||
<!-- eslint-disable vue/no-v-model-argument -->
|
||||
<template>
|
||||
<div class="page-container">
|
||||
@@ -6,363 +6,52 @@
|
||||
<div class="panel-pill-tabs panel-pill-tabs--lg">
|
||||
<div class="panel-pill-tabs__track" role="tablist">
|
||||
<button
|
||||
v-for="tab in WORK_ORDER_TYPE_TABS"
|
||||
:key="tab.name"
|
||||
v-for="tab in PRODUCTION_WORK_ORDER_VISIBLE_TABS"
|
||||
:key="tab.key"
|
||||
type="button"
|
||||
role="tab"
|
||||
class="panel-pill-tabs__btn"
|
||||
:class="{ 'is-active': activeTypeTab === tab.name }"
|
||||
:aria-selected="activeTypeTab === tab.name"
|
||||
@click="handleTabChange(tab.name)"
|
||||
:class="{ 'is-active': activeTabKey === tab.key }"
|
||||
:aria-selected="activeTabKey === tab.key"
|
||||
@click="handleTabChange(tab.key)"
|
||||
>
|
||||
{{ tab.label }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" label-position="top" @submit.prevent>
|
||||
<p class="filter-hint">{{ filterHint }}</p>
|
||||
<div class="filter-grid my-production-task-filter-main-grid" :style="filterGridStyle">
|
||||
<el-form-item label="关键词">
|
||||
<el-input
|
||||
v-model="searchForm.keyword"
|
||||
:placeholder="
|
||||
activeTypeTab === 'temporary'
|
||||
? '工单号'
|
||||
: activeTypeTab === 'outbound'
|
||||
? '工单号/申请单号/申请单名称'
|
||||
: '工单号/样本编码/入库编码'
|
||||
"
|
||||
clearable
|
||||
@keyup.enter="handleSearch"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="工单状态">
|
||||
<el-select
|
||||
v-model="searchForm.workOrderStatus"
|
||||
placeholder="全部"
|
||||
clearable
|
||||
style="width: 100%"
|
||||
>
|
||||
<el-option label="待配置" value="dpz" />
|
||||
<el-option label="进行中" value="jxz" />
|
||||
<el-option label="已完成" value="ywc" />
|
||||
<el-option label="已作废" value="yzf" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="任务状态">
|
||||
<el-select
|
||||
v-model="searchForm.taskStatus"
|
||||
placeholder="全部"
|
||||
clearable
|
||||
style="width: 100%"
|
||||
>
|
||||
<el-option label="待配置" value="dpz" />
|
||||
<el-option label="进行中" value="jxz" />
|
||||
<el-option label="已完成" value="ywc" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="activeTypeTab === 'outbound'" label="业务类型">
|
||||
<el-select v-model="searchForm.bizType" placeholder="全部" clearable style="width: 100%">
|
||||
<el-option label="中试服务" value="pilot_service" />
|
||||
<el-option label="临床应用" value="clinical_application" />
|
||||
<el-option label="基础实验" value="basic_experiment" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item :label="filterTimeLabel">
|
||||
<el-date-picker
|
||||
v-model="createTimeRange"
|
||||
type="daterange"
|
||||
range-separator="至"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
value-format="YYYY-MM-DD"
|
||||
style="width: 100%"
|
||||
/>
|
||||
</el-form-item>
|
||||
</div>
|
||||
|
||||
<div class="filter-actions">
|
||||
<div class="filter-actions-end">
|
||||
<el-button class="btn-ghost" @click="handleReset"
|
||||
><el-icon><RefreshLeft /></el-icon>重置</el-button
|
||||
>
|
||||
<el-button class="btn-main" type="primary" @click="handleSearch"
|
||||
><el-icon><Search /></el-icon>搜索</el-button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</el-form>
|
||||
</div>
|
||||
|
||||
<ProductionWorkOrderCardList
|
||||
page-mode="mine"
|
||||
:rows="tableData"
|
||||
:loading="loading"
|
||||
:active-type-tab="activeTypeTab"
|
||||
:page="pagination.page"
|
||||
:page-size="pagination.pageSize"
|
||||
:total="pagination.total"
|
||||
:task-refresh-token="taskSubListRefreshToken"
|
||||
:preset-tasks-by-work-order-id="presetTasksByWorkOrderId"
|
||||
@view="handleView"
|
||||
@tasks-changed="handleWorkOrderTasksChanged"
|
||||
@open-sample-reception="handleOpenSampleReception"
|
||||
@page-change="onWorkOrderPageChange"
|
||||
@page-size-change="onWorkOrderPageSizeChange"
|
||||
/>
|
||||
|
||||
<ProductionWorkOrderViewDialogHost ref="viewDialogHostRef" />
|
||||
|
||||
<SampleReceptionDialog
|
||||
v-model="sampleReceptionDialogVisible"
|
||||
:sample-code="sampleReceptionSampleCode"
|
||||
:source-type="sampleReceptionSourceType"
|
||||
@success="handleSampleReceptionSuccess"
|
||||
/>
|
||||
<component :is="activeTabComponent" :key="activeTabKey" page-mode="mine" />
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, reactive, computed, onMounted } from 'vue'
|
||||
import { Search, RefreshLeft } from '@element-plus/icons-vue'
|
||||
import type { ProductionWorkOrderItem } from '@/api/production-work-order'
|
||||
import { ref, computed, onMounted } from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import {
|
||||
fetchAllMineProductionTasks,
|
||||
groupMineTasksByWorkOrder,
|
||||
enrichMineEntriesWithWorkOrders,
|
||||
filterMineEntriesByWorkOrderSearch,
|
||||
paginateMineEntries,
|
||||
buildMineTableRows
|
||||
} from '@/utils/production-mine-task-groups'
|
||||
import ProductionWorkOrderCardList from '../production-work-order/ProductionWorkOrderCardList.vue'
|
||||
import ProductionWorkOrderViewDialogHost from '../production-work-order/ProductionWorkOrderViewDialogHost.vue'
|
||||
import SampleReceptionDialog from '../production-work-order/SampleReceptionDialog.vue'
|
||||
PRODUCTION_WORK_ORDER_VISIBLE_TABS,
|
||||
parseProductionWorkOrderTabKey,
|
||||
type ProductionWorkOrderTabKey
|
||||
} from '@/utils/production-work-order-tabs'
|
||||
import { getProductionWorkOrderTabComponent } from '../production-work-order/tabs/tab-registry'
|
||||
|
||||
defineOptions({ name: 'ProductionMyProductionTask' })
|
||||
|
||||
const taskSubListRefreshToken = ref(0)
|
||||
const viewDialogHostRef = ref<InstanceType<typeof ProductionWorkOrderViewDialogHost> | null>(null)
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
|
||||
// ── 样本接收信息填写弹窗 ──────────────────────────────────
|
||||
const sampleReceptionDialogVisible = ref(false)
|
||||
const sampleReceptionSampleCode = ref('')
|
||||
const sampleReceptionSourceType = ref<string | undefined>(undefined)
|
||||
function handleOpenSampleReception(row: ProductionWorkOrderItem) {
|
||||
sampleReceptionSampleCode.value = row.sampleCode || ''
|
||||
sampleReceptionSourceType.value = row.receptionSource
|
||||
sampleReceptionDialogVisible.value = true
|
||||
}
|
||||
function handleSampleReceptionSuccess() {
|
||||
taskSubListRefreshToken.value += 1
|
||||
}
|
||||
|
||||
type WorkOrderTypeTab = 'inbound' | 'temporary' | 'outbound'
|
||||
|
||||
const WORK_ORDER_TYPE_TABS = [
|
||||
{ name: 'inbound', label: '入库生产工单' },
|
||||
{ name: 'outbound', label: '出库生产工单' },
|
||||
{ name: 'temporary', label: '临时生产工单' }
|
||||
] as const
|
||||
|
||||
const activeTypeTab = ref<WorkOrderTypeTab>('inbound')
|
||||
const filterExpanded = ref(false)
|
||||
const filterTimeLabel = computed(() =>
|
||||
activeTypeTab.value === 'outbound' ? '输注时间' : '创建时间'
|
||||
const activeTabKey = ref<ProductionWorkOrderTabKey>(
|
||||
parseProductionWorkOrderTabKey(route.query.tab as string)
|
||||
)
|
||||
const filterGridColumns = computed(() => (activeTypeTab.value === 'outbound' ? 5 : 4))
|
||||
const filterGridStyle = computed(() => ({
|
||||
gridTemplateColumns: `repeat(${filterGridColumns.value}, minmax(0, 1fr))`
|
||||
}))
|
||||
const filterHint = computed(() => {
|
||||
const timeHint =
|
||||
activeTypeTab.value === 'outbound'
|
||||
? '默认展示近 30 天内输注的工单。'
|
||||
: '默认展示近 30 天内创建的工单。'
|
||||
return `仅展示指派给当前登录人的生产任务(含已转出记录,转出任务仅可查看)。${timeHint}`
|
||||
})
|
||||
const activeTabComponent = computed(() => getProductionWorkOrderTabComponent(activeTabKey.value))
|
||||
|
||||
function formatLocalDate(d: Date): string {
|
||||
const y = d.getFullYear()
|
||||
const m = String(d.getMonth() + 1).padStart(2, '0')
|
||||
const day = String(d.getDate()).padStart(2, '0')
|
||||
return `${y}-${m}-${day}`
|
||||
function handleTabChange(key: ProductionWorkOrderTabKey) {
|
||||
if (activeTabKey.value === key) return
|
||||
activeTabKey.value = key
|
||||
router.replace({ query: { ...route.query, tab: key } })
|
||||
}
|
||||
|
||||
function getDefaultLast30DaysRange(): [string, string] {
|
||||
const end = new Date()
|
||||
const start = new Date()
|
||||
start.setDate(start.getDate() - 30)
|
||||
return [formatLocalDate(start), formatLocalDate(end)]
|
||||
}
|
||||
|
||||
const searchForm = reactive({
|
||||
keyword: '',
|
||||
workOrderStatus: '',
|
||||
taskStatus: '',
|
||||
bizType: ''
|
||||
})
|
||||
const createTimeRange = ref<[string, string] | null>(getDefaultLast30DaysRange())
|
||||
const tableData = ref<ProductionWorkOrderItem[]>([])
|
||||
const presetTasksByWorkOrderId = ref<Record<string, Record<string, any>[]>>({})
|
||||
const loading = ref(false)
|
||||
const pagination = reactive({ page: 1, pageSize: 10, total: 0 })
|
||||
|
||||
function buildWorkOrderSearchFilters() {
|
||||
const timeParams =
|
||||
activeTypeTab.value === 'outbound'
|
||||
? {
|
||||
infusionTimeStart: createTimeRange.value?.[0] || undefined,
|
||||
infusionTimeEnd: createTimeRange.value?.[1] || undefined
|
||||
}
|
||||
: {
|
||||
createTimeStart: createTimeRange.value?.[0] || undefined,
|
||||
createTimeEnd: createTimeRange.value?.[1] || undefined
|
||||
}
|
||||
return {
|
||||
keyword: searchForm.keyword || undefined,
|
||||
workOrderStatus: searchForm.workOrderStatus || undefined,
|
||||
bizType: searchForm.bizType || undefined,
|
||||
activeTypeTab: activeTypeTab.value,
|
||||
...timeParams
|
||||
}
|
||||
}
|
||||
|
||||
async function loadData() {
|
||||
loading.value = true
|
||||
try {
|
||||
const tasks = await fetchAllMineProductionTasks({
|
||||
keyword: searchForm.keyword || undefined,
|
||||
taskStatus: searchForm.taskStatus || undefined,
|
||||
workOrderType: activeTypeTab.value
|
||||
})
|
||||
let entries = groupMineTasksByWorkOrder(tasks)
|
||||
entries = await enrichMineEntriesWithWorkOrders(entries)
|
||||
entries = filterMineEntriesByWorkOrderSearch(entries, buildWorkOrderSearchFilters())
|
||||
const pageResult = paginateMineEntries(entries, pagination.page, pagination.pageSize)
|
||||
const tableModel = buildMineTableRows(pageResult.items)
|
||||
tableData.value = tableModel.rows
|
||||
presetTasksByWorkOrderId.value = tableModel.presetTasksByWorkOrderId
|
||||
pagination.total = pageResult.total
|
||||
} finally {
|
||||
loading.value = false
|
||||
}
|
||||
}
|
||||
|
||||
function handleSearch() {
|
||||
pagination.page = 1
|
||||
loadData()
|
||||
}
|
||||
|
||||
function handleReset() {
|
||||
searchForm.keyword = ''
|
||||
searchForm.workOrderStatus = ''
|
||||
searchForm.taskStatus = ''
|
||||
searchForm.bizType = ''
|
||||
createTimeRange.value = getDefaultLast30DaysRange()
|
||||
pagination.page = 1
|
||||
loadData()
|
||||
}
|
||||
|
||||
function handleTypeTabChange() {
|
||||
pagination.page = 1
|
||||
loadData()
|
||||
}
|
||||
|
||||
function handleTabChange(name: WorkOrderTypeTab) {
|
||||
if (activeTypeTab.value === name) return
|
||||
activeTypeTab.value = name
|
||||
handleTypeTabChange()
|
||||
}
|
||||
|
||||
async function handleWorkOrderTasksChanged() {
|
||||
taskSubListRefreshToken.value += 1
|
||||
await loadData()
|
||||
}
|
||||
|
||||
function onWorkOrderPageChange(page: number) {
|
||||
pagination.page = page
|
||||
loadData()
|
||||
}
|
||||
|
||||
function onWorkOrderPageSizeChange(size: number) {
|
||||
pagination.page = 1
|
||||
pagination.pageSize = size
|
||||
loadData()
|
||||
}
|
||||
|
||||
function handleView(row: ProductionWorkOrderItem) {
|
||||
viewDialogHostRef.value?.openView(row)
|
||||
}
|
||||
|
||||
watchDebounced(
|
||||
[searchForm, createTimeRange],
|
||||
() => {
|
||||
pagination.page = 1
|
||||
loadData()
|
||||
},
|
||||
{ debounce: 300, deep: true }
|
||||
)
|
||||
|
||||
onMounted(() => {
|
||||
loadData()
|
||||
activeTabKey.value = parseProductionWorkOrderTabKey(route.query.tab as string)
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.my-production-task-filter-main-grid {
|
||||
grid-template-columns: repeat(var(--my-production-task-filter-columns, 4), minmax(0, 1fr));
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.my-production-task-filter-main-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.my-production-task-filter-main-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.filter-form :deep(.el-form-item) {
|
||||
margin-bottom: 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.filter-hint {
|
||||
margin: 0 0 10px;
|
||||
font-size: 12px;
|
||||
color: var(--mint-text-muted, #64748b);
|
||||
}
|
||||
|
||||
.filter-extra {
|
||||
padding-top: 10px;
|
||||
margin-top: 8px;
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.filter-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
padding-top: 10px;
|
||||
margin-top: 10px;
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.btn-filter-toggle {
|
||||
height: 36px;
|
||||
padding: 0 4px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.btn-filter-toggle-ic {
|
||||
margin-right: 4px;
|
||||
}
|
||||
</style>
|
||||
+112
-217
@@ -4,7 +4,7 @@
|
||||
<div v-loading="loading" class="production-work-order-cards-wrap">
|
||||
<article v-for="(row, idx) in rows" :key="row.id" class="production-work-order-card">
|
||||
<header class="production-work-order-card__head">
|
||||
<div class="production-work-order-card__head-main">
|
||||
<div class="production-work-order-card__title-band">
|
||||
<div class="production-work-order-card__title-row">
|
||||
<el-checkbox
|
||||
v-if="!isMineMode"
|
||||
@@ -18,141 +18,31 @@
|
||||
{{ productionWoStatusTag(row.workOrderStatus).label }}
|
||||
</el-tag>
|
||||
</div>
|
||||
<dl class="production-work-order-card__meta">
|
||||
<template v-if="activeTypeTab === 'outbound'">
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>业务类型</dt>
|
||||
<dd>
|
||||
<el-tag
|
||||
:type="
|
||||
row.bizType === 'pilot_service'
|
||||
? 'primary'
|
||||
: row.bizType === 'clinical_application'
|
||||
? 'warning'
|
||||
: 'info'
|
||||
"
|
||||
size="small"
|
||||
>
|
||||
{{ row.bizTypeLabel || '—' }}
|
||||
</el-tag>
|
||||
</dd>
|
||||
</div>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>申请单号</dt>
|
||||
<dd>{{ row.applicationNo || '—' }}</dd>
|
||||
</div>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>用户名称</dt>
|
||||
<dd>{{ row.patientName || '—' }}</dd>
|
||||
</div>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>第几次</dt>
|
||||
<dd>{{ formatOutboundScheduleSortNo(row) }}</dd>
|
||||
</div>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>总次数</dt>
|
||||
<dd>{{ formatOutboundScheduleTotalCount(row) }}</dd>
|
||||
</div>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>申请单名称</dt>
|
||||
<dd>{{ row.applicationName || '—' }}</dd>
|
||||
</div>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>渠道名称</dt>
|
||||
<dd>{{ row.channelName || '—' }}</dd>
|
||||
</div>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>输注时间</dt>
|
||||
<dd>{{ row.infusionTime || '—' }}</dd>
|
||||
</div>
|
||||
</template>
|
||||
<template v-else-if="activeTypeTab === 'temporary'">
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>备注</dt>
|
||||
<dd>{{ row.remark || '—' }}</dd>
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>样本编码</dt>
|
||||
<dd>{{ formatTempEmptyField(row, row.sampleCode) }}</dd>
|
||||
</div>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>实验室入库编码</dt>
|
||||
<dd>{{ formatTempEmptyField(row, row.labStorageCode) }}</dd>
|
||||
</div>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>来源类型</dt>
|
||||
<dd>
|
||||
<span v-if="shouldShowTempEmptyField(row, row.receptionSource)">—</span>
|
||||
<el-tag
|
||||
v-else
|
||||
:type="row.receptionSource === 'research_donation' ? 'warning' : 'success'"
|
||||
size="small"
|
||||
>
|
||||
{{ row.receptionSourceLabel || receptionSourceLabel(row.receptionSource || '') }}
|
||||
</el-tag>
|
||||
</dd>
|
||||
</div>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>协议状态</dt>
|
||||
<dd>
|
||||
<span v-if="shouldShowTempEmptyField(row, row.protocolStatus)">—</span>
|
||||
<el-tag
|
||||
v-else
|
||||
:type="
|
||||
protocolStatusTagTypeBySource(
|
||||
String(row.protocolStatus || ''),
|
||||
row.receptionSource || 'cell_storage'
|
||||
)
|
||||
"
|
||||
size="small"
|
||||
>
|
||||
{{
|
||||
protocolStatusLabelBySource(
|
||||
String(row.protocolStatus || ''),
|
||||
row.receptionSource || 'cell_storage'
|
||||
)
|
||||
}}
|
||||
</el-tag>
|
||||
</dd>
|
||||
</div>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>样本类型</dt>
|
||||
<dd>{{ row.sampleTypeName || '—' }}</dd>
|
||||
</div>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>接收经手人</dt>
|
||||
<dd>{{ row.handlerName || '—' }}</dd>
|
||||
</div>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>是否超24小时</dt>
|
||||
<dd>
|
||||
<span v-if="!row.receptionTime">—</span>
|
||||
<el-tag v-else :type="receptionOver24HoursTag(row.receptionTime).type" size="small">
|
||||
{{ receptionOver24HoursTag(row.receptionTime).label }}
|
||||
</el-tag>
|
||||
</dd>
|
||||
</div>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>接收时间</dt>
|
||||
<dd>{{ row.receptionTime || '—' }}</dd>
|
||||
</div>
|
||||
</template>
|
||||
<div class="production-work-order-card__meta-item">
|
||||
<dt>创建时间</dt>
|
||||
<dd>{{ row.createTime || '—' }}</dd>
|
||||
</div>
|
||||
<div
|
||||
v-if="row.remark && activeTypeTab !== 'temporary'"
|
||||
class="production-work-order-card__meta-item production-work-order-card__meta-item--wide"
|
||||
>
|
||||
<dt>备注</dt>
|
||||
<dd>{{ row.remark }}</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</div>
|
||||
<div v-if="showCardOpsRow" class="production-work-order-card__ops">
|
||||
<div class="production-work-order-card__head-body">
|
||||
<div class="production-work-order-card__head-main">
|
||||
<dl class="production-work-order-card__meta">
|
||||
<template v-for="field in visibleMetaFields(row)" :key="field.label">
|
||||
<div
|
||||
class="production-work-order-card__meta-item"
|
||||
:class="{ 'production-work-order-card__meta-item--wide': field.wide }"
|
||||
>
|
||||
<dt>{{ field.label }}</dt>
|
||||
<dd>
|
||||
<el-tag
|
||||
v-if="field.kind === 'tag'"
|
||||
:type="field.getTagType?.(row) || 'info'"
|
||||
size="small"
|
||||
>
|
||||
{{ field.getValue(row) }}
|
||||
</el-tag>
|
||||
<template v-else>{{ field.getValue(row) }}</template>
|
||||
</dd>
|
||||
</div>
|
||||
</template>
|
||||
</dl>
|
||||
</div>
|
||||
<div v-if="showCardOpsRow" class="production-work-order-card__ops">
|
||||
<el-button
|
||||
v-if="isMineMode"
|
||||
class="btn-op-item primary"
|
||||
@@ -177,7 +67,7 @@
|
||||
<el-icon><View /></el-icon>查看
|
||||
</el-button>
|
||||
<el-tooltip
|
||||
v-if="!isMineMode && activeTypeTab === 'inbound'"
|
||||
v-if="!isMineMode && cardMeta.allowDispatchQc"
|
||||
:content="dispatchQcTooltip(row)"
|
||||
:disabled="canDispatchQc(row)"
|
||||
placement="top"
|
||||
@@ -193,7 +83,7 @@
|
||||
</span>
|
||||
</el-tooltip>
|
||||
<el-button
|
||||
v-if="activeTypeTab === 'inbound'"
|
||||
v-if="cardMeta.allowSampleReception"
|
||||
class="btn-op-item"
|
||||
@click="emit('open-sample-reception', row)"
|
||||
>
|
||||
@@ -219,7 +109,7 @@
|
||||
<el-dropdown-item v-if="canDispatchTask(row)" command="view">
|
||||
<el-icon><View /></el-icon>查看
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item command="edit">
|
||||
<el-dropdown-item v-if="canEditWorkOrder(row)" command="edit">
|
||||
<el-icon><EditPen /></el-icon>编辑
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item v-if="canDeleteWorkOrder(row)" command="delete" divided>
|
||||
@@ -229,6 +119,7 @@
|
||||
</template>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<QcWorkOrderProtocolPaymentPanel
|
||||
v-if="showProtocolFeeSummary(row)"
|
||||
@@ -277,13 +168,8 @@
|
||||
import { computed } from 'vue'
|
||||
import { View, Position, Document, Check, More, EditPen, Delete } from '@element-plus/icons-vue'
|
||||
import type { ProductionWorkOrderItem } from '@/api/production-work-order'
|
||||
import { receptionSourceLabel } from '@/utils/qc-labels'
|
||||
import {
|
||||
protocolStatusLabel,
|
||||
protocolStatusTagType,
|
||||
donationStatusLabel,
|
||||
donationStatusTagType
|
||||
} from '@/utils/status-tag-registry'
|
||||
import type { ProductionWorkOrderCardMetaConfig } from '@/utils/production-work-order-card-meta'
|
||||
import { getCardMetaConfigForLegacyTab } from '@/utils/production-work-order-card-meta'
|
||||
import type { TagType } from '@/utils/status-tag-registry'
|
||||
import WorkOrderTaskSubList from './WorkOrderTaskSubList.vue'
|
||||
import QcWorkOrderFeeSummaryBar from '@/views/quality-inspection/qc-work-order/QcWorkOrderFeeSummaryBar.vue'
|
||||
@@ -297,7 +183,8 @@
|
||||
defineProps<{
|
||||
rows: ProductionWorkOrderItem[]
|
||||
loading: boolean
|
||||
activeTypeTab: WorkOrderTypeTab
|
||||
activeTypeTab?: WorkOrderTypeTab
|
||||
cardMetaConfig?: ProductionWorkOrderCardMetaConfig
|
||||
page: number
|
||||
pageSize: number
|
||||
total: number
|
||||
@@ -314,6 +201,12 @@
|
||||
|
||||
const isMineMode = computed(() => props.pageMode === 'mine')
|
||||
|
||||
const cardMeta = computed(
|
||||
() =>
|
||||
props.cardMetaConfig ??
|
||||
getCardMetaConfigForLegacyTab(props.activeTypeTab || 'inbound')
|
||||
)
|
||||
|
||||
const emit = defineEmits<{
|
||||
view: [row: ProductionWorkOrderItem]
|
||||
dispatch: [row: ProductionWorkOrderItem]
|
||||
@@ -327,55 +220,22 @@
|
||||
'open-sample-reception': [row: ProductionWorkOrderItem]
|
||||
}>()
|
||||
|
||||
const RECEPTION_OVER_HOURS_MS = 24 * 60 * 60 * 1000
|
||||
|
||||
const showCardOpsRow = computed(() => true)
|
||||
|
||||
/** 入库/出库 Tab 展示派发/完成;临时 Tab 隐藏 */
|
||||
const showCardDispatchComplete = computed(
|
||||
() => !isMineMode.value && props.activeTypeTab !== 'temporary'
|
||||
() => !isMineMode.value && cardMeta.value.allowDispatchComplete
|
||||
)
|
||||
|
||||
function protocolStatusLabelBySource(status: string, source: string): string {
|
||||
return source === 'research_donation' ? donationStatusLabel(status) : protocolStatusLabel(status)
|
||||
function visibleMetaFields(row: ProductionWorkOrderItem) {
|
||||
return cardMeta.value.metaFields.filter((field) => !field.visible || field.visible(row))
|
||||
}
|
||||
|
||||
function protocolStatusTagTypeBySource(status: string, source: string): TagType {
|
||||
return source === 'research_donation' ? donationStatusTagType(status) : protocolStatusTagType(status)
|
||||
function showProtocolFeeSummary(row: ProductionWorkOrderItem) {
|
||||
return cardMeta.value.showProtocolFeeSummary && !!row.paymentSummary
|
||||
}
|
||||
|
||||
function shouldShowTempEmptyField(row: ProductionWorkOrderItem, value?: string | null) {
|
||||
return row.workOrderType === 'temporary' && !String(value || '').trim()
|
||||
}
|
||||
|
||||
function formatTempEmptyField(row: ProductionWorkOrderItem, value?: string | null) {
|
||||
return shouldShowTempEmptyField(row, value) ? '—' : String(value || '')
|
||||
}
|
||||
|
||||
function formatOutboundScheduleSortNo(row: Record<string, unknown>) {
|
||||
const n = row.sortNo ?? row.orderNum
|
||||
if (n == null || n === '' || Number(n) <= 0) return '—'
|
||||
return `第${Number(n)}次`
|
||||
}
|
||||
|
||||
function formatOutboundScheduleTotalCount(row: Record<string, unknown>) {
|
||||
const n = row.totalCourseCount
|
||||
if (n == null || n === '' || Number(n) <= 0) return '—'
|
||||
return `共${Number(n)}次`
|
||||
}
|
||||
|
||||
function parseReceptionTime(value?: string | null): Date | null {
|
||||
const s = String(value || '').trim()
|
||||
if (!s) return null
|
||||
const dt = new Date(s.replace(/-/g, '/'))
|
||||
return Number.isNaN(dt.getTime()) ? null : dt
|
||||
}
|
||||
|
||||
function receptionOver24HoursTag(receptionTime?: string | null): { label: string; type: TagType } {
|
||||
const dt = parseReceptionTime(receptionTime)
|
||||
if (!dt) return { label: '—', type: 'info' }
|
||||
if (Date.now() - dt.getTime() > RECEPTION_OVER_HOURS_MS) return { label: '是', type: 'danger' }
|
||||
return { label: '否', type: 'success' }
|
||||
function showOutboundFeeSummary(row: ProductionWorkOrderItem) {
|
||||
return cardMeta.value.showOutboundFeeSummary && !!row.feeSummary
|
||||
}
|
||||
|
||||
function productionWoStatusTag(status: string): { label: string; type: TagType } {
|
||||
@@ -392,19 +252,6 @@
|
||||
emit('toggle-select', row, checked)
|
||||
}
|
||||
|
||||
function showProtocolFeeSummary(row: ProductionWorkOrderItem) {
|
||||
if (props.activeTypeTab !== 'inbound') return false
|
||||
const source = (row.receptionSource || 'cell_storage').trim()
|
||||
return source === 'cell_storage' || source === ''
|
||||
}
|
||||
|
||||
function showOutboundFeeSummary(row: ProductionWorkOrderItem) {
|
||||
return (
|
||||
props.activeTypeTab === 'outbound' &&
|
||||
(row.bizType === 'basic_experiment' || row.bizType === 'clinical_application')
|
||||
)
|
||||
}
|
||||
|
||||
function cardIndex(i: number) {
|
||||
return (props.page - 1) * props.pageSize + i + 1
|
||||
}
|
||||
@@ -418,13 +265,13 @@
|
||||
}
|
||||
|
||||
function canDispatchQc(row: ProductionWorkOrderItem) {
|
||||
if (props.activeTypeTab !== 'inbound') return false
|
||||
if (!cardMeta.value.allowDispatchQc) return false
|
||||
if (row.workOrderStatus === 'yzf') return false
|
||||
return row.workOrderStatus === 'jxz' || row.workOrderStatus === 'ywc'
|
||||
}
|
||||
|
||||
function dispatchQcTooltip(row: ProductionWorkOrderItem) {
|
||||
if (props.activeTypeTab !== 'inbound') return ''
|
||||
if (!cardMeta.value.allowDispatchQc) return ''
|
||||
if (row.workOrderStatus === 'dpz') return '请先派发并完成生产任务,录入输出细胞产品后再派发质检'
|
||||
if (row.workOrderStatus === 'yzf') return '已作废工单不可派发质检'
|
||||
return '请先完成生产任务并录入输出细胞产品'
|
||||
@@ -434,12 +281,21 @@
|
||||
return row.workOrderStatus === 'dpz' || row.workOrderStatus === 'jxz'
|
||||
}
|
||||
|
||||
function canEditWorkOrder(row: ProductionWorkOrderItem) {
|
||||
if (!cardMeta.value.allowEditRemark) return false
|
||||
if (cardMeta.value.tabKey.startsWith('outbound_')) {
|
||||
return row.workOrderStatus !== 'ywc' && row.workOrderStatus !== 'yzf'
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
function canDeleteWorkOrder(row: ProductionWorkOrderItem) {
|
||||
return props.activeTypeTab !== 'outbound' && row.workOrderStatus !== 'ywc'
|
||||
if (!cardMeta.value.allowDelete) return false
|
||||
return row.workOrderStatus !== 'ywc'
|
||||
}
|
||||
|
||||
function hasMoreActions(row: ProductionWorkOrderItem) {
|
||||
return canDispatchTask(row) || canDeleteWorkOrder(row) || true
|
||||
return canDispatchTask(row) || canEditWorkOrder(row) || canDeleteWorkOrder(row) || true
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -451,9 +307,16 @@
|
||||
.production-work-order-cards-wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
gap: 16px;
|
||||
min-height: 120px;
|
||||
padding: 16px;
|
||||
background: #f1f5f9;
|
||||
|
||||
:deep(> .production-work-order-card) {
|
||||
box-shadow:
|
||||
0 1px 3px rgba(15, 23, 42, 0.06),
|
||||
0 1px 2px rgba(15, 23, 42, 0.04);
|
||||
}
|
||||
}
|
||||
|
||||
.production-work-order-card {
|
||||
@@ -470,22 +333,33 @@
|
||||
|
||||
&:hover {
|
||||
border-color: #a8d4c4;
|
||||
box-shadow: 0 2px 8px rgba(4, 120, 87, 0.08);
|
||||
box-shadow: 0 4px 12px rgba(4, 120, 87, 0.1);
|
||||
}
|
||||
}
|
||||
|
||||
.production-work-order-card__head {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 10px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.production-work-order-card__title-band {
|
||||
padding: 12px 16px;
|
||||
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
|
||||
}
|
||||
|
||||
.production-work-order-card__head-body {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-start;
|
||||
gap: 12px 20px;
|
||||
padding: 14px 16px;
|
||||
border-bottom: 1px solid #e2e8f0;
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
.production-work-order-card__head-main {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
min-width: 280px;
|
||||
}
|
||||
|
||||
.production-work-order-card__title-row {
|
||||
@@ -493,7 +367,6 @@
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.production-work-order-card__checkbox {
|
||||
@@ -504,14 +377,14 @@
|
||||
.production-work-order-card__index {
|
||||
flex-shrink: 0;
|
||||
font-size: 12px;
|
||||
color: #94a3b8;
|
||||
color: rgba(255, 255, 255, 0.72);
|
||||
min-width: 20px;
|
||||
}
|
||||
|
||||
.production-work-order-card__no {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: #1e293b;
|
||||
color: #fff;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
word-break: break-all;
|
||||
}
|
||||
@@ -556,18 +429,40 @@
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
flex-shrink: 0;
|
||||
align-self: flex-end;
|
||||
}
|
||||
|
||||
.production-work-order-card__fee-in-head {
|
||||
align-self: stretch;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
:deep(.production-work-order-card__fee-in-head) {
|
||||
background: transparent;
|
||||
border-top: 1px solid #e2e8f0;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
:deep(.production-work-order-card__fee-in-head.qc-protocol-payment) {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
:deep(.production-work-order-card__fee-in-head .qc-protocol-payment__compact-details) {
|
||||
border-top-color: #e2e8f0;
|
||||
}
|
||||
|
||||
:deep(.production-work-order-card__fee-in-head .qc-protocol-payment__detail-chip) {
|
||||
background: transparent;
|
||||
border-color: #e2e8f0;
|
||||
}
|
||||
|
||||
:deep(.production-work-order-card__fee-in-head.qc-fee-summary) {
|
||||
background: transparent;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.production-work-order-card__tasks {
|
||||
background: #fafafa;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.production-work-order-card__tasks :deep(.work-order-task-sublist) {
|
||||
padding: 10px 14px 12px;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.production-work-order-cards-empty {
|
||||
|
||||
+287
@@ -0,0 +1,287 @@
|
||||
import type { ProductionWorkOrderDetail } from '@/api/production-work-order'
|
||||
import type { OutboundQcDetail } from '@/api/qc-work-order'
|
||||
import type { ViewSection } from '@/components/business/system-view-dialog/index.vue'
|
||||
import {
|
||||
receptionSourceLabel,
|
||||
acceptConclusionLabel,
|
||||
transportTypeLabel
|
||||
} from '@/utils/qc-labels'
|
||||
import {
|
||||
protocolStatusLabel,
|
||||
protocolStatusTagType,
|
||||
donationStatusLabel,
|
||||
donationStatusTagType,
|
||||
payStatusTagType
|
||||
} from '@/utils/status-tag-registry'
|
||||
import type { TagType } from '@/utils/status-tag-registry'
|
||||
import {
|
||||
buildOutboundPilotContextSections,
|
||||
resolveOutboundViewVariant,
|
||||
type OutboundViewVariant
|
||||
} from '@/utils/outbound-qc-pilot-view-sections'
|
||||
import { formatMoneyDisplay } from '@/utils/money-format'
|
||||
|
||||
function woStatusTag(status: string) {
|
||||
const map: Record<string, { label: string; type: TagType }> = {
|
||||
dpz: { label: '待配置', type: 'info' },
|
||||
jxz: { label: '进行中', type: 'warning' },
|
||||
ywc: { label: '已完成', type: 'success' },
|
||||
yzf: { label: '已作废', type: 'danger' }
|
||||
}
|
||||
return map[status] || { label: status, type: 'info' }
|
||||
}
|
||||
|
||||
function sourceTag(source: string) {
|
||||
const map: Record<string, { label: string; type: TagType }> = {
|
||||
cell_storage: { label: '细胞存储', type: 'success' },
|
||||
research_donation: { label: '科研捐赠', type: 'warning' }
|
||||
}
|
||||
return map[source] || { label: source, type: 'info' }
|
||||
}
|
||||
|
||||
function formatMetric(v: unknown) {
|
||||
if (v === null || v === undefined || v === '') return '—'
|
||||
return String(v)
|
||||
}
|
||||
|
||||
function formatCheckResults(items?: Array<{ itemName?: string; checked?: boolean }>) {
|
||||
if (!items?.length) return '—'
|
||||
return items.map((x) => `${x.itemName || ''}${x.checked ? '(✓)' : '(×)'}`).join('、')
|
||||
}
|
||||
|
||||
function buildBaseFields(d: ProductionWorkOrderDetail): ViewSection['fields'] {
|
||||
return [
|
||||
{ label: '工单号', value: d.workOrderNo },
|
||||
{
|
||||
label: '工单状态',
|
||||
value: woStatusTag(d.workOrderStatus).label,
|
||||
tagType: woStatusTag(d.workOrderStatus).type
|
||||
},
|
||||
{ label: '备注', value: d.remark || '—', span: true },
|
||||
{ label: '创建时间', value: d.createTime || '—' }
|
||||
]
|
||||
}
|
||||
|
||||
function buildTransportSections(d: ProductionWorkOrderDetail): ViewSection[] {
|
||||
const r = d.reception || {}
|
||||
const transportFields: ViewSection['fields'] = [
|
||||
{ label: '运输方式', value: transportTypeLabel(String(r.transportType || '')) }
|
||||
]
|
||||
if (r.transportType === 'kdys') {
|
||||
transportFields.push(
|
||||
{ label: '快递公司', value: r.expressCompanyName || '—' },
|
||||
{ label: '快递单号', value: r.waybillNo || '—' }
|
||||
)
|
||||
} else if (r.transportType === 'ryxd') {
|
||||
transportFields.push(
|
||||
{ label: '携带人', value: r.carrierName || '—' },
|
||||
{ label: '携带人电话', value: r.carrierPhone || '—' }
|
||||
)
|
||||
}
|
||||
if (r.etaTime) transportFields.push({ label: '预计到达', value: r.etaTime })
|
||||
if (transportFields.length <= 1 && !r.transportType) return []
|
||||
return [{ title: '运输信息', fields: transportFields }]
|
||||
}
|
||||
|
||||
function buildReceptionSection(d: ProductionWorkOrderDetail): ViewSection[] {
|
||||
const r = d.reception || {}
|
||||
return [
|
||||
{
|
||||
title: '样本接收',
|
||||
slot: 'reception-extra',
|
||||
fields: [
|
||||
{ label: '接收时间', value: r.receptionTime || d.receptionTime || '—' },
|
||||
{ label: '接收经手人', value: r.handlerName || d.handlerName || '—' },
|
||||
...(String(r.acceptConclusion || '') === 'js'
|
||||
? [{ label: '实验室入库编码', value: r.labStorageCode || d.labStorageCode || '—' }]
|
||||
: []),
|
||||
{
|
||||
label: '接收温度(℃)',
|
||||
value: r.receiveTemperature ? `${r.receiveTemperature}℃` : '—'
|
||||
},
|
||||
{ label: '体积(ml)', value: formatMetric(r.volumeMl) },
|
||||
{ label: '净重(g)', value: formatMetric(r.netWeightG) },
|
||||
{
|
||||
label: '结论',
|
||||
value: r.acceptConclusionLabel || acceptConclusionLabel(String(r.acceptConclusion || '')),
|
||||
tagType:
|
||||
r.acceptConclusion === 'js' ? 'success' : r.acceptConclusion === 'jj' ? 'danger' : 'info'
|
||||
},
|
||||
{ label: '检查项', value: formatCheckResults(r.checkResults), span: true },
|
||||
{ label: '备注', value: r.remark || '—', span: true }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
function buildInboundBasicSection(
|
||||
d: ProductionWorkOrderDetail,
|
||||
options: { showSourceType: boolean; statusLabel: string; useDonationStatus: boolean }
|
||||
): ViewSection {
|
||||
const r = d.reception || {}
|
||||
const status = String(d.protocolStatus || '')
|
||||
const fields: ViewSection['fields'] = [
|
||||
{ label: '工单号', value: d.workOrderNo },
|
||||
{
|
||||
label: options.statusLabel,
|
||||
value: options.useDonationStatus ? donationStatusLabel(status) : protocolStatusLabel(status),
|
||||
tagType: options.useDonationStatus
|
||||
? donationStatusTagType(status)
|
||||
: protocolStatusTagType(status)
|
||||
},
|
||||
{ label: '样本编码', value: d.sampleCode || '—' }
|
||||
]
|
||||
if (options.showSourceType) {
|
||||
fields.push({
|
||||
label: '来源类型',
|
||||
value: r.sourceTypeLabel || d.receptionSourceLabel || receptionSourceLabel(d.receptionSource || ''),
|
||||
tagType: sourceTag(d.receptionSource || '').type
|
||||
})
|
||||
}
|
||||
fields.push(
|
||||
{ label: '样本类型', value: r.sampleTypeName || d.sampleTypeName || '—' },
|
||||
{
|
||||
label: '工单状态',
|
||||
value: woStatusTag(d.workOrderStatus).label,
|
||||
tagType: woStatusTag(d.workOrderStatus).type
|
||||
},
|
||||
{ label: '备注', value: d.remark || '—', span: true },
|
||||
{ label: '创建时间', value: d.createTime || '—' }
|
||||
)
|
||||
return { title: '基本信息', fields }
|
||||
}
|
||||
|
||||
function buildOutboundDetail(d: ProductionWorkOrderDetail): OutboundQcDetail {
|
||||
return {
|
||||
workOrder: {} as OutboundQcDetail['workOrder'],
|
||||
application: d.application,
|
||||
patient: d.patient,
|
||||
infusionPlan: d.infusionPlan,
|
||||
infusionSchedule: d.infusionSchedule,
|
||||
products: d.products
|
||||
}
|
||||
}
|
||||
|
||||
function buildFeeSection(d: ProductionWorkOrderDetail): ViewSection {
|
||||
const feeSummary = d.feeSummary
|
||||
return {
|
||||
title: '缴费信息',
|
||||
fields: feeSummary
|
||||
? [
|
||||
{
|
||||
label: '售卖金额(元)',
|
||||
value: feeSummary.saleAmount != null ? formatMoneyDisplay(feeSummary.saleAmount) : '—'
|
||||
},
|
||||
{
|
||||
label: '应缴金额(元)',
|
||||
value:
|
||||
feeSummary.paymentAmount != null ? formatMoneyDisplay(feeSummary.paymentAmount) : '—'
|
||||
},
|
||||
{
|
||||
label: '实收金额(元)',
|
||||
value:
|
||||
feeSummary.transferAmount != null ? formatMoneyDisplay(feeSummary.transferAmount) : '—'
|
||||
},
|
||||
{
|
||||
label: '缴费状态',
|
||||
value: feeSummary.payStatusLabel || '—',
|
||||
tagType: payStatusTagType(feeSummary.payStatus || '')
|
||||
}
|
||||
]
|
||||
: [{ label: '缴费信息', value: '暂无缴费记录', span: true }]
|
||||
}
|
||||
}
|
||||
|
||||
function buildOutboundSections(d: ProductionWorkOrderDetail, variant: OutboundViewVariant, showFee: boolean) {
|
||||
const sections: ViewSection[] = [
|
||||
{
|
||||
title: '基本信息',
|
||||
fields: [
|
||||
{ label: '工单号', value: d.workOrderNo },
|
||||
{
|
||||
label: '工单状态',
|
||||
value: woStatusTag(d.workOrderStatus).label,
|
||||
tagType: woStatusTag(d.workOrderStatus).type
|
||||
},
|
||||
{ label: '备注', value: d.remark || '—', span: true },
|
||||
{ label: '创建时间', value: d.createTime || '—' }
|
||||
]
|
||||
},
|
||||
...buildOutboundPilotContextSections(buildOutboundDetail(d), variant)
|
||||
]
|
||||
if (showFee) sections.push(buildFeeSection(d))
|
||||
return sections
|
||||
}
|
||||
|
||||
export function buildTemporaryProductionViewSections(d: ProductionWorkOrderDetail): ViewSection[] {
|
||||
return [
|
||||
{
|
||||
title: '基本信息',
|
||||
fields: [
|
||||
{ label: '工单号', value: d.workOrderNo },
|
||||
{
|
||||
label: '工单类型',
|
||||
value: '临时',
|
||||
tagType: 'warning'
|
||||
},
|
||||
...buildBaseFields(d).slice(1)
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
export function buildInboundCellStorageProductionViewSections(
|
||||
d: ProductionWorkOrderDetail
|
||||
): ViewSection[] {
|
||||
return [
|
||||
buildInboundBasicSection(d, {
|
||||
showSourceType: true,
|
||||
statusLabel: '协议状态',
|
||||
useDonationStatus: false
|
||||
}),
|
||||
...buildTransportSections(d),
|
||||
{ title: '协议缴费信息', fields: [], slot: 'protocol-payment-details' },
|
||||
...buildReceptionSection(d)
|
||||
]
|
||||
}
|
||||
|
||||
export function buildInboundResearchDonationProductionViewSections(
|
||||
d: ProductionWorkOrderDetail
|
||||
): ViewSection[] {
|
||||
return [
|
||||
buildInboundBasicSection(d, {
|
||||
showSourceType: false,
|
||||
statusLabel: '捐赠状态',
|
||||
useDonationStatus: true
|
||||
}),
|
||||
...buildTransportSections(d),
|
||||
...buildReceptionSection(d)
|
||||
]
|
||||
}
|
||||
|
||||
export function buildOutboundPilotProductionViewSections(d: ProductionWorkOrderDetail): ViewSection[] {
|
||||
return buildOutboundSections(d, resolveOutboundViewVariant('pilot_service'), false)
|
||||
}
|
||||
|
||||
export function buildOutboundBasicExperimentProductionViewSections(
|
||||
d: ProductionWorkOrderDetail
|
||||
): ViewSection[] {
|
||||
return buildOutboundSections(d, resolveOutboundViewVariant('basic_experiment'), true)
|
||||
}
|
||||
|
||||
export function buildOutboundClinicalProductionViewSections(
|
||||
d: ProductionWorkOrderDetail
|
||||
): ViewSection[] {
|
||||
return buildOutboundSections(d, resolveOutboundViewVariant('clinical_application'), true)
|
||||
}
|
||||
|
||||
export type ProductionViewSectionBuilder = (d: ProductionWorkOrderDetail) => ViewSection[]
|
||||
|
||||
export function isOutboundProductionView(d: ProductionWorkOrderDetail | null): boolean {
|
||||
return (
|
||||
d?.workOrderType === 'outbound' &&
|
||||
(d.bizType === 'pilot_service' ||
|
||||
d.bizType === 'clinical_application' ||
|
||||
d.bizType === 'basic_experiment')
|
||||
)
|
||||
}
|
||||
+93
@@ -0,0 +1,93 @@
|
||||
import { ref, computed } from 'vue'
|
||||
import {
|
||||
fetchProductionWorkOrderDetail,
|
||||
type ProductionWorkOrderDetail
|
||||
} from '@/api/production-work-order'
|
||||
import { downloadAttachmentFile } from '@/utils/download-attachment'
|
||||
import type { ProductionViewSectionBuilder } from './production-view-sections'
|
||||
import { isOutboundProductionView } from './production-view-sections'
|
||||
|
||||
export function useProductionViewDialog(buildSections: ProductionViewSectionBuilder) {
|
||||
const loading = ref(false)
|
||||
const detail = ref<ProductionWorkOrderDetail | null>(null)
|
||||
const minioBaseUrl = (import.meta.env.VITE_MINIO_BASE_URL || '').replace(/\/$/, '')
|
||||
|
||||
const isOutboundContextView = computed(() => isOutboundProductionView(detail.value))
|
||||
const viewDialogWidth = computed(() => (isOutboundContextView.value ? '1200px' : '720px'))
|
||||
const viewDialogGridColumns = computed<2 | 3 | 4>(() => (isOutboundContextView.value ? 4 : 2))
|
||||
const viewDialogCompact = computed(() => isOutboundContextView.value)
|
||||
|
||||
const sections = computed(() => (detail.value ? buildSections(detail.value) : []))
|
||||
|
||||
const viewReceptionAttachmentFiles = computed(() => {
|
||||
const r = detail.value?.reception
|
||||
if (!r) return []
|
||||
if (Array.isArray(r.receiveAttachmentFiles) && r.receiveAttachmentFiles.length) {
|
||||
return r.receiveAttachmentFiles as Array<Record<string, unknown>>
|
||||
}
|
||||
const urls = String(r.receiveAttachments || '')
|
||||
if (!urls.trim()) return []
|
||||
return urls
|
||||
.split(',')
|
||||
.map((u, i) => {
|
||||
const url = u.trim()
|
||||
if (!url) return null
|
||||
const name = url.includes('/') ? url.split('/').pop() || `附件${i + 1}` : url
|
||||
return { id: `url_${i}`, fileUrl: url, fileName: name }
|
||||
})
|
||||
.filter(Boolean) as Array<Record<string, unknown>>
|
||||
})
|
||||
|
||||
const viewDiagnosisAttachmentFiles = computed(() => {
|
||||
const urls = detail.value?.patient?.diagnosisAttachments || ''
|
||||
if (!urls.trim()) return []
|
||||
return urls
|
||||
.split(',')
|
||||
.map((u, i) => {
|
||||
const url = u.trim()
|
||||
if (!url) return null
|
||||
const name = url.includes('/') ? url.split('/').pop() || `附件${i + 1}` : url
|
||||
return { id: `url_${i}`, fileUrl: receptionAttachmentFullUrl(url), fileName: name }
|
||||
})
|
||||
.filter(Boolean) as Array<Record<string, unknown>>
|
||||
})
|
||||
|
||||
function receptionAttachmentFullUrl(url: string) {
|
||||
const u = String(url || '').trim()
|
||||
if (!u) return ''
|
||||
if (/^https?:\/\//i.test(u)) return u
|
||||
return minioBaseUrl ? `${minioBaseUrl}/${u.replace(/^\//, '')}` : u
|
||||
}
|
||||
|
||||
function handleReceptionAttachmentPreview(file: Record<string, unknown>) {
|
||||
const url = receptionAttachmentFullUrl(String(file.fileUrl || ''))
|
||||
if (url) window.open(url, '_blank')
|
||||
}
|
||||
|
||||
function handleReceptionAttachmentDownload(file: Record<string, unknown>) {
|
||||
downloadAttachmentFile(file, { fullFileUrl: receptionAttachmentFullUrl })
|
||||
}
|
||||
|
||||
async function load(workOrderId: string) {
|
||||
loading.value = true
|
||||
try {
|
||||
detail.value = await fetchProductionWorkOrderDetail(workOrderId)
|
||||
} finally {
|
||||
loading.value = false
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
loading,
|
||||
detail,
|
||||
sections,
|
||||
viewDialogWidth,
|
||||
viewDialogGridColumns,
|
||||
viewDialogCompact,
|
||||
viewReceptionAttachmentFiles,
|
||||
viewDiagnosisAttachmentFiles,
|
||||
handleReceptionAttachmentPreview,
|
||||
handleReceptionAttachmentDownload,
|
||||
load
|
||||
}
|
||||
}
|
||||
+238
@@ -0,0 +1,238 @@
|
||||
import { ref, reactive, computed, onMounted, type Ref } from 'vue'
|
||||
import { fetchProductionWorkOrderList, type ProductionWorkOrderItem } from '@/api/production-work-order'
|
||||
import {
|
||||
fetchAllMineProductionTasks,
|
||||
groupMineTasksByWorkOrder,
|
||||
enrichMineEntriesWithWorkOrders,
|
||||
filterMineEntriesByWorkOrderSearch,
|
||||
paginateMineEntries,
|
||||
buildMineTableRows
|
||||
} from '@/utils/production-mine-task-groups'
|
||||
import {
|
||||
getProductionWorkOrderTab,
|
||||
toWorkOrderListQuery,
|
||||
tabUsesInfusionTimeFilter,
|
||||
keywordPlaceholderForTab,
|
||||
filterTimeLabelForTab,
|
||||
filterTimeHintForTab,
|
||||
type ProductionWorkOrderTabKey
|
||||
} from '@/utils/production-work-order-tabs'
|
||||
import { getCardMetaConfig } from '@/utils/production-work-order-card-meta'
|
||||
|
||||
export type ProductionWorkOrderTabPageMode = 'manage' | 'mine'
|
||||
|
||||
function formatLocalDate(d: Date): string {
|
||||
const y = d.getFullYear()
|
||||
const m = String(d.getMonth() + 1).padStart(2, '0')
|
||||
const day = String(d.getDate()).padStart(2, '0')
|
||||
return `${y}-${m}-${day}`
|
||||
}
|
||||
|
||||
function getDefaultLast30DaysRange(): [string, string] {
|
||||
const end = new Date()
|
||||
const start = new Date()
|
||||
start.setDate(start.getDate() - 30)
|
||||
return [formatLocalDate(start), formatLocalDate(end)]
|
||||
}
|
||||
|
||||
export function useProductionWorkOrderTabPage(
|
||||
tabKey: Ref<ProductionWorkOrderTabKey>,
|
||||
pageMode: Ref<ProductionWorkOrderTabPageMode> | ProductionWorkOrderTabPageMode
|
||||
) {
|
||||
const pageModeValue = computed(() => (typeof pageMode === 'string' ? pageMode : pageMode.value))
|
||||
const tabConfig = computed(() => getProductionWorkOrderTab(tabKey.value)!)
|
||||
const cardMetaConfig = computed(() => getCardMetaConfig(tabKey.value))
|
||||
const keywordPlaceholder = computed(() => keywordPlaceholderForTab(tabConfig.value))
|
||||
const filterTimeLabel = computed(() => filterTimeLabelForTab(tabConfig.value))
|
||||
const filterTimeHint = computed(() => {
|
||||
if (pageModeValue.value === 'mine') {
|
||||
const tab = tabConfig.value
|
||||
const timeHint = tabUsesInfusionTimeFilter(tab)
|
||||
? tab.key === 'outbound_basic_experiment'
|
||||
? '默认展示近 30 天内交付的工单。'
|
||||
: '默认展示近 30 天内输注的工单。'
|
||||
: '默认展示近 30 天内创建的工单。'
|
||||
return `仅展示指派给当前登录人的生产任务(含已转出记录,转出任务仅可查看)。${timeHint}`
|
||||
}
|
||||
return filterTimeHintForTab(tabConfig.value)
|
||||
})
|
||||
|
||||
const searchForm = reactive({
|
||||
keyword: '',
|
||||
workOrderStatus: '',
|
||||
taskStatus: ''
|
||||
})
|
||||
const createTimeRange = ref<[string, string] | null>(getDefaultLast30DaysRange())
|
||||
const tableData = ref<ProductionWorkOrderItem[]>([])
|
||||
const presetTasksByWorkOrderId = ref<Record<string, Record<string, any>[]>>({})
|
||||
const loading = ref(false)
|
||||
const pagination = reactive({ page: 1, pageSize: 10, total: 0 })
|
||||
const taskSubListRefreshToken = ref(0)
|
||||
const selectedRows = ref<ProductionWorkOrderItem[]>([])
|
||||
const selectedIds = computed(() => selectedRows.value.map((r) => r.id))
|
||||
|
||||
const viewVisible = ref(false)
|
||||
const viewWorkOrderId = ref('')
|
||||
|
||||
function buildMineWorkOrderSearchFilters() {
|
||||
const tab = tabConfig.value
|
||||
const timeParams = tabUsesInfusionTimeFilter(tab)
|
||||
? {
|
||||
infusionTimeStart: createTimeRange.value?.[0] || undefined,
|
||||
infusionTimeEnd: createTimeRange.value?.[1] || undefined
|
||||
}
|
||||
: {
|
||||
createTimeStart: createTimeRange.value?.[0] || undefined,
|
||||
createTimeEnd: createTimeRange.value?.[1] || undefined
|
||||
}
|
||||
return {
|
||||
keyword: searchForm.keyword || undefined,
|
||||
workOrderStatus: searchForm.workOrderStatus || undefined,
|
||||
tabKey: tabKey.value,
|
||||
...timeParams
|
||||
}
|
||||
}
|
||||
|
||||
async function loadData() {
|
||||
loading.value = true
|
||||
try {
|
||||
if (pageModeValue.value === 'mine') {
|
||||
const tasks = await fetchAllMineProductionTasks({
|
||||
keyword: searchForm.keyword || undefined,
|
||||
taskStatus: searchForm.taskStatus || undefined,
|
||||
tabKey: tabKey.value
|
||||
})
|
||||
let entries = groupMineTasksByWorkOrder(tasks)
|
||||
entries = await enrichMineEntriesWithWorkOrders(entries)
|
||||
entries = filterMineEntriesByWorkOrderSearch(entries, buildMineWorkOrderSearchFilters())
|
||||
const pageResult = paginateMineEntries(entries, pagination.page, pagination.pageSize)
|
||||
const tableModel = buildMineTableRows(pageResult.items)
|
||||
tableData.value = tableModel.rows
|
||||
presetTasksByWorkOrderId.value = tableModel.presetTasksByWorkOrderId
|
||||
pagination.total = pageResult.total
|
||||
return
|
||||
}
|
||||
|
||||
const tab = tabConfig.value
|
||||
const timeParams = tabUsesInfusionTimeFilter(tab)
|
||||
? {
|
||||
infusionTimeStart: createTimeRange.value?.[0] || undefined,
|
||||
infusionTimeEnd: createTimeRange.value?.[1] || undefined
|
||||
}
|
||||
: {
|
||||
createTimeStart: createTimeRange.value?.[0] || undefined,
|
||||
createTimeEnd: createTimeRange.value?.[1] || undefined
|
||||
}
|
||||
const res = await fetchProductionWorkOrderList({
|
||||
page: pagination.page,
|
||||
pageSize: pagination.pageSize,
|
||||
keyword: searchForm.keyword || undefined,
|
||||
workOrderStatus: searchForm.workOrderStatus || undefined,
|
||||
...toWorkOrderListQuery(tab),
|
||||
...timeParams
|
||||
})
|
||||
tableData.value = res.list || []
|
||||
pagination.total = res.total ?? 0
|
||||
selectedRows.value = selectedRows.value.filter((row) =>
|
||||
tableData.value.some((item) => item.id === row.id)
|
||||
)
|
||||
} finally {
|
||||
loading.value = false
|
||||
}
|
||||
}
|
||||
|
||||
function handleSearch() {
|
||||
pagination.page = 1
|
||||
loadData()
|
||||
}
|
||||
|
||||
function handleReset() {
|
||||
searchForm.keyword = ''
|
||||
searchForm.workOrderStatus = ''
|
||||
searchForm.taskStatus = ''
|
||||
createTimeRange.value = getDefaultLast30DaysRange()
|
||||
pagination.page = 1
|
||||
loadData()
|
||||
}
|
||||
|
||||
function onWorkOrderPageChange(page: number) {
|
||||
pagination.page = page
|
||||
loadData()
|
||||
}
|
||||
|
||||
function onWorkOrderPageSizeChange(size: number) {
|
||||
pagination.page = 1
|
||||
pagination.pageSize = size
|
||||
loadData()
|
||||
}
|
||||
|
||||
async function handleWorkOrderTasksChanged() {
|
||||
taskSubListRefreshToken.value += 1
|
||||
await loadData()
|
||||
}
|
||||
|
||||
function handleView(row: ProductionWorkOrderItem) {
|
||||
viewWorkOrderId.value = row.id
|
||||
viewVisible.value = true
|
||||
}
|
||||
|
||||
function handleCardToggleSelect(row: ProductionWorkOrderItem, checked: boolean) {
|
||||
if (checked) {
|
||||
if (!selectedRows.value.some((r) => r.id === row.id)) {
|
||||
selectedRows.value = [...selectedRows.value, row]
|
||||
}
|
||||
} else {
|
||||
selectedRows.value = selectedRows.value.filter((r) => r.id !== row.id)
|
||||
}
|
||||
}
|
||||
|
||||
function clearSelection() {
|
||||
selectedRows.value = []
|
||||
}
|
||||
|
||||
function bumpTaskRefresh() {
|
||||
taskSubListRefreshToken.value += 1
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
loadData()
|
||||
})
|
||||
|
||||
watchDebounced(
|
||||
[searchForm, createTimeRange],
|
||||
() => {
|
||||
pagination.page = 1
|
||||
loadData()
|
||||
},
|
||||
{ debounce: 300, deep: true }
|
||||
)
|
||||
|
||||
return {
|
||||
tabConfig,
|
||||
cardMetaConfig,
|
||||
keywordPlaceholder,
|
||||
filterTimeLabel,
|
||||
filterTimeHint,
|
||||
searchForm,
|
||||
createTimeRange,
|
||||
tableData,
|
||||
presetTasksByWorkOrderId,
|
||||
loading,
|
||||
pagination,
|
||||
taskSubListRefreshToken,
|
||||
selectedRows,
|
||||
selectedIds,
|
||||
viewVisible,
|
||||
viewWorkOrderId,
|
||||
loadData,
|
||||
handleSearch,
|
||||
handleReset,
|
||||
onWorkOrderPageChange,
|
||||
onWorkOrderPageSizeChange,
|
||||
handleWorkOrderTasksChanged,
|
||||
handleView,
|
||||
handleCardToggleSelect,
|
||||
clearSelection,
|
||||
bumpTaskRefresh
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import ProductionWorkOrderTabPanel from './ProductionWorkOrderTabPanel.vue'
|
||||
|
||||
defineOptions({ name: 'InboundCellStorageTab' })
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ProductionWorkOrderTabPanel tab-key="inbound_cell_storage" v-bind="$attrs" />
|
||||
</template>
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import ProductionWorkOrderTabPanel from './ProductionWorkOrderTabPanel.vue'
|
||||
|
||||
defineOptions({ name: 'InboundResearchDonationTab' })
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ProductionWorkOrderTabPanel tab-key="inbound_research_donation" v-bind="$attrs" />
|
||||
</template>
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import ProductionWorkOrderTabPanel from './ProductionWorkOrderTabPanel.vue'
|
||||
|
||||
defineOptions({ name: 'OutboundBasicExperimentTab' })
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ProductionWorkOrderTabPanel tab-key="outbound_basic_experiment" v-bind="$attrs" />
|
||||
</template>
|
||||
@@ -0,0 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import ProductionWorkOrderTabPanel from './ProductionWorkOrderTabPanel.vue'
|
||||
|
||||
defineOptions({ name: 'OutboundClinicalTab' })
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ProductionWorkOrderTabPanel tab-key="outbound_clinical_application" v-bind="$attrs" />
|
||||
</template>
|
||||
@@ -0,0 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import ProductionWorkOrderTabPanel from './ProductionWorkOrderTabPanel.vue'
|
||||
|
||||
defineOptions({ name: 'OutboundPilotTab' })
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ProductionWorkOrderTabPanel tab-key="outbound_pilot_service" v-bind="$attrs" />
|
||||
</template>
|
||||
+293
@@ -0,0 +1,293 @@
|
||||
<!-- 生产工单 Tab 子页面 — 筛选 + 列表 + 本 Tab 查看弹窗 -->
|
||||
<!-- eslint-disable vue/no-v-model-argument -->
|
||||
<template>
|
||||
<div class="production-work-order-tab-panel">
|
||||
<div v-if="pageMode === 'manage'" class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||||
<div class="filter-grid">
|
||||
<el-form-item label="关键词">
|
||||
<el-input v-model="searchForm.keyword" :placeholder="keywordPlaceholder" clearable />
|
||||
</el-form-item>
|
||||
<el-form-item label="工单状态">
|
||||
<el-select
|
||||
v-model="searchForm.workOrderStatus"
|
||||
placeholder="全部"
|
||||
clearable
|
||||
style="width: 100%"
|
||||
>
|
||||
<el-option label="待配置" value="dpz" />
|
||||
<el-option label="进行中" value="jxz" />
|
||||
<el-option label="已完成" value="ywc" />
|
||||
<el-option label="已作废" value="yzf" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item :label="filterTimeLabel">
|
||||
<el-date-picker
|
||||
v-model="createTimeRange"
|
||||
type="daterange"
|
||||
range-separator="至"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
value-format="YYYY-MM-DD"
|
||||
style="width: 100%"
|
||||
/>
|
||||
</el-form-item>
|
||||
</div>
|
||||
<div class="filter-actions-row">
|
||||
<span class="filter-hint">{{ filterTimeHint }}</span>
|
||||
<div class="filter-actions-end">
|
||||
<el-button class="btn-ghost" @click="handleReset">
|
||||
<el-icon><RefreshLeft /></el-icon>重置
|
||||
</el-button>
|
||||
<el-button class="btn-main" type="primary" @click="handleSearch">
|
||||
<el-icon><Search /></el-icon>搜索
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</el-form>
|
||||
</div>
|
||||
|
||||
<div v-else class="filter-block">
|
||||
<el-form :model="searchForm" class="filter-form" label-position="top" @submit.prevent>
|
||||
<p class="filter-hint">{{ filterTimeHint }}</p>
|
||||
<div class="filter-grid my-production-task-filter-main-grid">
|
||||
<el-form-item label="关键词">
|
||||
<el-input
|
||||
v-model="searchForm.keyword"
|
||||
:placeholder="keywordPlaceholder"
|
||||
clearable
|
||||
@keyup.enter="handleSearch"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="工单状态">
|
||||
<el-select
|
||||
v-model="searchForm.workOrderStatus"
|
||||
placeholder="全部"
|
||||
clearable
|
||||
style="width: 100%"
|
||||
>
|
||||
<el-option label="待配置" value="dpz" />
|
||||
<el-option label="进行中" value="jxz" />
|
||||
<el-option label="已完成" value="ywc" />
|
||||
<el-option label="已作废" value="yzf" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="任务状态">
|
||||
<el-select
|
||||
v-model="searchForm.taskStatus"
|
||||
placeholder="全部"
|
||||
clearable
|
||||
style="width: 100%"
|
||||
>
|
||||
<el-option label="待配置" value="dpz" />
|
||||
<el-option label="进行中" value="jxz" />
|
||||
<el-option label="已完成" value="ywc" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item :label="filterTimeLabel">
|
||||
<el-date-picker
|
||||
v-model="createTimeRange"
|
||||
type="daterange"
|
||||
range-separator="至"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
value-format="YYYY-MM-DD"
|
||||
style="width: 100%"
|
||||
/>
|
||||
</el-form-item>
|
||||
</div>
|
||||
<div class="filter-actions">
|
||||
<div class="filter-actions-end">
|
||||
<el-button class="btn-ghost" @click="handleReset">
|
||||
<el-icon><RefreshLeft /></el-icon>重置
|
||||
</el-button>
|
||||
<el-button class="btn-main" type="primary" @click="handleSearch">
|
||||
<el-icon><Search /></el-icon>搜索
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</el-form>
|
||||
</div>
|
||||
|
||||
<div v-if="pageMode === 'manage' && tabKey === 'temporary'" class="list-toolbar">
|
||||
<div class="list-toolbar-row">
|
||||
<div class="list-toolbar-selected">
|
||||
已选 <span class="sel-num">{{ selectedIds.length }}</span> 项
|
||||
</div>
|
||||
<el-button class="btn-main" type="primary" @click="emit('add-temporary')">
|
||||
<el-icon><Plus /></el-icon>新增临时工单
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ProductionWorkOrderCardList
|
||||
:page-mode="pageMode"
|
||||
:rows="tableData"
|
||||
:loading="loading"
|
||||
:card-meta-config="cardMetaConfig"
|
||||
:page="pagination.page"
|
||||
:page-size="pagination.pageSize"
|
||||
:total="pagination.total"
|
||||
:task-refresh-token="taskSubListRefreshToken"
|
||||
:selected-ids="selectedIds"
|
||||
:preset-tasks-by-work-order-id="presetTasksByWorkOrderId"
|
||||
@view="handleView"
|
||||
@dispatch="(row) => emit('dispatch', row)"
|
||||
@dispatch-qc="(row) => emit('dispatch-qc', row)"
|
||||
@complete="(row) => emit('complete', row)"
|
||||
@command="handleCommand"
|
||||
@toggle-select="handleCardToggleSelect"
|
||||
@tasks-changed="handleWorkOrderTasksChanged"
|
||||
@open-sample-reception="handleOpenSampleReception"
|
||||
@page-change="onWorkOrderPageChange"
|
||||
@page-size-change="onWorkOrderPageSizeChange"
|
||||
/>
|
||||
|
||||
<component
|
||||
:is="viewDialogComponent"
|
||||
v-model:visible="viewVisible"
|
||||
:work-order-id="viewWorkOrderId"
|
||||
/>
|
||||
|
||||
<SampleReceptionDialog
|
||||
v-if="pageMode === 'mine'"
|
||||
v-model="sampleReceptionVisible"
|
||||
:sample-code="sampleReceptionSampleCode"
|
||||
:source-type="sampleReceptionSourceType"
|
||||
@success="handleSampleReceptionSuccess"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed, ref, toRef } from 'vue'
|
||||
import { Search, RefreshLeft, Plus } from '@element-plus/icons-vue'
|
||||
import type { ProductionWorkOrderItem } from '@/api/production-work-order'
|
||||
import type { ProductionWorkOrderTabKey } from '@/utils/production-work-order-tabs'
|
||||
import ProductionWorkOrderCardList from '../ProductionWorkOrderCardList.vue'
|
||||
import SampleReceptionDialog from '../SampleReceptionDialog.vue'
|
||||
import { PRODUCTION_WORK_ORDER_VIEW_DIALOG_COMPONENTS } from '../view-dialogs/view-dialog-registry'
|
||||
import {
|
||||
useProductionWorkOrderTabPage,
|
||||
type ProductionWorkOrderTabPageMode
|
||||
} from '../composables/useProductionWorkOrderTabPage'
|
||||
|
||||
defineOptions({ name: 'ProductionWorkOrderTabPanel' })
|
||||
|
||||
const props = defineProps<{
|
||||
tabKey: ProductionWorkOrderTabKey
|
||||
pageMode?: ProductionWorkOrderTabPageMode
|
||||
}>()
|
||||
|
||||
const emit = defineEmits<{
|
||||
(e: 'dispatch', row: ProductionWorkOrderItem): void
|
||||
(e: 'dispatch-qc', row: ProductionWorkOrderItem): void
|
||||
(e: 'complete', row: ProductionWorkOrderItem): void
|
||||
(e: 'command', command: string, row: ProductionWorkOrderItem): void
|
||||
(e: 'add-temporary'): void
|
||||
(e: 'open-sample-reception', row: ProductionWorkOrderItem): void
|
||||
}>()
|
||||
|
||||
const pageModeComputed = computed(() => props.pageMode || 'manage')
|
||||
const tabKeyRef = toRef(props, 'tabKey')
|
||||
const viewDialogComponent = computed(() => PRODUCTION_WORK_ORDER_VIEW_DIALOG_COMPONENTS[props.tabKey])
|
||||
|
||||
const sampleReceptionVisible = ref(false)
|
||||
const sampleReceptionSampleCode = ref('')
|
||||
const sampleReceptionSourceType = ref<string | undefined>(undefined)
|
||||
|
||||
const {
|
||||
cardMetaConfig,
|
||||
keywordPlaceholder,
|
||||
filterTimeLabel,
|
||||
filterTimeHint,
|
||||
searchForm,
|
||||
createTimeRange,
|
||||
tableData,
|
||||
presetTasksByWorkOrderId,
|
||||
loading,
|
||||
pagination,
|
||||
taskSubListRefreshToken,
|
||||
selectedIds,
|
||||
viewVisible,
|
||||
viewWorkOrderId,
|
||||
loadData,
|
||||
handleSearch,
|
||||
handleReset,
|
||||
onWorkOrderPageChange,
|
||||
onWorkOrderPageSizeChange,
|
||||
handleWorkOrderTasksChanged,
|
||||
handleView,
|
||||
handleCardToggleSelect,
|
||||
clearSelection,
|
||||
bumpTaskRefresh
|
||||
} = useProductionWorkOrderTabPage(tabKeyRef, pageModeComputed)
|
||||
|
||||
function handleCommand(command: string, row: ProductionWorkOrderItem) {
|
||||
if (command === 'view') {
|
||||
handleView(row)
|
||||
return
|
||||
}
|
||||
emit('command', command, row)
|
||||
}
|
||||
|
||||
function handleOpenSampleReception(row: ProductionWorkOrderItem) {
|
||||
if (pageModeComputed.value === 'mine') {
|
||||
sampleReceptionSampleCode.value = row.sampleCode || ''
|
||||
sampleReceptionSourceType.value = row.receptionSource
|
||||
sampleReceptionVisible.value = true
|
||||
return
|
||||
}
|
||||
emit('open-sample-reception', row)
|
||||
}
|
||||
|
||||
function handleSampleReceptionSuccess() {
|
||||
bumpTaskRefresh()
|
||||
loadData()
|
||||
}
|
||||
|
||||
defineExpose({
|
||||
reload: loadData,
|
||||
bumpTaskRefresh,
|
||||
clearSelection
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.my-production-task-filter-main-grid {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.my-production-task-filter-main-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.my-production-task-filter-main-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.filter-form :deep(.el-form-item) {
|
||||
margin-bottom: 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.filter-hint {
|
||||
margin: 0 0 10px;
|
||||
font-size: 12px;
|
||||
color: var(--mint-text-muted, #64748b);
|
||||
}
|
||||
|
||||
.filter-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
padding-top: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
</style>
|
||||
Loaded 100 of 186 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user