|
@@ -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:'',
|