Browse Source

项目登记下载功能调整

lizhenhao 2 years ago
parent
commit
67dd15e754

+ 1 - 1
src/views/modules/program/registered/ProjectForm.vue

@@ -1207,7 +1207,7 @@
         }
         if (event.name === 'issued') {
           if (this.commonJS.isNotEmpty(this.inputForm.id)) {
-            this.$refs.proofreadIssuedForm.init('view', this.inputForm.id)
+            this.$refs.proofreadIssuedForm.init('view', this.inputForm.id, '报告签发单')
           }
         }
       }

+ 1 - 1
src/views/modules/program/registered/ProjectThreeAuditForm.vue

@@ -1,7 +1,7 @@
 <template xmlns:v-slot="http://www.w3.org/1999/XSL/Transform">
   <div>
     <div>
-      <div v-if="inputForm.status === '5'">
+      <div v-if="inputForm.status === '5'&&(tabName === '一级校审'||tabName === '二级校审'||tabName === '三级校审')">
         <el-row type="flex" justify="end">
           <el-button @click="downloadFirstAuditTpl">下载</el-button>
         </el-row>

+ 5 - 3
src/views/modules/program/registered/ProofreadIssuedForm.vue

@@ -1,6 +1,6 @@
 <template xmlns:v-slot="http://www.w3.org/1999/XSL/Transform">
   <div>
-    <div v-if="inputForm.status === '5'">
+    <div v-if="inputForm.status === '5'&&tabName === '报告签发单'">
       <el-row type="flex" justify="end">
         <el-button @click="downloadReportAusstellungTpl">下载</el-button>
       </el-row>
@@ -263,7 +263,8 @@
         CList: [
           {name: '除A、B类业务以外的经济行为涉及单项资产的评估业务'},
           {name: '除A、B类业务以外的不用于市场交易的复核评估、追溯评估和咨询评估业务'}
-        ]
+        ],
+        tabName: ''
       }
     },
     proofreadIssuedService: null,
@@ -308,7 +309,8 @@
       getKeyWatch (keyWatch) {
         this.keyWatch = keyWatch
       },
-      init (method, id) {
+      init (method, id, tabName) {
+        this.tabName = tabName
         this.method = method
         this.inputForm = {
           id: '',