From 84b9dfb155910a1318d3c8207f80216d604370d2 Mon Sep 17 00:00:00 2001 From: wuyize Date: Fri, 8 Jul 2022 22:52:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E5=AE=8C=E6=88=90=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=A6=82=E8=A7=88=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ProjectInfo.vue | 87 ++++++++++++++++++++++++++------------- 1 file changed, 58 insertions(+), 29 deletions(-) diff --git a/src/views/ProjectInfo.vue b/src/views/ProjectInfo.vue index 28712a6..ba7ea24 100644 --- a/src/views/ProjectInfo.vue +++ b/src/views/ProjectInfo.vue @@ -36,7 +36,9 @@

进度

- +
@@ -47,8 +49,7 @@

工作项统计

-
-
+
@@ -65,11 +66,11 @@

项目主类

-

{{ project.projectClassId }}

+

{{ projectClassName }}

项目子类

-

{{ project.projectSubclassId }}

+

{{ projectSubClassName }}

重要程度

@@ -138,8 +139,7 @@

项目描述

-
-
+

{{ project.projectDescription }}

@@ -152,23 +152,6 @@ import {ref} from 'vue' -const percentage = ref(20) -const customColor = ref('#409eff') - -const customColorMethod = (percentage) => { - if (percentage < 30) { - return '#909399' - } - if (percentage < 70) { - return '#e6a23c' - } - return '#67c23a' -} - -const customColors = [ - {color: '#f56c6c', percentage: 20}, -] -