From 92edb806d39c94f0cbb27cc71ec1806468925e8c Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期六, 22 二月 2025 17:23:21 +0800
Subject: [PATCH] 项目增加招商引资字段、去除项目产业政策符合情况tab
---
src/views/projectEngineering/projectLibrary/component/DocumentsInfo.vue | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/views/projectEngineering/projectLibrary/component/DocumentsInfo.vue b/src/views/projectEngineering/projectLibrary/component/DocumentsInfo.vue
index 43b95c1..9e69851 100644
--- a/src/views/projectEngineering/projectLibrary/component/DocumentsInfo.vue
+++ b/src/views/projectEngineering/projectLibrary/component/DocumentsInfo.vue
@@ -76,10 +76,26 @@
if (this.$route.query.projectId && !parsedDocumentsInfoForm) {
this.getDocumentsInfo();
}
+
+ this.documentsInfoForm.projectId = this.projectForm.id;
},
beforeDestroy() {
if(Object.keys(this.documentsInfoForm).length !==0) localStorage.setItem("documentsInfoForm", JSON.stringify(this.documentsInfoForm));
},
+ watch: {
+ documentsInfoForm:{
+ deep: true,
+ handler(newVal) {
+ this.$emit('documentsInfoForm', newVal)
+ }
+ },
+ fileList: {
+ deep: true,
+ handler(newVal) {
+ this.documentsInfoForm.fileList = newVal
+ }
+ }
+ }
};
</script>
--
Gitblit v1.8.0