|
|
|
@ -1630,19 +1630,27 @@ |
|
|
|
} |
|
|
|
if (this.operatorData.flag === '1') { |
|
|
|
for (let i = 0; i < this.dataListSelections2.length; i++) { |
|
|
|
if (!this.detailData.operator.split(';').includes(this.dataListSelections2[i].adminID)) { |
|
|
|
this.detailData.operatorName = this.detailData.operatorName + ";" + this.dataListSelections2[i].adminName |
|
|
|
this.detailData.operator = this.detailData.operator + ";" + this.dataListSelections2[i].adminID |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.detailData.operator.charAt(0) === ';') { |
|
|
|
this.detailData.operator = this.detailData.operator.substring(1) |
|
|
|
this.detailData.operatorName = this.detailData.operatorName.substring(1) |
|
|
|
} |
|
|
|
} else { |
|
|
|
for (let i = 0; i < this.dataListSelections2.length; i++) { |
|
|
|
if (!this.detailData.responsiblePerson.split(';').includes(this.dataListSelections2[i].adminID)) { |
|
|
|
this.detailData.responsiblePersonName = this.detailData.responsiblePersonName + ";" + this.dataListSelections2[i].adminName |
|
|
|
this.detailData.responsiblePerson = this.detailData.responsiblePerson + ";" + this.dataListSelections2[i].adminID |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.detailData.responsiblePerson.charAt(0) === ';') { |
|
|
|
this.detailData.responsiblePerson = this.detailData.responsiblePerson.substring(1) |
|
|
|
this.detailData.responsiblePersonName = this.detailData.responsiblePersonName.substring(1) |
|
|
|
} |
|
|
|
} |
|
|
|
this.operatorData = { |
|
|
|
flag: '', |
|
|
|
site: '', |
|
|
|
|