Browse Source

fix:修改计划添加问题

temp
zhaohy 2 months ago
parent
commit
915358dbec
  1. 8
      hx-ai-intelligent/src/view/equipmentControl/planToAdd/index.vue

8
hx-ai-intelligent/src/view/equipmentControl/planToAdd/index.vue

@ -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

Loading…
Cancel
Save