From ce20e86b57be436a42b65befe8e1da2283922030 Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期三, 11 十二月 2024 10:17:05 +0800 Subject: [PATCH] 优化 --- src/views/projectManage/plan/planInfoCheck.vue | 18 ++---------------- 1 files changed, 2 insertions(+), 16 deletions(-) diff --git a/src/views/projectManage/plan/planInfoCheck.vue b/src/views/projectManage/plan/planInfoCheck.vue index dd9d690..3aa6728 100644 --- a/src/views/projectManage/plan/planInfoCheck.vue +++ b/src/views/projectManage/plan/planInfoCheck.vue @@ -279,13 +279,8 @@ // 鑾峰彇浼犻�掕繃鏉ョ殑椤圭洰璁″垝璇︽儏 getPlanRecordData() { // 浠庢煡璇㈠弬鏁颁腑鑾峰彇鏁版嵁 - this.projectInfoData = this.$route.query.projectInfoData - this.planInfoData.id = this.$route.query.id; - this.planInfoData.projectName = this.$route.query.projectName; - this.planInfoData.projectCode = this.$route.query.projectCode; - this.planInfoData.planTime = this.$route.query.planTime; - this.planInfoData.planTimeFlag = this.$route.query.planTimeFlag; - this.planInfoData.managerFlag = this.$route.query.managerFlag; + this.projectInfoData = JSON.parse(this.$route.query.projectInfoData) + this.planInfoData = JSON.parse(this.$route.query.data) this.search(); }, // 鑾峰彇椤圭洰璁″垝椤� @@ -345,15 +340,6 @@ this.tableData[index].startTime = ''; this.tableData[index].endTime = ''; }, - /** 杩斿洖椤圭洰璁″垝璁板綍 */ - handlePlanRecord() { - this.$router.replace({ - path: '/projectManage/planRecord', - query: { - data: this.projectInfoData - } - }) - } }, created() { this.getPlanRecordData(); -- Gitblit v1.8.0