From 095fc5a71d094deccd5c5aecf79517ac01c0e598 Mon Sep 17 00:00:00 2001
From: 董国庆 <364620639@qq.com>
Date: 星期二, 13 五月 2025 14:56:07 +0800
Subject: [PATCH] 检验方法确认单

---
 laboratory/src/views/dataManagement/dispatching/editDispatch.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/laboratory/src/views/dataManagement/dispatching/editDispatch.vue b/laboratory/src/views/dataManagement/dispatching/editDispatch.vue
index 713e385..55c3832 100644
--- a/laboratory/src/views/dataManagement/dispatching/editDispatch.vue
+++ b/laboratory/src/views/dataManagement/dispatching/editDispatch.vue
@@ -469,14 +469,15 @@
     },
     handleClose() {
       this.$emit("close", false);
+      this.$emit("update:data", {}); // 触发事件通知父组件更新data
       this.signatureDialogVisible = false;
       this.imgSrc = '';
     },
     handleApprove() {
       // 组装签名数据
       const params = {
-        id: this.data.id, // 传递当前调度id
-        signImg: this.imgSrc, // 签名图片
+        dispatchId: this.data.id, // 传递当前调度id
+        confirmSign: this.imgSrc, // 签名图片
       };
       sign(params).then(res => {
         if (res && res.code === 200) {

--
Gitblit v1.7.1