From 4ebbd3cbd7112004242843a3eff761fcbbdfdee0 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 26 十一月 2024 15:52:41 +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