From eac6b7989a6cbb9d09b20a1c46f51bb68d9f5ae7 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 19 二月 2025 10:01:50 +0800 Subject: [PATCH] 项目信息一对多的情况列表不显示、相关文书不要了 --- src/views/projectEngineering/projectLibrary/projectDetails.vue | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/views/projectEngineering/projectLibrary/projectDetails.vue b/src/views/projectEngineering/projectLibrary/projectDetails.vue index 8ae8fd4..e3dc6ea 100644 --- a/src/views/projectEngineering/projectLibrary/projectDetails.vue +++ b/src/views/projectEngineering/projectLibrary/projectDetails.vue @@ -30,7 +30,7 @@ :isShow="isShow" class="full-width custom-height" /> - <div v-hasRole="['auditor']" v-if="audit" class="button-container"> + <div v-if="audit" class="button-container"> <el-button class="save-button" type="primary" @@ -42,6 +42,7 @@ @click="showDialog" >椹冲洖</el-button> </div> + <div v-if="!disabled" class="button-container"> <el-button class="save-button" @@ -119,11 +120,11 @@ value: "鎶曡祫椤圭洰浜т笟鏀跨瓥绗﹀悎鎯呭喌", componentName: PolicyInfo, }, - { - label: "鐩稿叧鏂囦功", - value: "鐩稿叧鏂囦功", - componentName: DocumentsInfo, - }, + // { + // label: "鐩稿叧鏂囦功", + // value: "鐩稿叧鏂囦功", + // componentName: DocumentsInfo, + // }, ], childRef: null, }; @@ -149,6 +150,7 @@ basicInfoForm(data) { this.projectForm.projectInfoForm = data; this.projectId = data.id; + this.audit = this.$route.query.audit == 1 && this.projectForm.projectInfoForm.auditRole; }, investInfoForm(data) { this.projectForm.projectInvestmentInfoForm = data; @@ -195,7 +197,6 @@ if (this.$route.query.disabled) { this.disabled = true; } - this.audit = this.$route.query.audit == 1; }, }; </script> -- Gitblit v1.8.0