fuliqi
2025-02-20 db8ba3e3b92b567d3c3a3b26a551d4241a353585
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;
@@ -188,6 +190,7 @@
      editProject(this.projectForm).then((res) => {
        this.$message.success("操作成功");
      })
      this.$store.dispatch("tagsView/delView", this.$route);
      this.$router.push('/projectEngineering/project/projectLibrary')
    }
  },
@@ -195,7 +198,6 @@
    if (this.$route.query.disabled) {
      this.disabled = true;
    }
    this.audit = this.$route.query.audit == 1;
  },
};
</script>