From f274d243306fef831a2e48f89046d7c6644ea556 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Wed, 19 Jul 2023 17:55:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../progressManagement/GanttchartChart/index.vue | 6 ++++-- .../progressManagement/ganttChart/index.vue | 11 +++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/views/goverment/huizhou/progressManagement/GanttchartChart/index.vue b/src/views/goverment/huizhou/progressManagement/GanttchartChart/index.vue index dab1ffe..1b80320 100644 --- a/src/views/goverment/huizhou/progressManagement/GanttchartChart/index.vue +++ b/src/views/goverment/huizhou/progressManagement/GanttchartChart/index.vue @@ -138,9 +138,11 @@ const headerList = reactive([ { label: "未开始", color: "#35e5fd" }, { label: "进行中", color: "#f1d520" }, { label: "已完成", color: "#4fd389" }, - { label: "已逾期", color: "#fc6f8e" } + { label: "逾期未开始", color: "#F80840" }, + { label: "逾期进行中", color: "#fc6f8e" }, + { label: "逾期已完成", color: "#C13F5B" } ]); -const colors = ref(["#35e5fd", "#f1d520", "#4fd389", "#fc6f8e"]); +const colors = ref(["#35e5fd", "#f1d520", "#4fd389", "#F80840", "#fc6f8e", "#C13F5B"]); const active = ref(0); const records = ref([]); const projects = ref([]); diff --git a/src/views/hz-project/progressManagement/ganttChart/index.vue b/src/views/hz-project/progressManagement/ganttChart/index.vue index cb9621a..75a6161 100644 --- a/src/views/hz-project/progressManagement/ganttChart/index.vue +++ b/src/views/hz-project/progressManagement/ganttChart/index.vue @@ -103,9 +103,11 @@ const headerList = reactive([ { label: "未开始", color: "#35e5fd" }, { label: "进行中", color: "#f1d520" }, { label: "已完成", color: "#4fd389" }, - { label: "已逾期", color: "#fc6f8e" } + { label: "逾期未开始", color: "#F80840" }, + { label: "逾期进行中", color: "#fc6f8e" }, + { label: "逾期已完成", color: "#C13F5B" } ]); -const colors = ref(["#35e5fd", "#f1d520", "#4fd389", "#fc6f8e"]); +const colors = ref(["#35e5fd", "#f1d520", "#4fd389", "#F80840", "#fc6f8e", "#C13F5B"]); const projects = ref([]); // const projects = ref([ // { @@ -498,13 +500,14 @@ const dateList = computed(() => { .left-content { display: flex; - width: 40%; + width: 50%; height: 100%; .item { display: flex; align-items: center; - width: calc(100% / 4); + // width: calc(100% / 6); + margin-right: 20px; .color-block { margin-right: 10px;