fix: BUG修改

This commit is contained in:
kun 2023-07-19 17:55:23 +08:00
parent 5f3eb41571
commit f274d24330
2 changed files with 11 additions and 6 deletions

View File

@ -138,9 +138,11 @@ const headerList = reactive([
{ label: "未开始", color: "#35e5fd" }, { label: "未开始", color: "#35e5fd" },
{ label: "进行中", color: "#f1d520" }, { label: "进行中", color: "#f1d520" },
{ label: "已完成", color: "#4fd389" }, { 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 active = ref(0);
const records = ref<ResAiProjectPage[] | ResAiEngineerPage[]>([]); const records = ref<ResAiProjectPage[] | ResAiEngineerPage[]>([]);
const projects = ref([]); const projects = ref([]);

View File

@ -103,9 +103,11 @@ const headerList = reactive([
{ label: "未开始", color: "#35e5fd" }, { label: "未开始", color: "#35e5fd" },
{ label: "进行中", color: "#f1d520" }, { label: "进行中", color: "#f1d520" },
{ label: "已完成", color: "#4fd389" }, { 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([]);
// const projects = ref([ // const projects = ref([
// { // {
@ -498,13 +500,14 @@ const dateList = computed(() => {
.left-content { .left-content {
display: flex; display: flex;
width: 40%; width: 50%;
height: 100%; height: 100%;
.item { .item {
display: flex; display: flex;
align-items: center; align-items: center;
width: calc(100% / 4); // width: calc(100% / 6);
margin-right: 20px;
.color-block { .color-block {
margin-right: 10px; margin-right: 10px;