From 9c4ddfeea8d3530b154e15454c712c395d760edc Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期五, 17 五月 2024 03:28:55 +0800
Subject: [PATCH] 人事系统对接

---
 src/components/view/person-manage.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/components/view/person-manage.vue b/src/components/view/person-manage.vue
index 868ad70..43f52d3 100644
--- a/src/components/view/person-manage.vue
+++ b/src/components/view/person-manage.vue
@@ -630,11 +630,11 @@
         }
         let arr = []
         this.currentCompaniesList.forEach(b=>{
-          this.companiesList.forEach(a=>{
+          /* this.companiesList.forEach(a=>{
             if(a.companyId===b){
               console.log(a)
             }
-          })
+          }) */
           let obj = this.companiesList.find(a=>a.companyId==b)
           arr.push(obj)
           })
@@ -652,10 +652,13 @@
             return
           }
           this.$message.success('鎿嶄綔鎴愬姛')
-          this.refresh()
           this.multipleSelection = []
           this.$refs.personTable.clearSelection()
           this.addthirdParty = false
+          this.addLoad = false
+          this.personList = []
+          this.userSearch2 = ''
+          this.refresh()
         }).catch(e => {
           this.addthirdParty = false
           this.addLoad = false

--
Gitblit v1.9.3