From efa31c94b13ec01c7ba4de8535b3c11a1f51a4a2 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 25 十一月 2024 21:20:03 +0800
Subject: [PATCH] el-row 样式修改

---
 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