|
@@ -16,7 +16,7 @@ export type Floders = Floder[]
|
|
|
|
|
|
addUnsetResErrorURLS(`${namespace}/caseInquest/downDocx`, `${namespace}/caseExtractDetail/downDocx`, `${namespace}/caseImg/getFfmpegImage`)
|
|
|
export const fetchFloders = async () => {
|
|
|
- const floders = await axios.get<Floders>(FLODER_LIST, { params: { caseId: params.caseId } })
|
|
|
+ let floders = await axios.get<Floders>(FLODER_LIST, { params: { caseId: params.caseId } })
|
|
|
// const tabulationList = await axios.get<any>(getcaseTabulationList, { params: { caseId: params.caseId } })
|
|
|
// const overviewList = await axios.get<any>(getcaseOverviewList, { params: { caseId: params.caseId } })
|
|
|
// overviewList.forEach((item:any) => {
|
|
@@ -46,6 +46,7 @@ export const fetchFloders = async () => {
|
|
|
// console.log('tabulationList', tabulationList)
|
|
|
// console.log('overviewList', overviewList)
|
|
|
// console.log('floders1111111', floders)
|
|
|
+ floders = floders.filter(item => item.filesUrl)
|
|
|
const otherFloders = [{
|
|
|
filesId: 88,
|
|
|
filesTypeId: 3,
|