请求结果结构更新

This commit is contained in:
Jam committed 2022-11-04 14:06:45 +08:00
1 parent c9c16e9d26
commit bd8f8b97fa
4 files changed
+14 -14

No files matched your search

+2 -2
View File
@@ -164,7 +164,7 @@
async refreshTableData() {
this.isTableLoading = true;
const serverSearchInput = _.pickBy(this.serverSearchInput, value => !!value);
const { data: { appData: { resultData: {rows} } } } = await window.jianghuAxios({
const {rows} = (await window.jianghuAxios({
data: {
appData: {
pageId: 'taskCreateManagement',
@@ -175,7 +175,7 @@
orderBy: [{ column: 'operationAt', order: 'desc' }]
}
}
});
})).data.appData.resultData;
rows.forEach(row => {
if(row.workflowConfig) {
row.workflowConfig = JSON.parse(row.workflowConfig).nodeList.map(item => [item.label, item.lineTypeList]);