fix:修改计划添加问题
This commit is contained in:
@@ -66,12 +66,16 @@
|
||||
: '未配置时间';
|
||||
};
|
||||
const getColor = (record: any) => {
|
||||
return {
|
||||
const colorMap = {
|
||||
'1': 'rgba(255, 165, 0, 1)',
|
||||
'2': 'rgb(57, 215, 187)',
|
||||
'3': 'rgb(255, 0, 0)',
|
||||
'4': '#ccc',
|
||||
}[record.executeStatus.value];
|
||||
};
|
||||
if (record.executeStatus) {
|
||||
return colorMap[record.executeStatus.value] || '#000';
|
||||
}
|
||||
return '#000';
|
||||
};
|
||||
const disabledDate = (current: Dayjs) => {
|
||||
// Can not select days before today and today
|
||||
|
Reference in New Issue
Block a user