|
@@ -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)
|