Browse Source

影像资料更改

duy 1 year ago
parent
commit
654f91e480
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/other-file/image-form.vue

+ 2 - 1
src/views/other-file/image-form.vue

@@ -13,7 +13,7 @@
                 <el-scrollbar>
                     <WbsTree
                         :auto-expand-keys="TreeAutoExpandKeys" :contract-id="contractId" :project-id="projectId" :class-id="classifyId"
-                        @nodeTap="nodeWbsElTreeClick"
+                        @node-tap="nodeWbsElTreeClick"
                     />
                 </el-scrollbar>
             </div>
@@ -452,6 +452,7 @@ const verifyFormData = async (log) => {
     formData.classifyId = classifyId.value
     formData.projectId = projectId
     formData.contractId = contractId
+    formData.type = fileType.value || '2'
     const fileList = uploadFileList.value
     //处理文件
     let imageUrl = '', pdfUrl = ''