Issues #182: done.

This commit is contained in:
chiayin
2023-11-10 14:19:43 +08:00
parent 03cacd5a9b
commit 9118497f09
3 changed files with 5 additions and 3 deletions

View File

@@ -228,7 +228,7 @@ export default defineStore('allMapDataStore', {
this.allBaseCase = response.data.cases;
this.allBaseCase.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');
c.completed_at = moment(c.completed_at).format('YYYY/MM/DD HH:mm');
c.attributes.map(att => {
switch (att.type) {
case 'date':
@@ -335,6 +335,7 @@ export default defineStore('allMapDataStore', {
this.temporaryData = response.data.rules;
this.logId = response.data.log.id;
this.filterName = response.data.name;
this.baseLogId = response.data.log.id;
}catch(error) {
apiError(error, 'Failed to get Filter Detail.');
}