diff --git a/src/assets/image/growth/listJiaoBiao.png b/src/assets/image/growth/listJiaoBiao.png new file mode 100644 index 0000000..7eef55a Binary files /dev/null and b/src/assets/image/growth/listJiaoBiao.png differ diff --git a/src/views/growth/components/gowthPath2.vue b/src/views/growth/components/gowthPath2.vue index 617205d..d90e8b7 100644 --- a/src/views/growth/components/gowthPath2.vue +++ b/src/views/growth/components/gowthPath2.vue @@ -3,7 +3,7 @@
-
+
-
{{ item.taskName }}
+
+
+ {{ stageProcessList.length - index }} +
+
{{ item.taskName }}
+
@@ -78,6 +102,7 @@ const point = [ { top: 51, right: 167, + align: "end", }, { top: 144, @@ -86,6 +111,7 @@ const point = [ { top: 234, right: 146, + align: "end", }, { top: 339, @@ -94,6 +120,7 @@ const point = [ { top: 414, right: 121, + align: "end", }, { top: 535, @@ -102,6 +129,7 @@ const point = [ { top: 635, right: 53, + align: "end", }, { top: 723, @@ -110,17 +138,18 @@ const point = [ { top: 804, right: 53, + align: "end", }, ]; // 基础配置项 const widthConfig = [ "0px", - "0px", + "20px", "64px", "40px", "80px", - "20px", + "40px", "64px", "80px", "45px", @@ -143,6 +172,8 @@ const position = (index) => { return { top: `${multiple * (853 + 25) + point[num2].top}px`, right: `${point[num2].right}px`, + topNum: multiple * (853 + 25) + point[num2].top, + align: point[num2].align, }; }; // 基础配置项 @@ -176,6 +207,13 @@ const stateData = computed(() => { bgColor: "rgba(242, 144, 61, 0.2)", progressColor: "#F2903D", }; + } else if (item.completionStatus === "3") { + return { + text: "已结束", + color: "#666666", + bgColor: "rgba(102, 102, 102, 0.2)", + progressColor: "#AEB3B8", + }; } }; }); @@ -197,6 +235,9 @@ const toFinish = (item) => { background-image: url(@/assets/image/growth/path2.png); background-size: 100%; + :deep(.el-progress-bar__outer){ + background-color: #AEB3B8; + } .path-item { position: absolute; display: flex; @@ -244,7 +285,7 @@ const toFinish = (item) => { border-radius: 4px; font-size: 12px; color: #ffffff; - padding: 8px 5px 9px 10px; + padding: 8px 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; diff --git a/src/views/growth/growthDetails.vue b/src/views/growth/growthDetails.vue index a95ce3a..da02fcf 100644 --- a/src/views/growth/growthDetails.vue +++ b/src/views/growth/growthDetails.vue @@ -45,6 +45,9 @@