|
|
|
@ -1328,15 +1328,18 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 任务 样式计算 |
|
|
|
// 任务 样式计算 |
|
|
|
getStatusColor(row) { |
|
|
|
getStatusColor(row) { |
|
|
|
|
|
|
|
if (row.planStatus == '1') { |
|
|
|
if (row.remindStatus == '1') { |
|
|
|
if (row.remindStatus == '1') { |
|
|
|
return '#FFD700'; // 黄色(可自定义) |
|
|
|
return '#FFD700'; // 黄色(可自定义) |
|
|
|
} else if (row.remindStatus == '2') { |
|
|
|
} else if (row.remindStatus == '2') { |
|
|
|
return '#dc3545'; // 红色(与返工状态一致,或自定义) |
|
|
|
return '#dc3545'; // 红色(与返工状态一致,或自定义) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
return '#6c757d'; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// case '1': |
|
|
|
|
|
|
|
// return '#6c757d'; |
|
|
|
|
|
|
|
|
|
|
|
switch (row.planStatus) { |
|
|
|
switch (row.planStatus) { |
|
|
|
case '1': |
|
|
|
|
|
|
|
return '#6c757d'; |
|
|
|
|
|
|
|
case '5': |
|
|
|
case '5': |
|
|
|
return '#007bff'; |
|
|
|
return '#007bff'; |
|
|
|
case '2': |
|
|
|
case '2': |
|
|
|
|