diff --git a/src/stores/Feedback.js b/src/stores/Feedback.js index c9b7703..59b5d7b 100644 --- a/src/stores/Feedback.js +++ b/src/stores/Feedback.js @@ -41,7 +41,8 @@ class Feedback { const allGroup = groupBy(json.Result, "EOI_GRI_SN"); const filterV = Object.keys(allGroup).reduce((r, gsn) => { const v2 = allGroup[gsn].filter(v => v.EOI_CII_SN); - return r.concat(v2.length > 0 ? v2 : allGroup[gsn]); + const withAllGuide = allGroup[gsn].map(row => ({...row, CityGuide: row.GriName_AsJOSN.map(rg => `${rg.GuideCity}: ${rg.GuideName}`).join(' ; ')})); + return r.concat(v2.length > 0 ? v2 : withAllGuide); }, []) runInAction(() => { this.feedbackList = filterV; diff --git a/src/views/feedback/Index.jsx b/src/views/feedback/Index.jsx index 2b0f008..ecb1e4b 100644 --- a/src/views/feedback/Index.jsx +++ b/src/views/feedback/Index.jsx @@ -26,7 +26,7 @@ const feedbackListColumns = [ }, { title: "Guides", - dataIndex: "GriName", + dataIndex: "CityGuide", }, { title: "Post Survey",