|
|
@ -27,7 +27,7 @@ const TableData = ({ route, dispatch, actions, collectData, setSetup, exhibition |
|
|
|
let tableDatas = res.payload.data?.rows.map(v => ({ |
|
|
|
key: v.id, |
|
|
|
projectName: v.app?.projectCorrelations?.map(r => (r.name ? { name: r.name, state: 'PMOS' } : { |
|
|
|
name: r.pepProject?.project_name, state: r.pepProject?.construction_status |
|
|
|
name: r.pepProject?.projectName, state: r.pepProject?.constructionStatus |
|
|
|
}))?.filter(c => c), |
|
|
|
appName: v.app?.name, |
|
|
|
url: v.app?.url, |
|
|
@ -38,6 +38,7 @@ const TableData = ({ route, dispatch, actions, collectData, setSetup, exhibition |
|
|
|
screenshot: v.screenshot, |
|
|
|
type: v.type ? typeData[v.type] : "", |
|
|
|
confirm: v.confirm, |
|
|
|
confirmAuto: v.confirmAuto, |
|
|
|
})) |
|
|
|
setCount(tableDatas?.length || 0); |
|
|
|
setTableData(tableDatas) |
|
|
@ -76,6 +77,7 @@ const TableData = ({ route, dispatch, actions, collectData, setSetup, exhibition |
|
|
|
platform: v.platform, |
|
|
|
confirm: v.confirmContent, |
|
|
|
camerOnline: v.camerOnline, |
|
|
|
autoRestore: v.autoRestore, |
|
|
|
})) |
|
|
|
setCount(tableDatas?.length || 0); |
|
|
|
setTableData(tableDatas) |
|
|
|