From a3ee87d62ccecc2e1e0b4f2f0cb8875a5efa88c8 Mon Sep 17 00:00:00 2001
From: lyfO_o <764716047@qq.com>
Date: 星期五, 13 五月 2022 14:51:20 +0800
Subject: [PATCH] 用户相关部门

---
 src/views/systemManage/userManage/index.vue |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/views/systemManage/userManage/index.vue b/src/views/systemManage/userManage/index.vue
index c21b3c1..d530bf6 100644
--- a/src/views/systemManage/userManage/index.vue
+++ b/src/views/systemManage/userManage/index.vue
@@ -676,6 +676,7 @@
                     idcard:'',
                     email:'',
                     company:'',
+                    companyid:'',
                     department:'',
                     job:'',
                     type:'',
@@ -764,6 +765,7 @@
             },
             companyChange(val){
                 this.dataForm.company = val.company
+                this.dataForm.companyid = val.id
                 if (val.ismain === 1) {
                     this.isMain = true;
                 }else{
@@ -1028,6 +1030,7 @@
                 this.resetDataForm()
                 this.dataForm = row
                 this.dataForm.password = null
+                this.dataForm.companyid = row.companyInfo.id
                 this.dialogStatus = 'update'
                 this.dialogFormVisible = true
                 let ismain = this.companyList.find(item=>item.company === row.company).ismain

--
Gitblit v1.9.2