Преглед изворни кода

导入表格数据弹窗修改

duy пре 6 дана
родитељ
комит
45071de38a
1 измењених фајлова са 1 додато и 18 уклоњено
  1. 1 18
      src/views/data-fill/collapse-form/index.vue

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

@@ -2234,24 +2234,7 @@ const uploadFileDialog = ref(false)
 const uploadFileClick = (item) => {
     uploadFileDialog.value = true
     checkItem.value = item
-    // HcUploadFileApi({
-    //    // url: '/api/blade-manager/wbsTreeContract/import-excel',
-    //     url: '/api/blade-manager/wbsTreeContract/import-excel-list',
-    //     accept: '.png,.jpg,jpeg,.xls,.xlsx,.pdf,.doc,.docx',
-    //     accept_tip: '图片(png、jpg、jpeg)<br/>Excel(xls、xlsx)<br/>PDF<br/>Word(doc、docx)',
-    //     size: 80,
-    //     multiple: false,
-    //     params: { pKeyId: item.pkeyId },
-    //     success: async (file, res) => {
-    //         const refs = await getFormRef(item.pkeyId)
-    //         refs?.setFormData(res.data)
-    //         window.$message.success('文件上传成功')
-    //           renewData()
-    //     },
-    //     error: () => {
-    //         window.$message.error('文件上传失败')
-    //     },
-    // })
+
 }
 const uploadFileForm = ref({
     pageSize:'',