Conformance: Have activity Log Results chart, Effect done.

This commit is contained in:
chiayin
2023-07-20 15:45:22 +08:00
parent 97ac9535f9
commit dc4ede1d62
7 changed files with 496 additions and 182 deletions

View File

@@ -1,5 +1,5 @@
<template>
<section class="w-full top-0 absolute shadow-[0px_6px_6px_inset_rgba(0,0,0,0.1)]">
<section class="w-full top-0 absolute shadow-[0px_6px_6px_inset_rgba(0,0,0,0.1)] z-20">
<!-- status content -->
<ul class="bg-neutral-100 flex justify-start shadow-[0px_1px_4px_rgba(0,0,0,0.2)] gap-3 p-3 text-sm overflow-x-auto scrollbar duration-700" v-show="isPanel" v-if="statData">
<li class="bg-neutral-10 rounded p-3 w-full">
@@ -137,7 +137,7 @@ export default {
ratio: this.getPercentLabel(this.stats.tasks.ratio)
},
started_at: getMoment(this.stats.started_at).format('YYYY-MM-DD HH:mm'),
completed_at: getMoment(this.stats.started_at).format('YYYY-MM-DD HH:mm'),
completed_at: getMoment(this.stats.completed_at).format('YYYY-MM-DD HH:mm'),
case_duration: {
min: getTimeLabel(this.stats.case_duration.min),
max: getTimeLabel(this.stats.case_duration.max),
@@ -151,7 +151,7 @@ export default {
if(this.$route.params.type === 'log') this.logId = this.$route.params.fileId;
await this.allMapDataStore.getAllMapData();
await this.getStatData();
this.isPanel = true;
// this.isPanel = true;
}
}
</script>