|
|
|
@ -111,6 +111,13 @@ export default { |
|
|
|
if (val === 1) { |
|
|
|
this.deptResultDTOSVisible = true |
|
|
|
this.evaluateDeptDTOSVisible = false |
|
|
|
console.log(this.dataForm.deptResultDTOS) |
|
|
|
for (let index = 0; index < this.dataForm.deptResultDTOS.length; index++) { |
|
|
|
const deptResultDTO = this.dataForm.deptResultDTOS[index] |
|
|
|
if (deptResultDTO.selected === true) { |
|
|
|
this.postDataForm.deptResultDTOS.push(deptResultDTO) |
|
|
|
} |
|
|
|
} |
|
|
|
} else if (val === 10) { |
|
|
|
if (this.dataForm.evaluateDeptDTOS.length === 0) { |
|
|
|
return |
|
|
|
|