|
@@ -603,6 +603,7 @@ export default {
|
|
|
this.ruleForm.phoneStatus = false
|
|
|
this.ruleForm.emailStatus = false
|
|
|
this.ruleForm.accountStatus = false
|
|
|
+ this.ruleForm.allocation = ''
|
|
|
this.departMsg.name = ''
|
|
|
this.departMsg.id = ''
|
|
|
},
|
|
@@ -622,6 +623,25 @@ export default {
|
|
|
this.ruleForm.email = val.mail
|
|
|
this.ruleForm.personId = val.id
|
|
|
this.ruleForm.account = val.user_name
|
|
|
+ let str = ''
|
|
|
+ switch (res.data.nicheDis) {
|
|
|
+ case 0:
|
|
|
+ str = '1'
|
|
|
+ break;
|
|
|
+ case 1:
|
|
|
+ str = '2'
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ str = '2'
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ str = '3'
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ str = '3'
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ this.ruleForm.allocation = str
|
|
|
this.departMsg.name = res.data.dept_name
|
|
|
this.departMsg.id = res.data.dept_id
|
|
|
this.ruleForm.role = val.role
|