Browse Source

Merge branch 'dev_pipeline' into dev

Jinyao 5 years ago
parent
commit
583c71c141
1 changed files with 7 additions and 2 deletions
  1. 7 2
      src/views/Project/Pipeline.vue

+ 7 - 2
src/views/Project/Pipeline.vue

@@ -256,16 +256,18 @@
           prop="name"
           label="名称"
           align="center"
+          width="100"
         ></ElTableColumn>
         <ElTableColumn
           prop="pipelineId"
           label="流水线ID"
           align="center"
-          width="100"
+          width="60"
         ></ElTableColumn>
         <ElTableColumn
           label="部署时间"
           align="center"
+          width="320"
           :formatter="(row) => formatter(row.deployedTime)"
         ></ElTableColumn>
         <ElTableColumn
@@ -273,14 +275,17 @@
           align="center"
         >
           <template #default="scope">
+            <ElTooltip effect="dark" :content="scope.row.accessUrl" placement="top-start">
               <ElButton type="text" @click="open(scope.row.accessUrl, '_blank')">
                 {{scope.row.accessUrl}}
               </ElButton>
+            </ElTooltip>
           </template>
         </ElTableColumn>
         <ElTableColumn
           label="运行状态"
           align="center"
+          width="100"
         >
           <template #default="scope">
             <template v-if="scope.row.status === '正常'">
@@ -291,7 +296,7 @@
             </template>
           </template>
         </ElTableColumn>
-        <ElTableColumn>
+        <ElTableColumn width="60">
           <template #default="scope">
             <ElButton type="text" @click="deleteProduction(scope.row.id)">
               <i class="el-icon-delete"></i>