From c8ac1c7b1cc06198175a1d8cc481972d466ec429 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Mon, 10 Jul 2023 11:00:11 +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 --- .../components/RigthTopView.vue | 2 +- .../GanttchartChart/index.vue | 8 +- .../components/transformInfo2.vue | 33 ++- .../components/transformInfo1.vue | 44 ++-- .../largeScreen/largeScreenOne/index.vue | 225 +++++++++++++++++- .../largeScreen/largeScreenOne/style.scss | 12 + .../progressManagement/ganttChart/index.vue | 6 +- .../components/transformInfo2.vue | 69 ++++-- .../components/transformInfo1.vue | 26 +- 9 files changed, 356 insertions(+), 69 deletions(-) diff --git a/src/views/goverment/huizhou/largeScreen/largeScreenTwo/components/RigthTopView.vue b/src/views/goverment/huizhou/largeScreen/largeScreenTwo/components/RigthTopView.vue index ea59a39..ae0e725 100644 --- a/src/views/goverment/huizhou/largeScreen/largeScreenTwo/components/RigthTopView.vue +++ b/src/views/goverment/huizhou/largeScreen/largeScreenTwo/components/RigthTopView.vue @@ -144,7 +144,7 @@ onMounted(async () => { }); const goDataManagement = val => { if (val == 0) { - router.push("/goverment/huizhou/progressManagement/projectSchedule/index"); + router.push("/goverment/huizhou/projectMonitoring/progressManagement/index"); } else if (val == 1) { router.push("/goverment/huizhou/projectMonitoring/qualityControl/index"); } else if (val == 2) { diff --git a/src/views/goverment/huizhou/progressManagement/GanttchartChart/index.vue b/src/views/goverment/huizhou/progressManagement/GanttchartChart/index.vue index 5dd0668..69047e9 100644 --- a/src/views/goverment/huizhou/progressManagement/GanttchartChart/index.vue +++ b/src/views/goverment/huizhou/progressManagement/GanttchartChart/index.vue @@ -132,13 +132,13 @@ import { getDustprojectPage, getDustengineeringPage, getAIQuestionPage } from "@ const refChart = ref(); const headerList = reactive([ { label: "未开始", color: "#35e5fd" }, - { label: "进行中", color: "#4fd389" }, - { label: "已完成", color: "#f1d520" }, + { label: "进行中", color: "#f1d520" }, + { label: "已完成", color: "#4fd389" }, { label: "已逾期", color: "#fc6f8e" } ]); +const colors = ref(["#35e5fd", "#f1d520", "#4fd389", "#fc6f8e"]); const active = ref(0); const records = ref([]); -const colors = ref(["#35e5fd", "#f1d520", "#4fd389", "#fc6f8e"]); const projects = ref([]); const pages = ref({ pageNo: 1, @@ -417,7 +417,7 @@ const setGantts = () => { projects.map(project => { let { planEndTime, name, gantts } = project; const gantt = getGanttStyle(project); - gantt.background = colors.value[project.state]; + gantt.background = colors.value[project.state - 1]; if (gantts) { gantts.push(gantt); diff --git a/src/views/goverment/huizhou/progressManagement/investmentPayment/components/transformInfo2.vue b/src/views/goverment/huizhou/progressManagement/investmentPayment/components/transformInfo2.vue index 0badaa9..8dc68d2 100644 --- a/src/views/goverment/huizhou/progressManagement/investmentPayment/components/transformInfo2.vue +++ b/src/views/goverment/huizhou/progressManagement/investmentPayment/components/transformInfo2.vue @@ -12,6 +12,7 @@
+ 申报时段: @@ -40,8 +41,8 @@ - - +