diff --git a/openai-portal/src/views/trainingManager/components/detailDialog/taskInfo.vue b/openai-portal/src/views/trainingManager/components/detailDialog/taskInfo.vue index 4bf6c0d8..43abc688 100644 --- a/openai-portal/src/views/trainingManager/components/detailDialog/taskInfo.vue +++ b/openai-portal/src/views/trainingManager/components/detailDialog/taskInfo.vue @@ -9,7 +9,7 @@ - +
子任务名: @@ -33,13 +33,14 @@
- + + +
@@ -93,6 +94,10 @@ }) } } + if (!this.data.isDistributed) { + this.isDistributed = !this.data.isDistributed + this.selectedSubTaskOption() + } }, methods: { selectedSubTaskOption() { @@ -100,8 +105,8 @@ id: this.row.id, pageIndex: this.pageIndex, pageSize: this.pageSize, - taskIndex: this.ruleForm.subTaskItem.taskIndex, - replicaIndex: this.ruleForm.subTaskItem.replicaIndex + taskIndex: this.ruleForm.subTaskItem.taskIndex?this.ruleForm.subTaskItem.taskIndex:1, + replicaIndex: this.ruleForm.subTaskItem.replicaIndex?this.ruleForm.subTaskItem.replicaIndex:1 } getTempalteInfo(param).then(response => { if (response.success) {