From 1619333d1fa8e1efba36aad3b06cc3795c67f8db Mon Sep 17 00:00:00 2001
From: wjt <1797368093@qq.com>
Date: 星期一, 24 六月 2024 10:29:07 +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