|
@@ -208,7 +208,7 @@ export default {
|
|
|
if(!this.multiSelect) {
|
|
|
if(this.optionsOId) {
|
|
|
for(let i in this.options) {
|
|
|
- if(this.options[i].auditorId == this.optionsOId || this.options[i].id == this.optionsOId) {
|
|
|
+ if(this.options[i].userId == this.optionsOId || this.options[i].auditorId == this.optionsOId || this.options[i].id == this.optionsOId) {
|
|
|
this.selectName = this.options[i].name || this.options[i].auditorName
|
|
|
}
|
|
|
}
|
|
@@ -219,7 +219,7 @@ export default {
|
|
|
if(this.multiSelect) {
|
|
|
for(var i in this.options) {
|
|
|
for(var j in this.optionsOId) {
|
|
|
- if(this.options[i].auditorId == this.optionsOId[j] || this.options[i].id == this.optionsOId[j]) {
|
|
|
+ if(this.options[i].userId == this.optionsOId || this.options[i].auditorId == this.optionsOId[j] || this.options[i].id == this.optionsOId[j]) {
|
|
|
this.multiSelectList.push(this.options[i])
|
|
|
this.options[i].flg = true
|
|
|
}
|
|
@@ -259,7 +259,7 @@ export default {
|
|
|
if(!this.multiSelect) {
|
|
|
this.optionsOId = JSON.parse(JSON.stringify(this.subjectId))
|
|
|
for(let i in this.options) {
|
|
|
- if(this.options[i].auditorId == this.optionsOId || this.options[i].id == this.optionsOId) {
|
|
|
+ if(this.options[i].userId == this.optionsOId || this.options[i].auditorId == this.optionsOId || this.options[i].id == this.optionsOId) {
|
|
|
this.selectName = this.options[i].auditorName || this.options[i].name
|
|
|
}
|
|
|
}
|