|
@@ -173,7 +173,7 @@
|
|
selectRole() {
|
|
selectRole() {
|
|
var roleList = [];
|
|
var roleList = [];
|
|
for (var i = 0; i < this.roleList.length; i++) {
|
|
for (var i = 0; i < this.roleList.length; i++) {
|
|
- var preName = this.person_popedom.personRoleName == this.roleList[i]['personRoleName'] ? '(当前)' : '';
|
|
|
|
|
|
+ var preName = this.person_popedom.id == this.roleList[i]['id'] ? '(当前)' : '';
|
|
roleList.push({
|
|
roleList.push({
|
|
value: this.roleList[i]['id'],
|
|
value: this.roleList[i]['id'],
|
|
text: preName + this.roleList[i]['companyName'] + ' ' + this.roleList[i]['personRoleName'],
|
|
text: preName + this.roleList[i]['companyName'] + ' ' + this.roleList[i]['personRoleName'],
|