9
9
>
10
10
<Icon icon =" ep:arrow-down-bold" color =" #999" />
11
11
</div >
12
- <div class =" ml-auto mr-30px " >
12
+ <div class =" ml-auto mr-45px " >
13
13
<template v-if =" ! isSorting " >
14
14
<el-button link type =" info" class =" mr-10px" @click.stop =" handleSort" >
15
15
<Icon icon =" fa:sort-amount-desc" class =" mr-5px" />
36
36
<el-table
37
37
:class =" title"
38
38
ref =" tableRef"
39
- :header-cell-style =" { backgroundColor: isDark ? '' : '#edeff0' }"
39
+ :header-cell-style =" { backgroundColor: isDark ? '' : '#edeff0', paddingLeft: '10px' }"
40
+ :cell-style =" { paddingLeft: '10px' }"
40
41
:data =" dataList"
41
42
>
42
43
<el-table-column label =" 流程名" prop =" name" min-width =" 150" >
48
49
class =" drag-icon cursor-move text-#8a909c mr-10px"
49
50
/>
50
51
</el-tooltip >
51
- <el-image :src =" scope.row.icon" class =" h-32px w-32px mr-10px rounded" />
52
+ <el-image :src =" scope.row.icon" class =" h-38px w-38px mr-10px rounded" />
52
53
{{ scope.row.name }}
53
54
</div >
54
55
</template >
96
97
</el-table-column >
97
98
<el-table-column label =" 最后发布" prop =" deploymentTime" min-width =" 250" >
98
99
<template #default =" scope " >
99
- <span v-if =" scope.row.processDefinition" >
100
- {{ formatDate(scope.row.processDefinition.deploymentTime) }}
101
- </span >
102
- <el-tag v-if =" scope.row.processDefinition" class =" ml-10px" >
103
- v{{ scope.row.processDefinition.version }}
104
- </el-tag >
105
- <el-tag v-else type =" warning" >未部署</el-tag >
106
- <el-tag
107
- v-if =" scope.row.processDefinition?.suspensionState === 2"
108
- type =" warning"
109
- class =" ml-10px"
110
- >
111
- 已停用
112
- </el-tag >
100
+ <div class =" flex items-center" >
101
+ <span v-if =" scope.row.processDefinition" class =" w-150px" >
102
+ {{ formatDate(scope.row.processDefinition.deploymentTime) }}
103
+ </span >
104
+ <el-tag v-if =" scope.row.processDefinition" >
105
+ v{{ scope.row.processDefinition.version }}
106
+ </el-tag >
107
+ <el-tag v-else type =" warning" >未部署</el-tag >
108
+ <el-tag
109
+ v-if =" scope.row.processDefinition?.suspensionState === 2"
110
+ type =" warning"
111
+ class =" ml-10px"
112
+ >
113
+ 已停用
114
+ </el-tag >
115
+ </div >
113
116
</template >
114
117
</el-table-column >
115
118
<el-table-column label =" 操作" width =" 200" fixed =" right" >
@@ -384,6 +387,9 @@ onMounted(() => {
384
387
385
388
<style lang="scss" scoped>
386
389
:deep() {
390
+ .el-card {
391
+ border-radius : 8px ;
392
+ }
387
393
.el-form--inline .el-form-item {
388
394
margin-right : 10px ;
389
395
}
@@ -400,5 +406,14 @@ onMounted(() => {
400
406
font-size : 20px ;
401
407
font-weight : 500 ;
402
408
}
409
+ .el-collapse-item__content {
410
+ padding-bottom : 0 ;
411
+ }
412
+ .el-table__cell {
413
+ border-bottom : none !important ;
414
+ }
415
+ .el-table__row {
416
+ height : 68px ;
417
+ }
403
418
}
404
419
</style >
0 commit comments