From 121761d95c65b31e27253f72c3f0d07987069015 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 03 四月 2025 11:13:27 +0800
Subject: [PATCH] 流程设计按钮权限
---
src/views/projectEngineering/projectLibrary/component/InvestInfo.vue | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/views/projectEngineering/projectLibrary/component/InvestInfo.vue b/src/views/projectEngineering/projectLibrary/component/InvestInfo.vue
index d1f5d7f..7b1b6e0 100644
--- a/src/views/projectEngineering/projectLibrary/component/InvestInfo.vue
+++ b/src/views/projectEngineering/projectLibrary/component/InvestInfo.vue
@@ -219,7 +219,6 @@
// 灏濊瘯瑙f瀽JSON鏁版嵁
const parsedInvestmentForm = investmentForm ? JSON.parse(investmentForm) : null;
const parsedProjectForm = projectForm ? JSON.parse(projectForm) : null;
- console.log(parsedInvestmentForm)
// 璁剧疆investment鍜宲rojectForm瀵硅薄
if(parsedInvestmentForm) {
this.investmentForm = parsedInvestmentForm;
@@ -236,6 +235,8 @@
this.investmentForm.plannedStartDate = this.projectForm.planStartTime;
this.investmentForm.expectedCompletionDate = this.projectForm.planCompleteTime;
}
+
+ this.investmentForm.projectId = this.projectForm.id;
},
beforeDestroy() {
if(Object.keys(this.investmentForm).length !==0) localStorage.setItem("investmentForm", JSON.stringify(this.investmentForm));
@@ -273,6 +274,14 @@
}
}
},
+ },
+ watch: {
+ investmentForm: {
+ deep: true,
+ handler(newVal) {
+ this.$emit('investInfoForm', newVal)
+ }
+ }
}
};
--
Gitblit v1.8.0