You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by me...@apache.org on 2020/07/21 01:44:13 UTC

[shardingsphere-elasticjob-ui] 17/21: alignment and status fix

This is an automated email from the ASF dual-hosted git repository.

menghaoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob-ui.git

commit 6c208d05f5898f33feb973de3a656e66382924e6
Author: renfufei <re...@huobi.com>
AuthorDate: Mon Jul 20 23:57:59 2020 +0800

    alignment and status fix
---
 .../src/views/operation-jobs-detail/module/operationJobsDetail.vue  | 6 +++---
 .../src/views/operation-jobs/module/operationJobs.vue               | 1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/shardingsphere-elasticjob-ui-frontend/src/views/operation-jobs-detail/module/operationJobsDetail.vue b/shardingsphere-elasticjob-ui-frontend/src/views/operation-jobs-detail/module/operationJobsDetail.vue
index 873a822..04df449 100644
--- a/shardingsphere-elasticjob-ui-frontend/src/views/operation-jobs-detail/module/operationJobsDetail.vue
+++ b/shardingsphere-elasticjob-ui-frontend/src/views/operation-jobs-detail/module/operationJobsDetail.vue
@@ -71,7 +71,7 @@
         </el-table-column>
         <el-table-column
           :label="$t('operationJobs.table.operate')"
-          fixed="right" width="200">
+          fixed="right" width="300">
           <template slot-scope="scope">
             <el-button-group>
               <el-button
@@ -119,7 +119,7 @@ export default {
         {
           label: this.$t('operationJobs').labelInfo.instanceId,
           prop: 'instanceId',
-          width : 120
+          width : 100
         },
         {
           label: this.$t('operationJobs').labelInfo.status,
@@ -129,7 +129,7 @@ export default {
         {
           label: this.$t('operationJobs').labelInfo.failover,
           prop: 'failover',
-          width : 160
+          width : 140
         }
       ],
       statusColor: {
diff --git a/shardingsphere-elasticjob-ui-frontend/src/views/operation-jobs/module/operationJobs.vue b/shardingsphere-elasticjob-ui-frontend/src/views/operation-jobs/module/operationJobs.vue
index f76af41..37055a7 100644
--- a/shardingsphere-elasticjob-ui-frontend/src/views/operation-jobs/module/operationJobs.vue
+++ b/shardingsphere-elasticjob-ui-frontend/src/views/operation-jobs/module/operationJobs.vue
@@ -68,6 +68,7 @@
               <el-button
                 size="mini"
                 type="info"
+                v-if="'CRASHED'!==scope.row.status"
                 @click="handleDetail(scope.row)"
                 plain>{{ $t("operationJobs.actionText.detail") }}</el-button>
               <el-button