|
@@ -19,7 +19,8 @@
|
|
|
size="mini"
|
|
|
row-key="id"
|
|
|
:expand-row-keys="expandArr"
|
|
|
- :header-cell-style="{ color: 'rgb(74, 74, 74)', fontSize: '14px', fontWeight: '500', textAlign: 'center' }"
|
|
|
+ :header-cell-style="{ color: 'rgb(74, 74, 74)', fontSize: '14px', fontWeight: '500'}"
|
|
|
+ :row-style="{ fontSize: '14px' }"
|
|
|
show-overflow-tooltip="true"
|
|
|
:show-header="showHeader"
|
|
|
:header-row-style="{height: '50px'}"
|
|
@@ -42,8 +43,13 @@
|
|
|
</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="任务名称" width="200" align="center" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope"><span class="task-title" @click="link_task(scope.row.id)">{{ scope.row.name }}</span></template>
|
|
|
+ <el-table-column label="任务名称" width="200" align="left" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div class="task-main">
|
|
|
+ <span class="task-id">TASK-{{ scope.row.id }}</span>
|
|
|
+ <span class="task-title" @click="link_task(scope.row.id)">{{ scope.row.name }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="所属模块" width="150" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">{{ scope.row.moduleInfoName }}</template>
|
|
@@ -302,8 +308,18 @@ export default {
|
|
|
>>>.el-row .el-col {
|
|
|
margin: 10px 0;
|
|
|
}
|
|
|
-.task-title {
|
|
|
- cursor: pointer;
|
|
|
+.task-main {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ .task-title {
|
|
|
+ cursor: pointer;
|
|
|
+ color: #666666;
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+ .task-id {
|
|
|
+ color: #A7AEBC;
|
|
|
+ font-size: 10px;
|
|
|
+ }
|
|
|
}
|
|
|
.P0 {
|
|
|
background-color: #F56C6C;
|