mirror of
https://gitee.com/dromara/dbswitch.git
synced 2025-10-14 05:40:23 +00:00
优化 任务管理 页面
This commit is contained in:
@@ -317,10 +317,8 @@ export default {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.el-table__cell{
|
||||
background-color: #f5f7fa; /* 自定义背景色 */
|
||||
color: #303133; /* 自定义字体颜色 */
|
||||
border-right: 0px solid #EBEEF5!important;
|
||||
/deep/ .el-table--border .el-table__cell{
|
||||
border-right:0px solid red !important;
|
||||
}
|
||||
|
||||
.demo-table-expand {
|
||||
|
@@ -160,7 +160,9 @@ public class AssignmentService {
|
||||
new LambdaQueryWrapper<AssignmentJobEntity>()
|
||||
.eq(AssignmentJobEntity::getAssignmentId, e.getId()).orderByDesc(AssignmentJobEntity::getCreateTime)
|
||||
.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());
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user