Skip to content

Commit

Permalink
#758 已就绪改为待运行
Browse files Browse the repository at this point in the history
  • Loading branch information
RolfHeG authored and rolf.he committed Aug 3, 2021
1 parent 31bfee0 commit 3363bb5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/zh-cn/3.x/create_job.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@

5. 作业状态,描述如下:

- **已就绪**:作业已经启用,但是不在运行状态。
- **待运行**:作业已经启用,但是不在运行状态。

如果设置了上报运行状态(非秒级作业默认上报),"已就绪"表示作业尚未到运行时间。如果没有上报运行状态,"已就绪"仅表示作业已被启用,并不知晓其是否正在运行。
如果设置了上报运行状态(非秒级作业默认上报),"待运行"表示作业尚未到运行时间。如果没有上报运行状态,"待运行"仅表示作业已被启用,并不知晓其是否正在运行。

> 上报运行状态:Executor上报作业的运行状态开关。具体见下面的“详细作业设置”章节
Expand All @@ -64,7 +64,7 @@

- 批量启用:批量选择处于“已停止”状态的作业,进行启用。

- 批量禁用:批量选择启用(包括处于已就绪和运行中状态)的作业,进行禁用。
- 批量禁用:批量选择启用(包括处于待运行和运行中状态)的作业,进行禁用。

- 批量删除:批量删除处于“已停止”状态的作业。

Expand Down
2 changes: 1 addition & 1 deletion saturn-console-web/src/pages/job_detail/job_detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default {
STOPPED: '',
},
translateStatus: {
READY: '已就绪',
READY: '待运行',
RUNNING: '运行中',
STOPPING: '停止中',
STOPPED: '已停止',
Expand Down
4 changes: 2 additions & 2 deletions saturn-console-web/src/pages/job_list/job_overview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
v-else
placement="top"
effect="light"
content="可能作业初始化失败,请排查错误日志:/apps/logs/*/*/saturn-job-executor-error.log"
content="没有运行中的executor或作业初始化失败,后者请排查错误日志:/apps/logs/*/*/saturn-job-executor-error.log"
:disabled="!(scope.row.status === 'READY' && scope.row.shardingList === '未分配')">
<el-tag :type="getShardingType(scope.row)">
<i v-if="scope.row.status === 'READY' && scope.row.shardingList === '未分配'" class="fa fa-exclamation-circle" style="margin-right:2px"></i>
Expand Down Expand Up @@ -238,7 +238,7 @@ export default {
this.batchOperation('立即执行', (arr) => {
const unstopedJob = this.getUnstoptedJobArray(arr);
if (unstopedJob.length === 0) {
this.$message.errorMessage('没有可以立即执行的作业(已就绪),请重新勾选!');
this.$message.errorMessage('没有可以立即执行的作业(待运行),请重新勾选!');
} else {
const params = {
jobNames: this.getJobNameArray(unstopedJob).join(','),
Expand Down
2 changes: 1 addition & 1 deletion saturn-console-web/src/utils/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default {
PASSIVE_SHELL_JOB: 'SHELL被动',
},
jobStatusMap: {
READY: '已就绪',
READY: '待运行',
RUNNING: '运行中',
STOPPING: '停止中',
STOPPED: '已停止',
Expand Down
2 changes: 1 addition & 1 deletion saturn-console-web/src/utils/option.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default {
label: '已停止',
}, {
value: 1,
label: '已就绪',
label: '待运行',
}, {
value: 2,
label: '运行中',
Expand Down

0 comments on commit 3363bb5

Please sign in to comment.