|
|
@@ -244,14 +244,20 @@ const |
|
|
|
lowestLevel: data.lowestLevel, |
|
|
|
buildBasis: undefined, |
|
|
|
// buildBasis: data.buildBasis ? json.parse(data.buildBasis) : [], |
|
|
|
baseProjBasis: data?.baseProjBasis?.split(';')?.map((i, index) => { |
|
|
|
const file = `[${data.baseProjBasisFile?.replace(/}];/g, '}],')}]` |
|
|
|
return { |
|
|
|
title: buildBasisTableData.value?.find(j => j.value === i)?.title, |
|
|
|
fileList: data?.baseProjBasisFile ? reviewFileParam(JSON.parse(file)[index]) : [], |
|
|
|
value: i |
|
|
|
baseProjBasis: () => { |
|
|
|
try { |
|
|
|
return data?.baseProjBasis?.split(';')?.map((i, index) => { |
|
|
|
const file = `[${data.baseProjBasisFile?.replace(/}];/g, '}],')}]` |
|
|
|
return { |
|
|
|
title: buildBasisTableData.value?.find(j => j.value === i)?.title, |
|
|
|
fileList: data?.baseProjBasisFile ? reviewFileParam(JSON.parse(file)[index]) : [], |
|
|
|
value: i |
|
|
|
} |
|
|
|
}) || [] |
|
|
|
} catch (e) { |
|
|
|
return [] |
|
|
|
} |
|
|
|
}) || [], |
|
|
|
}, |
|
|
|
baseBasisEstablish: data.baseBasisEstablish || '', |
|
|
|
developCode: data.developCode, |
|
|
|
financialCode: data.financialCode, |
|
|
|