Forráskód Böngészése

全流程管理详情页面立项优化。

DESKTOP-6LTVLN7\Liumouren 2 éve
szülő
commit
6ef971d181
1 módosított fájl, 52 hozzáadás és 15 törlés
  1. 52 15
      src/components/common/StepsMyBox.vue

+ 52 - 15
src/components/common/StepsMyBox.vue

@@ -193,7 +193,36 @@ export default {
       ],
       // 步骤条列表
       stepsList: [
-        { title: "立项", info: { text: "完成立项!" }, status: 200, time: "2022-02-22" },
+        {
+          title: "立项",
+          info: {
+            tableData: [
+              {
+                desc: "报审计委员会审计",
+                date: ""
+              },
+              {
+                desc: "区府常务会",
+                date: "2023-02-22"
+              },
+              {
+                desc: "区委常务会",
+                date: ""
+              },
+              {
+                desc: "区府常务会批示",
+                date: ""
+              },
+              {
+                desc: "区府网站公示",
+                date: ""
+              }
+            ],
+            props: { desc: "节点", date: "日期" }
+          },
+          status: 200,
+          time: "2022-02-22"
+        },
         {
           title: "通知",
           info: { text: "项目审计通知书.pdf", filePath: "./static/word/审计通知书.pdf" },
@@ -396,18 +425,18 @@ export default {
     clickData: {
       handler(newValue, oldValue) {
         if (newValue != oldValue) {
-          this.$nextTick(() => {
-            // 获取项目基本信息
-            this.stepsList[0].info.text =
-              this.$dayjs(this.clickData.check_time).format("YYYY-MM-DD") +
-              ": " +
-              this.clickData.c_project_name +
-              "(通过立项!)";
-            // 获取项目关联任务信息
-            this.getAllTasks();
-            // 获取项目流程数据
-            // console.log("全流程管理详情", newValue, oldValue);
-          });
+          // this.$nextTick(() => {
+          //   // 获取项目基本信息
+          //   this.stepsList[0].info.text =
+          //     this.$dayjs(this.clickData.check_time).format("YYYY-MM-DD") +
+          //     ": " +
+          //     this.clickData.c_project_name +
+          //     "(通过立项!)";
+          //   // 获取项目关联任务信息
+          //   this.getAllTasks();
+          //   // 获取项目流程数据
+          //   // console.log("全流程管理详情", newValue, oldValue);
+          // });
           this.changeStepsIndex(6);
         }
       },
@@ -421,8 +450,8 @@ export default {
       this.$bus.$emit("openMyView", [fromData.c_sjlbwt, fromData.c_bsjzwt]);
       this.dialogVisible = false;
       this.$store.commit("changeNavSelect", {
-        "index": "3",
-        "name": "综合分析"
+        index: "3",
+        name: "综合分析"
       });
     },
     // 流程管理【实施】节点,根据id查看详情
@@ -690,4 +719,12 @@ export default {
     border: 1px solid #001d3c00;
   }
 }
+div {
+  .flexBox:nth-child(1) {
+    background: #37578799;
+  }
+  .flexBox:nth-child(odd) {
+    background: #37578732;
+  }
+}
 </style>