Conformance: Have activity fix chart Date.

This commit is contained in:
chiayin
2023-07-26 11:41:07 +08:00
parent f2df01e855
commit 53038ab2c0
2 changed files with 61 additions and 24 deletions

View File

@@ -104,7 +104,7 @@ export default {
columnData: function() {
const data = JSON.parse(JSON.stringify(this.cases)); // 深拷貝原始 cases 的內容
const result = [
{ field: 'id', header: 'ID' },
{ field: 'id', header: 'Case Id' },
{ field: 'started_at', header: 'Start Date' },
{ field: 'completed_at', header: 'End Date' },
...data[0].attributes.map((att, index) => ({ field: `att_${index}`, header: att.key })),