task detail

This commit is contained in:
ann 2024-06-17 15:41:04 +08:00
parent f716a399ed
commit 1057d8a926
3 changed files with 32 additions and 4 deletions

View File

@ -39,7 +39,8 @@
"close": "Close",
"userNameMsg": "Please enter the correct user name",
"passwordMsg": "The password can not be less than 6 digits",
"check": "Check"
"check": "Check",
"submit": "Submit"
},
"menu": {
"taskManagement": "Task",
@ -534,6 +535,10 @@
"adapterCheckText": "After filling in the adapter information, click the Validate button. Check if the adapter is connected successfully; it must be connected successfully before you can click the Confirm button.",
"bindClusterText": "After binding the cluster, return to the homepage to create a new task.",
"newTask": "Add Task",
"guideFinish": " Guidance has been completed."
"guideFinish": " Guidance has been completed.",
"taskInvocation": "Task Invocation",
"taskCmdInput": "Task command input",
"taskResult": "Task result output",
"taskSimulateNum": "Number of task simulation"
}
}

View File

@ -39,7 +39,8 @@
"close": "关闭",
"userNameMsg": "请输入正确的用户名",
"passwordMsg": "密码不能少于6位",
"check": "验证"
"check": "验证",
"submit": "提交"
},
"menu": {
"taskManagement": "任务管理",
@ -534,6 +535,10 @@
"adapterCheckText": "填写完成适配器信息后,点击验证按钮。校验适配器是否连接成功,必须连接成功,才能点击确定保存。",
"bindClusterText": "绑定集群后返回首页新建任务。",
"newTask": "新建任务",
"guideFinish": "引导已完成"
"guideFinish": "引导已完成",
"taskInvocation": "任务调用",
"taskCmdInput": "任务指令输入",
"taskResult": "任务结果输出",
"taskSimulateNum": "任务模拟提交数"
}
}

View File

@ -39,6 +39,21 @@
<p />
<el-input v-model="log" type="textarea" rows="20" />
</el-tab-pane>
<el-tab-pane v-if="formData.clusterInfos" :label="$t('page.taskInvocation')">
<el-form>
<el-form-item :label="$t('page.taskCmdInput')">
<el-input v-model="taskInput" type="textarea" rows="10" />
</el-form-item>
<el-form-item :label="$t('page.taskSimulateNum')">
<el-input v-model="taskSimulateNum" style="width: 20%;" />
</el-form-item>
<el-button type="primary">{{ $t('message.submit') }}</el-button>
<el-divider />
<el-form-item :label="$t('page.taskResult')">
<el-input v-model="taskOutput" type="textarea" rows="10" />
</el-form-item>
</el-form>
</el-tab-pane>
</el-tabs>
</el-card>
</div>
@ -62,6 +77,9 @@ export default {
strategy: this.$t('page.policy'),
synergyStatus: this.$t('page.synergyStatus')
},
taskInput: '',
taskSimulateNum: '',
taskOutput: '',
cluster: '',
formData: {
'clusterInfos': [],