ソースを参照

领导人字段修改

lihongxiao 2 年 前
親
コミット
ab9816dcd5

+ 1 - 1
src/views/PeopleManage/Agent/AgentManage.vue

@@ -912,7 +912,7 @@ export default {
                 this.formData.positionName=this.postOption.find(val=>val.postId==this.formData.positionId).postName
               }
               if (this.formData.leaderId) {
-                this.formData.leaderName = this.leaderOptions.find(val => val.id == this.formData.leaderId).name
+                this.formData.leaderName = this.leaderOptions.find(val => val.userId == this.formData.leaderId).name
               }
             if (this.dialogTitle == "新增代理人") {
               if (!this.formDataDetail.password) {

+ 2 - 2
src/views/PeopleManage/Player/PlayerManage.vue

@@ -547,8 +547,8 @@ export default {
             if(this.formData.positionId){
                 this.formData.positionName=this.postOption.find(val=>val.postId==this.formData.positionId).postName
               }
-              if(this.formData.leaderId){
-              this.formData.leaderName=this.leaderOptions.find(val=>val.id==this.formData.leaderId).name
+            if(this.formData.leaderId){
+              this.formData.leaderName=this.leaderOptions.find(val=>val.userId==this.formData.leaderId).name
             }
             if (this.dialogTitle == "新增渠道信息") {
               this.$api.user

+ 1 - 1
src/views/PeopleManage/Player/PlayerManageteam.vue

@@ -793,7 +793,7 @@ export default {
                 this.formData.positionName=this.postOption.find(val=>val.postId==this.formData.positionId).postName
             }
             if(this.formData.leaderId){
-              this.formData.leaderName=this.leaderOptions.find(val=>val.id==this.formData.leaderId).name
+              this.formData.leaderName=this.leaderOptions.find(val=>val.userId==this.formData.leaderId).name
             }
             if (this.dialogTitle == "新增渠道信息") {
               this.$api.user

+ 1 - 1
src/views/PeopleManage/Staff/StaffManage.vue

@@ -822,7 +822,7 @@ export default {
                 this.formData.positionName = this.postOption.find(val => val.postId == this.formData.positionId).postName
               }
               if (this.formData.leaderId) {
-                this.formData.leaderName = this.leaderOptions.find(val => val.id == this.formData.leaderId).name
+                this.formData.leaderName = this.leaderOptions.find(val => val.userId == this.formData.leaderId).name
               }
               if (this.dialogTitle == '新增后线人员') {
                 this.$api.user.saveUserInfo({ esmUserImageVo: this.imagesIdList, sysUser: this.formData, sysUserInfo: this.formDataDetail }).then((res) => {

+ 1 - 1
src/views/PeopleManage/TeamLeader/TeamLeaderManage.vue

@@ -903,7 +903,7 @@ export default {
                 this.formData.positionName=this.postOption.find(val=>val.postId==this.formData.positionId).postName
               }
               if (this.formData.leaderId) {
-                this.formData.leaderName = this.leaderOptions.find(val => val.id == this.formData.leaderId).name
+                this.formData.leaderName = this.leaderOptions.find(val => val.userId == this.formData.leaderId).name
               }
             if (this.dialogTitle == "新增团队长") {
               this.$api.user