Selaa lähdekoodia

feat: 审核增加下载附件按钮

Howie 1 vuosi sitten
vanhempi
commit
5382d093a2
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/views/commercialEngineering/components/base.vue

+ 2 - 2
src/views/commercialEngineering/components/base.vue

@@ -408,9 +408,9 @@
         <el-col :xs="24" :sm="12" :lg="12" class="item">
           <div class="label">图纸上传:</div>
           <div class="value" style="justify-content: flex-end; position: relative">
-            <FileUpload v-if="module !== 'detail'" :file-list="formData.fileList"   :limit="1" class="file" />
+            <FileUpload v-if="module !== 'detail' && module !== 'examine'" :file-list="formData.fileList"   :limit="1" class="file" />
             <el-link
-              v-if="module == 'detail' && formData.fileList && formData.fileList.length"
+              v-if="(module == 'detail' || module == 'examine' )&& formData.fileList && formData.fileList.length"
               style="position: absolute; left: 5px"
               type="primary"
               :underline="false"