diff --git a/pages/work/user/create-user.vue b/pages/work/user/create-user.vue index 14bf1d5..db3f233 100644 --- a/pages/work/user/create-user.vue +++ b/pages/work/user/create-user.vue @@ -167,8 +167,8 @@ }) } else { this.companyObj = JSON.parse(decodeURIComponent(options.companyObj)); - this.userForm.companyId = this.companyObj.companyId; - this.userForm.companyGroupId = this.companyObj.rootCompanyId; + this.userForm.companyId =this.companyObj.rootCompanyId; + this.userForm.companyGroupId = this.companyObj.companyId; this.userForm.companyShortName = this.companyObj.companyFullName; } }, diff --git a/pages/work/user/index.vue b/pages/work/user/index.vue index bccfacb..ef53874 100644 --- a/pages/work/user/index.vue +++ b/pages/work/user/index.vue @@ -53,6 +53,10 @@ 电话: + + 公司: + +