From 98a5aa3ae4aba7302837986f5b3963966d39ddb4 Mon Sep 17 00:00:00 2001
From: GuLiMmo <2820890765@qq.com>
Date: Mon, 15 Jan 2024 14:03:01 +0800
Subject: [PATCH] 修改

---
 src/views/evaluate/components/selectionDialog.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/evaluate/components/selectionDialog.vue b/src/views/evaluate/components/selectionDialog.vue
index c28153f..d204858 100644
--- a/src/views/evaluate/components/selectionDialog.vue
+++ b/src/views/evaluate/components/selectionDialog.vue
@@ -42,7 +42,8 @@
                 this.notParticipateIn = []
                 newVal.forEach(item => {
                     const is = this.userList.find(user => user.id === item)
-                    this.notParticipateIn.push(is)
+                    const { id, name, deptId, deptName, postId, postName } = is
+                    this.notParticipateIn.push({ id, name, deptId, deptName, postId, postName })
                 })
             }
         },
@@ -69,10 +70,12 @@
             })
         },
         submit() {
+            this.participateIn = []
             this.userList.forEach(item => {
                 const is = this.notParticipateIn.find(user => user.id === item.id)
                 if (!is) {
-                    this.participateIn.push(item)
+                    const { id, name, deptId, deptName, postId, postName } = item
+                    this.participateIn.push({ id, name, deptId, deptName, postId, postName })
                 }
             })
             const params = {

--
Gitblit v1.9.3