ZaiZai 1 year ago
parent
commit
2336b5d72a
2 changed files with 3 additions and 2 deletions
  1. 1 1
      public/version.json
  2. 2 1
      src/views/data-fill/collapse-form/index.vue

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20240329172853"
+  "value": "20240329173055"
 }

+ 2 - 1
src/views/data-fill/collapse-form/index.vue

@@ -1504,6 +1504,7 @@ const setActiveKey = (key) => {
 const checkItem = ref({})
 //打开文件选择框
 const uploadFileClick = (item) => {
+    console.log('pkeyId:', item.pkeyId)
     checkItem.value = item
     HcUploadFileApi({
         url: '/api/blade-manager/wbsTreeContract/import-excel',
@@ -1511,7 +1512,7 @@ const uploadFileClick = (item) => {
         accept_tip: '图片(png、jpg、jpeg)<br/>Excel(xls、xlsx)<br/>PDF<br/>Word(doc、docx)',
         size: 80,
         multiple: false,
-        params: { pKeyId: item.pKeyId },
+        params: { pKeyId: item.pkeyId },
         success: async (file, res) => {
             const refs = await getFormRef(item.pkeyId)
             refs?.setFormData(res)