From f9c957784397401f51cd82a82ab369f743cb914d Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Wed, 22 Jul 2026 09:25:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AGENTS.md | 2 +- backend/app/crud/qc_task.py | 8 +- ...a6febedbd9c027c9e92cba84ed231404488b5.json | 1 + backend/graphify-out/.graphify_analysis.json | 8 +- backend/graphify-out/.graphify_extract.json | 214 +- backend/graphify-out/GRAPH_REPORT.md | 4 +- backend/graphify-out/graph.html | 4 +- backend/graphify-out/graph.json | 312 +- backend/graphify-out/manifest.json | 2 +- .../2026-07-21-qc-task-pending-tags-danger.md | 95 + ...7-21-qc-task-pending-tags-danger-design.md | 100 + .../specs/ui-conventions/spec.md | 4 +- .../graphify-out/.graphify_analysis.json | 2914 +++++++++-------- web-admin/graphify-out/.graphify_extract.json | 370 +-- web-admin/graphify-out/GRAPH_REPORT.md | 268 +- web-admin/graphify-out/graph.html | 8 +- web-admin/graphify-out/graph.json | 48 +- web-admin/graphify-out/manifest.json | 16 +- .../business/qc-task-view-dialog/index.vue | 12 +- ...60103baea65556aca04cd0c24769c21795897.json | 1 + ...a820f7b60690d516f8b84f26e65030deff843.json | 1 + ...88c788abb84eccc284131fefc7ca6268f9cb2.json | 1 + ...dd4fb4c7cfb0660564d5a941e3cfc5d4b3224.json | 1 + ...9cbd11a2d046d6b5152ae42d5b1f235a86af5.json | 1 + ...b42a697ad08cde4b2513b17df84a17e4f7326.json | 1 + ...8044224a02c938d65d7984f600db03368e07e.json | 1 + ...399d49ce339016a54b7888436f9524c11c53d.json | 1 + web-admin/src/utils/qc-labels.ts | 2 + web-admin/src/utils/status-tag-registry.ts | 15 +- .../QcWorkOrderTaskResultPanel.vue | 28 +- .../qc-work-order/QcWorkOrderTaskSubList.vue | 55 +- 31 files changed, 2333 insertions(+), 2165 deletions(-) create mode 100644 backend/app/graphify-out/cache/ast/822a3f51660e6e114570caa6823a6febedbd9c027c9e92cba84ed231404488b5.json create mode 100644 docs/superpowers/plans/2026-07-21-qc-task-pending-tags-danger.md create mode 100644 docs/superpowers/specs/2026-07-21-qc-task-pending-tags-danger-design.md create mode 100644 web-admin/src/graphify-out/cache/ast/0ba79f19c45fdc2df68de8fc21660103baea65556aca04cd0c24769c21795897.json create mode 100644 web-admin/src/graphify-out/cache/ast/52bc6839cf2c5f05969be6f8b01a820f7b60690d516f8b84f26e65030deff843.json create mode 100644 web-admin/src/graphify-out/cache/ast/9177a5e37acca8b9bd64dce1eb688c788abb84eccc284131fefc7ca6268f9cb2.json create mode 100644 web-admin/src/graphify-out/cache/ast/92a5b21d51095631f8ed115ed7cdd4fb4c7cfb0660564d5a941e3cfc5d4b3224.json create mode 100644 web-admin/src/graphify-out/cache/ast/995c35fc3eab707d707b98327b59cbd11a2d046d6b5152ae42d5b1f235a86af5.json create mode 100644 web-admin/src/graphify-out/cache/ast/9f1c19c5f71a85551242ebe4c81b42a697ad08cde4b2513b17df84a17e4f7326.json create mode 100644 web-admin/src/graphify-out/cache/ast/a2bf70ff16095e3035a2199b3738044224a02c938d65d7984f600db03368e07e.json create mode 100644 web-admin/src/graphify-out/cache/ast/cddcf8d3e2565a99c70d60b0399399d49ce339016a54b7888436f9524c11c53d.json diff --git a/AGENTS.md b/AGENTS.md index a85cd5b1..87a9a4b2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -31,7 +31,7 @@ Full specs: `openspec/changes/zkxw-engineering-standards/specs/*/spec.md`. Below - **Attachment upload card layout**: Upload trigger SHALL be a card (140×96px, dashed border `#a7f3d0`) inline as the first item in the same flex row as uploaded attachment cards; select file → immediate upload via `fetchUploadAttachment`; preview/download/delete on cards; hint below the row. Authority: `ProtocolFormDialog.vue` «协议附件». See `openspec/changes/zkxw-engineering-standards/specs/ui-conventions/spec.md` §「附件上传卡片化布局」for full Vue template + SCSS + interaction rules. - **Button icons**: All `web-admin` `el-button` with visible text labels SHALL include a leading `` from `@element-plus/icons-vue` (explicit import). See `openspec/.../ui-conventions/spec.md` §「按钮须携带图标」. - **Sort fields (sort_order/orderNum)**: web-admin 列表、新增弹窗、编辑弹窗中默认不展示排序字段。后续根据功能需要自行添加。 -- **Status/conclusion/type fields as Tags**: All status, conclusion, and type fields in table columns and view dialogs SHALL render as `` with semantic colors. Tables: use `` in column templates. SystemViewDialog: use `tagType` property on `ViewField`. Semantic colors: `success`=正常/启用/已完成/通过, `warning`=进行中/待确认/已过期, `danger`=异常/已作废/拒绝/不通过, `info`=待执行/待生效/停用/默认, `primary`=特殊分类/来源类型. SHALL NOT use plain text or custom ``. See `openspec/.../ui-conventions/spec.md` "状态、结论与类型字段使用 Tag 标签展示". +- **Status/conclusion/type fields as Tags**: All status, conclusion, and type fields in table columns and view dialogs SHALL render as `` with semantic colors. Tables: use `` in column templates. SystemViewDialog: use `tagType` property on `ViewField`. Semantic colors: `success`=正常/启用/已完成/通过, `warning`=进行中/待确认/已过期, `danger`=异常/已作废/拒绝/不通过/质检待执行/质检待结论, `info`=待生效/停用/默认, `primary`=特殊分类/来源类型. SHALL NOT use plain text or custom ``. See `openspec/.../ui-conventions/spec.md` "状态、结论与类型字段使用 Tag 标签展示". - **Template pages** — new pages SHALL match these exactly: - Standard list: `src/views/system/unit/index.vue` - Complex list: `src/views/system/order/index.vue` diff --git a/backend/app/crud/qc_task.py b/backend/app/crud/qc_task.py index f9df9259..900a46d4 100644 --- a/backend/app/crud/qc_task.py +++ b/backend/app/crud/qc_task.py @@ -705,10 +705,12 @@ def _set_task_remark(t: BizQcTask, remark: Optional[str]) -> None: t.remark = (remark or "").strip() or None -def _require_dsfjc_attachments(t: BizQcTask) -> None: - """第三方检测完成/保存结果时须至少有一个检测材料附件。""" +def _require_dsfjc_attachments(t: BizQcTask, *, for_status: str = "ywc") -> None: + """第三方检测且任务状态为已完成时,须至少有一个检测材料附件。""" if (t.task_type or "").strip() != "dsfjc": return + if (for_status or "").strip() != "ywc": + return if not (t.third_party_attachments or "").strip(): raise ValueError("第三方检测须上传检测材料附件") @@ -783,7 +785,7 @@ def apply_task_result( target = (task_status or "").strip() or "ywc" if target not in _QC_TASK_RESULT_STATUSES: raise ValueError("任务状态无效") - _require_dsfjc_attachments(t) + _require_dsfjc_attachments(t, for_status=target) if material_usages is not None: mu_svc.deduct_for_task( db, diff --git a/backend/app/graphify-out/cache/ast/822a3f51660e6e114570caa6823a6febedbd9c027c9e92cba84ed231404488b5.json b/backend/app/graphify-out/cache/ast/822a3f51660e6e114570caa6823a6febedbd9c027c9e92cba84ed231404488b5.json new file mode 100644 index 00000000..c6d83e3c --- /dev/null +++ b/backend/app/graphify-out/cache/ast/822a3f51660e6e114570caa6823a6febedbd9c027c9e92cba84ed231404488b5.json @@ -0,0 +1 @@ +{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "label": "qc_task.py", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1"}, {"id": "crud_qc_task_dec", "label": "_dec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L40"}, {"id": "crud_qc_task_fmt_dt", "label": "_fmt_dt()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L46"}, {"id": "crud_qc_task_gen_task_no", "label": "_gen_task_no()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L50"}, {"id": "crud_qc_task_conclusion_label", "label": "_conclusion_label()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L63"}, {"id": "crud_qc_task_task_to_dict", "label": "_task_to_dict()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L68"}, {"id": "crud_qc_task_task_work_order_context", "label": "_task_work_order_context()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L102"}, {"id": "crud_qc_task_merge_work_order_summary_into_task", "label": "_merge_work_order_summary_into_task()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L179"}, {"id": "crud_qc_task_enrich_mine_tasks_with_work_order_summaries", "label": "_enrich_mine_tasks_with_work_order_summaries()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L203"}, {"id": "crud_qc_task_enrich_tasks_reception_fields", "label": "_enrich_tasks_reception_fields()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L223"}, {"id": "crud_qc_task_task_row_to_dict", "label": "_task_row_to_dict()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L370"}, {"id": "crud_qc_task_create_task_for_line", "label": "create_task_for_line()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L381"}, {"id": "crud_qc_task_list_tasks", "label": "list_tasks()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L428"}, {"id": "crud_qc_task_list_mine_tasks", "label": "list_mine_tasks()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L509"}, {"id": "crud_qc_task_assert_task_assignee", "label": "assert_task_assignee()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L601"}, {"id": "crud_qc_task_list_tasks_by_work_order", "label": "list_tasks_by_work_order()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L608"}, {"id": "crud_qc_task_list_tasks_by_work_order_ids", "label": "list_tasks_by_work_order_ids()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L615"}, {"id": "crud_qc_task_get_task", "label": "get_task()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L645"}, {"id": "crud_qc_task_get_task_detail", "label": "get_task_detail()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L654"}, {"id": "crud_qc_task_start_task", "label": "start_task()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L687"}, {"id": "crud_qc_task_set_task_remark", "label": "_set_task_remark()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L704"}, {"id": "crud_qc_task_require_dsfjc_attachments", "label": "_require_dsfjc_attachments()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L708"}, {"id": "crud_qc_task_complete_task", "label": "complete_task()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L718"}, {"id": "crud_qc_task_apply_task_result", "label": "apply_task_result()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L763"}, {"id": "crud_qc_task_update_task_attachments", "label": "update_task_attachments()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L823"}, {"id": "crud_qc_task_create_qc_task_manual", "label": "create_qc_task_manual()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L853"}, {"id": "crud_qc_task_soft_delete_source_line_for_task", "label": "_soft_delete_source_line_for_task()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L902"}, {"id": "crud_qc_task_refresh_work_order_item_flags", "label": "_refresh_work_order_item_flags()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L964"}, {"id": "crud_qc_task_delete_qc_task", "label": "delete_qc_task()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1003"}, {"id": "crud_qc_task_rationale_180", "label": "\u5c06\u5217\u8868\u7ea7\u5de5\u5355\u6458\u8981\u5408\u5e76\u8fdb\u4efb\u52a1\u884c\uff0c\u4f9b\u300c\u6211\u7684\u8d28\u68c0\u4efb\u52a1\u300d\u524d\u7aef\u805a\u5408\u5c55\u793a\u3002", "file_type": "rationale", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L180"}, {"id": "crud_qc_task_rationale_709", "label": "\u7b2c\u4e09\u65b9\u68c0\u6d4b\u4e14\u4efb\u52a1\u72b6\u6001\u4e3a\u5df2\u5b8c\u6210\u65f6\uff0c\u987b\u81f3\u5c11\u6709\u4e00\u4e2a\u68c0\u6d4b\u6750\u6599\u9644\u4ef6\u3002", "file_type": "rationale", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L709"}, {"id": "crud_qc_task_rationale_775", "label": "\u4fdd\u5b58\u68c0\u6d4b\u7ed3\u679c\u4e0e\u7ed3\u8bba\uff0c\u5e76\u6309\u6307\u5b9a\u4efb\u52a1\u72b6\u6001\u843d\u5e93\uff08\u9ed8\u8ba4\u5df2\u5b8c\u6210\uff09\u3002", "file_type": "rationale", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L775"}, {"id": "crud_qc_task_rationale_910", "label": "\u5220\u9664\u4efb\u52a1\u65f6\u540c\u6b65\u8f6f\u5220\u6279\u6b21\u4e0b\u5bf9\u5e94 lab/third \u660e\u7ec6\u884c\uff0c\u907f\u514d\u914d\u7f6e\u5f39\u7a97\u4ecd\u52fe\u9009\u8be5\u9879\u76ee\u3002", "file_type": "rationale", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L910"}, {"id": "crud_qc_task_rationale_972", "label": "\u6309\u672a\u5220\u9664\u660e\u7ec6\u884c\u56de\u5199\u5de5\u5355 has_lab / has_third_party / \u7b2c\u4e09\u65b9\u8d39\u7528\u5408\u8ba1\u3002", "file_type": "rationale", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L972"}, {"id": "crud_qc_task_rationale_1004", "label": "\u8f6f\u5220\u9664\u8d28\u68c0\u4efb\u52a1\u3001\u68c0\u6d4b\u7ed3\u679c\uff0c\u5e76\u540c\u6b65\u89e3\u9664\u6279\u6b21\u4e2d\u7684\u9879\u76ee\u5173\u8054\u3002", "file_type": "rationale", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1004"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "decimal", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "sqlalchemy", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "app_core_utils", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "app_crud_collection_protocol", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "app_crud", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "app_crud_qc_work_order", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L14", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "app_core_db_collation", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L24", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "app_utils_sample_special", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L25", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "app_crud", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L26", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "app_models_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L27", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "app_models_research_donation", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L37", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_dec", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L40", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_fmt_dt", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L46", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_gen_task_no", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L50", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_conclusion_label", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L63", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_task_to_dict", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L68", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_task_work_order_context", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L102", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_merge_work_order_summary_into_task", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L179", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_enrich_mine_tasks_with_work_order_summaries", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L203", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_enrich_tasks_reception_fields", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L223", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_task_row_to_dict", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L370", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_create_task_for_line", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L381", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_list_tasks", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L428", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_list_mine_tasks", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L509", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_assert_task_assignee", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L601", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_list_tasks_by_work_order", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L608", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_list_tasks_by_work_order_ids", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L615", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_get_task", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L645", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_get_task_detail", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L654", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_start_task", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L687", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_set_task_remark", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L704", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_require_dsfjc_attachments", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L708", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_complete_task", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L718", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_apply_task_result", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L763", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_update_task_attachments", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L823", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_create_qc_task_manual", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L853", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_soft_delete_source_line_for_task", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L902", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_refresh_work_order_item_flags", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L964", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_qc_task_py", "target": "crud_qc_task_delete_qc_task", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1003", "weight": 1.0}, {"source": "crud_qc_task_task_to_dict", "target": "crud_qc_task_dec", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L88", "weight": 1.0}, {"source": "crud_qc_task_task_to_dict", "target": "crud_qc_task_conclusion_label", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L91", "weight": 1.0}, {"source": "crud_qc_task_task_to_dict", "target": "crud_qc_task_fmt_dt", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L94", "weight": 1.0}, {"source": "crud_qc_task_enrich_mine_tasks_with_work_order_summaries", "target": "crud_qc_task_merge_work_order_summary_into_task", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L219", "weight": 1.0}, {"source": "crud_qc_task_enrich_tasks_reception_fields", "target": "crud_qc_task_fmt_dt", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L327", "weight": 1.0}, {"source": "crud_qc_task_task_row_to_dict", "target": "crud_qc_task_task_to_dict", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L376", "weight": 1.0}, {"source": "crud_qc_task_task_row_to_dict", "target": "crud_qc_task_task_work_order_context", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L377", "weight": 1.0}, {"source": "crud_qc_task_create_task_for_line", "target": "crud_qc_task_gen_task_no", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L404", "weight": 1.0}, {"source": "crud_qc_task_list_tasks", "target": "crud_qc_task_task_row_to_dict", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L504", "weight": 1.0}, {"source": "crud_qc_task_list_tasks", "target": "crud_qc_task_enrich_tasks_reception_fields", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L505", "weight": 1.0}, {"source": "crud_qc_task_list_mine_tasks", "target": "crud_qc_task_task_row_to_dict", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L595", "weight": 1.0}, {"source": "crud_qc_task_list_mine_tasks", "target": "crud_qc_task_enrich_tasks_reception_fields", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L596", "weight": 1.0}, {"source": "crud_qc_task_list_mine_tasks", "target": "crud_qc_task_enrich_mine_tasks_with_work_order_summaries", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L597", "weight": 1.0}, {"source": "crud_qc_task_list_tasks_by_work_order", "target": "crud_qc_task_list_tasks_by_work_order_ids", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L612", "weight": 1.0}, {"source": "crud_qc_task_list_tasks_by_work_order_ids", "target": "crud_qc_task_task_row_to_dict", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L634", "weight": 1.0}, {"source": "crud_qc_task_list_tasks_by_work_order_ids", "target": "crud_qc_task_enrich_tasks_reception_fields", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L635", "weight": 1.0}, {"source": "crud_qc_task_get_task_detail", "target": "crud_qc_task_task_row_to_dict", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L669", "weight": 1.0}, {"source": "crud_qc_task_get_task_detail", "target": "crud_qc_task_enrich_tasks_reception_fields", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L670", "weight": 1.0}, {"source": "crud_qc_task_start_task", "target": "crud_qc_task_get_task", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L688", "weight": 1.0}, {"source": "crud_qc_task_complete_task", "target": "crud_qc_task_get_task", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L728", "weight": 1.0}, {"source": "crud_qc_task_complete_task", "target": "crud_qc_task_require_dsfjc_attachments", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L739", "weight": 1.0}, {"source": "crud_qc_task_complete_task", "target": "crud_qc_task_set_task_remark", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L743", "weight": 1.0}, {"source": "crud_qc_task_apply_task_result", "target": "crud_qc_task_get_task", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L779", "weight": 1.0}, {"source": "crud_qc_task_apply_task_result", "target": "crud_qc_task_require_dsfjc_attachments", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L788", "weight": 1.0}, {"source": "crud_qc_task_apply_task_result", "target": "crud_qc_task_set_task_remark", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L800", "weight": 1.0}, {"source": "crud_qc_task_update_task_attachments", "target": "crud_qc_task_get_task", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L832", "weight": 1.0}, {"source": "crud_qc_task_delete_qc_task", "target": "crud_qc_task_soft_delete_source_line_for_task", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1030", "weight": 1.0}, {"source": "crud_qc_task_delete_qc_task", "target": "crud_qc_task_refresh_work_order_item_flags", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1048", "weight": 1.0}, {"source": "crud_qc_task_rationale_180", "target": "crud_qc_task_merge_work_order_summary_into_task", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L180", "weight": 1.0}, {"source": "crud_qc_task_rationale_709", "target": "crud_qc_task_require_dsfjc_attachments", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L709", "weight": 1.0}, {"source": "crud_qc_task_rationale_775", "target": "crud_qc_task_apply_task_result", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L775", "weight": 1.0}, {"source": "crud_qc_task_rationale_910", "target": "crud_qc_task_soft_delete_source_line_for_task", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L910", "weight": 1.0}, {"source": "crud_qc_task_rationale_972", "target": "crud_qc_task_refresh_work_order_item_flags", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L972", "weight": 1.0}, {"source": "crud_qc_task_rationale_1004", "target": "crud_qc_task_delete_qc_task", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1004", "weight": 1.0}], "raw_calls": [{"caller_nid": "crud_qc_task_dec", "callee": "float", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L43"}, {"caller_nid": "crud_qc_task_fmt_dt", "callee": "strftime", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L47"}, {"caller_nid": "crud_qc_task_conclusion_label", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L64"}, {"caller_nid": "crud_qc_task_conclusion_label", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L65"}, {"caller_nid": "crud_qc_task_task_to_dict", "callee": "getattr", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L78"}, {"caller_nid": "crud_qc_task_task_to_dict", "callee": "getattr", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L79"}, {"caller_nid": "crud_qc_task_task_to_dict", "callee": "urls_to_attachment_list", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L93"}, {"caller_nid": "crud_qc_task_task_work_order_context", "callee": "_work_order_qc_biz_type", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L103"}, {"caller_nid": "crud_qc_task_task_work_order_context", "callee": "getattr", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L104"}, {"caller_nid": "crud_qc_task_task_work_order_context", "callee": "getattr", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L111"}, {"caller_nid": "crud_qc_task_task_work_order_context", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L112"}, {"caller_nid": "crud_qc_task_task_work_order_context", "callee": "getattr", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L114"}, {"caller_nid": "crud_qc_task_task_work_order_context", "callee": "getattr", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L115"}, {"caller_nid": "crud_qc_task_task_work_order_context", "callee": "_reception_source_label", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L116"}, {"caller_nid": "crud_qc_task_task_work_order_context", "callee": "_qc_biz_type_label", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L123"}, {"caller_nid": "crud_qc_task_task_work_order_context", "callee": "getattr", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L126"}, {"caller_nid": "crud_qc_task_merge_work_order_summary_into_task", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L184"}, {"caller_nid": "crud_qc_task_merge_work_order_summary_into_task", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L187"}, {"caller_nid": "crud_qc_task_merge_work_order_summary_into_task", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L199"}, {"caller_nid": "crud_qc_task_merge_work_order_summary_into_task", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L199"}, {"caller_nid": "crud_qc_task_enrich_mine_tasks_with_work_order_summaries", "callee": "build_work_order_list_summaries", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L211"}, {"caller_nid": "crud_qc_task_enrich_mine_tasks_with_work_order_summaries", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L217"}, {"caller_nid": "crud_qc_task_enrich_mine_tasks_with_work_order_summaries", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L217"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L228"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L228"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "all", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L233"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L233"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L233"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "in_", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L234"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "values", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L239"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "values", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L244"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "all", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L251"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L251"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L251"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "in_", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L252"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "all", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L259"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L259"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L259"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "in_", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L261"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "list", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L266"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "list", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L269"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "values", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L269"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "list", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L269"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "values", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L269"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "_load_sample_type_name_map", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L273"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "values", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L276"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "values", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L281"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "all", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L289"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L289"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L289"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "in_", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L295"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L300"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L301"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "all", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L306"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L306"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L306"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "in_", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L312"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L317"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L318"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L320"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "setdefault", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L321"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "setdefault", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L322"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L324"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L324"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "_sample_type_name_for_reception", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L329"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L336"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L339"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L340"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "format_protocol_status_label", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L345"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L350"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L351"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "format_protocol_status_label", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L356"}, {"caller_nid": "crud_qc_task_enrich_tasks_reception_fields", "callee": "apply_special_to_item_from_samples", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L359"}, {"caller_nid": "crud_qc_task_task_row_to_dict", "callee": "update", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L377"}, {"caller_nid": "crud_qc_task_create_task_for_line", "callee": "BizQcTask", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L399"}, {"caller_nid": "crud_qc_task_create_task_for_line", "callee": "generate_uuid", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L400"}, {"caller_nid": "crud_qc_task_create_task_for_line", "callee": "getattr", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L407"}, {"caller_nid": "crud_qc_task_create_task_for_line", "callee": "now", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L418"}, {"caller_nid": "crud_qc_task_create_task_for_line", "callee": "now", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L420"}, {"caller_nid": "crud_qc_task_create_task_for_line", "callee": "add", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L423"}, {"caller_nid": "crud_qc_task_create_task_for_line", "callee": "flush", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L424"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "scalar", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L490"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "with_entities", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L490"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "order_by", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L490"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "_filtered", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L490"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "count", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L490"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "max", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L491"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "min", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L492"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "max", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L492"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "all", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L494"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "limit", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L494"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "offset", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L494"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "order_by", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L494"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "_filtered", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L494"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "desc", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L496"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "desc", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L497"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "asc", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L498"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "enrich_tasks_with_assignees", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L506"}, {"caller_nid": "crud_qc_task_list_tasks", "callee": "int", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L506"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "scalar", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L581"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "with_entities", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L581"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "order_by", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L581"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "_filtered", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L581"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "count", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L581"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "max", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L582"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "min", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L583"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "max", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L583"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "all", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L585"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "limit", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L585"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "offset", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L585"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "order_by", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L585"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "_filtered", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L585"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "desc", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L587"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "desc", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L588"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "asc", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L589"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "enrich_tasks_with_assignees", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L598"}, {"caller_nid": "crud_qc_task_list_mine_tasks", "callee": "int", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L598"}, {"caller_nid": "crud_qc_task_assert_task_assignee", "callee": "is_user_assignee", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L604"}, {"caller_nid": "crud_qc_task_assert_task_assignee", "callee": "PermissionError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L605"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L609"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L612"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order_ids", "callee": "list", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L618"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order_ids", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L618"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order_ids", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L618"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order_ids", "callee": "all", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L623"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order_ids", "callee": "order_by", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L623"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order_ids", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L623"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order_ids", "callee": "join", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L623"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order_ids", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L623"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order_ids", "callee": "in_", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L626"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order_ids", "callee": "asc", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L631"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order_ids", "callee": "asc", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L631"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order_ids", "callee": "enrich_tasks_with_assignees", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L636"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order_ids", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L639"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order_ids", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L639"}, {"caller_nid": "crud_qc_task_list_tasks_by_work_order_ids", "callee": "append", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L641"}, {"caller_nid": "crud_qc_task_get_task", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L648"}, {"caller_nid": "crud_qc_task_get_task", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L648"}, {"caller_nid": "crud_qc_task_get_task", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L650"}, {"caller_nid": "crud_qc_task_get_task", "callee": "first", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L651"}, {"caller_nid": "crud_qc_task_get_task_detail", "callee": "first", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L656"}, {"caller_nid": "crud_qc_task_get_task_detail", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L656"}, {"caller_nid": "crud_qc_task_get_task_detail", "callee": "join", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L656"}, {"caller_nid": "crud_qc_task_get_task_detail", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L656"}, {"caller_nid": "crud_qc_task_get_task_detail", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L667"}, {"caller_nid": "crud_qc_task_get_task_detail", "callee": "enrich_tasks_with_assignees", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L671"}, {"caller_nid": "crud_qc_task_get_task_detail", "callee": "_enrich_work_order_qc_targets", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L674"}, {"caller_nid": "crud_qc_task_get_task_detail", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L675"}, {"caller_nid": "crud_qc_task_get_task_detail", "callee": "_resolve_reception_id_for_work_order_detail", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L676"}, {"caller_nid": "crud_qc_task_get_task_detail", "callee": "get_reception_by_id", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L678"}, {"caller_nid": "crud_qc_task_start_task", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L690"}, {"caller_nid": "crud_qc_task_start_task", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L692"}, {"caller_nid": "crud_qc_task_start_task", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L694"}, {"caller_nid": "crud_qc_task_start_task", "callee": "now", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L697"}, {"caller_nid": "crud_qc_task_start_task", "callee": "add", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L698"}, {"caller_nid": "crud_qc_task_start_task", "callee": "commit", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L699"}, {"caller_nid": "crud_qc_task_start_task", "callee": "refresh", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L700"}, {"caller_nid": "crud_qc_task_set_task_remark", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L705"}, {"caller_nid": "crud_qc_task_require_dsfjc_attachments", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L710"}, {"caller_nid": "crud_qc_task_require_dsfjc_attachments", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L712"}, {"caller_nid": "crud_qc_task_require_dsfjc_attachments", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L714"}, {"caller_nid": "crud_qc_task_require_dsfjc_attachments", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L715"}, {"caller_nid": "crud_qc_task_complete_task", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L730"}, {"caller_nid": "crud_qc_task_complete_task", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L731"}, {"caller_nid": "crud_qc_task_complete_task", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L733"}, {"caller_nid": "crud_qc_task_complete_task", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L736"}, {"caller_nid": "crud_qc_task_complete_task", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L738"}, {"caller_nid": "crud_qc_task_complete_task", "callee": "now", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L744"}, {"caller_nid": "crud_qc_task_complete_task", "callee": "now", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L747"}, {"caller_nid": "crud_qc_task_complete_task", "callee": "add", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L748"}, {"caller_nid": "crud_qc_task_complete_task", "callee": "commit", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L750"}, {"caller_nid": "crud_qc_task_complete_task", "callee": "refresh", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L751"}, {"caller_nid": "crud_qc_task_complete_task", "callee": "try_complete_work_order", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L754"}, {"caller_nid": "crud_qc_task_complete_task", "callee": "flush", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L756"}, {"caller_nid": "crud_qc_task_apply_task_result", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L781"}, {"caller_nid": "crud_qc_task_apply_task_result", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L782"}, {"caller_nid": "crud_qc_task_apply_task_result", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L784"}, {"caller_nid": "crud_qc_task_apply_task_result", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L785"}, {"caller_nid": "crud_qc_task_apply_task_result", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L787"}, {"caller_nid": "crud_qc_task_apply_task_result", "callee": "deduct_for_task", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L790"}, {"caller_nid": "crud_qc_task_apply_task_result", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L798"}, {"caller_nid": "crud_qc_task_apply_task_result", "callee": "now", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L803"}, {"caller_nid": "crud_qc_task_apply_task_result", "callee": "now", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L805"}, {"caller_nid": "crud_qc_task_apply_task_result", "callee": "add", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L810"}, {"caller_nid": "crud_qc_task_apply_task_result", "callee": "commit", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L812"}, {"caller_nid": "crud_qc_task_apply_task_result", "callee": "refresh", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L813"}, {"caller_nid": "crud_qc_task_apply_task_result", "callee": "try_complete_work_order", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L815"}, {"caller_nid": "crud_qc_task_apply_task_result", "callee": "try_reopen_work_order", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L817"}, {"caller_nid": "crud_qc_task_apply_task_result", "callee": "flush", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L819"}, {"caller_nid": "crud_qc_task_update_task_attachments", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L834"}, {"caller_nid": "crud_qc_task_update_task_attachments", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L835"}, {"caller_nid": "crud_qc_task_update_task_attachments", "callee": "now", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L843"}, {"caller_nid": "crud_qc_task_update_task_attachments", "callee": "add", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L844"}, {"caller_nid": "crud_qc_task_update_task_attachments", "callee": "commit", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L846"}, {"caller_nid": "crud_qc_task_update_task_attachments", "callee": "refresh", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L847"}, {"caller_nid": "crud_qc_task_update_task_attachments", "callee": "flush", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L849"}, {"caller_nid": "crud_qc_task_create_qc_task_manual", "callee": "strftime", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L871"}, {"caller_nid": "crud_qc_task_create_qc_task_manual", "callee": "now", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L871"}, {"caller_nid": "crud_qc_task_create_qc_task_manual", "callee": "count", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L873"}, {"caller_nid": "crud_qc_task_create_qc_task_manual", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L873"}, {"caller_nid": "crud_qc_task_create_qc_task_manual", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L873"}, {"caller_nid": "crud_qc_task_create_qc_task_manual", "callee": "like", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L875"}, {"caller_nid": "crud_qc_task_create_qc_task_manual", "callee": "BizQcTask", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L879"}, {"caller_nid": "crud_qc_task_create_qc_task_manual", "callee": "generate_uuid", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L880"}, {"caller_nid": "crud_qc_task_create_qc_task_manual", "callee": "add", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L897"}, {"caller_nid": "crud_qc_task_create_qc_task_manual", "callee": "flush", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L898"}, {"caller_nid": "crud_qc_task_soft_delete_source_line_for_task", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L911"}, {"caller_nid": "crud_qc_task_soft_delete_source_line_for_task", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L914"}, {"caller_nid": "crud_qc_task_soft_delete_source_line_for_task", "callee": "first", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L918"}, {"caller_nid": "crud_qc_task_soft_delete_source_line_for_task", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L918"}, {"caller_nid": "crud_qc_task_soft_delete_source_line_for_task", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L918"}, {"caller_nid": "crud_qc_task_soft_delete_source_line_for_task", "callee": "first", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L928"}, {"caller_nid": "crud_qc_task_soft_delete_source_line_for_task", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L928"}, {"caller_nid": "crud_qc_task_soft_delete_source_line_for_task", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L928"}, {"caller_nid": "crud_qc_task_soft_delete_source_line_for_task", "callee": "first", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L938"}, {"caller_nid": "crud_qc_task_soft_delete_source_line_for_task", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L938"}, {"caller_nid": "crud_qc_task_soft_delete_source_line_for_task", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L938"}, {"caller_nid": "crud_qc_task_soft_delete_source_line_for_task", "callee": "first", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L948"}, {"caller_nid": "crud_qc_task_soft_delete_source_line_for_task", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L948"}, {"caller_nid": "crud_qc_task_soft_delete_source_line_for_task", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L948"}, {"caller_nid": "crud_qc_task_soft_delete_source_line_for_task", "callee": "add", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L961"}, {"caller_nid": "crud_qc_task_refresh_work_order_item_flags", "callee": "count", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L974"}, {"caller_nid": "crud_qc_task_refresh_work_order_item_flags", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L974"}, {"caller_nid": "crud_qc_task_refresh_work_order_item_flags", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L974"}, {"caller_nid": "crud_qc_task_refresh_work_order_item_flags", "callee": "all", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L983"}, {"caller_nid": "crud_qc_task_refresh_work_order_item_flags", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L983"}, {"caller_nid": "crud_qc_task_refresh_work_order_item_flags", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L983"}, {"caller_nid": "crud_qc_task_refresh_work_order_item_flags", "callee": "sum", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L994"}, {"caller_nid": "crud_qc_task_refresh_work_order_item_flags", "callee": "Decimal", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L994"}, {"caller_nid": "crud_qc_task_refresh_work_order_item_flags", "callee": "add", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1000"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "first", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1005"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1005"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1005"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "and_", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1006"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1013"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "now", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1016"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "all", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1021"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1021"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1021"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "and_", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1022"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "soft_delete_assignees_by_task_ids", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1035"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "flush", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1042"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "get_work_order", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1046"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1051"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "count", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1053"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1053"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1053"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "add", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1066"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "commit", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1068"}, {"caller_nid": "crud_qc_task_delete_qc_task", "callee": "try_complete_work_order", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_task.py", "source_location": "L1069"}]} \ No newline at end of file diff --git a/backend/graphify-out/.graphify_analysis.json b/backend/graphify-out/.graphify_analysis.json index a656a4b9..48dc1d42 100644 --- a/backend/graphify-out/.graphify_analysis.json +++ b/backend/graphify-out/.graphify_analysis.json @@ -3319,12 +3319,12 @@ "crud_qc_inspection_batch_rationale_684", "crud_qc_inspection_batch_rationale_902", "crud_qc_sms_notification_rationale_32", - "crud_qc_task_rationale_1002", + "crud_qc_task_rationale_1004", "crud_qc_task_rationale_180", "crud_qc_task_rationale_709", - "crud_qc_task_rationale_773", - "crud_qc_task_rationale_908", - "crud_qc_task_rationale_970", + "crud_qc_task_rationale_775", + "crud_qc_task_rationale_910", + "crud_qc_task_rationale_972", "crud_qc_task_result_rationale_103", "crud_qc_task_result_rationale_43", "crud_qc_work_order_create_qc_work_order_manual", diff --git a/backend/graphify-out/.graphify_extract.json b/backend/graphify-out/.graphify_extract.json index f52d5ff5..abba244a 100644 --- a/backend/graphify-out/.graphify_extract.json +++ b/backend/graphify-out/.graphify_extract.json @@ -8055,49 +8055,49 @@ "label": "complete_task()", "file_type": "code", "source_file": "crud/qc_task.py", - "source_location": "L716" + "source_location": "L718" }, { "id": "crud_qc_task_apply_task_result", "label": "apply_task_result()", "file_type": "code", "source_file": "crud/qc_task.py", - "source_location": "L761" + "source_location": "L763" }, { "id": "crud_qc_task_update_task_attachments", "label": "update_task_attachments()", "file_type": "code", "source_file": "crud/qc_task.py", - "source_location": "L821" + "source_location": "L823" }, { "id": "crud_qc_task_create_qc_task_manual", "label": "create_qc_task_manual()", "file_type": "code", "source_file": "crud/qc_task.py", - "source_location": "L851" + "source_location": "L853" }, { "id": "crud_qc_task_soft_delete_source_line_for_task", "label": "_soft_delete_source_line_for_task()", "file_type": "code", "source_file": "crud/qc_task.py", - "source_location": "L900" + "source_location": "L902" }, { "id": "crud_qc_task_refresh_work_order_item_flags", "label": "_refresh_work_order_item_flags()", "file_type": "code", "source_file": "crud/qc_task.py", - "source_location": "L962" + "source_location": "L964" }, { "id": "crud_qc_task_delete_qc_task", "label": "delete_qc_task()", "file_type": "code", "source_file": "crud/qc_task.py", - "source_location": "L1001" + "source_location": "L1003" }, { "id": "crud_qc_task_rationale_180", @@ -8108,38 +8108,38 @@ }, { "id": "crud_qc_task_rationale_709", - "label": "\u7b2c\u4e09\u65b9\u68c0\u6d4b\u5b8c\u6210/\u4fdd\u5b58\u7ed3\u679c\u65f6\u987b\u81f3\u5c11\u6709\u4e00\u4e2a\u68c0\u6d4b\u6750\u6599\u9644\u4ef6\u3002", + "label": "\u7b2c\u4e09\u65b9\u68c0\u6d4b\u4e14\u4efb\u52a1\u72b6\u6001\u4e3a\u5df2\u5b8c\u6210\u65f6\uff0c\u987b\u81f3\u5c11\u6709\u4e00\u4e2a\u68c0\u6d4b\u6750\u6599\u9644\u4ef6\u3002", "file_type": "rationale", "source_file": "crud/qc_task.py", "source_location": "L709" }, { - "id": "crud_qc_task_rationale_773", + "id": "crud_qc_task_rationale_775", "label": "\u4fdd\u5b58\u68c0\u6d4b\u7ed3\u679c\u4e0e\u7ed3\u8bba\uff0c\u5e76\u6309\u6307\u5b9a\u4efb\u52a1\u72b6\u6001\u843d\u5e93\uff08\u9ed8\u8ba4\u5df2\u5b8c\u6210\uff09\u3002", "file_type": "rationale", "source_file": "crud/qc_task.py", - "source_location": "L773" + "source_location": "L775" }, { - "id": "crud_qc_task_rationale_908", + "id": "crud_qc_task_rationale_910", "label": "\u5220\u9664\u4efb\u52a1\u65f6\u540c\u6b65\u8f6f\u5220\u6279\u6b21\u4e0b\u5bf9\u5e94 lab/third \u660e\u7ec6\u884c\uff0c\u907f\u514d\u914d\u7f6e\u5f39\u7a97\u4ecd\u52fe\u9009\u8be5\u9879\u76ee\u3002", "file_type": "rationale", "source_file": "crud/qc_task.py", - "source_location": "L908" + "source_location": "L910" }, { - "id": "crud_qc_task_rationale_970", + "id": "crud_qc_task_rationale_972", "label": "\u6309\u672a\u5220\u9664\u660e\u7ec6\u884c\u56de\u5199\u5de5\u5355 has_lab / has_third_party / \u7b2c\u4e09\u65b9\u8d39\u7528\u5408\u8ba1\u3002", "file_type": "rationale", "source_file": "crud/qc_task.py", - "source_location": "L970" + "source_location": "L972" }, { - "id": "crud_qc_task_rationale_1002", + "id": "crud_qc_task_rationale_1004", "label": "\u8f6f\u5220\u9664\u8d28\u68c0\u4efb\u52a1\u3001\u68c0\u6d4b\u7ed3\u679c\uff0c\u5e76\u540c\u6b65\u89e3\u9664\u6279\u6b21\u4e2d\u7684\u9879\u76ee\u5173\u8054\u3002", "file_type": "rationale", "source_file": "crud/qc_task.py", - "source_location": "L1002" + "source_location": "L1004" }, { "id": "crud_process_route_py", @@ -52432,7 +52432,7 @@ "relation": "contains", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L716", + "source_location": "L718", "weight": 1.0 }, { @@ -52441,7 +52441,7 @@ "relation": "contains", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L761", + "source_location": "L763", "weight": 1.0 }, { @@ -52450,7 +52450,7 @@ "relation": "contains", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L821", + "source_location": "L823", "weight": 1.0 }, { @@ -52459,7 +52459,7 @@ "relation": "contains", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L851", + "source_location": "L853", "weight": 1.0 }, { @@ -52468,7 +52468,7 @@ "relation": "contains", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L900", + "source_location": "L902", "weight": 1.0 }, { @@ -52477,7 +52477,7 @@ "relation": "contains", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L962", + "source_location": "L964", "weight": 1.0 }, { @@ -52486,7 +52486,7 @@ "relation": "contains", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L1001", + "source_location": "L1003", "weight": 1.0 }, { @@ -52666,7 +52666,7 @@ "relation": "calls", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L726", + "source_location": "L728", "weight": 1.0 }, { @@ -52675,7 +52675,7 @@ "relation": "calls", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L737", + "source_location": "L739", "weight": 1.0 }, { @@ -52684,7 +52684,7 @@ "relation": "calls", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L741", + "source_location": "L743", "weight": 1.0 }, { @@ -52693,7 +52693,7 @@ "relation": "calls", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L777", + "source_location": "L779", "weight": 1.0 }, { @@ -52702,7 +52702,7 @@ "relation": "calls", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L786", + "source_location": "L788", "weight": 1.0 }, { @@ -52711,7 +52711,7 @@ "relation": "calls", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L798", + "source_location": "L800", "weight": 1.0 }, { @@ -52720,7 +52720,7 @@ "relation": "calls", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L830", + "source_location": "L832", "weight": 1.0 }, { @@ -52729,7 +52729,7 @@ "relation": "calls", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L1028", + "source_location": "L1030", "weight": 1.0 }, { @@ -52738,7 +52738,7 @@ "relation": "calls", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L1046", + "source_location": "L1048", "weight": 1.0 }, { @@ -52760,39 +52760,39 @@ "weight": 1.0 }, { - "source": "crud_qc_task_rationale_773", + "source": "crud_qc_task_rationale_775", "target": "crud_qc_task_apply_task_result", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L773", + "source_location": "L775", "weight": 1.0 }, { - "source": "crud_qc_task_rationale_908", + "source": "crud_qc_task_rationale_910", "target": "crud_qc_task_soft_delete_source_line_for_task", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L908", + "source_location": "L910", "weight": 1.0 }, { - "source": "crud_qc_task_rationale_970", + "source": "crud_qc_task_rationale_972", "target": "crud_qc_task_refresh_work_order_item_flags", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L970", + "source_location": "L972", "weight": 1.0 }, { - "source": "crud_qc_task_rationale_1002", + "source": "crud_qc_task_rationale_1004", "target": "crud_qc_task_delete_qc_task", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "crud/qc_task.py", - "source_location": "L1002", + "source_location": "L1004", "weight": 1.0 }, { @@ -172928,7 +172928,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_773", + "source": "crud_qc_task_rationale_775", "target": "models_models_bizcollectionprotocol", "relation": "uses", "confidence": "INFERRED", @@ -172937,7 +172937,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_908", + "source": "crud_qc_task_rationale_910", "target": "models_models_bizcollectionprotocol", "relation": "uses", "confidence": "INFERRED", @@ -172946,7 +172946,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_970", + "source": "crud_qc_task_rationale_972", "target": "models_models_bizcollectionprotocol", "relation": "uses", "confidence": "INFERRED", @@ -172955,7 +172955,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_1002", + "source": "crud_qc_task_rationale_1004", "target": "models_models_bizcollectionprotocol", "relation": "uses", "confidence": "INFERRED", @@ -172982,7 +172982,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_773", + "source": "crud_qc_task_rationale_775", "target": "models_models_bizprotocolsample", "relation": "uses", "confidence": "INFERRED", @@ -172991,7 +172991,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_908", + "source": "crud_qc_task_rationale_910", "target": "models_models_bizprotocolsample", "relation": "uses", "confidence": "INFERRED", @@ -173000,7 +173000,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_970", + "source": "crud_qc_task_rationale_972", "target": "models_models_bizprotocolsample", "relation": "uses", "confidence": "INFERRED", @@ -173009,7 +173009,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_1002", + "source": "crud_qc_task_rationale_1004", "target": "models_models_bizprotocolsample", "relation": "uses", "confidence": "INFERRED", @@ -173036,7 +173036,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_773", + "source": "crud_qc_task_rationale_775", "target": "models_models_bizqctask", "relation": "uses", "confidence": "INFERRED", @@ -173045,7 +173045,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_908", + "source": "crud_qc_task_rationale_910", "target": "models_models_bizqctask", "relation": "uses", "confidence": "INFERRED", @@ -173054,7 +173054,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_970", + "source": "crud_qc_task_rationale_972", "target": "models_models_bizqctask", "relation": "uses", "confidence": "INFERRED", @@ -173063,7 +173063,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_1002", + "source": "crud_qc_task_rationale_1004", "target": "models_models_bizqctask", "relation": "uses", "confidence": "INFERRED", @@ -173090,7 +173090,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_773", + "source": "crud_qc_task_rationale_775", "target": "models_models_bizqctaskassignee", "relation": "uses", "confidence": "INFERRED", @@ -173099,7 +173099,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_908", + "source": "crud_qc_task_rationale_910", "target": "models_models_bizqctaskassignee", "relation": "uses", "confidence": "INFERRED", @@ -173108,7 +173108,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_970", + "source": "crud_qc_task_rationale_972", "target": "models_models_bizqctaskassignee", "relation": "uses", "confidence": "INFERRED", @@ -173117,7 +173117,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_1002", + "source": "crud_qc_task_rationale_1004", "target": "models_models_bizqctaskassignee", "relation": "uses", "confidence": "INFERRED", @@ -173144,7 +173144,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_773", + "source": "crud_qc_task_rationale_775", "target": "models_models_bizqcworkorder", "relation": "uses", "confidence": "INFERRED", @@ -173153,7 +173153,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_908", + "source": "crud_qc_task_rationale_910", "target": "models_models_bizqcworkorder", "relation": "uses", "confidence": "INFERRED", @@ -173162,7 +173162,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_970", + "source": "crud_qc_task_rationale_972", "target": "models_models_bizqcworkorder", "relation": "uses", "confidence": "INFERRED", @@ -173171,7 +173171,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_1002", + "source": "crud_qc_task_rationale_1004", "target": "models_models_bizqcworkorder", "relation": "uses", "confidence": "INFERRED", @@ -173198,7 +173198,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_773", + "source": "crud_qc_task_rationale_775", "target": "models_models_bizqcworkorderlabitem", "relation": "uses", "confidence": "INFERRED", @@ -173207,7 +173207,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_908", + "source": "crud_qc_task_rationale_910", "target": "models_models_bizqcworkorderlabitem", "relation": "uses", "confidence": "INFERRED", @@ -173216,7 +173216,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_970", + "source": "crud_qc_task_rationale_972", "target": "models_models_bizqcworkorderlabitem", "relation": "uses", "confidence": "INFERRED", @@ -173225,7 +173225,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_1002", + "source": "crud_qc_task_rationale_1004", "target": "models_models_bizqcworkorderlabitem", "relation": "uses", "confidence": "INFERRED", @@ -173252,7 +173252,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_773", + "source": "crud_qc_task_rationale_775", "target": "models_models_bizqcworkorderthirditem", "relation": "uses", "confidence": "INFERRED", @@ -173261,7 +173261,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_908", + "source": "crud_qc_task_rationale_910", "target": "models_models_bizqcworkorderthirditem", "relation": "uses", "confidence": "INFERRED", @@ -173270,7 +173270,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_970", + "source": "crud_qc_task_rationale_972", "target": "models_models_bizqcworkorderthirditem", "relation": "uses", "confidence": "INFERRED", @@ -173279,7 +173279,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_1002", + "source": "crud_qc_task_rationale_1004", "target": "models_models_bizqcworkorderthirditem", "relation": "uses", "confidence": "INFERRED", @@ -173306,7 +173306,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_773", + "source": "crud_qc_task_rationale_775", "target": "models_models_bizsamplereception", "relation": "uses", "confidence": "INFERRED", @@ -173315,7 +173315,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_908", + "source": "crud_qc_task_rationale_910", "target": "models_models_bizsamplereception", "relation": "uses", "confidence": "INFERRED", @@ -173324,7 +173324,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_970", + "source": "crud_qc_task_rationale_972", "target": "models_models_bizsamplereception", "relation": "uses", "confidence": "INFERRED", @@ -173333,7 +173333,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_1002", + "source": "crud_qc_task_rationale_1004", "target": "models_models_bizsamplereception", "relation": "uses", "confidence": "INFERRED", @@ -173360,7 +173360,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_773", + "source": "crud_qc_task_rationale_775", "target": "models_research_donation_bizresearchdonation", "relation": "uses", "confidence": "INFERRED", @@ -173369,7 +173369,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_908", + "source": "crud_qc_task_rationale_910", "target": "models_research_donation_bizresearchdonation", "relation": "uses", "confidence": "INFERRED", @@ -173378,7 +173378,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_970", + "source": "crud_qc_task_rationale_972", "target": "models_research_donation_bizresearchdonation", "relation": "uses", "confidence": "INFERRED", @@ -173387,7 +173387,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_1002", + "source": "crud_qc_task_rationale_1004", "target": "models_research_donation_bizresearchdonation", "relation": "uses", "confidence": "INFERRED", @@ -173414,7 +173414,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_773", + "source": "crud_qc_task_rationale_775", "target": "models_research_donation_bizresearchdonationsample", "relation": "uses", "confidence": "INFERRED", @@ -173423,7 +173423,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_908", + "source": "crud_qc_task_rationale_910", "target": "models_research_donation_bizresearchdonationsample", "relation": "uses", "confidence": "INFERRED", @@ -173432,7 +173432,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_970", + "source": "crud_qc_task_rationale_972", "target": "models_research_donation_bizresearchdonationsample", "relation": "uses", "confidence": "INFERRED", @@ -173441,7 +173441,7 @@ "weight": 0.8 }, { - "source": "crud_qc_task_rationale_1002", + "source": "crud_qc_task_rationale_1004", "target": "models_research_donation_bizresearchdonationsample", "relation": "uses", "confidence": "INFERRED", @@ -173455,7 +173455,7 @@ "relation": "uses", "confidence": "INFERRED", "source_file": "crud/qc_task.py", - "source_location": "L1017", + "source_location": "L1019", "weight": 0.8 }, { @@ -173464,43 +173464,43 @@ "relation": "uses", "confidence": "INFERRED", "source_file": "crud/qc_task.py", - "source_location": "L1017", + "source_location": "L1019", "weight": 0.8 }, { - "source": "crud_qc_task_rationale_773", + "source": "crud_qc_task_rationale_775", "target": "models_qc_param_bizqctaskresult", "relation": "uses", "confidence": "INFERRED", "source_file": "crud/qc_task.py", - "source_location": "L1017", + "source_location": "L1019", "weight": 0.8 }, { - "source": "crud_qc_task_rationale_908", + "source": "crud_qc_task_rationale_910", "target": "models_qc_param_bizqctaskresult", "relation": "uses", "confidence": "INFERRED", "source_file": "crud/qc_task.py", - "source_location": "L1017", + "source_location": "L1019", "weight": 0.8 }, { - "source": "crud_qc_task_rationale_970", + "source": "crud_qc_task_rationale_972", "target": "models_qc_param_bizqctaskresult", "relation": "uses", "confidence": "INFERRED", "source_file": "crud/qc_task.py", - "source_location": "L1017", + "source_location": "L1019", "weight": 0.8 }, { - "source": "crud_qc_task_rationale_1002", + "source": "crud_qc_task_rationale_1004", "target": "models_qc_param_bizqctaskresult", "relation": "uses", "confidence": "INFERRED", "source_file": "crud/qc_task.py", - "source_location": "L1017", + "source_location": "L1019", "weight": 0.8 }, { @@ -238860,7 +238860,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L713", + "source_location": "L715", "weight": 1.0 }, { @@ -238870,7 +238870,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L728", + "source_location": "L730", "weight": 1.0 }, { @@ -238880,7 +238880,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L752", + "source_location": "L754", "weight": 1.0 }, { @@ -238890,7 +238890,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L779", + "source_location": "L781", "weight": 1.0 }, { @@ -238900,7 +238900,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L788", + "source_location": "L790", "weight": 1.0 }, { @@ -238910,7 +238910,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L813", + "source_location": "L815", "weight": 1.0 }, { @@ -238920,7 +238920,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L815", + "source_location": "L817", "weight": 1.0 }, { @@ -238930,7 +238930,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L832", + "source_location": "L834", "weight": 1.0 }, { @@ -238940,7 +238940,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L871", + "source_location": "L873", "weight": 1.0 }, { @@ -238950,7 +238950,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L877", + "source_location": "L879", "weight": 1.0 }, { @@ -238960,7 +238960,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L878", + "source_location": "L880", "weight": 1.0 }, { @@ -238970,7 +238970,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L972", + "source_location": "L974", "weight": 1.0 }, { @@ -238980,7 +238980,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L1011", + "source_location": "L1013", "weight": 1.0 }, { @@ -238990,7 +238990,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L1033", + "source_location": "L1035", "weight": 1.0 }, { @@ -239000,7 +239000,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L1044", + "source_location": "L1046", "weight": 1.0 }, { @@ -239010,7 +239010,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L1051", + "source_location": "L1053", "weight": 1.0 }, { @@ -239020,7 +239020,7 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "crud/qc_task.py", - "source_location": "L1067", + "source_location": "L1069", "weight": 1.0 }, { diff --git a/backend/graphify-out/GRAPH_REPORT.md b/backend/graphify-out/GRAPH_REPORT.md index d0623142..9c5182a4 100644 --- a/backend/graphify-out/GRAPH_REPORT.md +++ b/backend/graphify-out/GRAPH_REPORT.md @@ -1,7 +1,7 @@ -# Graph Report - app (2026-07-17) +# Graph Report - app (2026-07-21) ## Corpus Check -- Large corpus: 225 files · ~280,104 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only. +- Large corpus: 225 files · ~280,117 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only. ## Summary - 4764 nodes · 26310 edges · 39 communities detected diff --git a/backend/graphify-out/graph.html b/backend/graphify-out/graph.html index 23d43c3f..2b05946e 100644 --- a/backend/graphify-out/graph.html +++ b/backend/graphify-out/graph.html @@ -60,8 +60,8 @@
4764 nodes · 26310 edges · 45 communities
diff --git a/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderTaskSubList.vue b/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderTaskSubList.vue index 065c73d4..b5a93f1e 100644 --- a/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderTaskSubList.vue +++ b/web-admin/src/views/quality-inspection/qc-work-order/QcWorkOrderTaskSubList.vue @@ -40,14 +40,11 @@ {{ taskTypeLabel(row.taskType) }} - - {{ row.conclusionLabel || qcTaskConclusionLabel(row.conclusion) }} + + {{ + row.conclusionLabel || qcConclusionDisplayLabel(row.conclusion) + }} - 待结论
@@ -336,7 +333,7 @@ v-model:attachments="resultAttachments" :show-remark="false" :attachment-label="resultAttachmentLabel" - :attachment-required="resultTaskType === 'dsfjc'" + :attachment-required="resultAttachmentRequired" :upload-folder="resultUploadFolder" />
@@ -555,13 +552,15 @@ taskTypeLabel, taskTypeTagType, taskStatusLabel, + taskStatusTagType, qcBizTypeLabel, qcBizTypeTagType, receptionSourceLabel, acceptConclusionLabel, transportTypeLabel, workOrderStatusLabel, - qcTaskConclusionLabel + qcConclusionDisplayLabel, + qcConclusionDisplayTagType } from '@/utils/qc-labels' import { protocolStatusLabel, @@ -644,8 +643,8 @@ const resultTaskId = ref('') const resultTaskType = ref('') const resultTaskStatus = ref('') - /** 填写结果弹窗所选落库状态,默认已完成 */ - const resultSaveStatus = ref<'dzx' | 'jxz' | 'ywc'>('ywc') + /** 填写结果弹窗所选落库状态,默认与当前任务状态一致 */ + const resultSaveStatus = ref<'dzx' | 'jxz' | 'ywc'>('jxz') const resultParams = ref([]) const resultRemark = ref('') const resultConclusion = ref('') @@ -749,6 +748,11 @@ const resultDialogWidth = computed(() => (resultTaskType.value === 'sysz' ? '1200px' : '960px')) + function normalizeResultSaveStatus(status?: string): 'dzx' | 'jxz' | 'ywc' { + if (status === 'dzx' || status === 'jxz' || status === 'ywc') return status + return 'jxz' + } + function canFillResult(row: QcTask) { if (row.taskType === 'sysz') { return row.taskStatus === 'jxz' || row.taskStatus === 'ywc' @@ -789,22 +793,15 @@ } } - function taskStatusTagType(status: string) { - if (status === 'ywc') return 'success' as const - if (status === 'jxz') return 'warning' as const - return 'info' as const - } - - function conclusionTagType(conclusion: string) { - if (conclusion === 'tg') return 'success' as const - if (conclusion === 'btg') return 'danger' as const - return 'info' as const - } - const resultAttachmentLabel = computed(() => resultTaskType.value === 'dsfjc' ? '检测材料' : '检测附件' ) + /** 第三方检测且任务状态选「已完成」时,检测材料必填 */ + const resultAttachmentRequired = computed( + () => resultTaskType.value === 'dsfjc' && resultSaveStatus.value === 'ywc' + ) + const resultUploadFolder = computed(() => resultTaskType.value === 'dsfjc' ? 'qc-third-party' : 'qc-lab' ) @@ -1167,13 +1164,12 @@ { label: '任务状态', value: taskStatusLabel(d.taskStatus), - tagType: - d.taskStatus === 'ywc' ? 'success' : d.taskStatus === 'jxz' ? 'warning' : 'info' + tagType: taskStatusTagType(d.taskStatus) }, { label: '检测结论', - value: d.conclusionLabel || qcTaskConclusionLabel(d.conclusion || ''), - tagType: d.conclusion === 'tg' ? 'success' : d.conclusion === 'btg' ? 'danger' : 'info' + value: d.conclusionLabel || qcConclusionDisplayLabel(d.conclusion), + tagType: qcConclusionDisplayTagType(d.conclusion) }, { label: '负责人', value: d.assigneeUserNames || '—' }, { label: '完成时间', value: d.completedTime || '—' }, @@ -1274,7 +1270,7 @@ return } resultTaskStatus.value = row.taskStatus - resultSaveStatus.value = 'ywc' + resultSaveStatus.value = normalizeResultSaveStatus(row.taskStatus) resultTaskId.value = row.id resultTaskType.value = row.taskType resultRemark.value = row.remark || '' @@ -1286,6 +1282,7 @@ try { const detail = await fetchQcTaskDetail(row.id) resultTaskStatus.value = detail.taskStatus || row.taskStatus + resultSaveStatus.value = normalizeResultSaveStatus(detail.taskStatus || row.taskStatus) resultRemark.value = detail.remark || row.remark || '' resultConclusion.value = detail.conclusion || 'tg' resultAttachments.value = apiFilesToFinanceItems(detail.attachmentFiles) @@ -1315,7 +1312,7 @@ return } if ( - resultTaskType.value === 'dsfjc' && + resultAttachmentRequired.value && !resultAttachments.value.some((a) => a.fileUrl && !a._uploading) ) { ElMessage.warning('请上传检测材料')