Conformance: time duration component fix bug.
This commit is contained in:
@@ -148,6 +148,22 @@ export default defineStore('conformanceStore', {
|
||||
state.allLoopCases.map(c => {
|
||||
c.started_at = moment(c.started_at).format('YYYY/MM/DD HH:MM');
|
||||
c.completed_at = moment(c.completed_at).format('YYYY/MM/DD HH:MM');
|
||||
// if(c.facets) {
|
||||
// c.facets = '111';
|
||||
// c.facets.map(att => {
|
||||
// switch(att.type) {
|
||||
// case 'float-list':
|
||||
// console.log(att.value);
|
||||
// att.value ='111'
|
||||
// // att.value = att.value.map(v => v !== null ? new Decimal(v.toFixed(2)) : null);
|
||||
// // att.value = att.value.join(', ');
|
||||
// break;
|
||||
// default:
|
||||
// break;
|
||||
// };
|
||||
// return att;
|
||||
// });
|
||||
// };
|
||||
c.attributes.map(att => {
|
||||
switch (att.type) {
|
||||
case 'date':
|
||||
@@ -160,7 +176,7 @@ export default defineStore('conformanceStore', {
|
||||
break;
|
||||
}
|
||||
return att;
|
||||
})
|
||||
});
|
||||
return c;
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user