From 7ce317e858ad01145f92360169fbc7dd5731e867 Mon Sep 17 00:00:00 2001
From: guoxing <1369478551@qq.com>
Date: Fri, 16 Aug 2024 13:43:52 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=B3=BB=E7=BB=9F=E7=AE=A1?=
=?UTF-8?q?=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../system/organizationManage/organizationManage.vue | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/views/system/organizationManage/organizationManage.vue b/src/views/system/organizationManage/organizationManage.vue
index bc28d02..1beee49 100644
--- a/src/views/system/organizationManage/organizationManage.vue
+++ b/src/views/system/organizationManage/organizationManage.vue
@@ -216,7 +216,7 @@
主管人员 |
-
+
|
@@ -443,8 +443,16 @@
getOrgTree() { // 获取树形列表
orgList(window.sessionStorage.getItem('orgSid')).then(res => {
this.treedata = res.data
+
})
},
+ zgNamesChange(val) {
+ console.log('zgNamesChange:', val)
+ const choose = this.staffdata.filter((item) => item.sid == val)
+ console.log('>>>>>>>>>zgNamesChange', choose)
+ this.form.zgNames = choose[0].name
+ this.form.zgStaffSid = choose[0].sid
+ },
save() {
if (this.fgStaffSid.length > 0) {
this.form.fgStaffSid = this.fgStaffSid.join()
@@ -514,7 +522,7 @@
if (this.form.fgStaffSid) {
this.fgStaffSid = response.data.fgStaffSid.split(',')
}
- this.form.zgStaffName = response.data.zgNames
+ this.form.zgNames = response.data.zgNames
this.form.zgStaffSid = response.data.zgStaffSid
console.log('编辑回显的数据', this.form)
}