From 2d0dd4f12d0f58c45e8c1de919b689bd97b88b08 Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期一, 25 十一月 2024 20:40:28 +0800
Subject: [PATCH] 项目计划记录展示

---
 src/views/project/plan/index.vue |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/views/project/plan/index.vue b/src/views/project/plan/index.vue
index 4093878..838134b 100644
--- a/src/views/project/plan/index.vue
+++ b/src/views/project/plan/index.vue
@@ -192,7 +192,7 @@
             size="mini"
             type="text"
             icon="el-icon-edit"
-            @click="handleUpdate(scope.row)"
+            @click="handlePlanRecord(scope.row)"
           >鏌ョ湅</el-button>
           <el-button
             size="mini"
@@ -252,7 +252,7 @@
 import { getList, getRecord, delRecord, addRecord, updateRecord } from "@/api/project/plan/index";
 
 export default {
-  name: "Record",
+  name: "index",
   data() {
     return {
       // 閬僵灞�
@@ -385,6 +385,15 @@
       this.download('plan/record/export', {
         ...this.queryParams
       }, `record_${new Date().getTime()}.xlsx`)
+    },
+    /** 鏌ョ湅椤圭洰璁″垝璁板綍 */
+    handlePlanRecord(row) {
+      this.$router.push({
+        path: '/plan/planRecord',
+        query: {
+          data: JSON.stringify(row)
+        }
+      })
     }
   }
 };

--
Gitblit v1.8.0