From 8e1323b1cd842f9364d89089d342a176d9242d45 Mon Sep 17 00:00:00 2001
From: wjt <1797368093@qq.com>
Date: 星期一, 24 六月 2024 15:18:44 +0800
Subject: [PATCH] 首页数据添加

---
 src/views/infomanger/complating/component/index.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/infomanger/complating/component/index.vue b/src/views/infomanger/complating/component/index.vue
index 89cb8d9..9bfedff 100644
--- a/src/views/infomanger/complating/component/index.vue
+++ b/src/views/infomanger/complating/component/index.vue
@@ -33,6 +33,7 @@
   })
   function openDialog(item) {
     info.value = item
+    form.value.id = item.id
     dialogVisible.value = true
   }
   function closeDialog() {
@@ -45,9 +46,10 @@
     }
     info.value.complaintStatus = form.value.complaintStatus
     info.value.returnReason = form.value.returnReason
-    updComplaintLog(info.value).then(val => {
+    updComplaintLog(form.value).then(val => {
       if(val.code == 200){
         ElMessage.success("鎿嶄綔鎴愬姛")
+        closeDialog()
       }
     })
   }

--
Gitblit v1.9.1