wgl 4 سال پیش
والد
کامیت
cf21614303
3فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      config/project.js
  2. 1 1
      src/projects/business/views/Master/Home.vue
  3. 1 1
      src/projects/pension/views/Master/Home.vue

+ 1 - 1
config/project.js

@@ -1 +1 @@
-exports.name = 'home'
+exports.name = 'business'

+ 1 - 1
src/projects/business/views/Master/Home.vue

@@ -173,7 +173,7 @@
 			selectRole() {
 				var roleList = [];
 				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({
 						value: this.roleList[i]['id'],
 						text: preName + this.roleList[i]['companyName'] + ' ' + this.roleList[i]['personRoleName'],

+ 1 - 1
src/projects/pension/views/Master/Home.vue

@@ -191,7 +191,7 @@
 			selectRole() {
 				var roleList = [];
 				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({
 						value: this.roleList[i]['id'],
 						text: preName + this.roleList[i]['companyName'] + ' ' + this.roleList[i]['personRoleName'],