mirror of
https://gitee.com/dromara/dbswitch.git
synced 2025-10-14 13:50:24 +00:00
优化 任务管理 页面
This commit is contained in:
@@ -317,10 +317,8 @@ export default {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-table__cell{
|
/deep/ .el-table--border .el-table__cell{
|
||||||
background-color: #f5f7fa; /* 自定义背景色 */
|
border-right:0px solid red !important;
|
||||||
color: #303133; /* 自定义字体颜色 */
|
|
||||||
border-right: 0px solid #EBEEF5!important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.demo-table-expand {
|
.demo-table-expand {
|
||||||
|
@@ -160,7 +160,9 @@ public class AssignmentService {
|
|||||||
new LambdaQueryWrapper<AssignmentJobEntity>()
|
new LambdaQueryWrapper<AssignmentJobEntity>()
|
||||||
.eq(AssignmentJobEntity::getAssignmentId, e.getId()).orderByDesc(AssignmentJobEntity::getCreateTime)
|
.eq(AssignmentJobEntity::getAssignmentId, e.getId()).orderByDesc(AssignmentJobEntity::getCreateTime)
|
||||||
.last(" limit 1 "));
|
.last(" limit 1 "));
|
||||||
Integer status = assignmentJobEntity.getStatus();
|
Integer status = (assignmentJobEntity == null || assignmentJobEntity.getStatus() == null) ?
|
||||||
|
JobStatusEnum.INIT.getValue() :
|
||||||
|
assignmentJobEntity.getStatus();
|
||||||
e.setRunStatus(JobStatusEnum.of(status).getName());
|
e.setRunStatus(JobStatusEnum.of(status).getName());
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user