|
@@ -44,7 +44,7 @@
|
|
|
<Task class="icon" />
|
|
|
<div class="title">任务状态</div>
|
|
|
</div>
|
|
|
- <div v-show="ganttDetail.status" :style="{'background': ganttDetail.color && ganttDetail.color[1]?ganttDetail.color[1] : '', 'color': ganttDetail.color && ganttDetail.color[0]?ganttDetail.color[0] : ''}">{{ganttDetail.status}}</div>
|
|
|
+ <div v-show="ganttDetail.status" :style="{'background': ganttDetail.color && ganttDetail.color[0]?ganttDetail.color[0] : '', 'color': ganttDetail.color && ganttDetail.color[1]?ganttDetail.color[1] : ''}">{{ganttDetail.status}}</div>
|
|
|
</div>
|
|
|
<div class="row">
|
|
|
<div>
|
|
@@ -159,24 +159,18 @@ export default {
|
|
|
legends: [
|
|
|
{
|
|
|
id: 1,
|
|
|
- text: "按时完成",
|
|
|
+ text: "未完成",
|
|
|
backgroundColor: "#E7E9EA",
|
|
|
borderColor: "#C3C7CB"
|
|
|
},
|
|
|
{
|
|
|
id: 2,
|
|
|
- text: "未开始/进行中",
|
|
|
- backgroundColor: "rgba(91, 143, 249, 0.2)",
|
|
|
- borderColor: "#5B8FF9"
|
|
|
- },
|
|
|
- {
|
|
|
- id: 3,
|
|
|
- text: "逾期完成",
|
|
|
+ text: "即将逾期",
|
|
|
backgroundColor: "#FBCE99",
|
|
|
borderColor: "#F58300"
|
|
|
},
|
|
|
{
|
|
|
- id: 4,
|
|
|
+ id: 3,
|
|
|
text: "逾期未完成",
|
|
|
backgroundColor: "#FBB8B5",
|
|
|
borderColor: "#F54E45"
|
|
@@ -473,19 +467,16 @@ export default {
|
|
|
let color;
|
|
|
switch (statusType) {
|
|
|
case 1:
|
|
|
- color = ['#c3c7cb', '#e7e9ea'];
|
|
|
+ color = ['#E7E9EA', '#C3C7CB'];
|
|
|
break
|
|
|
case 2:
|
|
|
- color = ['#5b8ff9', '#5b8ff933'];
|
|
|
+ color = ['#FBCE99', '#F58300'];
|
|
|
break
|
|
|
case 3:
|
|
|
- color = ['#f58300', '#fbce99'];
|
|
|
- break
|
|
|
- case 4:
|
|
|
- color = ['#f54e45', '#fbb8b5'];
|
|
|
+ color = ['#FBB8B5', '#F54E45'];
|
|
|
break
|
|
|
default:
|
|
|
- color = ['#f54e45', '#fbb8b5'];
|
|
|
+ color = ['#FBB8B5', '#F54E45'];
|
|
|
break
|
|
|
}
|
|
|
let newData = {
|