From 620fc3210cb9af9e86e7679d21d323502fcb5ead Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 17 二月 2025 14:23:32 +0800
Subject: [PATCH] 项目中心只有提交审核的才显示审核按钮
---
src/views/projectEngineering/projectLibrary/component/PolicyInfo.vue | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/views/projectEngineering/projectLibrary/component/PolicyInfo.vue b/src/views/projectEngineering/projectLibrary/component/PolicyInfo.vue
index 344a6c5..b5ad508 100644
--- a/src/views/projectEngineering/projectLibrary/component/PolicyInfo.vue
+++ b/src/views/projectEngineering/projectLibrary/component/PolicyInfo.vue
@@ -164,6 +164,7 @@
editProjectInvestmentPolicyCompliance,
getProjectInvestmentPolicyComplianceById
} from "@/api/projectEngineering/projectInvestmentPolicyCompliance";
+import {newline} from "js-beautify/js/src/javascript/acorn";
export default {
name: 'PolicyComplianceForm',
@@ -176,6 +177,7 @@
},
data() {
return {
+ projectForm: {},
policyInfoForm: {
// id: '',
// projectId: '',
@@ -219,6 +221,8 @@
this.policyInfoForm.informationIsTrue= true;
this.policyInfoForm.notBannedOrControlledProject = true;
}
+
+ this.policyInfoForm.projectId = this.projectForm.id;
},
beforeDestroy() {
if(Object.keys(this.policyInfoForm).length !==0) localStorage.setItem("policyInfoForm", JSON.stringify(this.policyInfoForm));
@@ -259,6 +263,20 @@
}
}
},
+ watch: {
+ policyInfoForm: {
+ deep: true,
+ handler(newVal) {
+ this.$emit('policyInfoForm', newVal)
+ }
+ },
+ fileList: {
+ deep: true,
+ handler(newVal) {
+ this.policyInfoForm.fileList = newVal
+ }
+ }
+ }
};
</script>
--
Gitblit v1.8.0