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)
}